/* ==========================================================================
   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);
  --primary-yellow: #daa829;
  --clr-accent-yellow: #ffcc00; /* Industrial Safety Yellow */

  /* Additional Palette */
  --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, 6vw, 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 & UTILITIES --- */
* {
  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);
}

/* Reusable Utility Classes */
.position-relative { position: relative; }
.text-white { color: #ffffff !important; }

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-accent-yellow);
  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.8rem;
  font-weight: 600;
  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) 50px;
  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(--primary-yellow);
  color: #ffffff;
  /*transform: translateY(-2px);*/
   box-shadow:-5px 5px 10px rgba(100,100,100,.3);
  transform:translateX(5px) !important ;
  transition:0.5s  ease;

}


.se-btn-outline {
  background-color: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.se-btn-outline:hover {
  background-color: var(--clr-accent-yellow);
  border: 2px solid transparent;
  box-shadow:-5px 5px 10px rgba(100,100,100,.3);
  transform:translateX(10px);

  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 --- */
/* --- 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;
}

/* 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: 0.5rem !important;*/
  /*padding-bottom: 0.5rem !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);
}
/* Force project pages to start at the top */
.overlay-header.project-page-header {
  top: 0px !important;
   background: rgba(15, 23, 42, 0.25); /* Deep sheer tint */
  backdrop-filter: blur(24px); /* Frosted glass blur */
  -webkit-backdrop-filter: blur(24px);
}

/* Ensure the body doesn't get hidden behind the header */
body:has(.project-page-header) {
  padding-top: 80px !important;
}


.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: 300;
  text-transform: uppercase;
  font-size: 0.7rem;
  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: #ffffff; /* 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 */
}
.overlay-header .se-btn-primary:hover::after{
  display:none;
  opacity:none;
}

/* 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);
}



/* --- 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;
  top: 10%;
}

/* 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-yellow); 
  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 2rem; 
  font-size: .8rem;
  
  /* Glassmorphism Specs */
  background: rgba(100, 100, 100, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); 
  
  /* Subtle highlight border */
  border: 1px solid var(--clr-primary); 
  
  color: #ffffff;
  transform: translateX(15%); 
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-yellow); 
  color: #ffffff;
  transform: translateX(15%) translateY(-2px); 
}

/* 4. THE SEQUENCED ANIMATION TRIGGERS */
.hero-slide.active .hero-impact-box {
  animation: slideInBox 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

.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(--primary-yellow); 
  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 20px;
}

.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;
  box-shadow: var(--shadow-card);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  background-color: #111111; 
  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-yellow); 
  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; }
  .story-image-wrapper {
  padding: .5rem 0;}
  .slider-arrow{
      display:none;
      opacity:0;
  }
  .se-section{
          padding: var(--space-lg) 0px;
  }
      
  }
      
  


/* Featured Project */
.featured-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  padding: 0;
}

@media (min-width: 992px) {
  .featured-card {
    grid-template-columns: 3fr 2fr!important;
    align-items: stretch;
  }
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.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 (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: 0rem;
  font-size:1rem !important ;
}

@media (min-width: 992px) {
  .port-header-split {
    grid-template-columns: 1fr 1.5fr; 
    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: 450px;
  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); 
  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; 
  font-weight: 800; 
  text-transform: uppercase; 
  background-color: var(--clr-primary); 
  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(--primary-yellow); 
  box-shadow:-3px 3px 8px rgba(100,100,100,.2);
  transform:translateX(12px) scale(.95) !important ;
  transition:0.5s  ease;
  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 */
.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); 
  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; 
  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; 
}

.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; 
}

.port-thumb-sharp.active {
  opacity: 1;
  border-color: var(--clr-primary); 
  transform: translateY(-8px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.3); 
}

.port-thumb-sharp.active img {
  filter: grayscale(0%); 
}

.port-link-btn .port-link-icon {
  margin-left: 0.5rem;
}

/* Mobile Adjustments for Portfolio Box */
@media (max-width: 768px) {
    .port-main-display-full{
        height:auto;
    }
  .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;
  }
  .port-floating-box-sharp .port-title {
      margin-bottom: .5rem;
      font-size: 1.3rem;
    }
    .port-floating-box-sharp .port-desc {
      margin-bottom: .5rem;
    }
}

/* --- 11. SERVICES BENTO BOX --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  border-radius: 0;
}

@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; 
  text-decoration: none;
  background-color: #000;
  border: 1px solid var(--clr-border);
}

.bento-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6); 
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  z-index: 1;
}

.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(0,0,0,0.5) 60%);
  z-index: 2;
  transition: opacity 0.5s ease;
}

.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; 
  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; 
  -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; 
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: inline-block;
}

.bento-card:hover .bento-bg {
  transform: scale(1.05); 
  filter: grayscale(0%) brightness(0.8); 
}

.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); 
  padding-left: calc(clamp(1.5rem, 3vw, 2.5rem) - 8px); 
}

.bento-card:hover .bento-link {
  opacity: 1; 
  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: 2rem 1.5rem;
  border: 1px solid var(--clr-border);
  border-top: 6px solid var(--clr-primary); 
  border-radius: 0; 
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.process-card-sharp:hover {
  border-top-color: var(--clr-accent-red); 
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.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); 
  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); 
}

.process-content {
  position: relative;
  z-index: 5;
}

.modern-svg-icon {
  width: 26px;
  height: 26px;
  color: var(--clr-primary); 
  transition: color 0.3s ease;
}

.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; 
}

.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 --- */
.achievements-dark-bg {
  position: relative;
  padding: 6rem 0;
  background-image: url('../images/achievements-bg.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
}

.achievements-dark-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  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;
}

.fact-number {
  font-family: var(--font-body);
  font-size: clamp(3.5rem, 6vw, 4.5rem); 
  font-weight: 800;
  color: #ffffff; 
  letter-spacing: -0.02em;
}

.fact-suffix {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--clr-accent-red); 
  margin-left: 2px;
}

.fact-label {
  font-size: 1.25rem;
  font-style: italic; 
  color: #cbd5e1; 
  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; 
  line-height: 1.6;
  max-width: 300px; 
  margin: 0 auto;
}

@media (max-width: 768px) {
  .achievements-dark-bg {
    background-attachment: scroll; 
  }
  .achievements-grid-clean {
    gap: 4rem; 
  }
  .process-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px; /* Controls the space between the icon and heading */
  }

  .process-content .process-icon {
    margin-bottom: 0 !important; /* Removes any existing bottom margin */
    display: inline-flex;
  }

  .process-content .se-h4 {
    margin: 0 !important; /* Keeps the heading vertically aligned with the icon */
  }

  .process-content p {
    flex: 0 0 100%; /* Forces the paragraph to take up 100% width and drop to the next line */
    margin-top: 5px; /* Adds a little breathing room above the text */
  }
}

/* --- 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;
}

.client-marquee-wrapper::before,
.client-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none; 
}

.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%);
}

.client-marquee-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100%;
  gap: 4rem; 
  padding: 0 2rem;
  animation: scrollMarquee 25s linear infinite; 
}

.client-marquee-wrapper:hover .client-marquee-track {
  animation-play-state: paused;
}

.client-logo {
  height: 80px; 
  max-width: 300px; 
  object-fit: contain; 
  filter: grayscale(50%) opacity(0.7); 
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 0 !important; 
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1); 
  transform: scale(1.05); 
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .client-marquee-track { gap: 2.5rem; }
  .client-logo { height: 40px; }
  .client-marquee-wrapper::before,
  .client-marquee-wrapper::after { display: none; }
}

/* --- BRAND LOGO & TEXT LOCKUP --- */
.brand-link {
  display: inline-flex;
  align-items: end; 
  gap: 5px; 
  text-decoration: none;
}

.brand-link .logo {
  height: 60px; 
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Cambria', Georgia, serif;
}

.brand-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--clr-accent-yellow);
  line-height: .3;
  letter-spacing: 0.03em; 
  margin-bottom: 4px;
  text-shadow: 1px 1px 5px rgba(0,0,0,.5);
}

.brand-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--clr-primary);
  text-shadow: 1px 1px 5px rgba(0,0,0,.5);
  letter-spacing: 0.1em; 
  text-transform: uppercase;
  padding-left: 2px; 
}

@media (max-width: 768px) {
  .brand-link .logo { height: 32px; gap: 8px;}
  .brand-title { font-size: 18px; margin-bottom: 5px; }
  .brand-subtitle { font-size: 8px; letter-spacing: 0.42em; }
}



/* --- 15. WHY CHOOSE US / ACCORDION SECTION --- */
.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; 
  filter: grayscale(20%); 
}

.why-image-wrapper::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  width: 100%;
  height: 100%;
  border: 8px solid var(--clr-primary); 
  z-index: -1;
  transition: border-color 0.3s ease;
}

.why-visuals:hover .why-image-wrapper::before {
  border-color: var(--clr-accent-red); 
}

.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;
}

.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);
}

.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;
}

.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.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); 
  background-color: var(--clr-primary);
}

.accordion-body {
  max-height: 0; 
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
}

.accordion-body p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin: 0;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-visuals {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .why-badge {
    bottom: -15px;
    left: 10px;
    padding: 1rem;
  }
}

/* --- 16. LEADERSHIP / TEAM SECTION --- */
.leadership-map-bg {
  position: relative;
  background-color: #f8fafc; 
  overflow: hidden;
}

.map-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.4; 
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  background-image: url('../images/world-map.png'); 
}

.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;
  min-height: 350px;
  width: 300px; 
  display: flex;
  flex-direction: column;
}

.team-card-slick:hover {
  transform: translateY(-8px); 
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
}

.team-card-header {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  text-align: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.team-avatar {
  width: 150px; 
  height: 150px; 
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid #ffffff; 
  box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}

.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;
}

.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; 
}

/* ==================================================
   SEAMLESS GALLERY SECTION 
================================================== */
.gallery-grid-seamless {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 0; 
  width: 100%;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1; 
  background-color: #000;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.8); 
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

.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; 
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery-text-content {
  transform: translateY(20px); 
  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); 
  padding-left: 0.75rem;
  line-height: 1.2;
}

.gallery-desc {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-item:hover .gallery-img {
  filter: grayscale(0%) brightness(1); 
  transform: scale(1.1); 
}

.gallery-item:hover .gallery-overlay {
  opacity: 1; 
}

.gallery-item:hover .gallery-text-content {
  transform: translateY(0); 
}

@media (max-width: 1024px) {
  .gallery-grid-seamless { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gallery-grid-seamless { grid-template-columns: repeat(2, 1fr); }
  .gallery-overlay { padding: 1rem; }
}

/* --- 18. TESTIMONIALS SECTION --- */
.testimonial-dark-section {
  background-color: var(--clr-primary); 
  color: #ffffff;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.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); 
  pointer-events: none;
  z-index: 1;
}

.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; 
  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);
}

.testimonial-slider-wrapper {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  z-index: 5;
}

.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;
}

@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) --- */
.testimonial-mech-section {
  position: relative;
  background-image: url('../images/testimony-bg.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /*padding: 4rem 0;*/
  overflow: hidden;
}

.mech-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(11, 22, 38, 0.92); 
  z-index: 1;
}

.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%); 
  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); 
}

.testi-slide.exiting {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%); 
}

.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;
}

.testi-quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.6;
  color: #f1f5f9;
  margin-bottom: 3rem;
}

.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); 
}

.testi-name-yellow {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-accent-yellow); 
  margin-bottom: 0.25rem;
}

.testi-company-white {
  display: block;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.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; 
  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; 
}

.btn-yellow-square svg {
  width: 20px;
  height: 20px;
}

@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 --- */
.contact-premium-dark {
  background-color: #050b14; 
  position: relative;
  overflow: hidden;
  /*padding: 6rem 0;*/
}

.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 p { color: #94a3b8 !important; }

.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.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); 
  backdrop-filter: blur(16px); 
  -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: 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;
}

.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-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; 
}

.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%; 
}

.se-input-dark:focus + .form-label-dark {
  color: #ffffff; 
}

.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%; }

.contact-map-wrapper-dark {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  padding: 10px; 
}

.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); 
  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);
}

@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; 
  color: #94a3b8; 
  padding: 6rem 0 2rem 0;
  border-top: 4px solid var(--clr-primary); 
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr .7fr .8fr 1.3fr; 
  gap: 2rem;
  margin-bottom: 4rem;
}

.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;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem; 
  position: relative; 
  padding-bottom: 0.75rem; 
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px; 
  height: 6px; 
  background-color: var(--clr-primary); 
  border-radius: 2px; 
  transition: width 0.3s ease; 
}

.footer-links-col:hover .footer-heading::after,
.footer-newsletter-col:hover .footer-heading::after {
  width: 60px;
  background-color: var(--clr-accent-yellow); 
}

.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;
}

.footer-link:hover {
  color: var(--clr-primary);
  transform: translateX(5px);
}

.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); 
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  padding: 0 50px;
  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); 
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 2rem;
    margin-bottom:0;
  }
  .footer-brand-col
  {
      text-align:center;
  }
  .footer-brand-col,
  .footer-newsletter-col {
    grid-column: 1 / -1; 
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .se-footer{
    padding: 6rem 1.5rem;
  }
  .footer-heading-industy{
      text-align:center;
  }
  .footer-desc-ind{
      text-align:center;
  }
  .footer-heading-industy::after{
      left:20%;
      transrform:translateX(-20%);
      width:100px;
  }
  
  .footer-logo-text {
      text-align:center;
  }
  
.footer-form{
    justify-content:center;
}
}

/* --- FLOATING QUOTE BUTTON --- */
.floating-quote-btn {
  display: none; 
  position: fixed;
  bottom: 25px; 
  left: 50%;
  transform: translateX(-50%); 
  
  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; 
}

.floating-quote-btn:hover {
  transform: translate(-50%, -5px); 
  background-color: var(--clr-primary-dark);
  box-shadow: 0 15px 40px rgba(118, 0, 222, 0.4); 
  color: #ffffff;
}

@media (max-width: 768px) {
  .floating-quote-btn { display: flex; }
}

/* ==================================================
   MASTER TYPOGRAPHY OVERRIDE (SLEEK & MODERN)
================================================== */
p {
  font-size: 0.9rem !important; 
  line-height: 1.6 !important;
}

.se-h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important; 
  font-weight:500 !important  ;
  letter-spacing: -0.02em; 
  /*text-shadow: 1px 1px 4px rgba(0,0,0,.4);*/
  color:var(--clr-accent-yellow) !important ;
  color:#e7ab00 !important ;
  /*background: rgba(0, 0, 0, 0.5); */
  backdrop-filter: blur(24px); 
  -webkit-backdrop-filter: blur(24px);
  
}
.port-header-left .se-h2{margin-bottom: 2rem !important  ;}
.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.8rem !important;
  letter-spacing: 0.15em !important; 
}

.hero-main-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important; }

.fact-number { font-size: clamp(2.5rem, 4vw, 3.5rem) !important; }
.fact-suffix { font-size: clamp(1.5rem, 2vw, 2rem) !important; }
.fact-label { font-size: 1rem !important; }
.fact-desc { font-size: 0.85rem !important; }

.bento-icon { font-size: 1.5rem !important; }
.bento-content h3 { font-size: 1.25rem !important; }

.accordion-title { font-size: 0.95rem !important; }
.why-badge .badge-text strong { font-size: 1rem !important; }

.process-content .se-h4 { font-size: 1.05rem !important; }

.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
================================================== */
html, body {
  overflow-x: clip !important;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

*, *::before, *::after { box-sizing: border-box !important; }

img {
  max-width: 100%;
  height: auto;
}

.se-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

@media (max-width: 768px) {
  .se-grid,
  .se-grid-2,
  .se-grid-3,
  .se-grid-4,
  .achievements-grid-clean,
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .bento-large {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .port-floating-box-sharp.smaller-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: translateY(0) !important;
  }
  
  header, .navbar, .header-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
  }

  header { overflow: visible !important; }
}

/* --- MOBILE RESPONSIVE NAVIGATION --- */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide Top Bar on mobile to save screen space */
  .se-top-bar {
    display: none; 
  }

  /* Hide standard nav on mobile by default */
  #mainNavigation {
    display: none; 
  }
  
  /* The Dropdown Menu Settings (Triggered by JS) */
  #mainNavigation.active {
    display: block !important;
    position: absolute;
    visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: 500px !important;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0f172a !important; /* Deep industrial navy */
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 9999;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  #mainNavigation.active .nav-list {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 20px;
    list-style: none;

  }

  /* Left-Aligned links for mobile */
  #mainNavigation.active .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  #mainNavigation.active .nav-list li a {
    display: block;
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 1.25rem 2rem;
    transition: color 0.2s ease;
  }

  #mainNavigation.active .nav-list li a:hover {
    color: var(--clr-primary, #eab308) !important;
  }
  
  /* Adjust CTA button spacing */
  #mainNavigation.active .nav-cta {
    padding: 1.5rem 2rem;
    border-bottom: none;
  }

  #mainNavigation.active .nav-cta a {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }
}