* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #374151;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #00796B;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2.25rem;
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}
h2::after {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(90deg, #00796B, #f59e0b);
  border-radius: 0.375rem;
}

h3 {
  font-size: 1.875rem;
}

p {
  margin-bottom: 1rem;
  color: #6b7280;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  position: relative;
}

/* Desktop RTL Mirroring (Arabic) */
.lang-ar .header-container {
  direction: ltr;
}
.lang-ar .lang-switch {
  order: 1;
  }

.lang-ar .main-nav {
  order: 2;
}

.lang-ar .logo {
  order: 3;
  flex-direction: row-reverse;
}
.lang-ar .logo-text {
  direction: rtl;
  text-align: right;
}

.logo {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 120px;
  height: auto;
  margin-right: 1rem;
  border-radius: 8px;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #00796B, #64748b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text p {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.main-nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00796B;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}
.main-nav a:hover {
  color: #00796B;
}

/* Mobile menu button (hidden on desktop) */
.mobile-menu {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #00796B;
  cursor: pointer;
}

/* Language switch (globe toggle) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: transparent;
}
.lang-switch__button {
  background: transparent;
  border: none;
  color: #00796B;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem;
  cursor: pointer;
}

.lang-switch__button:hover,
.lang-switch__button:focus {
  color: #00796B;
  outline: none;
}

.lang-switch__button:focus { outline: 2px solid rgba(0,121,107,0.15); outline-offset: 2px; }

/* Accessibility helper: visually hidden but available to screen readers */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  color: white;
  padding: 4rem 1.5rem;
  margin-bottom: 3rem;
  border-radius: 0 0 1rem 1rem;
}

/* Blurred background layer so foreground text pops */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-background.png") center/cover no-repeat;
  filter: blur(6px) brightness(0.85);
  transform: scale(1.03);
  z-index: 0;
  will-change: transform, filter;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Subtle 3D text effect in hero */
.hero .hero-content h2 {
  text-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.03);
}
.hero .hero-content h3 {
  text-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.hero .hero-content p {
  text-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Make hero buttons feel slightly elevated */
.hero .hero-content .btn {
  box-shadow: 0 10px 24px rgba(31,41,55,0.12);
}
.hero .hero-content .btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 36px rgba(31,41,55,0.16);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.hero .hero-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
}
@media (max-width: 768px) {
  .hero .hero-content h2 {
    text-align: center;
  }
}
.hero .hero-content h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero .hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.hero .hero-content .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #f59e0b;
  color: #1f2937;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.hero .hero-content .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.hero .hero-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero .hero-image img {
    max-height: 300px;
  }
}

.specialization {
  padding: 3rem 0;
  background: white;
}
.specialization .specialization-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.specialization h2 {
  margin-bottom: 3rem;
}
.specialization .specialization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.specialization .specialization-item {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}
.specialization .specialization-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.specialization .specialization-item {
  text-align: center;
  border-left: 4px solid #00796B;
}
.specialization .specialization-item i {
  font-size: 2.5rem;
  color: #00796B;
  margin-bottom: 1rem;
}
.specialization .specialization-item h3 {
  color: #00796B;
  margin-bottom: 0.5rem;
}
.specialization .specialization-item p {
  color: #6b7280;
  margin: 0;
}

.categories {
  padding: 3rem 0;
  background: #f8fafc;
}
.categories h2 {
  margin-bottom: 3rem;
}
.categories .categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.categories .category-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}
.categories .category-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.categories .category-card {
  text-align: center;
}
.categories .category-card .category-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00796B, #f59e0b);
  color: white;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}
.categories .category-card h3 {
  color: #00796B;
  margin-bottom: 1rem;
}
.categories .category-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}
.categories .category-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #00796B;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.categories .category-card .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.brands {
  padding: 3rem 0;
  background: white;
}
.brands h2 {
  margin-bottom: 3rem;
}
.brands .brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.brands .brand-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}
.brands .brand-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.brands .brand-card {
  /* Normalize logo + text alignment across brand blocks */
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  min-height: 160px;
}

/* Top area: logo (supports direct img or a .brand-logo wrapper) */
.brands .brand-card > img,
.brands .brand-card .brand-logo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brands .brand-card > img {
  max-width: 120px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.brands .brand-card .brand-logo img {
  max-width: 120px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.brands .brand-card:hover img {
  filter: grayscale(0%);
}
.brands .brand-card h3 {
  color: #00796B;
  font-size: 1.125rem;
  margin: 1rem 0 0;
  text-align: center;
}

.partnerships {
  padding: 3rem 0;
  background: #f8fafc;
}
.partnerships h2 {
  margin-bottom: 3rem;
}
.partnerships .partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.partnerships .partnership-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}
.partnerships .partnership-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.partnerships .partnership-card {
  text-align: center;
}
.partnerships .partnership-card i {
  font-size: 2rem;
  color: #10b981;
  margin-bottom: 1rem;
}
.partnerships .partnership-card h3 {
  color: #00796B;
  margin-bottom: 0.5rem;
}
.partnerships .partnership-card p {
  color: #6b7280;
  margin: 0;
}

.about {
  padding: 3rem 0;
  background: white;
}
.about .about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .about .about-content {
    grid-template-columns: 1fr;
  }
}
.about .about-text h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}
.about .about-text h2::after {
  display: none;
}
.about .about-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.about .stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.about .stat {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}
.about .stat:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.about .stat {
  text-align: center;
  padding: 1.5rem;
}
.about .stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00796B;
  margin-bottom: 0.25rem;
}
.about .stat .stat-label {
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.contact {
  padding: 3rem 0;
  background: #f8fafc;
}
.contact .contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .contact .contact-content {
    grid-template-columns: 1fr;
  }
}
.contact .contact-info h2 {
  text-align: left;
  margin-bottom: 1rem;
}
.contact .contact-info h2::after {
  display: none;
}
.contact .contact-info p {
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}
.contact .contact-info .contact-details .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact .contact-info .contact-details .contact-item i {
  color: #00796B;
  font-size: 1.25rem;
  width: 1.5rem;
}
.contact .contact-info .contact-details .contact-item span {
  font-weight: 500;
  color: #374151;
}
.contact .contact-info .contact-details .contact-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.contact .contact-form {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}
.contact .contact-form:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.contact .contact-form form .form-group {
  margin-bottom: 1.5rem;
}
.contact .contact-form form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}
.contact .contact-form form .form-group input,
.contact .contact-form form .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: inherit;
  transition: all 0.3s ease;
}
.contact .contact-form form .form-group input:focus,
.contact .contact-form form .form-group textarea:focus {
  outline: none;
  border-color: #00796B;
  box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.1);
}
.contact .contact-form form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact .contact-form form .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #00796B;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.contact .contact-form form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.contact .contact-form form .btn {
  width: 100%;
  justify-content: center;
  font-size: 1.125rem;
  padding: 1.5rem;
}

.site-footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0 1.5rem;
}
.site-footer .footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.site-footer .footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.site-footer .footer-section p {
  color: #d1d5db;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}
.site-footer .footer-section .footer-links {
  list-style: none;
}
.site-footer .footer-section .footer-links li {
  margin-bottom: 1rem;
}
.site-footer .footer-section .footer-links li a {
  color: #d1d5db;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.site-footer .footer-section .footer-links li a:hover {
  color: #f59e0b;
}
.site-footer .footer-section .footer-links li a i {
  color: #00796B;
}
.site-footer .copyright {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
}
.site-footer .copyright p {
  color: #9ca3af;
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  /* Mobile Header Redesign: single row, 3 columns */
  .header-container {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    height: auto;
    direction: ltr;
  }

  .lang-switch {
    grid-column: 1;
    justify-self: start;
    align-self: center;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
    align-self: stretch;
    position: static;
    transform: none;
    margin: 0;
    padding: 0;
    height: 100%;
    justify-content: center;
  }

  .mobile-menu {
    grid-column: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 44px;
    height: 44px;
    justify-self: end;
    align-self: center;
  }

  .lang-switch__button {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: none;
    z-index: 1100;
    min-width: 160px;
    max-width: calc(100vw - 2rem);
    width: auto;
    box-sizing: border-box;
  }

  .main-nav ul {
    display: block;
    padding: 1rem;
  }

  .main-nav ul li { margin-bottom: 0.5rem; }

  .main-nav ul a { display: block; padding: 0.5rem 1rem; color: #374151; }

  .site-header.nav-open .main-nav { display: block; }

  .hero {
    padding: 4rem 1.5rem;
  }

  /* Hide header text on mobile, keep logo visible */
  .logo-text { display: none; }
  .logo .site-logo {
    height: 100%;
    max-height: 100%;
    max-width: 170px;
    object-fit: contain;
    margin: 0;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .specialization-grid,
  .categories-grid,
  .brands-grid,
  .partnerships-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* RTL tweaks (applied when HTML has .lang-ar class) */
/* (header RTL mirroring rules are defined earlier) */

.lang-ar .main-nav {
  direction: rtl;
}

.lang-ar .main-nav ul a {
  text-align: right;
}

.lang-ar .hero-content,
.lang-ar .specializations h2,
.lang-ar .partnerships h2,
.lang-ar .about h2,
.lang-ar .contact h2 {
  text-align: right;
}

/* Ensure hero h2 is right-aligned in Arabic on all viewports */
.lang-ar .hero .hero-content h2 {
  text-align: right;
}

/*# sourceMappingURL=styles2.css.map */
