:root {
  /* Unified Industrial Palette (from Gasketed PHE) */
  --primary: #020d1a;
  --primary-light: #051829;
  --accent: #00c2ff;
  --accent2: #0057b8;
  --accent-glow: rgba(0, 194, 255, 0.4);
  --text: #f1f5f9;  /* Crisp white for dark bg */
  --text-muted: #f8fafc; /* Even clearer */
  --text-muted-dark: #334155; /* Deeper slate for light bg */
  --text-dark: #222222; /* Primary dark text for white bg */
  --white: #ffffff;
  --bg-light: #051829;
  --bg-card: #071f35;
  --border: rgba(0, 194, 255, 0.15);

  /* Legacy Mappings for Compatibility */
  --primary-color: var(--primary);
  --accent-color: var(--accent);
  --text-color: var(--text-dark);

  /* Glassmorphism */
  --glass-bg: rgba(2, 13, 26, 0.7);
  --glass-border: rgba(0, 194, 255, 0.1);
  --glass-blur: blur(12px);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #020d1a 0%, #051829 100%);
  --grad-accent: linear-gradient(135deg, #00c2ff 0%, #0057b8 100%);

  /* Spacing - Tightened for professional feel */
  --section-pad: 4rem 10%;
  --container-max: 1200px;

  /* Transitions */
  --trans-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* 3D & Shadows */
  --perspective: 1200px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 10px 30px -10px rgba(0, 194, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p {
  color: var(--text-dark);
  line-height: 1.7;
}

.section-text p,
.content p,
.description p {
  color: var(--text-dark);
}

.fade,
.fade-text,
.light-text,
.secondary-text,
.aos-init,
.aos-animate,
.reveal {
  opacity: 1 !important;
}

/* --- GLOBAL DARK SECTION CONTRAST FIXES --- */
.dark-section,
.section-dark,
.hero-section,
.bg-dark,
.blue-section,
.hero-industrial,
.home-hero,
.about-hero,
.contact-hero,
.services-hero-split,
.layered-section,
.why-us-section,
.home-cta,
.about-cta,
.site-footer,
.contact-info-panel,
.cta-section,
.stats-bar,
.app-card,
.why-card,
.hero-3d-bg,
.industrial-hero,
.sp-hero,
.app-hero,
.product-link-banner,
.service-hero,
.catalogue-hero,
.about-image-right,
.vision-mission-section[style*="primary"],
.cta-banner {
  color: #ffffff !important;
}

/* Paragraphs and Lists inside Dark Sections (Targeting only direct or non-component children) */
.dark-section p, .dark-section li,
.section-dark p, .section-dark li,
.hero-section p, .hero-section li,
.bg-dark p, .bg-dark li,
.blue-section p, .blue-section li,
.home-hero p, .home-hero li,
.hero-industrial p, .hero-industrial li,
.about-hero p, .about-hero li,
.contact-hero p, .contact-hero li,
.site-footer p, .site-footer li,
.contact-info-panel p, .contact-info-panel li,
.cta-section p, .cta-section li,
.stats-bar p, .stats-bar li,
.hero-3d-bg p, .hero-3d-bg li,
.industrial-hero p, .industrial-hero li,
.app-hero p, .app-hero li,
.product-link-banner p, .product-link-banner li,
.service-hero p, .service-hero li,
.catalogue-hero p, .catalogue-hero li,
.about-image-right p, .about-image-right li {
  color: #e6f7ff !important;
  opacity: 1 !important;
}

/* Specific rule for Layered Sections to avoid hitting cards */
.layered-section p, .layered-section li {
    color: #e6f7ff; /* No !important here so spec-item can override easily */
}

/* Headings inside Dark Sections */
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.blue-section h1, .blue-section h2, .blue-section h3, .blue-section h4,
.home-hero h1, .home-hero h2, .home-hero h3, .home-hero h4,
.hero-industrial h1, .hero-industrial h2, .hero-industrial h3, .hero-industrial h4,
.about-hero h1, .about-hero h2, .about-hero h3, .about-hero h4,
.contact-hero h1, .contact-hero h2, .contact-hero h3, .contact-hero h4,
.services-hero-split h1, .services-hero-split h2, .services-hero-split h3, .services-hero-split h4,
.layered-section h1, .layered-section h2, .layered-section h3, .layered-section h4,
.why-us-section h1, .why-us-section h2, .why-us-section h3, .why-us-section h4,
.home-cta h1, .home-cta h2, .home-cta h3, .home-cta h4,
.about-cta h1, .about-cta h2, .about-cta h3, .about-cta h4,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.contact-info-panel h1, .contact-info-panel h2, .contact-info-panel h3, .contact-info-panel h4,
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4,
.stats-bar h1, .stats-bar h2, .stats-bar h3, .stats-bar h4,
.app-card h1, .app-card h2, .app-card h3, .app-card h4,
.why-card h1, .why-card h2, .why-card h3, .why-card h4,
.hero-3d-bg h1, .hero-3d-bg h2, .hero-3d-bg h3, .hero-3d-bg h4,
.industrial-hero h1, .industrial-hero h2, .industrial-hero h3, .industrial-hero h4,
.app-hero h1, .app-hero h2, .app-hero h3, .app-hero h4,
.product-link-banner h1, .product-link-banner h2, .product-link-banner h3, .product-link-banner h4,
.service-hero h1, .service-hero h2, .service-hero h3, .service-hero h4,
.catalogue-hero h1, .catalogue-hero h2, .catalogue-hero h3, .catalogue-hero h4,
.about-image-right h1, .about-image-right h2, .about-image-right h3, .about-image-right h4 {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Re-override for light sections inside layered sections */
.layered-section:nth-child(even) p,
.layered-section:nth-child(even) li,
.layered-section:nth-child(even) span,
.layered-section:nth-child(even) div,
.layered-section:nth-child(even) h2,
.layered-section:nth-child(even) h3,
.layered-section:nth-child(even) h4 {
  color: #222222 !important;
  background: transparent;
}

/* =======================================================
   CARD VISIBILITY FIX (Strong Contrast for All Devices)
   ======================================================= */
.spec-item, .card, .vm-card, .team-card {
    background: #ffffff !important;
}

/* Headings inside white cards */
.spec-item h4, .card h3, .vm-card h2, .team-card h3, .expertise-list h4 {
    color: #111827 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Paragraphs and list items inside white cards */
.spec-item p, .card p, .vm-card p, .team-card p, .expertise-list ul li {
    color: #1f2937 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* Secondary override to ensure visibility in layered sections */
.layered-section .spec-item p, 
.layered-section .spec-item h4,
.layered-section .card p,
.layered-section .card h3 {
    color: inherit; /* Should inherit from the rules above */
}


/* --- 3D UTILITIES --- */
.perspective-container {
  perspective: var(--perspective);
  transform-style: preserve-3d;
}

.preserve-3d {
  transform-style: preserve-3d;
}

.tilt-element {
  transition: transform var(--trans-fast);
  will-change: transform;
}

/* --- ANIMATION FRAMEWORK --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- SECTION DIVIDERS --- */
.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.divider-hero-bottom {
  bottom: 0;
}

.divider-hero-bottom svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.divider-hero-bottom .shape-fill {
  fill: var(--white);
}

/* --- DEPTH LAYERS --- */
.depth-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbPulse 15s infinite alternate ease-in-out;
}

@keyframes orbPulse {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(50px, 50px) scale(1.2);
  }
}

.orb-1 {
  top: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: var(--accent);
}

.orb-2 {
  bottom: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: var(--primary-light);
}

.orb-3 {
  top: 40%;
  right: 15%;
  width: 300px;
  height: 300px;
  background: var(--accent);
  opacity: 0.1;
}

/* --- LAYERED SECTIONS & GRIDS --- */
.layered-section { 
    padding: var(--section-pad-dense, 3rem 10%); 
    position: relative; 
    overflow: hidden; 
    color: var(--white); 
    background: var(--primary);
} 

.layered-section:nth-child(even) { 
    background: #f8fafc; 
    color: var(--text-dark); /* Ensure text is dark and visible */
}

.layered-section h2.section-title {
    color: inherit; /* Ensure title follows section color */
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-item {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 16px;
    border-bottom: 4px solid var(--accent);
    box-shadow: var(--shadow-md);
    transition: var(--trans-smooth);
    color: var(--primary); /* Cards are usually white background */
}

.spec-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-accent);
}

.spec-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 800;
}

/* --- FEATURES LIST (TECHNICAL ADVANTAGES) --- */
.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-list li {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent);
    font-weight: 600;
    transition: var(--trans-fast);
    color: inherit;
}

/* --- PRODUCT DETAIL SECTIONS --- */
.product-detail-container { 
    padding: 4rem 10%; 
    background: var(--white); 
    color: var(--primary); 
}

.product-intro { 
    display: flex; 
    gap: 4rem; 
    align-items: center; 
    margin-bottom: 4rem; 
}

.product-intro-text { 
    flex: 1.2; 
}

.product-intro-image { 
    flex: 0.8; 
    aspect-ratio: 1/1; 
    background: var(--primary); 
    border-radius: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800; 
    color: var(--accent); 
    border: 1px solid var(--accent); 
    box-shadow: var(--shadow-lg); 
    position: relative; 
    overflow: hidden;
}

@media (max-width: 968px) {
    .product-intro { 
        flex-direction: column; 
        text-align: center; 
        gap: 2rem;
    }
    .product-intro-text h2 {
        font-size: 1.8rem !important;
        word-break: keep-all;
    }
}

.layered-section:nth-child(even) .feature-list li {
    background: rgba(0, 0, 0, 0.03);
    color: var(--primary);
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.layered-section:nth-child(even) .feature-list li:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: rgba(0, 18, 38, 0.98);
  backdrop-filter: var(--glass-blur);
  padding: 0 5%;
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(79, 195, 247, 0.3);
  transition: var(--trans-smooth);
}

.logo-container {
  display: flex;
  align-items: center;
  z-index: 1001;
  width: 200px; /* Equal to .header-right for perfect center */
}

.header-right {
  width: 200px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 968px) {
  .header-right { display: none; }
  .logo-container { width: auto; }
}

.logo-container img {
  height: 55px; /* Consistent height */
  width: auto;
  transition: var(--trans-fast);
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem; /* Balanced spacing */
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links>li {
  position: relative;
}

.nav-links li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 1;
  transition: var(--trans-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 0;
}

.nav-links li a:hover,
.nav-links li a.active {
  opacity: 1;
  color: var(--accent);
}

/* Dropdown Base */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #001226;
  min-width: 260px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) rotateX(-10deg);
  transform-origin: top;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 3px solid var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.nav-links>li:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotateX(0);
}

.dropdown-menu li {
  position: relative;
  padding: 0 20px;
}

.dropdown-menu li a {
  padding: 12px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  display: flex;
  justify-content: center; /* Centered options */
  align-items: center;
  gap: 10px; /* Space for arrows */
  text-align: center;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-header {
  padding: 15px 20px 5px 20px !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
  text-align: center; /* Centered header */
}

/* Multi-level Dropdown */
.dropdown-submenu {
  position: absolute;
  top: -10px;
  left: 100%;
  background: #001a33;
  min-width: 280px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
  border-left: 3px solid var(--accent);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.dropdown-menu li:hover>.dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Dropdown Fixes */
@media (max-width: 1024px) {

  .dropdown-menu,
  .dropdown-submenu {
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0;
    overflow: hidden;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    background: rgba(0, 0, 0, 0.2) !important;
  }

  .nav-dropdown.active-mobile>.dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 2000px;
    /* Allow content to expand */
    padding: 10px 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dropdown-menu li.active-mobile-submenu>.dropdown-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 1000px;
    padding: 10px 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dropdown-menu li a {
    padding: 15px 20px !important;
    font-size: 1rem !important;
    justify-content: center !important; /* Center text in mobile dropdowns */
  }

  .dropdown-submenu li a {
    padding: 12px 10px !important;
    font-size: 0.9rem !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .nav-links li a {
    display: block !important;
    text-align: center !important;
    width: 100%;
    position: relative;
    padding: 15px 10px !important; /* Reduced to avoid wrapping */
    font-size: 1.5rem;
    box-sizing: border-box;
  }

  .dropdown-arrow, .submenu-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px; /* Hit target */
    margin-left: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
  }

  .dropdown-header {
    padding: 20px 20px 10px 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 5px;
    text-align: center !important;
    width: 100%;
    display: block !important;
  }
}

.submenu-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.dropdown-menu li:hover>a .submenu-arrow {
  transform: translateX(5px);
}

/* --- HERO PHASE 2 --- */
.hero-industrial {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  /* Reduced from 480px */
  padding-top: 110px;
  /* Reduced from 140px */
  padding-bottom: 50px;
  width: 100%;
}

.hero-layout-grid {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 5px;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  display: block;
}

.hero-title-bold {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -2px;
}

@media (max-width: 600px) {
  .hero-title-bold {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    letter-spacing: -1px;
    word-break: keep-all;
  }
}

.hero-title-bold span {
  display: block;
  overflow: visible;
  padding-bottom: 5px;
}

.hero-title-bold span i {
  font-style: normal;
  display: block;
  transform: translateY(100%);
  animation: slideUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  white-space: nowrap; /* Prevent word break in title */
}

@media (max-width: 480px) {
  .hero-title-bold, 
  .hero-3d-bg h1, 
  .service-hero h1,
  .about-hero-content h1 {
    font-size: 8vw !important;
    letter-spacing: -1px;
    white-space: normal;
    word-break: keep-all; /* Prevent breaking in middle of words */
  }
}

.hero-description-layered {
  max-width: 650px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text);
  border-left: 5px solid var(--accent);
  padding-left: 2rem;
  margin-top: 2rem;
  animation: fadeIn 1.5s ease 0.6s forwards;
  opacity: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-layout-grid {
    padding: 0 5%;
    align-items: center;
    text-align: center;
  }
  .hero-description-layered {
    border-left: none;
    border-top: 3px solid var(--accent);
    padding-left: 0;
    padding-top: 1.5rem;
    margin: 2rem auto 0;
  }
  .hero-actions {
    justify-content: center;
  }
}

.hero-actions {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  animation: fadeIn 1.5s ease 1s forwards;
  opacity: 0;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* --- MOBILE HAMBURGER --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--trans-fast);
}

/* ==================== ABOUT PAGE STYLES ==================== */
/* About Hero */
.about-hero {
  display: flex;
  min-height: 400px;
  padding-top: 130px;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}

.about-hero-content {
  flex: 1;
  padding: 1.5rem 5% 2.5rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.about-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #4fc3f7;
  margin: 0;
  letter-spacing: -1px;
}

.about-hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 550px;
  opacity: 1;
}

.about-hero-image {
  flex: 1.5;
  /* Bigger image takes more space */
  overflow: hidden;
  position: relative;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Vision & Mission */
.vision-mission-section {
  padding: 4rem 10%;
  background: var(--primary-light);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.vm-card {
  background: #fff;
  border-radius: 16px;
  padding: 3.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 168, 232, 0.08);
  transition: all 0.4s ease;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.vm-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.vm-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #001226;
  margin-bottom: 1rem;
}

.vm-card p {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
}

/* About Image Section */
.about-image-section {
  display: flex;
  align-items: stretch;

  overflow: hidden;
  background: #001226;
  /* Website brand color */
  position: relative;
}

.about-image-left {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.about-image-left img {
  width: 100%;
  height: 100%;

  transition:
    transform 0.8s ease,
    filter 0.5s ease;
  display: block;
}

.about-image-left::after {
  content: "";

  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 168, 232, 0.15),
      rgba(0, 18, 38, 0.3));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.about-image-left:hover::after {
  opacity: 1;
}

.about-image-left:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.1);
}

.about-image-right {
  flex: 1.2;
  padding: 4rem 6%;
  background: #001226;
  /* Brand color */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Entrance animation: slide in from the right */
  animation: slideInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-image-right h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #4fc3f7;
  /* Accent cyan on dark background */
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-image-right p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  /* White on dark bg */
  margin-bottom: 2rem;
}

.about-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-features li {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  /* White for dark bg */
  padding-left: 0.5rem;
  padding: 1rem 0.75rem;
  border-left: 3px solid #4fc3f7;
  /* Cyan accent line */
  animation: fadeInUp 0.5s ease both;
}

.about-features li:nth-child(1) {
  animation-delay: 0.1s;
}

.about-features li:nth-child(2) {
  animation-delay: 0.2s;
}

.about-features li:nth-child(3) {
  animation-delay: 0.3s;
}

.about-features li:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Team Section */
.team-section {
  padding: 4rem 10%;
  background: var(--primary-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 168, 232, 0.08);
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 168, 232, 0.2);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #001226, #00a8e8);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.team-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #001226;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* About CTA */
.about-cta {
  padding: 2.0rem 10%;
  background: linear-gradient(135deg, #001226 0%, #002952 100%);
  color: #fff;
}

.about-cta h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1.15rem;
  opacity: 1;
  color: #fff;
}

@media (max-width: 992px) {
  .about-hero {
    flex-direction: column;
  }

  .about-hero-image {
    height: 280px;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .about-image-section {
    flex-direction: column;
  }

  .about-image-left {
    width: 100%;
    height: 300px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 3D HERO BACKGROUND (ORIGINAL) --- */
.hero-3d-bg {
  position: relative;
  height: 100vh;
  width: 100%;
  background: #001226;
  /* Dark Base */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content-3d {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 10%;
  color: var(--white);
}

/* --- HERO SECTION (NEW LAYERED STYLE) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg-layers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.layer {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
  filter: blur(60px);
  animation: float 20s infinite alternate ease-in-out;
}

.layer-1 {
  animation-duration: 25s;
}

.layer-2 {
  animation-duration: 30s;
  background: radial-gradient(circle at center, var(--primary-light) 0%, transparent 60%);
}

.layer-3 {
  animation-duration: 35s;
  opacity: 0.2;
}

@keyframes float {
  from {
    transform: translate(0, 0) rotate(0deg);
  }

  to {
    transform: translate(5%, 5%) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: var(--container-max);
}

.hero-text-container {
  flex: 1;
}

.hero-title-bold {
  font-size: clamp(2.2rem, 6vw, 5rem);
  /* Increased slightly for impact */
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  /* Enforce straight line */
}

@media (max-width: 768px) {
  .hero-title-bold {
    white-space: normal;
    /* Allow wrap only on mobile */
  }
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--white);
  opacity: 1;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--trans-fast);
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 15px 35px -10px var(--accent-glow);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.hero-image-placeholder {
  flex: 1;
  aspect-ratio: 4/3;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transform: rotateY(-15deg) rotateX(10deg);
  box-shadow: var(--shadow-lg);
}

.hero-image-placeholder::after {
  content: "IMAGE PLACEHOLDER";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  opacity: 0.2;
  font-weight: 700;
  letter-spacing: 2px;
}

@media (max-width: 968px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-placeholder {
    width: 100%;
    transform: none;
  }
}

/* Global Section Styles */
section {
  padding: 2.5rem 15%;
  /* Reduced from 4rem for a more compact layout */
  opacity: 1;
  /* Ensure visible by default */
  transform: none;
  transition:
    opacity 1s ease,
    transform 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
  /* Reduced from 4rem */
  text-align: center;
  font-weight: 700;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  /* Increased gap for more space */
  padding: 2rem 0;
  max-width: 1400px;
  /* Ensure cards can get wider on large screens */
  margin: 0 auto;
}

.product-card {
  border: 1px solid var(--primary-color);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.product-header {
  background-color: var(--primary-color);
  padding: 1rem;
  color: var(--white);
  position: relative;
}

.product-num {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

.product-body {
  padding: 1rem 1.5rem;
  /* Reduced vertical padding to decrease height */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.product-body h3 {
  color: var(--primary-color);
  font-size: 1.15rem;
  /* Slightly smaller for better fit */
  margin-bottom: 0.75rem;
  /* Reduced margin */
  min-height: 2.5rem;
  /* Reduced min-height */
  display: flex;
  align-items: center;
}

.product-body .divider {
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  margin-bottom: 1rem;
  /* Reduced margin */
}

.product-body p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.product-card:hover .product-header {
  background-color: var(--accent-color);
}

.product-card:hover .product-body .divider {
  width: 60px;
  background: var(--accent-color);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* What We Do - Interactive Cards */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Force two columns */
  gap: 6rem;
  /* High gap between cards */
  perspective: 1000px;
}

.card {
  background: var(--white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.05);
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.card:hover {
  transform: translateY(-15px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.15);
}

.card:hover::before {
  transform: scaleX(1);
}

.expertise-list h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.expertise-list h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(15, 23, 42, 0.2);
}

.expertise-list ul li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.expertise-list ul li::before {
  content: "→";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  opacity: 0.8; /* Increased for better visibility */
  transition: var(--transition);
}

.card:hover ul li {
  transform: translateX(5px);
}

.card:hover ul li::before {
  opacity: 1;
  left: 5px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Premium Footer */
.site-footer {
  background-color: #001226;
  color: #e6f7ff; /* Improved contrast */
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer a {
  color: #ffffff !important;
  text-decoration: none;
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--accent-color) !important;
}

/* Footer Logo Row */
.footer-logo-row {
  padding: 2rem 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo-row img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85); /* Increased opacity */
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}

/* Footer Products Row */
.footer-products-row {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-products-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-products-col h4 .bracket {
  color: #fbbf24;
  font-weight: 300;
  margin: 0 6px;
}

.footer-products-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-products-col ul li {
  display: block;
  color: #e6f7ff; /* Improved contrast */
  font-size: 0.92rem;
  transition: color 0.2s;
  padding: 0;
}

.footer-products-col ul li::before {
  display: none;
}

.footer-products-col ul li:hover {
  color: #4fc3f7;
}

/* Footer map + info row */
.footer-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-map {
  width: 100%;
  height: 280px;
  filter: grayscale(0.3) invert(1) hue-rotate(180deg) contrast(0.85) brightness(0.8);
  display: block;
  border: none;
}

.footer-map-info {
  padding: 3rem 5%;
  display: flex;
  align-items: center;
}

.footer-map-info-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-map-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-map-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(79, 195, 247, 0.12);
  border: 1px solid rgba(79, 195, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-map-detail h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4fc3f7;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.footer-map-detail p {
  font-size: 0.95rem;
  color: #e6f7ff;
  line-height: 1.5;
}

/* Footer Bottom Grid */
.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding: 4rem 5% 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.footer-col h4 .bracket {
  color: #fbbf24;
  margin: 0 6px;
  font-weight: 300;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li {
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col p {
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon.facebook {
  background: #3b5998;
}

.social-icon.twitter {
  background: #1da1f2;
}

.social-icon.youtube {
  background: #ff0000;
}

.social-icon.linkedin {
  background: #0077b5;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e6f7ff; /* Improved contrast */
  font-size: 0.85rem;
}

.credits {
  text-align: right;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer-products-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-map-row {
    grid-template-columns: 1fr;
  }

  .footer-logo-row {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .footer-products-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hamburger Active State (X) */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1200px) {
  section {
    padding: 2.5rem 10%;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 968px) {
  section {
    padding: 4rem 5%;
  }

  .about-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slide-content h2 {
    font-size: 3rem;
  }

  header {
    height: 70px;
    padding: 0 5%;
  }

  .logo-container {
    width: auto;
  }

  .logo-container img {
    height: 45px;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #000c1a; /* Darker for better contrast */
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 20px 50px;
    gap: 1rem;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    box-sizing: border-box;
  }

  .nav-links.active {
    right: 0; /* Fully visible */
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger items after opening */
  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }

  .nav-links li a {
    font-size: 1.25rem;
    color: var(--white);
    padding: 15px 0;
    width: 100%;
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .credits {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .slide-content h2 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 2rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }
}

/* Services Split Hero */
.services-hero-split {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  /* Compact height */
  background: #001226;
  color: var(--white);
  text-align: center;
}

.hero-split-content {
  max-width: 800px;
  padding: 3rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero-split-content h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #4fc3f7;
  margin: 0;
  letter-spacing: -1px;
}

.hero-split-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 650px;
  opacity: 1;
  font-weight: 400;
  margin: 0;
}

.hero-split-btn {
  align-self: center;
  background: #00bcd4;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.hero-split-btn:hover {
  background: #00acc1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

/* Service Categories (Image 2) */
.service-categories {
  padding: 2.5rem 10%;
  /* Reduced from 8rem */
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.category-col {
  border-left: 2px solid var(--secondary-color);
  padding-left: 2rem;
}

.category-col h3 {
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.category-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
}

/* Timeline Refinements */
.timeline-section {
  position: relative;
  padding: 6rem 0;
  /* Reduced from 10rem */
  background: #fcfcfc;
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 8rem;
  position: relative;
  z-index: 2;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 85%;
  /* Increased width for the whole card */
  max-width: 1100px;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 168, 232, 0.05);
}

.timeline-item-text {
  flex: 1;
  padding: 4rem;
  position: relative;
  color: var(--text-dark);
}

.timeline-item-image {
  flex: 1;
  height: 400px;
  overflow: hidden;
}

.timeline-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.timeline-item:hover .timeline-item-image img {
  transform: scale(1.05);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 40px;
}

.timeline-spacer {
  display: none;
  /* No longer needed for centering */
}

.timeline-number {
  font-size: 8rem;
  font-weight: 800;
  color: rgba(0, 168, 232, 0.08);
  /* More subtle */
  position: absolute;
  top: -2rem;
  left: 2rem;
  z-index: 0;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .timeline-content {
    flex-direction: column !important;
    width: 100%;
    margin: 0 !important;
  }

  .timeline-item-image {
    width: 100%;
    height: 300px;
    order: -1;
    /* Image always on top on mobile */
  }

  .timeline-item-text {
    padding: 1.5rem 2rem;
  }

  .timeline-item {
    margin-bottom: 4rem;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-section::before {
    display: none;
  }
}

.timeline-content:hover .timeline-number {
  color: rgba(0, 168, 232, 0.3);
  transform: scale(1.1);
}

.timeline-content:hover {
  box-shadow: 0 20px 60px rgba(0, 168, 232, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  box-shadow:
    0 0 0 4px var(--white),
    0 0 0 8px rgba(0, 168, 232, 0.1);
}

@media (max-width: 968px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-split-image {
    display: none;
  }
}

/* ==================== CONTACT PAGE MAP ==================== */

.contact-map-section {
  padding: 2.5rem 10%;
  background: var(--light-bg);
}

.contact-map-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
}

.contact-map-box {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(0, 168, 232, 0.15);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
  background: var(--white);
}

.contact-map-box iframe {
  width: 100%;
  height: 420px;
  border: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-map-section {
    padding: 3rem 5%;
  }

  .contact-map-title {
    font-size: 2rem;
  }

  .contact-map-box iframe {
    height: 300px;
  }
}

/* Fix Contact Page Hidden Sections */

.contact-hero,
.contact-main,
.contact-map-section {
  opacity: 1 !important;
  transform: none !important;
}

/* ================= CONTACT PAGE REDESIGN ================= */

.contact-hero {
  background: linear-gradient(135deg, #001226 0%, #002952 100%);
  padding: 2.5rem 10%;
  text-align: center;
  color: #fff;
}

.contact-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-hero p {
  max-width: 650px;
  margin: auto;
  font-size: 1.15rem;
  opacity: 1;
}

/* Main Section */

.contact-main {
  display: flex;
  background: #f8fafc;
  min-height: 600px;
}

/* Left Panel */

.contact-info-panel {
  flex: 1;
  background: linear-gradient(160deg, #001226, #002952);
  padding: 4rem 6%;
  color: #fff;
}

.contact-info-panel h2 {
  font-size: 2rem;
  color: #4fc3f7;
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
}

.contact-detail-icon {
  width: 45px;
  height: 45px;
  background: rgba(79, 195, 247, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-text h4 {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4fc3f7;
}

.contact-detail-text p {
  opacity: 1;
}

/* Right Panel */

.contact-form-panel {
  flex: 1.4;
  background: #fff;
  padding: 4rem 6%;
}

.contact-form-panel h2 {
  font-size: 2rem;
  color: #001226;
  margin-bottom: 0.5rem;
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 1rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: Outfit, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4fc3f7;
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
  outline: none;
}

.form-submit-btn {
  background: linear-gradient(135deg, #00a8e8, #4fc3f7);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
}

/* Map */

.contact-map-section {
  background: #f8fafc;
  padding: 2.5rem 10%;
}

.contact-map-title {
  text-align: center;
  font-size: 2.4rem;
  color: #001226;
  margin-bottom: 2rem;
}

.contact-map-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.contact-map-box iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Responsive */

@media (max-width: 900px) {

  .contact-main {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-map-box iframe {
    height: 300px;
  }
}

/* ================= CONTACT PAGE PREMIUM UPGRADE ================= */

/* Hero Title Color Fix */

.contact-hero h1 {
  color: #4fc3f7;
  /* Same as Get In Touch */
  text-shadow: 0 4px 20px rgba(79, 195, 247, 0.4);
}


/* ================= MAP SECTION BACKGROUND ================= */

.contact-map-section {
  background: linear-gradient(135deg, #001226 0%, #002952 100%);
  padding: 2.5rem 10%;
  position: relative;
  overflow: hidden;
}

/* Glow Effect */

.contact-map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(79, 195, 247, 0.12), transparent 65%);
  pointer-events: none;
}

/* Map Heading */

.contact-map-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: #4fc3f7;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

/* Map Card */

.contact-map-box {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(79, 195, 247, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: mapFadeIn 1s ease both;
}

.contact-map-box iframe {
  width: 100%;
  height: 420px;
  border: none;
}


/* Map Animation */

@keyframes mapFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ================= FORM DESIGN + ANIMATION ================= */

.contact-form-panel {
  animation: slideFormIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideFormIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Input Focus Effect */

.form-group input,
.form-group textarea,
.form-group select {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #4fc3f7;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.18);
  transform: translateY(-1px);
}


/* Floating Effect on Hover */

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(79, 195, 247, 0.6);
}


/* Submit Button Animation */

.form-submit-btn {
  background: linear-gradient(135deg, #00a8e8, #4fc3f7);
  color: #001226;
  border: none;
  padding: 1rem 2.8rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}


/* Button Shine Effect */

.form-submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: 0.6s;
}

.form-submit-btn:hover::after {
  left: 100%;
}

.form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(79, 195, 247, 0.5);
}


/* ================= FORM FIELD FADE ANIMATION ================= */

.form-group {
  animation: fieldFade 0.6s ease both;
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.form-group:nth-child(2) {
  animation-delay: 0.2s;
}

.form-group:nth-child(3) {
  animation-delay: 0.3s;
}

.form-group:nth-child(4) {
  animation-delay: 0.4s;
}

.form-group:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fieldFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {

  .contact-map-section {
    padding: 4rem 5%;
  }

  .contact-map-title {
    font-size: 2rem;
  }

  .contact-map-box iframe {
    height: 300px;
  }
}

/* ================= FOOTER VISIBILITY FIX ================= */

/* Always show footer */
.site-footer {
  opacity: 1 !important;
  transform: none !important;
  position: relative;
  z-index: 5;
  display: block;
}

/* Prevent map section from covering footer */
.contact-map-section {
  position: relative;
  z-index: 1;
}

/* Footer Animation */

.site-footer {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.site-footer.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= WHATSAPP BUTTON ================= */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 34px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Mobile Size */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}

/* =====================================================
   FINAL MOBILE + LAYOUT FIX (ALL PAGES)
   Fixes: Hamburger, Slider, Gaps, Overflow, WhatsApp
===================================================== */


/* STOP LEFT-RIGHT SCROLL */
html,
body {
  width: 100%;
  overflow-x: hidden !important;
}


/* ================= HEADER + HAMBURGER ================= */

@media (max-width: 968px) {

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 0.8rem 5%;
    background: var(--primary-color);
    z-index: 99999;
  }

  body {
    padding-top: 90px;
  }

  .logo-container img {
    height: 60px;
    object-fit: contain;
  }

  .hamburger {
    display: flex !important;
    z-index: 100000;
  }

  .hamburger span {
    background: #ffffff;
  }

}


/* ================= MOBILE MENU ================= */

@media (max-width: 968px) {

  .nav-links {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    gap: 2rem;
    overflow-y: auto;
    z-index: 9999;
  }

  .nav-links.active {
    left: 0;
  }

}


/* ================= FORCE ALL CONTENT VISIBLE ================= */

@media (max-width: 900px) {

  section,
  .about-hero,
  .vision-mission-section,
  .about-image-section,
  .team-section,
  .contact-main,
  .contact-map-section,
  .services-hero-split,
  .service-categories {

    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;

  }

}


/* ================= CONTACT PAGE GAP FIX ================= */

@media (max-width: 768px) {

  .contact-hero {
    padding-top: 7rem !important;
    min-height: auto !important;
  }

}


/* ================= ABOUT PAGE ================= */

@media (max-width: 900px) {

  .about-hero {
    flex-direction: column;
    text-align: center;
  }

  .about-image-section {
    flex-direction: column;
  }

  .about-image-left,
  .about-image-right {
    width: 100%;
    height: auto;
  }

}


/* ================= TEAM SECTION ================= */

@media (max-width: 768px) {

  .team-grid {
    grid-template-columns: 1fr;
  }

}


/* ================= SERVICES PAGE ================= */

@media (max-width: 900px) {

  .categories-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

}


/* ================= CONTACT FORM ================= */

@media (max-width: 900px) {

  .contact-main {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

}


/* ================= SLIDER FIX ================= */

@media (max-width: 768px) {

  /* Remove big padding */
  .slide {
    padding: 0 5% !important;
  }

  /* Arrow size */
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Keep arrows inside */
  .slider-arrow.prev {
    left: 10px !important;
  }

  .slider-arrow.next {
    right: 10px !important;
  }

}


/* ================= WHATSAPP BUTTON ================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img,
.whatsapp-float svg {
  width: 26px;
}


/* Mobile WhatsApp */

@media (max-width: 600px) {

  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 8px;
    right: 8px;
  }

  .whatsapp-float img,
  .whatsapp-float svg {
    width: 22px;
  }

}


/* ================= FOOTER FIX ================= */

.site-footer {
  opacity: 1 !important;
  transform: none !important;
  z-index: 5;
}


@media (max-width: 900px) {

  .footer-products-row,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

}


/* ================= GLOBAL WIDTH FIX ================= */

* {
  max-width: 100%;
}

img,
iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================= REMOVE SLIDER ARROWS ================= */

.slider-arrow,
.slider-arrow.prev,
.slider-arrow.next {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ================= SLIDER ONE-BY-ONE FIX ================= */

.slider {
  display: flex;
  width: 100% !important;
  height: 100%;
  overflow: hidden;
}

.slide {
  min-width: 100% !important;
  width: 100% !important;
  flex-shrink: 0;
  height: 100%;
  padding: 0 6%;
  box-sizing: border-box;
}

/* =====================================================
   FINAL SLIDER OVERRIDE (DO NOT REMOVE)
===================================================== */

/* Force correct slider width */
.slider {
  width: 100% !important;
  display: flex !important;
  overflow: hidden !important;
}

/* One slide = full screen */
.slide {
  min-width: 100% !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  padding: 0 4% !important;
}

/* Remove old 300% layout */
.hero .slider {
  width: 100% !important;
}

/* Fix text overflow */
.slide-content {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Mobile font fix */
@media (max-width: 768px) {

  .slide-content h1,
  .slide-content h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }

  .slide-content p {
    font-size: 1rem !important;
  }

}

/* Hide arrows forever */
.slider-arrow {
  display: none !important;
}

/* =====================================================
   COMPREHENSIVE MOBILE RESPONSIVE — ALL PAGES
   Covers: index, about, services, contact, service pages
===================================================== */

/* ===== BASE VIEWPORT SAFETY ===== */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* ===== TABLET BREAKPOINT (max-width: 900px) ===== */
@media (max-width: 900px) {

  /* --- HERO SECTION --- */
  .hero {
    height: 55vh;
    min-height: 340px;
  }

  /* --- INDEX: ABOUT GRID --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* --- INDEX: WHAT WE DO --- */
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* --- INDEX: SERVICES GRID --- */
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* --- ABOUT HERO --- */
  .about-hero {
    flex-direction: column;
  }

  .about-hero-content {
    padding: 3rem 5%;
  }

  .about-hero-content h1 {
    font-size: 3rem;
  }

  .about-hero-image {
    width: 100%;
    height: 260px;
    flex: none;
  }

  /* --- ABOUT: VISION MISSION --- */
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vm-card {
    padding: 2.5rem;
  }

  /* --- ABOUT: IMAGE SECTION --- */
  .about-image-section {
    flex-direction: column;
  }

  .about-image-left {
    width: 100%;
    height: 260px;
  }

  .about-image-right {
    width: 100%;
    padding: 3rem 5%;
  }

  .about-image-right h2 {
    font-size: 1.8rem;
  }

  /* --- ABOUT TEAM --- */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* --- ABOUT CTA --- */
  .about-cta {
    padding: 3rem 5%;
  }

  .about-cta h2 {
    font-size: 2rem;
  }

  /* --- SERVICES PAGE (services.html) --- */
  .services-hero-split {
    min-height: 180px;
    padding: 0 5%;
  }

  .hero-split-content h1 {
    font-size: 2.5rem;
  }

  .hero-split-content p {
    font-size: 1rem;
  }

  .service-categories {
    padding: 4rem 5%;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* --- TIMELINE (services.html) --- */
  .timeline-section {
    padding: 5rem 3%;
  }

  .timeline-item {
    flex-direction: column;
    margin-bottom: 3rem;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-content {
    flex-direction: column !important;
    width: 100%;
    margin: 0 !important;
  }

  .timeline-item-image {
    width: 100%;
    height: 220px;
    order: -1;
  }

  .timeline-item-text {
    padding: 1.0rem 1.5rem;
  }

  /* --- CONTACT PAGE --- */
  .contact-hero {
    padding: 4rem 5%;
  }

  .contact-hero h1 {
    font-size: 2.4rem;
  }

  .contact-main {
    flex-direction: column;
  }

  .contact-info-panel,
  .contact-form-panel {
    width: 100%;
    padding: 3rem 5%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-map-section {
    padding: 4rem 5%;
  }

  .contact-map-title {
    font-size: 2rem;
  }

  .contact-map-box iframe {
    height: 280px;
  }

  /* --- FOOTER --- */
  .footer-products-row {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 5%;
    gap: 2rem;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 5%;
    gap: 2rem;
  }

  .footer-map-row {
    grid-template-columns: 1fr;
  }

  .footer-logo-row {
    padding: 2rem 5%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom {
    padding: 1.5rem 5%;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* --- SECTION GLOBAL PADDING --- */
  section {
    padding: 4rem 5%;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

}


/* ===== MOBILE BREAKPOINT (max-width: 600px) ===== */
@media (max-width: 600px) {

  /* --- HERO BANNER --- */
  .hero {
    height: 50vh;
    min-height: 300px;
  }

  .slide-content h1,
  .slide-content h2 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem;
  }

  .slide-content p {
    font-size: 0.95rem !important;
  }

  .slide-content {
    padding: 0 2%;
  }

  /* --- INDEX: ABOUT GRID --- */
  .about-grid {
    gap: 1.5rem;
  }

  /* --- INDEX: SERVICES GRID --- */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .product-body h3 {
    font-size: 1.1rem;
  }

  /* --- INDEX: WHAT WE DO --- */
  .card {
    padding: 1.0rem 1.5rem;
  }

  /* --- ABOUT HERO --- */
  .about-hero-content h1 {
    font-size: 2.2rem;
  }

  .about-hero-content p {
    font-size: 1rem;
  }

  /* --- ABOUT TEAM --- */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* --- ABOUT CTA --- */
  .about-cta h2 {
    font-size: 1.6rem;
  }

  /* --- SERVICES PAGE HERO --- */
  .hero-split-content h1 {
    font-size: 1.9rem;
    letter-spacing: -0.5px;
  }

  /* --- CONTACT --- */
  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-info-panel h2,
  .contact-form-panel h2 {
    font-size: 1.5rem;
  }

  .form-submit-btn {
    width: 100%;
    padding: 0.9rem;
    text-align: center;
  }

  /* --- FOOTER --- */
  .footer-products-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-products-col ul li::before {
    display: none;
  }

  .footer-products-col ul li {
    text-align: center;
  }

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

  .footer-col ul li {
    text-align: center;
  }

  .footer-col h4 {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-map {
    height: 220px;
  }

  .footer-map-info {
    padding: 2rem 5%;
  }

  /* --- SECTION GLOBAL PADDING --- */
  section {
    padding: 3rem 4%;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  /* --- NAV DROPDOWN ON MOBILE --- */
  .nav-dropdown.active-mobile .dropdown-menu {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0; 
    gap: 0;
    align-items: center; 
    width: 100%;
  }

  .nav-dropdown .dropdown-menu li {
    width: 100%;
    display: block; /* Safer for centering child 'a' tags */
  }

  .nav-dropdown .dropdown-menu li a {
    font-size: 1rem !important;
    padding: 1rem 10px !important; /* Reduced side padding */
    color: rgba(255, 255, 255, 0.75) !important;
    border-left: none !important; 
    display: block !important;
    text-align: center !important;
    width: 100%;
  }

  /* --- GLOBAL HEADING SAFETY --- */
  h1,
  h2,
  h3 {
    word-break: break-word;
  }

  /* --- BTN FULL WIDTH --- */
  .hero-split-btn,
  .sp-btn-primary,
  .sp-btn-outline,
  .sp-btn-outline-light {
    width: 100%;
    text-align: center;
  }

  .sp-hero-btns {
    flex-direction: column;
  }
}

/* ===== SERVICES.HTML INLINE STYLE OVERRIDES ON MOBILE ===== */
@media (max-width: 900px) {

  /* Override the large inline padding-top: 15rem on timeline section */
  .timeline-section {
    padding-top: 5rem !important;
  }

  /* Reduce large inline heading in services timeline */
  .timeline-section .container h2 {
    font-size: 2.2rem !important;
    margin-bottom: 4rem !important;
  }

  /* Make category-col borders mobile-friendly */
  .category-col {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--secondary-color);
    padding-top: 1.5rem;
  }
}

@media (max-width: 600px) {
  .timeline-section {
    padding-top: 3rem !important;
    padding-left: 4%;
    padding-right: 4%;
  }

  .timeline-section .container h2 {
    font-size: 1.7rem !important;
    margin-bottom: 2.5rem !important;
  }
}

/* =====================================================
   SLIDER / HERO FULL-WIDTH FIX
   Ensures hero and slides take 100vw, no max-width cap
===================================================== */

/* Exempt the slider and slides from the global max-width cap */
.hero,
.slider-container,
.slider,
.slide {
  max-width: none !important;
}

/* slider-container clips to one slide at a time */
.slider-container {
  width: 100% !important;
  overflow: hidden !important;
  height: 100% !important;
  position: relative !important;
}

/* .slider is wide enough to hold ALL slides side-by-side */
.slider {
  display: flex !important;
  width: 100vw !important;
  height: 100% !important;
  transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}

/* Each slide = exactly one full viewport width */
.slide {
  min-width: 100vw !important;
  width: 100vw !important;
  flex-shrink: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Re-apply the Ken Burns pseudo on top of slide background */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.08);
  transition: transform 10s linear;
}

.slide.active::before {
  transform: scale(1.18);
}

/* Dark overlay stays on top of image */
.slide::after {
  z-index: 1;
}

/* Slide content sits above overlay */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 5% !important;
}

/* =====================================================
   REMOVE SLIDER DOTS (ALL SCREEN SIZES)
===================================================== */
.slider-dots {
  display: none !important;
}

/* =====================================================
   FULL-WIDTH SECTIONS ON MOBILE
===================================================== */
@media (max-width: 900px) {

  section,
  .sp-process,
  .sp-services,
  .sp-why,
  .sp-cta,
  .about-hero,
  .about-image-section,
  .vision-mission-section,
  .team-section,
  .contact-hero,
  .contact-main,
  .contact-map-section,
  .services-hero-split,
  .service-categories,
  .timeline-section,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* On mobile, make hero fill the full screen height nicely */
@media (max-width: 600px) {
  .hero {
    height: 60vh !important;
    min-height: 320px !important;
  }

  /* Dots hidden (already hidden globally, double-safe) */
  .slider-dots {
    display: none !important;
  }

  /* Progress bar also hide on small screens */
  .slider-progress {
    display: none;
  }
}

/* --- HEXAGON GRID (Applications) --- */
.hexagon-container {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: var(--primary);
}

.hexagon-grid {
  display: grid;
  grid-template-columns: repeat(3, 270px);
  gap: 20px;
  grid-auto-rows: 155px;
  width: fit-content;
  margin: 0 auto;
}

.hexagon {
  position: relative;
  width: 250px;
  height: 144.34px;
  background-color: var(--glass-bg);
  margin: 0 auto;
  border-left: solid 3px var(--glass-border);
  border-right: solid 3px var(--glass-border);
  transition: var(--trans-medium);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  transform-style: preserve-3d;
  backdrop-filter: var(--glass-blur);
  z-index: 1;
}

.hexagon::before,
.hexagon::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 176.78px;
  height: 176.78px;
  transform: scaleY(0.5774) rotate(-45deg);
  background-color: inherit;
  left: 33.61px;
  transition: var(--trans-medium);
}

.hexagon::before {
  top: -88.39px;
  border-top: solid 4.24px var(--glass-border);
  border-right: solid 4.24px var(--glass-border);
}

.hexagon::after {
  bottom: -88.39px;
  border-bottom: solid 4.24px var(--glass-border);
  border-left: solid 4.24px var(--glass-border);
}

.hexagon:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-10px) scale(1.05);
  z-index: 10;
  border-color: var(--white);
}

.hexagon:hover::before,
.hexagon:hover::after {
  background-color: var(--accent);
  border-color: var(--white);
}

.hex-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.hex-content i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.hex-content h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hex-content p {
  font-size: 0.8rem;
  opacity: 0;
  height: 0;
  transition: var(--trans-fast);
  overflow: hidden;
}

.hexagon:hover .hex-content p {
  opacity: 1;
  height: auto;
  margin-top: 10px;
}

@media (max-width: 968px) {
  .hexagon-grid {
    grid-template-columns: repeat(2, 270px);
  }
}

@media (max-width: 600px) {
  .hexagon-grid {
    grid-template-columns: 270px;
  }
}



/* --- SERVICES HERO FIX --- */
.services-hero-split {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding-top: 150px;
  padding-bottom: 60px;
  width: 100%;
  text-align: center;
}

.services-hero-split h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.services-hero-split p {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-split-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero-split-btn:hover {
  background: var(--accent-light, #00BFFF);
}



/* --- ANIMATED HERO BACKGROUND (ALL PAGES) --- */
.hero-industrial,
.services-hero-split,
.about-hero {
  background: linear-gradient(-45deg, #001a33, #003366, #000c1a, #001240);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden !important;
}

.hero-industrial::before,
.services-hero-split::before,
.about-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, rgba(0, 191, 255, 0) 70%);
  animation: floatGlow1 8s infinite alternate ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.hero-industrial::after,
.services-hero-split::after,
.about-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.2) 0%, rgba(0, 85, 255, 0) 70%);
  animation: floatGlow2 12s infinite alternate-reverse ease-in-out;
  z-index: 0;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatGlow1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(5vw, 5vw) scale(1.1);
  }
}

@keyframes floatGlow2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-5vw, -5vw) scale(1.2);
  }
}

/* Ensure foreground content stays above glow layers */
.hero-layout-grid,
.hero-split-content,
.about-hero-content,
.about-hero-image {
  position: relative;
  z-index: 10;
}