/* ==========================================================================
   SUHANA ENTERPRISES - GLOBAL DESIGN SYSTEM
   ========================================================================== */

/* --- 1. CSS VARIABLES (The Source of Truth) --- */
:root {
  /* Colors - Light Industrial Theme with Red/Blue Accents */
  --clr-primary: #1cc3ff;       /* Deep Industrial Blue */
  --clr-primary-dark: #7600de;  /* Hover state for primary */
  --clr-accent-red: #cf0202;    /* Aggressive Industrial Red */
  
  --clr-text-main: #0f172a;     
  --clr-text-muted: #475569;    
  --clr-bg-main: #f8fafc;       
  --clr-bg-card: rgba(255, 255, 255, 0.95); 
  --clr-border: rgba(15, 23, 42, 0.1);

  :root {
  --color-1: #000000;
  --color-2: #ff0000;
  --color-3: #3c1aff;
  --color-4: #00ffcc;
  --color-5: #7600de;

}

  /* Typography */
  --font-heading: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Global Spacing (Fluid) */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(1rem, 2vw, 1.5rem);
  --space-md: clamp(2rem, 4vw, 3rem);
  --space-lg: clamp(4rem, 8vw, 6rem);
  
  /* UI Elements */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
}

/* --- 2. GLOBAL RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text-main);
  background-color: var(--clr-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--clr-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--clr-primary-dark);
}

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-text-main);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

/* Fluid Heading Sizes */
.se-h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.se-h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.se-h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.se-h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-sm);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.se-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  display: block;
  margin-bottom: var(--space-xs);
}

/* --- 4. LAYOUT & CONTAINERS --- */
.se-section {
  padding: var(--space-lg) 0;
  position: relative;
}

.se-section-light {
  background-color: #ffffff;
}

.se-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; 
}

.se-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr; 
}

@media (min-width: 768px) {
  .se-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .se-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .se-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.align-items-center { align-items: center; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--space-md) !important; }

/* --- 5. UI COMPONENTS --- */

/* Buttons */
.se-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  min-height: 48px; 
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.se-btn-primary {
  background-color: var(--clr-primary);
  color: #ffffff;
}

.se-btn-primary:hover {
  background-color: var(--clr-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.se-btn-outline {
  background-color: transparent;
  color: var(--clr-text-main);
  border: 2px solid var(--clr-text-main);
}

.se-btn-outline:hover {
  background-color: var(--clr-text-main);
  color: #ffffff;
}

/* Glass/Industrial Cards */
.se-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  overflow: hidden;
}

.se-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Status Badges */
.se-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.se-badge-running {
  background-color: #fef08a; 
  color: #854d0e;
}

.se-badge-completed {
  background-color: #bbf7d0; 
  color: #166534;
}

/* --- 6. NAVIGATION & TOP BAR --- */

/* Restored Top Bar (Standard scrolling) */
.se-top-bar {
  background-color: #111111;
  color: #cccccc;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
  font-weight: 500;
}
.se-header{padding-top:.5 !important;
padding-bottom:.5 !important;}
/* STICKY GLASSMORPHISM MAIN HEADER */
.overlay-header {
  position: absolute; 
  top: 40px; /* Sits right below the top bar */
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent; 
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.overlay-header.scrolled {
  position: fixed; /* Locks it to the screen */
  top: 0; /* Moves it to the absolute top, covering where the top bar was */
  background: rgba(15, 23, 42, 0.25); /* Deep sheer tint */
  backdrop-filter: blur(24px); /* Frosted glass blur */
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Soft shadow to separate it from the page */
}

/* Desktop Navigation Layout */
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.overlay-header .main-nav a {
  position: relative; /* Required for the animated underline */
  color: #ffffff;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block; /* Allows the text to physically move */
}
.overlay-header .main-nav a::after {
  content: '';
  position: absolute;
  width: 0; /* Starts at 0 width */
  height: 2px;
  bottom: -6px; /* Sits just underneath the text */
  left: 50%;
  transform: translateX(-50%); /* Centers the starting point */
  background-color: var(--clr-primary); /* Your bright cyan color */
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 2px;
}

.overlay-header .main-nav a:hover {
  color: var(--clr-primary); /* Keep the text white so the cyan line stands out more */
  transform: translateY(-2px); /* Text floats up slightly */
}
.overlay-header .main-nav a:hover::after {
  width: 100%; /* The line expands outward from the center */
}
/* --- ACTIVE NAVIGATION LINK --- */

/* Desktop Active State: Solid Primary Background */
.overlay-header .main-nav a.active-nav {
  background-color: var(--clr-primary);
  color: #ffffff !important; /* Ensures the text stays white */
  padding: 0.4rem 1rem;
  border-radius: 4px; /* Soft edges for the background fill */
}

/* Hide the animated hover underline on the active link */
.overlay-header .main-nav a.active-nav::after {
  display: none; 
}

/* We also need to adjust the hover state so the active link doesn't float up */
.overlay-header .main-nav a.active-nav:hover {
  transform: none; 
  cursor: default;
}

/* Hamburger Button (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 999;
}

/* Hamburger to 'X' Animation */
.mobile-menu-toggle svg line {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .line-top {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .line-middle {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .line-bottom {
  transform: translateY(-6px) rotate(-45deg);
}


/* --- MOBILE RESPONSIVE NAVIGATION --- */
@media (max-width: 768px) {
  
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide Top Bar on mobile to save screen space */
  .se-top-bar {
    display: none; 
  }

  /* The Dropdown Menu Settings */
  .nav-list {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    /* Keep dropdown solid so links are easy to read */
    background-color: rgba(100, 100, 100, 0.3); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  /* Expanded Menu State */
  .nav-list.active {
    max-height: 400px;
  }

  /* Left-Aligned links for mobile */
  .nav-list li {
    width: 100%;
    text-align: left; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .overlay-header .main-nav a {
    display: block;
    padding: 1.25rem 2rem; 
  }

  /* Adjust CTA button spacing */
  .nav-list .nav-cta {
    padding: 1.5rem 2rem;
    border-bottom: none;
    text-align: left;
  }
  
  .nav-list .nav-cta a {
    display: inline-block;
    width: 100%;
  }
  /* Mobile Active State: Sheer background with left border */
  .overlay-header .main-nav a.active-nav {
    background-color: rgba(28, 195, 255, 0.15); /* Very sheer cyan tint */
    color: var(--clr-primary) !important;
    border-left: 4px solid var(--clr-primary);
    border-radius: 0;
    padding-left: calc(2rem - 4px); /* Keeps the text aligned perfectly with the other links */
  }
}

/* --- 7. CINEMATIC HERO CAROUSEL --- */

.se-hero-carousel {
  position: relative;
  width: 100%;
  height: 75vh; 
  min-height: 500px;
  overflow: hidden;
  background-color: #000;
}

/* 1. Smooth Dissolve Background */
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease-in-out; /* Smooth crossfade */
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.slide-container {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
}

/* 2. Your Impact Box Specs + Vertical Centering + Animation Setup */
.hero-impact-box {
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 250px;
  height: 350px;
  overflow: visible; 
  position: relative;
  left: 10%;
  z-index: 5;
  
  /* Flexbox to keep content vertically centered */
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* Start hidden and pushed left for animation */
  opacity: 0;
  transform: translateX(-250px);
}

.hero-impact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 25px solid var(--clr-accent-red); 
  background: rgba(0,0,0,0.25); 
  z-index: -1; 
  animation: floatBox 8s ease-in-out infinite; 
}

@keyframes floatBox {
  0% { transform: translate(0px, 0px); }
  50% { transform: translate(15px, -5px); } 
  100% { transform: translate(0px, 0px); }
}

/* 3. Your Text Specs + Animation Setup */
.hero-content-wrapper {
  /* Start hidden for animation */
  opacity: 0;
}

.hero-subtitle {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  transform: translateX(15%); 
}

.hero-main-title {
  color: #ffffff;
  font-family: var(--font-body); 
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  text-transform: capitalize;
  transform: translateX(5%); 
  width: 300%; 
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-btn {
  border-radius: 0; 
  padding: 1rem;
  font-size: .8rem;
  background-color: var(--clr-primary);
  color: #ffffff;
  border: none;
  transform: translateX(15%); 
}

.hero-btn:hover {
  background-color: #ffffff;
  color: var(--clr-primary);
}

/* 4. THE SEQUENCED ANIMATION TRIGGERS */
/* When slide is active, animate the box in */
.hero-slide.active .hero-impact-box {
  animation: slideInBox 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

/* When slide is active, fade the text in AFTER the box */
.hero-slide.active .hero-content-wrapper {
  animation: fadeInText 0.8s ease-out 1.2s forwards;
}

@keyframes slideInBox {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

/* Slider Controls */
.hero-slider-controls {
  position: absolute;
  bottom: 0;
  right: 10%;
  display: flex;
  z-index: 10;
}

.slider-arrow {
  background-color: var(--clr-accent-red); 
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.slider-arrow:hover {
  background-color: #ffffff;
  color: var(--clr-accent-red);
}

.slider-arrow:last-child {
  margin-left: 2px; 
}

/* --- 8. PAGE SECTIONS --- */

/* Trust Bar */
.trust-bar-section {
  background-color: var(--clr-bg-card);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-md) 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-item strong {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--clr-primary);
  font-family: var(--font-heading);
}

.trust-item span {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
/* --- 9. OUR STORY SECTION --- */

.our-story-section {
  padding: var(--space-lg) 0;
  overflow: visible;
  padding:100px 50px;
}

.story-content .se-h2 {
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

/* Signature Area */
.signature-block {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.signature-img {
  max-width: 180px;
  height: auto;
  opacity: 0.8;
}

.signature-details {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 1.5rem;
}

.sig-meta {
  display: flex;
  flex-direction: column;
}

.sig-meta strong {
  font-size: 1.25rem;
  color: var(--clr-text-main);
}

.sig-meta span {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.sig-socials {
  display: flex;
  gap: 1rem;
}

.sig-socials a {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-text-main);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.sig-socials a:hover {
  opacity: 1;
  color: var(--clr-primary);
}

/* Visuals & Experience Badge */
.story-visuals {
  position: relative;
}

.story-image-wrapper {
  position: relative;
  padding: 1rem;
}

.main-story-img {
  width: 100%;
  height: 450px;
  /*border-radius: var(--radius-md);*/
  box-shadow: var(--shadow-card);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  background-color: #111111; /* Dark industrial background */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  border: 10px solid #ffffff;
  box-shadow: var(--shadow-hover);
  z-index: 10;
}

.badge-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--clr-accent-red); /* Industrial Red from our theme */
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* Mobile Adjustments for the Overlapping Badge */
@media (max-width: 768px) {
  .experience-badge {
    width: 140px;
    height: 140px;
    bottom: -20px;
    left: 10px;
  }
  
  .badge-number {
    font-size: 2.25rem;
  }
  
  .badge-text {
    font-size: 0.7rem;
  }
  .our-story-section{
      padding:100px 10px;
  }
}
/* Featured Project */
.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
}

@media (min-width: 992px) {
  .featured-card {
    grid-template-columns: 3fr 2fr;
  }
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.featured-info {
  padding: var(--space-md);
}

.project-stats {
  list-style: none;
  margin-bottom: var(--space-md);
  padding-left: 1rem;
  border-left: 3px solid var(--clr-primary);
}

.project-stats li { margin-bottom: 0.5rem; }
.project-stats strong { color: var(--clr-text-muted); }


/* --- 10. FULL-WIDTH INDUSTRIAL PORTFOLIO SLIDER (REFINED) --- */

/* --- 10. FULL-WIDTH INDUSTRIAL PORTFOLIO SLIDER (FINAL REFINED) --- */

/* Base settings and consistency: ensure no radius on ALL images in this section */
#portfolio img {
  border-radius: 0 !important;
}

/* --- HEADER SPLIT LAYOUT --- */
.port-header-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: flex-end;
}

.port-header-left .se-subtitle,
.port-header-left .se-h2 {
  margin-left: 0;
}

.portfolio-section-desc {
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .port-header-split {
    grid-template-columns: 1fr 1.5fr; /* Left side smaller, right side larger */
    gap: var(--space-lg);
  }
}

/* --- SLIDER WRAPPERS --- */
.port-slider-wrapper-full {
  position: relative;
  width: 100%;
}

.port-main-display-full {
  position: relative;
  width: 100%;
  height: 70vh; 
  min-height: 500px;
  background-color: #000;
  overflow: hidden;
}

/* Overlay for bg image */
.port-overlay-dark {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}

/* Base slide state */
.port-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.port-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

/* --- SMALLER FLOATING BOX (SHARP & HEAVY) --- */
.port-floating-box-sharp.smaller-box {
  position: relative;
  background: #ffffff;
  padding: 1rem; 
  max-width: 300px; 
  border-left: 10px solid var(--clr-primary); /* Set to primary blue */
  box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
  transform: translateX(150px);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, opacity 0.6s ease 0.2s;
  opacity: 0;
  border-radius: 0; 
  margin-right: 2%; 
  margin-bottom: 2%;
  transition-delay: .5s;
}

.port-slide.active .port-floating-box-sharp.smaller-box {
  transform: translateY(0);
  opacity: 1;
}

/* Text styles within smaller box */
.port-floating-box-sharp .port-meta {
  display: block;
  font-size: 0.65rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.port-floating-box-sharp .port-title {
  color: var(--clr-text-main);
  margin-bottom: 1rem;
  font-size:1.5rem;
}

.port-floating-box-sharp .port-desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--clr-text-muted);

}

.port-floating-box-sharp .port-link-btn {
  align-self: flex-start;
}

/* --- INDUSTRIAL CTA BUTTON (BLUE THEME) --- */
.se-btn-industrial {
  border-radius: 0; /* Strict sharp corners */
  font-weight: 800; /* Bold font */
  text-transform: uppercase; 
  background-color: var(--clr-primary); /* Primary Blue */
  color: #fff; 
  padding: 0.75rem 2rem; 
  font-size: 0.9rem; 
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px; 
}

.se-btn-industrial:hover {
  background-color: var(--clr-primary-dark); /* Darker Blue */
  color: #fff; 
}

/* --- LIGHTER THUMBNAILS AREA --- */
.port-controls-area-full.lighter-bg {
  background: #f1f5f9; 
  padding: 1rem 0;
  border-bottom: 3px solid var(--clr-primary);
  border-top: 1px solid var(--clr-border); 
}

/* Update Arrow Style for consistent industrial look */
.port-arrow-sharp.industrial-arrow {
  background: transparent;
  border: 2px solid #cbd5e1; 
  color: var(--clr-text-main);
  width: 45px; height: 45px;
  border-radius: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.port-arrow-sharp.industrial-arrow:hover {
  background-color: var(--clr-primary); /* Blue Hover */
  color: #fff; 
  border-color: var(--clr-primary); 
}

/* --- THUMBNAIL HIGHLIGHT UPGRADE --- */
.port-thumbnails-sharp.larger-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 1rem; /* Added padding to allow shadow lift without clipping */
  scrollbar-width: none;
}
.port-thumbnails-sharp.larger-thumbs::-webkit-scrollbar { display: none; }

.port-thumb-sharp {
  width: 150px; 
  height: 90px; 
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.4;
  border: 2px solid transparent; 
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 0; 
  overflow: visible; /* Needed for shadow */
}

.port-thumb-sharp img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(1.1); 
  transition: filter var(--transition-fast);
}

.port-thumb-sharp:hover { 
  opacity: 1; 
}

/* Active Thumbnail Highlight */
.port-thumb-sharp.active {
  opacity: 1;
  border-color: var(--clr-primary); /* Blue border */
  transform: translateY(-8px); /* Physically lifts up */
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Drop shadow */
}

.port-thumb-sharp.active img {
  filter: grayscale(0%); 
}

/* Style the icon within industrial details button */
.port-link-btn .port-link-icon {
  margin-left: 0.5rem;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .smaller-box {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
    border-bottom: 6px solid var(--clr-primary) !important;
  }
}


/* --- 11. SERVICES BENTO BOX --- */

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  /* Ensure no border radii slip in */
  border-radius: 0;
}

/* Tablet & Desktop Layout */
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
  }
  
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  overflow: hidden;
  border-radius: 0 !important; /* Strict sharp corners */
  text-decoration: none;
  background-color: #000;
  border: 1px solid var(--clr-border);
}

/* The Background Image */
.bento-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6); /* Starts dark and gray */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  z-index: 1;
}

/* Gradient Overlay for Text Readability */
.bento-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(00,00,00,0.5) 60%);
  z-index: 2;
  transition: opacity 0.5s ease;
}

/* The Text Content */
.bento-content {
  position: relative;
  z-index: 5;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #ffffff;
  border-left: 0px solid var(--clr-accent-red);
  transition: border-width 0.3s ease, padding-left 0.3s ease;
}

.bento-icon .modern-svg-icon {
  width: 36px;
  height: 36px;
  color: #ffffff; /* Start stark white for contrast against dark background */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}
.bento-content h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.bento-content p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Truncates long text */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-primary);
  letter-spacing: 0.05em;
  opacity: 0; /* Hidden by default */
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: inline-block;
}

/* --- THE HOVER ANIMATION --- */
.bento-card:hover .bento-bg {
  transform: scale(1.05); /* Slight zoom */
  filter: grayscale(0%) brightness(0.8); /* Bursts into color */
}

.bento-card:hover .bento-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 70%);
}

.bento-card:hover .bento-content {
  border-left: 8px solid var(--clr-accent-red); /* Red accent appears */
  padding-left: calc(clamp(1.5rem, 3vw, 2.5rem) - 8px); /* Shifts padding to keep text still */
}

.bento-card:hover .bento-link {
  opacity: 1; /* Link appears */
  transform: translateY(0);
}
.bento-card:hover .modern-svg-icon {
  color: var(--clr-primary); 
  transform: scale(1.15) translateY(-2px);
}

/* --- 12. PROCESS / HOW WE WORK SECTION --- */

.process-card-sharp {
  position: relative;
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border: 1px solid var(--clr-border);
  border-top: 6px solid var(--clr-primary); /* Industrial Blue Top Border */
  border-radius: 0; /* Strict sharp corners */
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.process-card-sharp:hover {
  border-top-color: var(--clr-accent-red); /* Snaps to Red on hover */
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* The Massive Background Numbers */
.process-watermark {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--font-body);
  color: rgba(15, 23, 42, 0.04); /* Extremely faint dark slate */
  line-height: 1;
  z-index: -1;
  user-select: none;
  transition: color 0.3s ease;
}

.process-card-sharp:hover .process-watermark {
  color: rgba(225, 29, 72, 0.08); /* Faint red on hover */
}

/* Content Formatting */
.process-content {
  position: relative;
  z-index: 5;
}

.modern-svg-icon {
  width: 26px;
  height: 26px;
  color: var(--clr-primary); /* Starts off Blue */
  transition: color 0.3s ease;
}

/* Make sure the icon wrapper ignores the old emoji styles */
.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #f1f5f9;
  border-radius: 0; 
  margin-bottom: 1.5rem;
  border: 1px solid var(--clr-border);
  transition: background-color 0.3s ease;
}

.process-card-sharp:hover .process-icon {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.process-card-sharp:hover .modern-svg-icon {
  color: #ffffff; /* Vector turns crisp white */
}

.process-content .se-h4 {
  margin-bottom: 1rem;
  color: var(--clr-text-main);
}

.process-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--clr-text-muted);
}


/* --- 13. FACTS IN NUMBERS SECTION (Dark Industrial Parallax) --- */

.achievements-dark-bg {
  position: relative;
  padding: 6rem 0;
  background-image: url('../images/achievements-bg.jpg'); /* Adjust path if your CSS is in a different folder */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates the premium parallax scrolling effect */
}

/* Dark steel overlay to make text readable */
.achievements-dark-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /* A gradient shadow that darkens the edges but leaves the center texture visible */
  background: radial-gradient(circle, rgba(10, 15, 25, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.achievements-grid-clean {
  gap: 3rem; 
}

.fact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.fact-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* Overriding colors to white for the dark background */
.fact-number {
  font-family: var(--font-body);
  font-size: clamp(3.5rem, 6vw, 4.5rem); 
  font-weight: 800;
  color: #ffffff; /* Crisp white */
  letter-spacing: -0.02em;
}

.fact-suffix {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--clr-accent-red); /* Changed to red for aggressive industrial contrast */
  margin-left: 2px;
}

.fact-label {
  font-size: 1.25rem;
  font-style: italic; 
  color: #cbd5e1; /* Light gray */
  margin-bottom: 1rem;
}

.fact-divider {
  width: 40px;
  height: 4px;
  background-color: var(--clr-primary); 
  margin: 0 auto 1.5rem auto;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 0; 
}

.fact-block:hover .fact-divider {
  width: 80px; 
  background-color: var(--clr-accent-red); 
}

.fact-desc {
  font-size: 0.95rem;
  color: #94a3b8; /* Muted light gray for description */
  line-height: 1.6;
  max-width: 300px; 
  margin: 0 auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .achievements-dark-bg {
    background-attachment: scroll; /* Disables parallax on mobile for better performance */
  }
  .achievements-grid-clean {
    gap: 4rem; 
  }
}

/* --- 14. CLIENTS & PARTNERS MARQUEE --- */

.client-marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 3rem 0;
  position: relative;
}

/* Optional: Adds a subtle white fade to the left and right edges */
.client-marquee-wrapper::before,
.client-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Allows clicking through the fade */
}

.client-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.client-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* The animated track */
.client-marquee-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100%;
  gap: 4rem; /* Space between logos */
  padding: 0 2rem;
  /* 25s controls the speed. Lower = faster */
  animation: scrollMarquee 25s linear infinite; 
}

/* Pauses the animation when a user hovers over the section */
.client-marquee-wrapper:hover .client-marquee-track {
  animation-play-state: paused;
}

.client-logo {
  height: 50px; /* Forces uniform height */
  max-width: 180px; /* Prevents extremely wide logos from breaking layout */
  object-fit: contain; /* Keeps logo proportions intact */
  filter: grayscale(100%) opacity(0.5); /* Industrial gray default */
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 0 !important; /* Strict sharp corners */
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1); /* Full brand color on hover */
  transform: scale(1.05); /* Slight pop effect */
}

/* The math for the seamless loop */
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .client-marquee-track {
    gap: 2.5rem;
  }
  .client-logo {
    height: 40px;
  }
  /* Remove side fades on mobile to maximize screen real estate */
  .client-marquee-wrapper::before,
  .client-marquee-wrapper::after {
    display: none;
  }
}

/* --- 15. WHY CHOOSE US / ACCORDION SECTION --- */

/* Visuals & Offset Border Image */
.why-visuals {
  position: relative;
  padding-right: 2rem;
  padding-bottom: 2rem;
}

.why-image-wrapper {
  position: relative;
  z-index: 2;
}

.why-main-img {
  width: 100%;
  height: auto;
  min-height: 500px;
  object-fit: cover;
  border-radius: 0; /* Strict sharp corners */
  filter: grayscale(20%); /* Slight grit */
}

/* Sharp offset background box */
.why-image-wrapper::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  width: 100%;
  height: 100%;
  border: 8px solid var(--clr-primary); /* Industrial Blue */
  z-index: -1;
  transition: border-color 0.3s ease;
}

.why-visuals:hover .why-image-wrapper::before {
  border-color: var(--clr-accent-red); /* Snaps to red on hover */
}

/* Floating Certification Badge */
.why-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #111111;
  color: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 6px solid var(--clr-accent-red);
  box-shadow: 10px 10px 30px rgba(0,0,0,0.3);
  z-index: 10;
  border-radius: 0;
}

.why-badge .badge-icon {
  font-size: 2.5rem;
}

.why-badge .badge-text {
  display: flex;
  flex-direction: column;
}

.why-badge .badge-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.why-badge .badge-text span {
  font-size: 0.85rem;
  color: #cbd5e1;
  text-transform: uppercase;
}

/* The Accordion System */
.se-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--clr-border);
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.accordion-item.active {
  border-color: var(--clr-primary);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.accordion-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text-main);
  transition: color 0.2s ease;
}

.accordion-item.active .accordion-title,
.accordion-header:hover .accordion-title {
  color: var(--clr-primary);
}

/* Custom Plus/Minus Icon using CSS */
.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--clr-text-main);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Horizontal line (always visible) */
.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

/* Vertical line (forms the plus, disappears when active) */
.accordion-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.accordion-item.active .accordion-icon::before {
  background-color: var(--clr-primary);
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg); /* Lays flat over the horizontal line */
  background-color: var(--clr-primary);
}

/* Accordion Body / Content */
.accordion-body {
  max-height: 0; /* Hidden by default */
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth slide */
}

.accordion-body p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin: 0;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .why-visuals {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .why-badge {
    bottom: -15px;
    left: 10px;
    padding: 1rem;
  }
}




/* --- 16. LEADERSHIP / TEAM SECTION (Slick Dotted Map Design) --- */

/* The Dotted Background Pattern */
.leadership-map-bg {
  position: relative;
  background-color: #f8fafc; /* Very soft light grayish blue */
  /* Removed the dotted radial-gradient texture here */
  overflow: hidden;
}

/* Overlay for the actual continent shapes */
.map-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.4; /* Increased from 0.15 to make the map much darker and clearer */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  background-image: url('../images/world-map.png'); 
}

/* --- The "Slick" Floating Cards --- */
.team-card-slick {
  background-color: #fafafa;
  padding: 2rem 1.5rem; 
  border-radius: 8px; 
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3), 0 1px 3px rgba(15, 23, 42, 0.2); 
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  position: relative;
  z-index: 10;
  
  /* --- NEW HEIGHT SETTINGS --- */
  min-height: 350px;
  width: 300px; /* Increase or decrease this number to get your exact desired height */
  display: flex;
  flex-direction: column;
}

.team-card-slick:hover {
  transform: translateY(-8px); /* Card floats up slightly */
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
}

/* Header Grid (Image Left, Text Right) */
.team-card-header {
  display: flex;
  flex-direction: column; /* Stacks image on top of text */
  align-items: center; /* Centers everything horizontally */
  text-align: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Circular Profile Picture */
.team-avatar {
  width: 150px; /* Increased from 75px */
  height: 150px; /* Increased from 75px */
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid #ffffff; /* Slightly thicker border for the larger image */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* Deepened shadow to match size */
}
/* Typography */
.team-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-text-main);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  color: var(--clr-primary); 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Body Text (Centered to match the new layout) */
.team-card-slick .team-card-body p {
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  text-align: center; /* Centers the description text */
}


/* ==================================================
   SEAMLESS GALLERY SECTION 
================================================== */

.gallery-grid-seamless {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 0; /* Strict zero gap for edge-to-edge wall effect */
  width: 100%;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Forces perfect squares */
  background-color: #000;
}

/* Image Base State */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.8); /* Industrial gray default */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

/* Interactive Dark Overlay */
.gallery-overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: linear-gradient(to top, rgba(10, 15, 25, 0.95) 0%, rgba(10, 15, 25, 0.4) 50%, rgba(10, 15, 25, 0.1) 100%);
  display: flex;
  align-items: flex-end; /* Aligns text to the bottom */
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

/* Hover Content Container */
.gallery-text-content {
  transform: translateY(20px); /* Starts slightly pushed down */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: left;
  width: 100%;
}

.gallery-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--clr-accent-red); /* Sharp industrial accent line */
  padding-left: 0.75rem;
  line-height: 1.2;
}

.gallery-desc {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  /* CSS trick to force text to truncate after exactly 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Hover Dynamics --- */
.gallery-item:hover .gallery-img {
  filter: grayscale(0%) brightness(1); /* Full color reveal */
  transform: scale(1.1); /* Slow zoom */
}

.gallery-item:hover .gallery-overlay {
  opacity: 1; /* Overlay appears */
}

.gallery-item:hover .gallery-text-content {
  transform: translateY(0); /* Text slides up into place */
}

/* --- Mobile & Tablet Adjustments --- */
@media (max-width: 1024px) {
  .gallery-grid-seamless {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
  }
}

@media (max-width: 768px) {
  .gallery-grid-seamless {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  }
  
  .gallery-overlay {
    padding: 1rem; /* Less padding on smaller screens */
  }
}

/* --- 18. TESTIMONIALS SECTION --- */

.testimonial-dark-section {
  background-color: var(--clr-primary); /* Deep Industrial Blue */
  color: #ffffff;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.position-relative {
  position: relative;
}

/* Massive Decorative Background Quote */
.bg-quote-mark {
  position: absolute;
  top: -80px;
  right: 5%;
  font-family: Georgia, serif;
  font-size: 400px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03); /* Barely visible */
  pointer-events: none;
  z-index: 1;
}

.text-white { color: #ffffff !important; }

/* Arrow Controls */
.testimonial-controls {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.se-arrow-btn {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0; /* Sharp corners */
  transition: all 0.3s ease;
}

.se-arrow-btn svg {
  width: 24px;
  height: 24px;
}

.se-arrow-btn:hover {
  background-color: var(--clr-accent-red);
  border-color: var(--clr-accent-red);
}

/* Slider Wrapper */
.testimonial-slider-wrapper {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  z-index: 5;
}

/* Individual Slides */
.testi-slide {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.testi-slide.active {
  position: relative;
  top: 0;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.testi-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: #f8fafc;
  margin-bottom: 2rem;
}

.testi-author-box {
  border-left: 3px solid var(--clr-accent-red);
  padding-left: 1rem;
}

.testi-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.testi-company {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .bg-quote-mark {
    font-size: 250px;
    top: -50px;
    right: -20px;
  }
  .testimonial-header-area {
    margin-bottom: 2rem;
  }
}


/* --- 18. TESTIMONIALS SECTION (Yellow Mechanical Design) --- */

:root {
  --clr-accent-yellow: #ffcc00; /* Industrial Safety Yellow */
}

.testimonial-mech-section {
  position: relative;
  background-image: url('../images/testimony-bg.jpg'); /* Mechanical gears background */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 4rem 0;
  overflow: hidden;
}

/* Deep Navy Blue Overlay */
.mech-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(11, 22, 38, 0.92); /* Deep navy base from your image */
  z-index: 1;
}

.position-relative {
  position: relative;
}

/* Slider Setup */
.testimonial-slider-wrapper {
  position: relative;
  min-height: 180px;
  width: 100%;
  margin-bottom: 1rem;
}

.testi-slide {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%); /* Pushed 100% out of the box to the right */
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

.testi-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0); /* Snaps smoothly into its resting position */

}
/* 3. Exiting State: Sliding off-screen to the LEFT */
.testi-slide.exiting {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%); /* Pushed 100% out of the box to the left */
}

/* Layout: Quote left, text right */
.testi-flex-layout {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1000px;
}

.testi-quote-mark {
  width: 80px;
  flex-shrink: 0;
  color: var(--clr-accent-yellow);
}

.testi-content-block {
  flex-grow: 1;
}

/* Typography */
.testi-quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.6;
  color: #f1f5f9;
  margin-bottom: 3rem;
}

/* Author Box */
.testi-author-flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testi-author-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-bottom: 3px solid var(--clr-accent-yellow); /* Yellow accent line under photo */
}

.testi-name-yellow {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-accent-yellow); /* Yellow Name */
  margin-bottom: 0.25rem;
}

.testi-company-white {
  display: block;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Controls (Bottom Right) */
.testi-controls-right {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 2rem;
}

.btn-yellow-square {
  width: 50px;
  height: 50px;
  background-color: var(--clr-accent-yellow);
  color: #0f172a; /* Dark icon */
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-yellow-square:hover {
  background-color: #eab308; /* Slightly darker yellow on hover */
}

.btn-yellow-square svg {
  width: 20px;
  height: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .testi-flex-layout {
    flex-direction: column;
    gap: 1.5rem;
  }
  .testi-quote-mark {
    width: 50px;
  }
  .testi-quote-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

/* --- 19. CONTACT & MAP SECTION (Premium Dark Command Center) --- */

.contact-premium-dark {
  background-color: #050b14; /* Deepest blue/black */
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

/* Subtle background grid pattern to look like engineering graph paper */
.contact-premium-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}
.contact-premium-dark .text-white { color: #ffffff !important; }
.contact-premium-dark p { color: #94a3b8 !important; }

.text-white { color: #ffffff !important; }

.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Floating Info Cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-info-card-dark {
  background: rgba(255, 255, 255, 0.03); /* Ultra-sheer tint for the glass */
  backdrop-filter: blur(16px); /* The frosted glass blur */
  -webkit-backdrop-filter: blur(16px); /* For Safari support */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* Top edge light reflection */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); /* Deep shadow behind the glass */
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: default;
}

.contact-info-card-dark:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--clr-primary);
}

.contact-info-card-dark p {
  margin: 0;
  font-size: 0.65rem !important;
  color: #94a3b8;
}

/* The Animated Form */
.se-contact-form-dark {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  padding: 3rem;}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label-dark {
  font-size: 0.5rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

/* Input Wrappers & Animated Focus Lines */
.input-wrapper {
  position: relative;
  width: 100%;
}

.se-input-dark {
  width: 100%;
  padding: 1rem 1rem 1rem 0;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  font-size: 1rem;
  color: #ffffff;
  transition: border-color 0.3s ease;
}

.se-input-dark:focus {
  outline: none;
  border-bottom-color: transparent; /* Hides default border on focus */
}

/* The Animated Red Line */
.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-primary);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.se-input-dark:focus ~ .input-line {
  width: 100%; /* Sweeps across when clicked */
}

.se-input-dark:focus + .form-label-dark {
  color: #ffffff; /* Label lights up when input is clicked */
}

/* Submit Button Hover Effect */
.form-submit-btn {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: 1px solid var(--clr-primary);
  color: var(--clr-primary);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.form-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0; height: 100%;
  background-color: var(--clr-primary);
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-submit-btn:hover {
  color: #ffffff;
}

.form-submit-btn:hover::before {
  width: 100%;
}

/* Glowing Target Map Styling */
.contact-map-wrapper-dark {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  padding: 10px; /* Creates space for the target corners */
}

/* Futuristic Targeting Corners */
.map-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--clr-primary);
  border-style: solid;
  transition: all 0.3s ease;
  z-index: 5;
  pointer-events: none;
}

.corner-tl { top: 0; left: 0; border-width: 3px 0 0 3px; }
.corner-br { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

.contact-map-wrapper-dark:hover .map-corner {
  width: 50px;
  height: 50px;
}

.se-map-iframe-dark {
  width: 100%;
  height: 100%;
  filter: grayscale(100%) invert(90%) contrast(1.2); /* Creates a dark-mode radar map look */
  transition: filter 0.5s ease;
}

.contact-map-wrapper-dark:hover .se-map-iframe-dark {
  filter: grayscale(100%) invert(90%) contrast(1.5) brightness(1.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .contact-info-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .se-contact-form-dark {
    padding: 2rem 1.5rem;
  }
  .contact-map-wrapper-dark {
    min-height: 350px;
    margin-top: 2rem;
  }
}

/* ==================================================
   20. FOOTER SECTION 
================================================== */

.se-footer {
  background-color: #020617; /* Deepest black/blue */
  color: #94a3b8; /* Muted silver text */
  padding: 6rem 0 2rem 0;
  border-top: 4px solid var(--clr-primary); /* Sharp industrial top edge */
}

/* 4-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Allocates slightly more room for Brand and Newsletter */
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Brand Column */
.footer-logo-text {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.iso-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
}

/* Links Columns */
/* Links Columns & Headings */
.footer-heading {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem; /* Slightly increased to fit the new line */
  position: relative; /* Required for the custom underline */
  padding-bottom: 0.75rem; /* Creates space between the text and the line */
}

/* The Rich "Halfway" Border */
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px; /* The exact length of the line. Increase this if you want it longer */
  height:6px; /* Thickness of the line */
  background-color: var(--clr-primary); /* Uses your new #1cc3ff color */
  border-radius: 2px; /* Softens the edges of the line slightly */
  transition: width 0.3s ease; /* Adds a smooth animation */
}

/* Optional Premium Touch: The line expands slightly when you hover over the column */
.footer-links-col:hover .footer-heading::after,
.footer-newsletter-col:hover .footer-heading::after {
  width: 60px;
  background-color: var(--clr-primary-dark); /* Switches to your purple hover state */
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.7rem;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight:400;
}

/* Hover Animation: Text turns white and physically slides right slightly */
.footer-link:hover {
  color:var(--clr-primary);
  transform: translateX(5px);
}

/* Newsletter Column */
.footer-form {
  display: flex;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s ease;
}

.footer-form:focus-within {
  border-color: var(--clr-primary);
}

.footer-input {
  background: transparent;
  border: none;
  padding: 1rem 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.7rem;
}

.footer-input:focus {
  outline: none;
}

.footer-submit-btn {
  background: transparent;
  border: none;
  color: var(--clr-primary);
  padding: 0 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-submit-btn:hover {
  color: #ffffff;
  transform: translateX(5px); /* Arrow slides right when hovered */
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
  font-size: 0.85rem;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: #94a3b8;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  color: var(--clr-primary);
  transform: translateY(-3px); /* Icons float up slightly */
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 3rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* --- FLOATING QUOTE BUTTON (Mobile Only & Centered) --- */

/* 1. Base State: Hidden on Desktop */
.floating-quote-btn {
  display: none; /* Hides the button by default */
  position: fixed;
  bottom: 25px; /* Distance from the bottom of the screen */
  left: 50%;
  transform: translateX(-50%); /* The CSS trick to perfectly center it horizontally */
  
  background-color: var(--clr-primary);
  color: #ffffff !important;
  padding: 0.9rem 1.8rem;
  border-radius: 50px; 
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(28, 195, 255, 0.4); 
  z-index: 999;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
  gap: 10px;
  white-space: nowrap; /* Prevents the text from stacking on small phones */
}

/* Hover Animation */
.floating-quote-btn:hover {
  /* We must include translateX(-50%) here so it stays centered while floating up! */
  transform: translate(-50%, -5px); 
  background-color: var(--clr-primary-dark);
  box-shadow: 0 15px 40px rgba(118, 0, 222, 0.4); 
  color: #ffffff;
}

/* 2. Mobile State: Visible only on screens 768px or smaller */
@media (max-width: 768px) {
  .floating-quote-btn {
    display: flex; /* Reveals the button and aligns the icon/text */
  }
}













/* ==================================================
   MASTER TYPOGRAPHY OVERRIDE (SLEEK & MODERN)
================================================== */

/* 1. Global Paragraphs & Base Text */
p {
  font-size: 0.9rem !important; /* Scaled down from 1rem/0.95rem */
  line-height: 1.6 !important;
}

/* 2. Global Headings */
.se-h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem) !important; /* Scaled down for a sharper look */
  letter-spacing: -0.02em; /* Tighter letter spacing looks more premium */
}

.se-h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem) !important;
}

.se-h4 {
  font-size: 1.1rem !important;
}

.se-subtitle, 
.hero-subtitle {
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important; /* Wider tracking on tiny text looks very slick */
}

/* 3. Hero Section */
.hero-main-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important; /* Reduced from massive 4rem */
}

/* 4. Facts in Numbers / Achievements */
.fact-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem) !important; /* Reduced from 4.5rem */
}

.fact-suffix {
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
}

.fact-label {
  font-size: 1rem !important;
}

.fact-desc {
  font-size: 0.85rem !important;
}

/* 5. Services Bento Grid */
.bento-icon {
  font-size: 1.5rem !important; /* Smaller icons to match sleeker text */
}

.bento-content h3 {
  font-size: 1.25rem !important;
}

/* 6. Why Choose Us / Accordion */
.accordion-title {
  font-size: 0.95rem !important;
}

.why-badge .badge-text strong {
  font-size: 1rem !important;
}

/* 7. Process Section */
.process-content .se-h4 {
  font-size: 1.05rem !important;
}

/* 8. Portfolio Slider */
.port-floating-box-sharp .port-title {
  font-size: 1.25rem !important;
}

.port-floating-box-sharp .port-desc {
  font-size: 0.85rem !important;
}




/* ==================================================
   MOBILE OVERFLOW & RESPONSIVE MASTER FIX
================================================== */

/* 1. The Magic Bullet for Horizontal Scrolling */
html, body {
  overflow-x: clip !important;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Ensure padding never expands the width of an element */
*, *::before, *::after {
  box-sizing: border-box !important;
}

/* 2. Constrain all images from breaking out */
img {
  max-width: 100%;
  height: auto;
}

/* 3. Ensure the main container keeps padding inside the screen */
.se-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* 4. Force all Grids to 1 Column on Mobile */
@media (max-width: 768px) {
  
  /* Targets every grid we created */
  .se-grid,
  .se-grid-2,
  .se-grid-3,
  .se-grid-4,
  .achievements-grid-clean,
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Stops the large Bento card from trying to stretch off-screen */
  .bento-large {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* Centers and fits the Portfolio floating box perfectly */
  .port-floating-box-sharp.smaller-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: translateY(0) !important;
  }
  
  /* Ensure the Header/Navbar doesn't stretch */
  header, .navbar, .header-wrapper {
  width: 100% !important;
  max-width: 100vw !important;
}

/* Add this right below it to force the header to let the menu drop down */
header {
  overflow: visible !important;
}
}