@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  height: 85px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 75px;
  max-width: 320px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  text-align: center;
}

.nav-item {
  position: relative;
}

.nav-links {
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  gap: 4px;
  text-transform: capitalize;
}

.nav-links:hover, .nav-links.active {
  color: var(--primary-color);
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  text-align: left;
  z-index: 1100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-new {
  display: flex !important;
  width: 95vw !important;
  max-width: 1200px !important;
  padding: 0 !important;
  overflow: hidden;
  max-height: 80vh;
}

.mega-menu-sidebar {
  width: 280px;
  background: #f8fafc;
  border-right: 1px solid var(--border-color);
  padding: 1.5rem 0;
  overflow-y: auto;
  flex-shrink: 0;
}

.mega-sidebar-item {
  transition: all 0.2s ease;
}

.mega-sidebar-item a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  border-radius: 0 !important;
}

.mega-sidebar-item:hover, .mega-sidebar-item.active {
  background: white;
}

.mega-sidebar-item.active a {
  color: var(--primary-color) !important;
}

.mega-menu-content {
  flex: 1;
  padding: 2.5rem;
  background: white;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mega-content-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
}

.mega-content-header h4 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.mega-content-header p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.mega-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mega-product-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 0.6rem 1rem !important;
  font-size: 0.9rem !important;
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease;
}

.mega-product-item:hover {
  background: #f0f9ff !important;
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

.view-all-link {
  margin-top: auto;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0 !important;
}

.nav-cta {
  gap: 8px;
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
}

.menu-icon {
  display: none;
  color: var(--primary-color);
  cursor: pointer;
}

.mobile-menu-header {
  display: none;
}

@media screen and (max-width: 960px) {
  .navbar {
    height: 80px;
  }

  .logo-img {
    height: 45px;
    max-width: 180px !important;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100% !important; /* Full width for mobile menu */
    height: 100vh;
    position: fixed;
    top: 0;
    left: -100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-white);
    padding: 0 0 3rem;
    overflow-y: auto;
    z-index: 1002;
    box-shadow: none;
  }

  .nav-menu.active {
    left: 0;
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
  }

  .mobile-logo {
    height: 35px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
  }

  .close-menu-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-links {
    padding: 1.25rem 2rem;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    font-size: 1.1rem;
  }

  .dropdown-menu.mega-menu-new {
    position: static;
    display: none !important;
    width: 100% !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    border: none;
    transform: none;
  }

  .dropdown-menu.mega-menu-new.show {
    display: flex !important;
    max-height: none;
    opacity: 1;
    visibility: visible;
  }

  .mega-menu-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    background: transparent;
  }

  .mega-sidebar-item a {
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    background: #f1f5f9;
  }

  .mega-menu-content {
    padding: 1.5rem;
  }

  .mega-products-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .mega-product-item {
    padding: 0.8rem 1rem !important;
    background: white;
    border: 1px solid #f1f5f9;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-dropdown-list {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-dropdown-list.show {
    max-height: 2500px;
    border-bottom: 1px solid #e2e8f0;
  }

  .mobile-category-group {
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  }

  .mobile-category-group:last-child {
    border-bottom: none;
  }

  .mobile-dropdown-item {
    padding: 1rem 1.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem !important;
    color: var(--text-dark) !important;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .mobile-dropdown-item:active {
    background: #f1f5f9;
    color: var(--primary-color) !important;
  }

  .mobile-dropdown-item.view-all {
    background: #f0f9ff;
    color: var(--primary-color) !important;
    padding: 1rem 1.5rem !important;
  }

  .mobile-products-list {
    display: flex;
    flex-direction: column;
    background: #e2e8f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .mobile-products-list.show {
    max-height: 1000px;
  }

  .mobile-product-link {
    padding: 0.8rem 2.5rem !important;
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
    display: flex;
    align-items: center;
  }

  .mobile-product-link:last-child {
    border-bottom: none;
  }

  .mobile-product-link.view-all-cat {
    color: var(--primary-color) !important;
    font-weight: 600;
    gap: 8px;
    background: #f8fafc;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-cta-item {
    padding: 2rem;
    border-bottom: none;
  }

  .nav-cta {
    width: 100%;
    padding: 1rem;
  }

  .menu-icon {
    display: block;
    margin-right: 1rem;
  }
}

@media screen and (min-width: 961px) {
  .mobile-dropdown-list, .mobile-menu-header {
    display: none !important;
  }
}
.footer {
  background-color: var(--text-dark);
  color: var(--text-white);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.2);
}

.footer-container {
  max-width: 1600px !important;
  width: 95% !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-services-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand img {
  display: block;
  max-width: 100%;
}

.footer-brand .footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-heading {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-size: 0.95rem;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  white-space: nowrap;
}

.contact-icon {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  white-space: nowrap;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.contact-item address {
  font-style: normal;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

@media screen and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-services-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.floating-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 170px;
  padding: 12px;
  background: white;
  color: #334155;
  text-decoration: none;
  border-radius: 8px 0 0 8px;
  transform: translateX(122px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
  box-shadow: -5px 5px 25px rgba(0,0,0,0.1);
  border: 1px solid #f1f5f9;
  border-right: none;
}

.fc-item:hover {
  transform: translateX(0);
}

.fc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  margin-right: 14px;
}

.fc-text {
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.fc-whatsapp {
  border-left: 4px solid #25D366;
}
.fc-whatsapp:hover {
  background-color: #f0fdf4;
}

.fc-mail {
  border-left: 4px solid #EA4335;
}
.fc-mail:hover {
  background-color: #fef2f2;
}

/* For mobile, maybe always show a bit or don't slide out on tap as easily, 
   but hover usually works on tap on mobile devices to expand. */
@media (max-width: 768px) {
  .floating-contact {
    top: auto;
    bottom: 24px;
    transform: none;
  }
}
/* Hero Split Section */
.hero-split {
  padding: 6rem 0;
  background-color: var(--bg-white);
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 100px;
  border-bottom: 1px solid var(--border-color);
}
.hero-split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.05), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.05), transparent 50%);
  z-index: 0;
}

.hero-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1600px; /* Wider for desktop 'left-right' feel */
  margin: 0 auto;
  padding: 0 4rem;
}

.hero-split-text {
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--bg-white);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.1);
  transition: transform 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
}

.hero-split-text h1 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-split-text p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-split-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-img-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  width: 100%;
  max-width: 600px;
  height: 420px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  background: white;
}

.hero-img-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px -20px rgba(14, 165, 233, 0.15);
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-decoration {
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.15;
  z-index: 0;
}

@media screen and (max-width: 1024px) {
  .hero-split-container {
    padding: 0 2rem;
    gap: 3rem;
  }
}

@media screen and (max-width: 960px) {
  .hero-split {
    padding: 4rem 0;
    min-height: auto;
  }
  .hero-split-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1.5rem;
    gap: 3rem;
  }
  .hero-split-text {
    margin: 0 auto;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 400px;
  }
  .hero-trust {
    justify-content: center;
    gap: 1rem;
  }
  .hero-split-image-container {
    justify-content: center;
    height: 350px;
  }
  .hero-img-wrapper {
    height: 350px;
  }
}

/* Sections Global */
.section-padding {
  padding: 8rem 0;
}

.section-light { background-color: var(--bg-white); }
.section-dark { 
  background: linear-gradient(135deg, var(--primary-color-hover), var(--text-dark)); 
  color: white; 
}
.title-light h2, .title-light p { color: white; }
.title-light h2 {
  background: none;
  -webkit-text-fill-color: white;
}
.title-light h2::after { background-color: white; }

/* Tile Focus Section */
.tile-focus {
  background-color: var(--bg-color);
  position: relative;
}

.tile-focus-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background-color: rgba(56, 189, 248, 0.15);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tile-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.lead-text {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  transition: var(--transition);
}

.feature-item:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.feature-icon {
  color: var(--primary-color);
  margin-top: 5px;
  flex-shrink: 0;
  background: rgba(14, 165, 233, 0.1);
  padding: 10px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.feature-item h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.feature-item p { color: var(--text-light); font-size: 1.1rem; line-height: 1.6; }

.tile-actions { display: flex; gap: 1rem; }

.glow-effect {
  position: relative;
  padding: 2rem;
}

.glow-effect::before {
  display: none;
}

@keyframes pulseGlow {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.image-wrapper {
  position: relative;
  z-index: 1;
  border-radius: 20px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-left: 4px solid var(--primary-color);
  border-top: 1px solid rgba(255,255,255,0.7);
  font-size: 0.95rem;
  color: var(--text-dark);
  z-index: 2;
  transition: transform 0.4s ease;
}

.floating-card:hover {
  transform: translateY(-5px);
}

.floating-card strong {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* About Preview */
.about-preview-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 1.25rem; }
.about-text p { color: var(--text-light); margin-bottom: 1.5rem; font-size: 1.15rem; line-height: 1.8; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-lg); 
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-number { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 0.5rem; font-family: 'Outfit'; font-weight: 800; line-height: 1; }
.stat-card p { color: var(--text-dark); font-weight: 600; font-size: 1.05rem; }

/* Comprehensive Solutions Revamp */
.solutions-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.solution-card-premium {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.solution-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  transition: all 0.5s ease;
  z-index: 1;
}

.solution-card-premium:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}

.solution-card-premium:hover .solution-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.solution-card-premium:hover {
  background-size: 110%; /* Subtle zoom on hover */
}

.solution-card-content {
  position: relative;
  z-index: 2;
  color: white;
  transition: transform 0.4s ease;
}

.solution-card-premium:hover .solution-card-content {
  transform: translateY(-5px);
}

.solution-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  background: rgba(14, 165, 233, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.solution-card-content h3 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.solution-card-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 100%;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.solution-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  width: fit-content;
}

.solution-card-premium:hover .solution-footer {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3);
}

.solution-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.solution-arrow {
  color: var(--secondary-color);
}

.solution-cta-premium {
  background-blend-mode: overlay;
  background-color: rgba(2, 132, 199, 0.8);
}

@media screen and (max-width: 768px) {
  .solutions-grid-wrapper {
    grid-template-columns: 1fr;
  }
  .solution-card-premium {
    min-height: 380px;
  }
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

@media screen and (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 640px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}

.cap-card {
  background: var(--bg-white);
  padding: 3.5rem 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  transition: var(--transition);
}

.cap-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.3);
}

.cap-icon { 
  color: var(--primary-color); 
  margin-bottom: 1.75rem; 
  background: rgba(14, 165, 233, 0.1); 
  padding: 16px; 
  border-radius: 50%; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 70px; 
  height: 70px;
}
.cap-card h3 { color: var(--text-dark); margin-bottom: 1.25rem; font-size: 1.4rem; }
.cap-card p { color: var(--text-light); font-size: 1.05rem; line-height: 1.7; }

/* Education Section */
.border-box-ed {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 24px;
  padding: 4rem 5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.border-box-ed:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
}

.border-box-ed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 6px; height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.ed-content { flex: 1.5; }
.ed-content h2 { margin-bottom: 2rem; font-size: 2.5rem; }
.check-list { display: flex; flex-direction: column; gap: 1.25rem; }
.check-list li { display: flex; align-items: start; gap: 1rem; color: var(--text-dark); font-size: 1.1rem; font-weight: 500;}
.check-icon { margin-top: 2px; }

.ed-cta {
  flex: 1;
  background: var(--bg-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--border-color);
}

.ed-cta h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--text-dark); }
.ed-cta p { color: var(--text-light); margin-bottom: 2rem; font-size: 1.1rem; }

@media screen and (max-width: 960px) {
  .tile-focus-grid, .about-preview-container, .border-box-ed { grid-template-columns: 1fr; gap: 4rem; flex-direction: column; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .floating-card { bottom: 0; right: 0; }
  .border-box-ed { padding: 3rem; }
}
/* Partners Section */
.partners-section {
  background-color: var(--bg-white);
  overflow: hidden;
  position: relative;
}

/* Our Team Section */
.team-section {
  background: var(--bg-white);
  padding: 80px 0;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 40px;
}

@media screen and (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.08);
  border-color: var(--primary-color);
}

.team-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-actual-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
}

.team-card:hover .team-actual-img {
  transform: scale(1.1);
}

.team-placeholder-icon {
  color: #cbd5e1;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.team-card:hover .team-placeholder-icon {
  transform: scale(1.1);
  color: var(--primary-color);
}

.experience-badge-refined {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
}

.experience-badge-refined.visible {
  transform: translateY(0);
  opacity: 1;
}

.exp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.exp-num-gradient {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.exp-text-minimal {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  line-height: 1.3;
  text-align: center;
  max-width: 180px;
}

.team-corner-social {
  position: absolute;
  top: 15px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 110px;
  padding: 8px 10px;
  background: white;
  border-radius: 20px 0 0 20px;
  box-shadow: -4px 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.05);
  border-right: none;
  opacity: 0;
  transform: translateX(75px);
}

.team-card:hover .social-icon-btn {
  opacity: 1;
}

.social-icon-btn:hover {
  transform: translateX(0) !important;
}

.social-icon-btn.whatsapp { 
  border-left: 4px solid #25D366; 
  color: #25D366; 
}
.social-icon-btn.gmail { 
  border-left: 4px solid #EA4335; 
  color: #EA4335; 
}

.social-text {
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 8px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.social-icon-btn:hover {
  background: var(--bg-white);
}

.team-info {
  padding: 1.5rem 1rem;
  background: white;
}

.team-info h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.team-info p {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

@media screen and (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; max-width: 300px; margin: 30px auto 0; }
  .team-section { padding: 50px 0; }
}

.partners-slider-container {
  width: 100%;
  padding: 2rem 0;
  position: relative;
}

/* Add fade effect on sides */
.partners-slider-container::before,
.partners-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.partners-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

.partners-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: scrollMarquee 40s linear infinite;
  padding: 1rem 0;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * (220px + 3rem) * 13)); }
}

.partner-logo-box {
  width: 220px;
  height: 120px;
  flex-shrink: 0;
  perspective: 1000px;
}

.placeholder-logo {
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  background: white;
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: transform 0.3s ease;
}

.partner-actual-logo:hover .partner-img {
  transform: scale(1.1);
}

.partner-logo-box:hover .partner-actual-logo {
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.1);
  transform: translateY(-5px);
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.hero-slide-img.active {
  opacity: 1;
  z-index: 1;
}

.hero-img-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.05), transparent);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-split-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-split-image-container {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .hero-split-image-container {
    height: 300px;
  }
}

.logo-icon {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  z-index: 1;
}

.placeholder-logo:hover .logo-icon {
  color: var(--primary-color);
}

.logo-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
  z-index: 1;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.placeholder-logo:hover .logo-glow {
  opacity: 1;
}

@media screen and (max-width: 960px) {
  .partners-track {
    animation-duration: 30s;
    gap: 2rem;
  }
  @keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * (150px + 2rem) * 13)); }
  }
  .partner-logo-box { width: 150px; }
  .partners-slider-container::before,
  .partners-slider-container::after { width: 80px; }
}

@media screen and (max-width: 600px) {
  .partners-track {
    animation-duration: 20s;
  }
  .partners-slider-container { padding: 1rem 0; }
}


/* Mobile Layout Enhancements */
@media screen and (max-width: 480px) {
  .hero-split {
    padding: 3rem 0;
    margin-top: 80px;
    width: 100% !important;
    overflow-x: hidden;
  }
  .hero-split-container {
    padding: 0 1rem;
    gap: 2rem;
  }
  .hero-split-text h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  .hero-split-text p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-trust {
    gap: 0.75rem;
    justify-content: center;
    font-size: 0.85rem;
  }
  .tile-focus-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  .tile-content h2 {
    font-size: 1.5rem !important;
    text-align: left;
  }
  .lead-text {
    font-size: 1rem !important;
    text-align: left;
    margin-bottom: 1.5rem !important;
  }
  .feature-list {
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
  }
  .feature-item {
    padding: 0 !important;
    gap: 0.75rem !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .feature-icon {
    width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
  }
  .feature-item h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.15rem !important;
  }
  .feature-item p {
    font-size: 0.9rem !important;
  }
  .tile-actions {
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100%;
  }
  .tile-actions .btn {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
  }
  .about-preview-container {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  .stat-number {
    font-size: 2.5rem !important;
  }
  .solutions-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .cap-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .cap-card {
    padding: 1.5rem !important;
  }
  .team-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-img-wrapper, .hero-split-image-container {
    height: 250px !important;
  }
  .about-text h2 {
    font-size: 1.75rem !important;
  }
  .about-text p {
    font-size: 0.95rem !important;
  }
  .solution-card-premium {
    min-height: 280px !important;
    padding: 1.25rem !important;
  }
  .solution-card-content h3 {
    font-size: 1.4rem !important;
  }
  .solution-card-content p {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }
  .solution-tag {
    font-size: 0.65rem !important;
    padding: 4px 8px !important;
    margin-bottom: 0.75rem !important;
  }
  .solution-footer {
    padding: 0.5rem 1rem !important;
  }
  .cap-card {
    padding: 2rem 1.5rem !important;
  }
  .cap-icon {
    width: 50px !important;
    height: 50px !important;
    padding: 12px !important;
    margin-bottom: 1.25rem !important;
  }
  .cap-card h3 {
    font-size: 1.2rem !important;
  }
  .cap-card p {
    font-size: 0.95rem !important;
  }
  .border-box-ed {
    padding: 2rem 1.5rem !important;
    gap: 2rem !important;
  }
  .ed-content h2 {
    font-size: 1.75rem !important;
  }
  .check-list li {
    font-size: 1rem !important;
  }
  .ed-cta {
    padding: 2rem !important;
  }
  .ed-cta h3 {
    font-size: 1.4rem !important;
  }
}
@media screen and (max-width: 375px) {
  .hero-split-text h1 {
    font-size: 1.6rem !important;
    text-align: left !important;
  }
  .hero-split-container, .tile-focus-grid, .about-preview-container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .active-category-name, .about-text h2, .tile-content h2 {
    font-size: 1.4rem !important;
    text-align: left !important;
  }
  .lead-text, .about-text p {
    text-align: left !important;
  }
  .solution-card-content h3 {
    font-size: 1.3rem !important;
  }
  .stat-number {
    font-size: 2rem !important;
  }
}
/* Shared Internal Pages Layout & Components */
.page-container {
  padding: 4rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.text-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.text-content p {
  margin-bottom: 1.5rem;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
  color: white;
  padding: 8rem 0;
  text-align: center;
  margin-top: 80px;
  box-shadow: inset 0 -40px 80px rgba(0,0,0,0.1);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-header p {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grids for cards */
.default-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Generic Image block */
.page-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

/* Contact Styles */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-card {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-form-box {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 179, 110, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Detail Pages */
.product-detail-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.product-gallery {
  max-width: 550px;
  width: 100%;
}

.product-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

.product-info h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.product-specs {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.product-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.product-main-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 1.5rem 0 2.5rem;
  line-height: 1.7;
}

.product-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
  .product-main-title {
    font-size: 2.5rem;
  }
  .product-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 960px) {
  .contact-wrapper, .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  cursor: pointer;
  animation: fadeIn 0.3s ease-out;
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: white;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: -50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

@media screen and (max-width: 600px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 101;
  }
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-title {
  color: white;
  margin-top: 15px;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.color-tile-hover:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Beautiful Animated Dynamic Hover States */
.color-tile-hover-dynamic {
  border: 2px solid transparent;
}
.color-tile-hover-dynamic:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--accent-color);
}

.hover-lift:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2) !important;
}

.feature-item-hover:hover {
  background: white !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transform: translateX(8px);
}

.table-row-hover {
  transition: all 0.3s ease;
}
.table-row-hover:hover {
  background: #eff6ff !important;
}

.beautiful-table th {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

/* ESD Section Responsive Architecture */
.esd-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.esd-structure-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

/* Premium Section Containers */
.esd-section-card {
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 
    0 10px 25px -5px rgba(0, 0, 0, 0.02),
    0 30px 70px -10px rgba(2, 132, 199, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@media screen and (max-width: 768px) {
  .esd-section-card {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
}

.esd-section-card:hover {
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.04),
    0 40px 90px -15px rgba(2, 132, 199, 0.12);
  transform: translateY(-4px);
}

.esd-inner-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.esd-inner-card:hover {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.sub-product-card-container {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.sub-product-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 0;
}

.esd-card-info-panel {
  padding: 2.5rem;
  order: 2;
}

.sub-product-gallery-panel {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  order: 1;
  position: relative;
  border-right: 1px solid #e2e8f0;
}

@media screen and (max-width: 960px) {
  .sub-product-grid {
    grid-template-columns: 1fr;
  }
  .sub-product-gallery-panel {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    order: 1;
  }
  .esd-card-info-panel {
    order: 2;
    padding: 1.5rem;
  }
}

.esd-huge-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.fluid-h2 {
  font-size: clamp(1.35rem, 3.5vw, 2.2rem);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.fluid-p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.8;
}

.table-container-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.table-container-responsive table {
  min-width: 600px;
}

.hover-scale-img {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-scale-img:hover {
  transform: scale(1.15);
}

@media screen and (max-width: 1024px) {
  .esd-structure-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
  }
  .esd-huge-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .esd-color-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .esd-section-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .esd-inner-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .esd-huge-title {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 480px) {
  .esd-color-grid {
    grid-template-columns: 1fr;
  }
  .esd-huge-title {
    font-size: 1.5rem;
  }
  .section-title-about {
    font-size: 2rem !important;
  }
}

/* Responsive Grids */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.responsive-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 1024px) {
  .responsive-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .responsive-grid-2, .responsive-grid-3, .responsive-grid-4, .contact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .contact-form-box { order: 1; }
  .contact-info-card { order: 2; }
  
  .esd-section-card div[style*="gridTemplateColumns"] {
    grid-template-columns: 1fr !important;
  }
}

/* Technical Specs Alignment */
.specs-container {
  background: #f8fafc;
  padding: 1.25rem;
  borderRadius: 12px;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #edf2f7;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.spec-value {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 700;
  text-align: right;
  word-break: break-word;
  margin-left: 1rem;
}

/* Responsive utility for alternating cards */
/* About Page Specific Styles */

/* Our Works Section */
.section-padding-lg {
  padding: 8rem 0;
}

.text-center { text-align: center; }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.work-card-pro {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.work-card-pro:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.work-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  position: relative;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 165, 233, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card-pro:hover .work-overlay {
  opacity: 1;
}

.view-btn {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.work-card-pro:hover .view-btn {
  transform: translateY(0);
}

.work-info {
  padding: 1.5rem;
}

.work-type {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.work-info h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* Trust Bar */
.about-trust-bar {
  display: flex;
  justify-content: space-between;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  margin-top: 4rem;
  border: 1px solid #f1f5f9;
}

.trust-item {
  font-size: 1.1rem;
  color: var(--text-light);
}

.trust-item strong {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 10px;
}

@media screen and (max-width: 1200px) {
  .capabilities-grid-pro, .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 960px) {
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vision-mission-grid {
    justify-content: center;
  }
  .story-visual {
    max-width: 400px;
    margin: 3rem auto 0;
  }
  .experience-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
  }
  .about-trust-bar {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media screen and (max-width: 600px) {
  .capabilities-grid-pro, .works-grid {
    grid-template-columns: 1fr;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  .about-hero {
    padding: 6rem 0 4rem;
  }
}

/* Animations for SubProductCard HUD */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.9) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.hud-nav-btn:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
  transform: translateY(-50%) scale(1.1) !important;
}
.about-hero {
  background: linear-gradient(rgba(13, 35, 58, 0.9), rgba(13, 35, 58, 0.9)), url('/assets/hero_banner-DMEGYSlM.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0 6rem;
  text-align: center;
  margin-top: 100px;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-hero h1 span {
  color: var(--accent-color);
}

.about-hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.industry-minimal-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.industry-minimal-card:hover {
  transform: translateY(-5px);
  border-color: #e0f2fe;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.industry-icon-box {
  width: 50px;
  height: 50px;
  background: #f0f9ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-info-minimal h4 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.industry-info-minimal p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media screen and (max-width: 1024px) {
  .industries-grid-refined {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .industries-grid-refined {
    grid-template-columns: 1fr;
  }
}


/* Mobile Layout Enhancements */
@media screen and (max-width: 480px) {
  .page-container {
    padding: 1rem 1.75rem !important;
    width: 100% !important;
    overflow-x: hidden;
  }
  .product-detail-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  .product-main-title {
    font-size: 1.5rem !important;
    word-break: break-word !important;
  }
  .product-slider-container div {
    height: 220px !important;
  }
  .esd-section-card {
    padding: 1rem 0.6rem !important;
    margin: 0.75rem 0 !important;
  }
  .esd-section-card h2, .esd-section-card h3 {
    font-size: 1.4rem !important;
  }
  .spec-value {
    font-size: 0.9rem !important;
  }
  .services-container-pro {
    padding: 0.5rem 0 !important;
  }
  .about-hero h1 {
    font-size: 1.8rem !important;
  }
  .about-hero p {
    font-size: 0.95rem !important;
  }
  .works-grid {
    gap: 1.25rem !important;
  }
  .contact-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .contact-form-box { order: 1; }
  .contact-info-card { order: 2; }
  
  /* Category & Product Lists */
  .category-card h3 {
    font-size: 1.2rem !important;
  }
  .product-card h3 {
    font-size: 1.1rem !important;
  }
}
@media screen and (max-width: 375px) {
  .page-container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .product-main-title, .about-hero h1, .esd-section-card h2, .esd-section-card h3 {
    font-size: 1.4rem !important;
    text-align: left !important;
  }
  .page-header p, .about-hero p, .esd-section-card p {
    text-align: left !important;
    font-size: 0.9rem !important;
  }
}


:root {
  --primary-color: #0284c7; /* Vibrant Sky Blue */
  --primary-color-hover: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.4);
  
  --secondary-color: #38bdf8;
  --secondary-glow: rgba(56, 189, 248, 0.3);
  
  --accent-color: #0ea5e9;
  --accent-color-hover: #0284c7;
  
  --text-dark: #0f172a;   /* Very deep slate for strong contrast */
  --text-navy: #074770;   /* Deep Navy from brand style */
  --text-light: #475569;  /* Elegant slate for reading */
  --text-white: #ffffff;
  
  --bg-color: #f8fafc; /* Pristine off-white/gray */
  --bg-white: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(2, 132, 199, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px var(--primary-glow);
  --shadow-glass: 0 8px 32px 0 rgba(14, 165, 233, 0.1);
  
  --section-padding: 6rem 1rem;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem; /* Compact professional density */
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(2, 132, 199, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.7; /* Crisp spacing */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent horizontal scrolling on mobile */
  overflow-x: hidden;
  width: 100%;
  position: relative;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

#root {
  overflow-x: hidden;
  width: 100%;
}

/* 90% Zoom Effect - Only for Desktop */

@media screen and (min-width: 1025px) {
    zoom: 0.9;
    -moz-transform: scale(0.9);
    -moz-transform-origin: top center;
  }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }

h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }

h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }

h4 { font-size: 1.25rem; font-weight: 600; }

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
}

/* Utilities */

.container {
  max-width: 1400px; /* More modern wide layout */
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass);
  border-radius: var(--border-radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  border-radius: 8px; /* Professional tighter corners */
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.95);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-accent {
  background-color: var(--text-dark);
  color: var(--text-white);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  border: none;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(15, 23, 42, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(2, 132, 199, 0.1);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.btn-accent:hover {
  background-color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(15, 23, 42, 0.6);
  color: var(--text-white);
}

.btn-outline {
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 5px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Base layouts */

.page-header {
  background: linear-gradient(135deg, var(--bg-color) 0%, #e0f2fe 100%);
  position: relative;
  color: var(--text-dark);
  padding: 10rem 1.5rem 6rem;
  text-align: center;
  margin-top: 100px; /* Offset for fixed nav */
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 30%);
  z-index: 0;
  animation: floatBG 20s infinite linear;
}

@keyframes floatBG {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.page-header h1, .page-header p {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
}

/* IMAGE ENHANCEMENT SUITE */

.polished-image {
  filter: contrast(1.08) brightness(1.02) saturate(1.1);
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  transition: var(--transition);
}

.polished-image:hover {
  filter: contrast(1.12) brightness(1.05) saturate(1.15);
}

.premium-img-container {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: white;
  transition: var(--transition);
}

.premium-img-container:hover {
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.15);
  border-color: var(--primary-color);
}

/* Page Transitions */

.page-fade {
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar Styling */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Global Mobile Overrides */

@media screen and (max-width: 480px) {
  .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
  .page-header {
    padding: 5rem 1rem 2.5rem;
    margin-top: 70px;
  }
  .container {
    padding: 0 1rem;
  }
  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.3rem !important; }
  p { font-size: 0.95rem !important; line-height: 1.6; }
}

/* Specific overrides for 375x667 (iPhone SE) and smaller */

@media screen and (max-width: 375px) {
  .container, .page-container, .services-container-pro {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .page-header {
    padding: 4rem 1.25rem 2rem !important;
    margin-top: 60px !important;
  }
  h1, h2, h3, h4, .section-title { 
    font-size: 1.6rem !important; 
    text-align: left !important;
  }
  p, .lead-text { 
    font-size: 0.9rem !important; 
    text-align: left !important;
  }
  .btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
  }
}
