/* ==========================================================================
   Pushtech - Main Stylesheet
   ========================================================================== */

/* --- Typography (Space Grotesk) --- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/font/SpaceGrotesk-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/font/SpaceGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/font/SpaceGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/font/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Brand Colors */
  --clr-primary: #1F51FF;
  --clr-primary-dark: #1B5299;
  --clr-primary-light: #4A90E2;
  --clr-accent: #00E5FF;

  /* Neutral Colors */
  --clr-bg-main: #FFFFFF;
  --clr-bg-alt: #F8FAFC;
  --clr-bg-dark: #0F172A;
  --clr-text-main: #334155;
  --clr-text-muted: #64748B;
  --clr-text-light: #F8FAFC;
  --clr-border: #E2E8F0;

  /* Typography */
  --font-main: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  /* Spacing System */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-8: 3rem;
  --sp-12: 6rem;

  /* Layout Constraints */
  --container-max-width: 1280px;
  --header-height: 85px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--clr-text-main);
  background-color: var(--clr-bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--clr-primary-dark);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-black);
}

h2 {
  font-size: 36px;
  margin-bottom: var(--sp-4);
}

h3,
h4,
h5,
h6 {
  font-size: 28px;
  margin-bottom: var(--sp-3);
}

p {
  font-size: 20px;
  margin-bottom: var(--sp-4);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.section {
  padding: var(--sp-12) 0;
}

.section.bg-alt {
  background-color: var(--clr-bg-alt);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: var(--fw-medium);
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--clr-primary-dark);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--clr-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-secondary {
  background-color: var(--clr-primary-light);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #249cc1;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--clr-primary-dark);
  color: var(--clr-primary-dark);
}

.btn-outline:hover {
  background-color: var(--clr-primary-dark);
  color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: all 0.3s ease;
}

.header-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}

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

.logo img {
  width: 190px;
  height: auto;
  display: block;
  margin-left: 10px;
}

.main-nav {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  margin-left: 50px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--clr-text-main);
  padding: 0.5rem 0;
  display: inline-block;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-primary-light);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-primary-dark);
}

.header-socials {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-right: 10px;
}

.header-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--clr-text-main);
  background-color: #f0f2f5;
  transition: all var(--transition-fast);
}

.header-social-icon:hover {
  background-color: var(--clr-primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--clr-primary-dark);
  position: relative;
  transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--clr-primary-dark);
  transition: transform var(--transition-normal);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.mobile-toggle.active .hamburger {
  background-color: transparent;
}

.mobile-toggle.active .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: transparent;
  padding: 0 var(--sp-4) var(--sp-4) var(--sp-4);
}

.footer-floating-container {
  background: linear-gradient(90deg, var(--clr-primary-dark) 0%, #29A4E2 100%);
  color: #fff;
  border-radius: 20px;
  padding: var(--sp-8) var(--sp-8) 0;
  max-width: 95%;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.footer-logo img {
  width: 250px;
  margin-bottom: var(--sp-4);
}

.footer-desc {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: var(--sp-4);
}

.footer-col-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: var(--sp-4);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--clr-primary-light);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list a {
  color: #ffffff;
  font-size: 16px;
}

.footer-list a:hover {
  color: #ffffff;
  opacity: 0.8;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.footer-contact-icon {
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  margin-top: 4px;
}

.footer-contact-text {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}

.footer-contact-text strong {
  color: #ffffff;
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 16px;
}

.footer-contact-text a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact-text a:hover {
  color: #ffffff;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: var(--sp-4);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: background-color var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--clr-primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--sp-4) 0;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.copyright a:hover {
  opacity: 0.8;
}

.footer-bottom-links a {
  margin-left: 1rem;
}

.footer-bottom-links a:hover {
  color: #fff;
}



/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 110px;
  text-align: left;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-container {
  width: 100%;
  padding: 0 30px;
  /* Matches header padding */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* Give text slightly more space to ensure 2 lines for heading */
  align-items: center;
  gap: var(--sp-2);
  margin-left: 10px;
  /* Matches logo margin */
}

.hero-content {
  max-width: 800px;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-fevicon {
  max-width: 100%;
  height: auto;
  max-height: 540px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  color: var(--clr-primary-dark);
  font-weight: var(--fw-bold);
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--clr-primary-light);
}

.hero-desc {
  color: var(--clr-text-main);
  margin-bottom: var(--sp-8);
  max-width: 680px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  /* Aligns button to the left */
}

/* --- Global Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  font-size: 20px;
  border-radius: 30px;
  /* Pill shape from image */
  font-weight: var(--fw-bold);
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  color: #fff;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--clr-primary-dark) 0%, #29A4E2 100%);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(27, 82, 153, 0.3);
}

/* ==========================================================================
   Video Section (Auto-Height Video)
   ========================================================================== */
.video-section {
  position: relative;
  width: 100%;
  background-color: #E2E8F0;
  overflow: hidden;
  line-height: 0;
  /* Prevents tiny gap below the video */
}

.bg-video {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  /* Ensures placeholder takes up typical video space before load */
  z-index: 2;
}

/* Fallback placeholder text if video is missing */
.video-section::after {
  content: "▶ Full-Width Video (Height Matches Video)";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--clr-text-muted);
  font-weight: var(--fw-medium);
  z-index: 1;
  line-height: 1.5;
}

/* ==========================================================================
   About Us Section (Video Background with Glass Card)
   ========================================================================== */
.about-section {
  position: relative;
  width: 100%;
  background-color: var(--clr-bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  line-height: 0;
  /* Ensures container perfectly wraps video height */
}

.about-bg-video {
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
}

.about-container {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max-width);
  left: 50%;
  transform: translateX(-50%);
  padding: 0 30px;
  line-height: 1.6;
}

.glass-card {
  margin-left: 10px;
  /* Aligns precisely with logo/hero text */
  background: rgba(255, 255, 255, 0.15);
  /* Transparent glass base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--sp-8) var(--sp-6);
  border-radius: 16px;
  max-width: 450px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Initial hidden state for the About Us card on Home Page */
#about-content-card {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  /* Prevent interaction while hidden */
}

/* Revealed state triggered by JS */
#about-content-card.show-card {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.about-title {
  color: var(--clr-text-main);
  margin-bottom: var(--sp-3);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.about-desc {
  color: var(--clr-text-main);
  line-height: 1.7;
}

/* ==========================================================================
   Legacy of Innovation Section
   ========================================================================== */
.legacy-section {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.legacy-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

.legacy-container {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Card on the right */
}

.legacy-card {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--sp-6) var(--sp-6);
  border-radius: 16px;
  max-width: 480px;
  text-align: right;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.legacy-title {
  color: #0d1e3a;
  /* Dark navy */
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.legacy-desc {
  color: #555;
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}

/* ==========================================================================
   Applications Section
   ========================================================================== */
.applications-section {
  position: relative;
  padding: var(--sp-12) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.applications-container {
  position: relative;
  z-index: 2;
}

.app-grid {
  display: flex;
  overflow-x: auto;
  gap: var(--sp-6);
  padding-bottom: var(--sp-5);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.app-grid::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

/* Application Nav Arrows */
.app-nav-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 99;
  /* Ensure it is above the cards */
  background: #ffffff;
  /* SOLID WHITE BACKGROUND */
  border: 1px solid #e2e8f0;
  color: #009ce4;
  /* SOLID BLUE ARROW */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  /* Stronger shadow */
}

.app-nav-btn:hover {
  background: #009ce4;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.app-nav-prev {
  left: -50px;
  /* Push outwards into the empty space */
}

.app-nav-next {
  right: -50px;
  /* Push outwards into the empty space */
}

.premium-process-card {
  flex: 0 0 400px;
  /* Increased from 340px for larger images */
  height: auto;
  /* Allow image to dictate size */
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  background: #111;
  display: block;
  scroll-snap-align: start;
}

.card-bg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  z-index: 1;
}

.card-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
  transition: background 0.6s ease;
}

.card-content-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.process-number {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  opacity: 0.2;
  line-height: 1;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.6s ease, box-shadow 0.6s ease;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.pill-text {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

.card-bottom-row {
  text-align: left;
}

.process-heading {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.2;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 0.6s ease;
}

.process-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.6s ease;
}

/* Hover Effects */
.premium-process-card:hover {
  transform: translateY(-10px) translateZ(0);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.premium-process-card:hover .card-bg-img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

.premium-process-card:hover .card-overlay-gradient {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.95) 100%);
}

.premium-process-card:hover .process-number {
  opacity: 0.4;
  transform: translateY(-8px);
}

.premium-process-card:hover .glass-pill {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.premium-process-card:hover .process-heading {
  transform: translateY(-8px);
  letter-spacing: 0.5px;
}

.premium-process-card:hover .process-desc {
  transform: translateY(-8px);
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Products Section (3D Coverflow)
   ========================================================================== */
.products-section {
  position: relative;
  padding: var(--sp-12) 0;
  overflow: hidden;
}

.products-overlay {
  position: absolute;
  inset: 0;
  background: rgb(130 119 119 / 49%);
  /* Very light bright overlay */
  z-index: 1;
}

.products-container {
  position: relative;
  z-index: 2;
}

.products-section .section-title {
  color: var(--clr-primary-dark) !important;
}

.product-slider {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: visible;
  /* Allows side cards to be seen if they bleed */
}

.swiper-slide.product-card {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(200, 200, 200, 0.6) 45%, rgba(15, 15, 15, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: 340px;
  height: 500px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Swiper handles overflow internally, but border radius helps */
}

.product-img-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.product-img-wrapper img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

.swiper-slide-active .product-img-wrapper img {
  transform: scale(1.05);
  /* Reduced scale slightly to avoid cut off */
}

.product-content {
  padding: 15px 20px 25px 20px;
  text-align: left;
  color: #fff;
}

.product-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.product-content p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.swiper-pagination-bullet {
  background: var(--clr-primary);
}

/* ==========================================================================
   Certificates Section
   ========================================================================== */
.certificates-section {
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
}

.cert-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 120px;
}

.cert-content-left {
  flex: 1;
  max-width: 500px;
  /* Reduced max-width to give more space */
}

.cert-heading {
  font-size: 36px;
  font-weight: 800;
  color: #1a1f36;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cert-text {
  font-size: 20px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cert-badges {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px 10px;
  width: 120px;
  text-align: center;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cert-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.cert-badge .badge-icon {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.cert-badge span {
  font-size: 13px;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 4px;
}

.cert-badge small {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cert-stats {
  display: flex;
  gap: 20px;
  border-top: 1px solid #eee;
  padding-top: 30px;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.cert-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cert-stat .stat-icon {
  margin-bottom: 12px;
}

.cert-stat .stat-icon svg {
  width: 36px;
  height: 36px;
}

.cert-stat strong {
  font-size: 32px;
  font-weight: 900;
  color: #1a1f36;
  margin-bottom: 4px;
}

.cert-stat span {
  font-size: 20px;
  color: #666;
  line-height: 1.4;
  font-weight: 500;
}

.cert-image-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.cert-image-right img {
  max-width: 130%;
  /* Make image larger than its column */
  height: auto;
  object-fit: contain;
  margin-right: -100px;
  /* Pull it to the right out of the container so it doesn't overlap left text */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@media (max-width: 991px) {
  .cert-container {
    flex-direction: column;
    text-align: center;
  }

  .cert-badges {
    justify-content: center;
  }

  .cert-stats {
    justify-content: center;
  }

  .cert-image-right {
    justify-content: center;
    margin-top: 40px;
  }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background: #fcfcfc;
  position: relative;
  overflow: hidden;
}

.contact-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 19vw;
  font-weight: 900;
  color: rgb(212 231 250);
  /* Very light blue watermark matching image */
  z-index: 0;
  pointer-events: none;
  letter-spacing: 2vw;
  white-space: nowrap;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.contact-content-left {
  flex: 1;
  max-width: 500px;
}

.contact-heading {
  font-size: 36px;
  color: #1a1f36;
  /* Dark navy color matching the image */
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-text {
  font-size: 20px;
  color: #556b85;
  line-height: 1.7;
}

.contact-card-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.contact-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  padding: 40px;
  border-top: 6px solid var(--clr-primary-dark);
}

.contact-card h3 {
  font-size: 28px;
  color: #1a1f36;
  margin-bottom: 35px;
  font-weight: 800;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f0f4f8;
  color: var(--clr-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-details h4 {
  font-size: 24px;
  color: #1a1f36;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-details p {
  font-size: 16px;
  color: #66758c;
  margin: 0;
  line-height: 1.6;
}

.contact-details a {
  color: #66758c;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-details a:hover {
  color: var(--clr-primary);
}

@media (max-width: 991px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-card-right {
    justify-content: center;
    margin-top: 40px;
  }

  .contact-watermark {
    font-size: 30vw;
  }

  .contact-heading {
    font-size: 36px;
  }
}

/* ==========================================================================
   Header Dropdown
   ========================================================================== */
.dropdown {
  position: relative;
}

.dropdown-icon {
  font-size: 10px;
  margin-left: 4px;
  vertical-align: middle;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--clr-text-main);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  font-size: 16px;
}

.dropdown-menu a:hover {
  background: var(--clr-primary-light);
  color: #fff;
}

/* ==========================================================================
   History Timeline Page
   ========================================================================== */
.history-body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Hide scrollbars for full screen effect */
}

.history-fullscreen {
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
}

.history-back-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(90deg, var(--clr-primary-dark) 0%, #29A4E2 100%);
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 100;
}

.history-back-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
}

.history-timeline-nav.left-side {
  width: 250px;
  height: 100vh;
  overflow-y: auto;
  padding: 60px 20px;
  border-right: 1px solid rgba(0, 156, 228, 0.2);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  position: relative;
}

.history-logo {
  display: block;
  margin-bottom: 60px;
  margin-left: -10px;
  padding-left: 0;
}

.history-logo img {
  max-width: 210px;
  height: auto;
}

/* Custom scrollbar for timeline */
.history-timeline-nav::-webkit-scrollbar {
  width: 6px;
}

.history-timeline-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 156, 228, 0.3);
  border-radius: 10px;
}

.timeline-line {
  position: absolute;
  left: 30px;
  /* Line is now on the extreme left side */
  top: 170px;
  bottom: 80px;
  width: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.timeline-years {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 50px;
  /* More spacing */
}

.timeline-year-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
  padding-left: 30px;
  /* Space for the line on the left */
  position: relative;
}

.year-dot {
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #cbd5e1;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: absolute;
  left: 2px;
  /* Align to the line on the left */
}

.year-text {
  font-size: 20px;
  font-weight: 700;
  color: #94a3b8;
  transition: all 0.3s ease;
  flex: 1;
  text-align: left;
}

.timeline-year-btn:hover .year-text {
  color: var(--clr-primary);
}

.timeline-year-btn.active .year-dot {
  border-color: var(--clr-primary);
  background: var(--clr-primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(0, 156, 228, 0.2);
}

.timeline-year-btn.active .year-text {
  background: linear-gradient(90deg, var(--clr-primary-dark) 0%, #29A4E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
}

.history-content-panel.right-side {
  flex: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  overflow-y: auto;
  position: relative;
  /* Context for watermark */
  background-image: linear-gradient(rgba(27, 82, 153, 0.04), rgba(27, 82, 153, 0.04)), url('../assets/images/History bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}

.history-year-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.history-content-inner {
  opacity: 0;
  transform: translateY(30px);
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.history-content-inner.fade-in {
  animation: fadeUpIn 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

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

.history-year-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--clr-primary-dark) 0%, #29A4E2 100%);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 156, 228, 0.3);
}

.history-title {
  font-size: 48px;
  /* Massive heading for full screen */
  color: var(--clr-primary-dark);
  margin-bottom: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.history-desc {
  font-size: 24px;
  /* Large readable text */
  color: #444;
  line-height: 1.8;
}

@media (max-width: 991px) {
  .history-body {
    overflow: auto;
    /* Allow scrolling on mobile */
  }

  .history-fullscreen {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .history-timeline-nav.left-side {
    width: 100%;
    height: auto;
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 156, 228, 0.2);
  }

  .timeline-line {
    display: none;
  }

  .timeline-years {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 30px;
  }

  .timeline-year-btn {
    width: auto;
    padding: 0;
    text-align: center;
  }

  .year-dot {
    display: none;
  }

  .history-content-panel.right-side {
    padding: 40px 20px;
    height: auto;
  }

  .history-title {
    font-size: 32px;
  }

  .history-desc {
    font-size: 18px;
  }
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

.about-page {
  background-color: #fff;
  color: #333;
}

.py-large {
  padding: 80px 0;
}

.bg-light-gray {
  background-color: #f8fafc;
}

/* 1. Hero Section */
.about-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 700px;
}

.about-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle {
  color: var(--clr-primary-light);
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--clr-primary-dark);
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-desc {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  text-align: left;
  max-width: 850px;
  margin: 40px auto;
}

/* 2. Common Section Headings */
.section-badge {
  display: inline-block;
  color: var(--clr-primary-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--clr-primary-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-underline {
  width: 50px;
  height: 4px;
  background: var(--clr-primary-light);
  margin-bottom: 30px;
}

.title-underline.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* 3. Strength Grid */
.full-screen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.h-100 {
  height: 100%;
}

.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.strength-image-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.strength-image {
  width: 100%;
  height: 100%;
  max-height: 625px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal);
}

.strength-image:hover {
  transform: translateY(-5px);
}

.strength-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 35px;
}

.modern-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.modern-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modern-stat .stat-number {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.modern-stat .stat-label {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

/* 4. Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.check-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--clr-primary-light);
  flex-shrink: 0;
  background: rgba(74, 144, 226, 0.1);
  padding: 4px;
  border-radius: 50%;
}

.icon-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.icon-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #444;
  font-weight: 500;
}

.icon-wrap {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--clr-primary-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

/* 5. Industries Strip */
.industries-flex-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}

.industry-icon {
  color: var(--clr-primary);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.industry-item:hover .industry-icon {
  transform: translateY(-5px) scale(1.1);
}

.industry-item p {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

/* 6. Commitment */
.commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.commitment-left p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 15px;
}

.feature-icon {
  color: var(--clr-primary-light);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* 7. Vision/Mission */
.vision-mission-header {
  margin-bottom: 60px;
}

.badge-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.badge-line .line {
  height: 1px;
  width: 40px;
  background: rgba(74, 144, 226, 0.3);
}

.badge-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-primary-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.vision-mission-layout {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: stretch;
  gap: 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.vm-card {
  flex: 1;
  background: #ffffff;
  padding: 60px 50px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.left-card {
  border: 1px solid rgba(74, 144, 226, 0.4);
  border-top-right-radius: 180px;
  border-bottom-right-radius: 180px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  text-align: left;
}

.right-card {
  border: 1px solid rgba(100, 100, 100, 0.3);
  border-top-left-radius: 180px;
  border-bottom-left-radius: 180px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  text-align: left;
}

.vm-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.right-header {
  justify-content: flex-end;
  text-align: right;
}

.vm-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.blue-icon {
  color: var(--clr-primary-light);
}

.gray-icon {
  color: #555;
}

.vm-title-wrap {
  display: flex;
  flex-direction: column;
}

.small-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-primary-light);
  letter-spacing: 1px;
}

.large-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--clr-primary-dark);
  line-height: 1.1;
  letter-spacing: 1px;
}

.vm-underline {
  height: 3px;
  width: 40px;
  margin-top: 10px;
}

.blue-bg {
  background: var(--clr-primary-light);
}

.gray-bg {
  background: #888;
  margin-left: auto;
}

.vm-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.vm-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: #fafcff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.vm-center-logo::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo-inner {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.05);
}

.logo-inner img {
  width: 50px;
  height: auto;
}

/* Dots effect for borders */
.left-card::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px dashed rgba(74, 144, 226, 0.4);
  border-top-right-radius: 170px;
  border-bottom-right-radius: 170px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  pointer-events: none;
}

.right-card::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px dashed rgba(100, 100, 100, 0.4);
  border-top-left-radius: 170px;
  border-bottom-left-radius: 170px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  pointer-events: none;
}

/* 8. Unified Excellence Section */
.about-unified-excellence {
  background-color: var(--clr-bg-alt);
  padding: 100px 0;
}

.unified-excellence-grid {
  display: flex;
  gap: 80px;
  align-items: center;
}

.excellence-left {
  flex: 1;
}

.excellence-right {
  flex: 1.2;
}

.experience-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.huge-number {
  font-size: 80px;
  font-weight: 900;
  color: var(--clr-primary-light);
  line-height: 1;
  letter-spacing: -2px;
}

.experience-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-primary-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.4;
}

.lead-text {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.8;
  margin-bottom: 40px;
}

.text-columns {
  display: flex;
  gap: 40px;
}

.text-col h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
}

.text-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  background: var(--clr-primary-light);
}

.text-col p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .unified-excellence-grid {
    flex-direction: column;
    gap: 50px;
  }

  .text-columns {
    flex-direction: column;
    gap: 30px;
  }
}

.engineering-statement h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--clr-primary-dark);
  margin-bottom: 20px;
}

.engineering-statement p {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
}

/* Responsive Styles for About Page */
@media (max-width: 991px) {

  .strength-grid,
  .process-grid,
  .commitment-grid,
  .vision-cards {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .strength-stats {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {

  .check-list-grid,
  .features-list {
    grid-template-columns: 1fr;
  }

  .vision-card {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   Contact Us Page
   ========================================================================== */

.contact-page {
  /* Offset for fixed header if needed */
  padding-top: 80px;
}

.contact-hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 40px;
}

.contact-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.contact-info-column {
  flex: 1;
}

.contact-form-column {
  flex: 1.2;
}

/* Typography for left column */
.contact-subtitle {
  color: var(--clr-primary-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-title {
  font-size: 48px;
  font-weight: 900;
  color: #111;
  line-height: 1.2;
  margin-bottom: 15px;
}

.contact-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 90%;
}

.contact-underline {
  margin-bottom: 40px;
}

/* Contact Details Cards */
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-detail-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 100, 200, 0.1);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--clr-primary-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-text h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Form Card */
.contact-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  border-top-right-radius: 60px;
}

.contact-form-card::after {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: 25%;
  left: 25%;
  border-top: 4px solid var(--clr-primary-dark);
  border-right: 4px solid var(--clr-primary-dark);
  border-top-right-radius: 70px;
  z-index: -1;
}

.contact-form-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 10px;
}

.contact-form-card>p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--clr-primary-light);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  background: #fff;
}

.contact-form textarea {
  margin-bottom: 20px;
  resize: vertical;
}

.btn-submit {
  background: var(--clr-primary-dark);
  color: #fff;
  border-radius: 8px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  width: auto;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
}

/* Assistance Banner */
.assistance-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.assistance-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.assistance-icon {
  width: 50px;
  height: 50px;
  background: var(--clr-primary-dark);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assistance-text h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin: 0 0 5px 0;
}

.assistance-text p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.btn-call {
  background: var(--clr-primary-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-call:hover {
  background: var(--clr-primary-light);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-card::after {
    display: none;
  }

  .assistance-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .assistance-left {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }

  .contact-form-card {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   Quality & Certifications Page
   ========================================================================== */

.pt-header {
  padding-top: 100px;
}

.quality-hero-section {
  background-color: #f8f9fa;
  /* Placeholder for BG image */
  border-bottom: 1px solid #e9ecef;
}

.text-red {
  color: #e63946;
}

.text-blue {
  color: #1d3557;
}

/* Zig-Zag Layout */
.zig-zag-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
}

.zig-zag-row.reverse {
  flex-direction: row-reverse;
}

.zig-zag-image-wrapper {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.zig-zag-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zig-zag-image-wrapper:hover .zig-zag-image {
  transform: scale(1.05);
}

.cert-image {
  max-height: 500px;
  object-fit: contain;
  background: #fff;
  padding: 20px;
}

.zig-zag-content {
  flex: 1;
}

.box-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.zig-zag-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 15px;
}

.zig-zag-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.zig-zag-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.zig-zag-list li {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  font-weight: 500;
}

.zig-zag-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--clr-primary-light);
  font-weight: bold;
  font-size: 18px;
}

/* Placeholders for Lab Images */
.placeholder-bg {
  background: #e9ecef;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ced4da;
}

.image-placeholder-text {
  font-size: 24px;
  font-weight: 700;
  color: #adb5bd;
}

.lab-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.testing-category {
  margin-top: 15px;
}

.testing-category-title {
  font-size: 15px;
  font-weight: 700;
  color: #1b5299;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.testing-category-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #1b5299;
  border-radius: 50%;
}

/* Instruments Grid Section */
.instruments-section {
  background-color: #f8f9fa;
}

.instruments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .instruments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .instruments-grid {
    grid-template-columns: 1fr;
  }
}

.instrument-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.instrument-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e63946, #1d3557);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instrument-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.3);
}

.instrument-card:hover::before {
  opacity: 1;
}

.instrument-image-wrapper {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 15px;
  padding: 10px;
}

.instrument-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.instrument-card:hover .instrument-image {
  transform: scale(1.08);
}

.instrument-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-primary-dark, #1d3557);
  margin: 0;
  letter-spacing: -0.2px;
}

/* Icon Box inside Labs */
.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(74, 144, 226, 0.1);
  color: var(--clr-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Responsive Zig-Zag & Quality Page */
@media (max-width: 991px) {

  .zig-zag-row,
  .zig-zag-row.reverse {
    flex-direction: column !important;
    gap: 30px;
    margin-bottom: 30px;
  }

  .zig-zag-image-wrapper {
    width: 100%;
  }

  .lab-image {
    height: 280px;
  }

  .cert-image {
    max-height: 350px;
    padding: 15px;
  }

  .box-content {
    padding: 24px 20px;
    border-radius: 14px;
    width: 100%;
  }

  .zig-zag-title {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .lab-image {
    height: 220px;
  }

  .cert-image {
    max-height: 280px;
    padding: 10px;
  }

  .box-content {
    padding: 18px 14px;
  }

  .zig-zag-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   Continuous Engineering Background (About Page)
   ========================================================================== */

:root {
  --eng-bg-base: #ffffff;
  --eng-bg-sec: #f8fafc;
  --eng-accent-1: #0F4C81;
  --eng-accent-2: #2F80ED;
  --eng-accent-3: #D9E8F6;
  --eng-accent-4: #EAF3FB;
}

.about-page {
  position: relative;
  background-color: var(--eng-bg-sec);
}

.engineering-background {
  position: fixed;
  /* Sticky Parallax Effect */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Scroll Entrance Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure all actual content sections in About have relative positioning and higher z-index so they sit above the background */
.about-hero,
.about-who-we-are,
.about-unified-excellence,
.about-core-values {
  position: relative;
  z-index: 1;
}

/* Make all section backgrounds completely transparent so the engineering lines bleed through beautifully */
.about-strength-section,
.about-who-we-are,
.about-unified-excellence,
.about-vision-section,
.about-core-values {
  background-color: transparent !important;
}

.eng-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.layer-1 {
  animation: drift-slow 40s linear infinite alternate;
}

.layer-2 {
  animation: drift-medium 30s ease-in-out infinite alternate;
}

.layer-3 {
  animation: float-fast 20s ease-in-out infinite alternate;
}

.pulse {
  animation: pulse-node 4s infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes drift-slow {
  0% {
    transform: translateY(0) translateX(0);
  }

  100% {
    transform: translateY(-20px) translateX(10px);
  }
}

@keyframes drift-medium {
  0% {
    transform: translateY(0) translateX(0);
  }

  100% {
    transform: translateY(-40px) translateX(-15px);
  }
}

@keyframes float-fast {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulse-node {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.4;
  }
}

/* Responsive reduction */
@media (max-width: 991px) {
  .layer-2 {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {

  .layer-2,
  .floating-node {
    display: none;
  }
}

/* ==========================================================================
   Scroll-Driven Entrance Section
   ========================================================================== */
.scroll-entrance-section {
  position: relative;
  height: 300vh;
  /* Determines how long the scroll effect lasts */
  width: 100%;
  background: #fff;
  z-index: 10;
  /* Above hero if needed, or just naturally in flow */
}

.scroll-entrance-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.entrance-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.dotted-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #f8fafc;
  background-image: url('../assets/images/PXL04768.webp');
  background-size: cover;
  background-position: center;
  will-change: opacity;
}

.split-text-container {
  position: absolute;
  bottom: 4vh;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 5.5vw;
  font-weight: 900;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
  pointer-events: none;
}

.split-left,
.split-right {
  display: inline-block;
  will-change: transform;
}

.split-left {
  color: #1C558F;
}

.split-right {
  color: #25ABDB;
}

@media (max-width: 768px) {
  .split-text-container {
    font-size: 7vw;
    gap: 0.8rem;
    bottom: 3vh;
  }
}

/* ==========================================================================
   Premium Pure CSS Engineering Background
   ========================================================================== */
:root {
  --bg-color: #ffffff;
  --bg-secondary: #fafafa;
  --bg-border: #ececec;
  --bg-accent: #0F4C81;
  --bg-watermark: rgba(15, 76, 129, .07);
}

.premium-css-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -100;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-color);
}

/* Layer 1: Soft gradients & texture */
.bg-layer-1 {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(15, 76, 129, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(15, 76, 129, 0.02) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(250, 250, 250, 0.5) 100%);
  z-index: 1;
}

/* Layer 2: Tiny dotted grid */
.bg-layer-2 {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--bg-accent) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.08;
  z-index: 2;
}

/* Layer 3: CAD Lines */
.bg-layer-3 {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.cad-line {
  position: absolute;
  background-color: var(--bg-accent);
  opacity: 0.06;
}

.h-line {
  height: 1px;
}

.v-line {
  width: 1px;
}

.d-line {
  height: 1px;
  transform-origin: center;
}

/* Layer 4: Guide Circles */
.bg-layer-4 {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.guide-circle {
  position: absolute;
  border: 1px solid rgba(15, 76, 129, 0.05);
  border-radius: 50%;
}

/* Layer 5: Frosted Glass Strips */
.bg-layer-5 {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.glass-strip {
  position: absolute;
  width: 150vw;
  height: 150px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.02);
  transform: rotate(35deg) translateY(-50%);
  opacity: 0.25;
}

/* Layer 6: Floating Translucent Rectangles */
.bg-layer-6 {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.float-rect {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(250, 250, 250, 0.1));
  border-radius: 20px;
  filter: blur(2px);
  opacity: 0.3;
  animation: float-slow 30s infinite ease-in-out alternate;
}

/* Layer 7: Text Watermark */
.bg-layer-7 {
  position: absolute;
  inset: 0;
  z-index: 7;
}

.text-mark {
  position: absolute;
  color: var(--bg-accent);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 10px;
  text-transform: uppercase;
  opacity: 0.06;
  white-space: nowrap;
}

/* Layer 8: CSS Logo Watermark */
.bg-layer-8 {
  position: absolute;
  inset: 0;
  z-index: 8;
}

.css-logo-mark {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.04;
}

.css-logo-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--bg-accent);
  border-radius: 8px;
}

.css-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--bg-accent);
  letter-spacing: 2px;
}

.css-logo-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 5px;
}

.css-icon-bar {
  width: 15px;
  height: 3px;
  background-color: var(--bg-accent);
  border-radius: 2px;
}

/* Layer 9: Blueprint Details */
.bg-layer-9 {
  position: absolute;
  inset: 0;
  z-index: 9;
}

.bp-detail {
  position: absolute;
  opacity: 0.05;
}

.bp-hex-group {
  display: flex;
  gap: 5px;
}

.bp-hex {
  width: 20px;
  height: 20px;
  background-color: var(--bg-accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.bp-ticks {
  width: 100px;
  height: 5px;
  background-image: repeating-linear-gradient(to right, var(--bg-accent) 0, var(--bg-accent) 1px, transparent 1px, transparent 10px);
}

.bp-coord {
  font-family: monospace;
  font-size: 10px;
  color: var(--bg-accent);
  display: flex;
  align-items: center;
  gap: 5px;
}

.bp-dot {
  width: 4px;
  height: 4px;
  background-color: var(--bg-accent);
  border-radius: 50%;
}

@keyframes float-slow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(30px, 40px) rotate(5deg);
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .glass-strip {
    width: 200vw;
  }
}

@media (max-width: 768px) {
  .guide-circle {
    transform: scale(0.7);
  }

  .text-mark {
    font-size: calc(inherit * 0.7);
  }

  .css-logo-mark {
    transform: scale(0.6) !important;
  }
}

/* ==========================================================================
   Transparency Overrides for Premium Background
   ========================================================================== */
body,
main,
section,
.section,
.about-section,
.features-section,
.history-section,
.application-section,
.bg-alt {
  background-color: transparent !important;
}

/* Keep card backgrounds opaque so they are readable over the complex background */
.card,
.vm-card,
.premium-process-card,
.footer {
  /* These elements will retain their own backgrounds */
}

/* ==========================================================================
   MASTER RESPONSIVE OVERRIDES (MOBILE & TABLET)
   Must be placed at the very end of the stylesheet to ensure correct cascade!
   ========================================================================== */
@media (max-width: 991px) {
  /* 1. Header & Navigation Drawer (Top Non-floating navbar) */
  .site-header {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    padding: 0 16px !important;
    justify-content: space-between !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1000 !important;
  }

  .header-left {
    flex: 0 0 auto !important;
  }

  .logo img {
    width: 125px !important;
    max-width: 125px !important;
    margin-left: 0 !important;
  }

  .header-right {
    flex: 0 0 auto !important;
    gap: 0 !important;
  }

  .header-socials {
    display: none !important; /* Hide 4 social icons from capsule header on mobile */
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin-left: 0 !important;
    z-index: 1010 !important;
    background: none !important;
    border: none !important;
  }

  .main-nav {
    display: flex !important;
  }

  /* Completely Hide Menu Drawer when NOT Open so it NEVER appears on screen */
  .nav-list {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 80px 24px 40px !important;
    gap: 1.5rem !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
    z-index: 1005 !important;
    margin-left: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-15px) !important;
  }

  .nav-list.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .nav-link {
    font-size: 1.3rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
  }

  .nav-link.active,
  .nav-link:hover {
    color: #009ce4 !important;
  }

  /* 2. Section 1: Hero Section Mobile */
  .hero {
    padding-top: 30px !important;
    padding-bottom: 40px !important;
    min-height: auto !important;
    text-align: center !important;
    display: block !important;
  }

  .hero-container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
    text-align: center !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  .hero-content {
    max-width: 100% !important;
    width: 100% !important;
    text-align: center !important;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
  }

  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero-actions {
    justify-content: center !important;
    display: flex !important;
    width: 100% !important;
  }

  .btn {
    font-size: 16px !important;
    padding: 0.75rem 2rem !important;
    border-radius: 30px !important;
  }

  .hero-image-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 10px !important;
  }

  .hero-fevicon {
    max-height: 240px !important;
    max-width: 80% !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* 3. Section 2A: About Us Video Section Mobile */
  .about-section {
    position: relative !important;
    min-height: auto !important;
    padding: 40px 16px !important;
    background-color: #0b1329 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .about-bg-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.3 !important;
  }

  .about-container {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #about-content-card {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding: 24px 18px !important;
    border-radius: 16px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  }

  .about-title {
    font-size: 24px !important;
    margin-bottom: 12px !important;
    color: #1a1f36 !important;
    text-align: center !important;
  }

  .about-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    text-align: center !important;
  }

  /* Section 2B: Legacy of Innovation Section Mobile */
  .legacy-section {
    position: relative !important;
    min-height: 380px !important;
    padding: 40px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .legacy-bg-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: brightness(0.5) !important;
  }

  .legacy-container {
    position: relative !important;
    inset: auto !important;
    padding: 0 !important;
    justify-content: center !important;
    width: 100% !important;
    display: flex !important;
  }

  .legacy-card {
    max-width: 100% !important;
    width: 100% !important;
    text-align: center !important;
    align-items: center !important;
    padding: 28px 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
  }

  .legacy-title {
    font-size: 24px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    color: #0d1e3a !important;
  }

  .legacy-desc {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    color: #4a5568 !important;
  }

  /* 4. Applications Nav Buttons Mobile Overflow Fix */
  .app-nav-prev {
    left: 8px !important;
    width: 42px !important;
    height: 42px !important;
  }

  .app-nav-next {
    right: 8px !important;
    width: 42px !important;
    height: 42px !important;
  }

  .premium-process-card {
    flex: 0 0 300px !important;
  }

  /* 5. Certificates Section Mobile Fix */
  .certificates-section {
    padding: 50px 16px !important;
  }

  .cert-container {
    flex-direction: column !important;
    gap: 30px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .cert-content-left {
    max-width: 100% !important;
  }

  .cert-heading {
    font-size: 26px !important;
  }

  .cert-text {
    font-size: 15px !important;
  }

  .cert-image-right {
    justify-content: center !important;
    margin-top: 10px !important;
    width: 100% !important;
  }

  .cert-image-right img {
    margin-right: 0 !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* 6. Contact Section Mobile Fix */
  .contact-section {
    padding: 50px 16px !important;
  }

  .contact-container {
    flex-direction: column !important;
    gap: 30px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .contact-content-left {
    max-width: 100% !important;
  }

  .contact-card-right {
    justify-content: center !important;
    width: 100% !important;
  }

  .contact-card {
    padding: 24px 18px !important;
    max-width: 100% !important;
  }

  .contact-watermark {
    display: none !important;
  }

  /* 7. Centered Mobile & Tablet Footer Redesign */
  .site-footer {
    padding: 0 12px 24px 12px !important;
  }

  .footer-floating-container {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 24px !important;
    padding: 36px 20px 20px 20px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
  }

  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-logo {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 12px !important;
  }

  .footer-logo img {
    width: 200px !important;
    max-width: 80% !important;
    margin: 0 auto 12px auto !important;
  }

  .footer-desc {
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin: 0 auto 16px auto !important;
  }

  .social-links {
    justify-content: center !important;
    margin-top: 8px !important;
  }

  .footer-col-title {
    font-size: 18px !important;
    text-align: center !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    width: 100% !important;
  }

  .footer-col-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 2px !important;
  }

  .footer-list {
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .footer-list li {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-list a {
    font-size: 15px !important;
    text-align: center !important;
    display: inline-block !important;
  }

  .contact-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
  }

  .footer-contact-icon {
    justify-content: center !important;
    margin-top: 0 !important;
  }

  .footer-contact-text {
    text-align: center !important;
    font-size: 14px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
    justify-content: center !important;
    padding-top: 20px !important;
  }

  .copyright {
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .footer-bottom-links {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .footer-bottom-links a {
    margin: 0 !important;
    font-size: 13px !important;
  }
}

@media (max-width: 576px) {
  .site-header {
    width: 95% !important;
    padding: 0 12px !important;
    height: 58px !important;
  }

  .logo img {
    width: 115px !important;
  }

  .app-nav-prev,
  .app-nav-next {
    display: none !important;
  }

  .premium-process-card {
    flex: 0 0 82vw !important;
    max-width: 290px !important;
  }

  .cert-stats {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  .cert-stat {
    flex: 1 1 40% !important;
  }
}

/* ==========================================================================
   Mobile-Only Responsive Horizontal Hero Video
   Applies strictly on mobile (<= 767px) to preserve exact 16:9 horizontal frame
   ========================================================================== */
@media (max-width: 767px) {
  .scroll-entrance-section {
    height: 140vh !important;
    min-height: 0 !important;
    position: relative !important;
    width: 100% !important;
    background: #f8fafc !important;
    z-index: 10 !important;
  }

  .scroll-entrance-sticky {
    position: sticky !important;
    top: 60px !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-color: #000 !important;
    z-index: 10 !important;
  }

  .entrance-bg-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    z-index: 1 !important;
  }

  .dotted-overlay {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    background-color: #f8fafc !important;
    background-image: url('../assets/images/PXL04768.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 1;
    will-change: opacity;
  }

  .split-text-container {
    position: absolute !important;
    bottom: 8px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 4.5vw !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    pointer-events: none !important;
  }

  .split-left,
  .split-right {
    display: inline-block !important;
    will-change: transform !important;
  }
}