:root {
  --primary-navy: #1a365d;
  --steel-blue: #2c5282;
  --cyan-accent: #4fd1c7;
  --orange-micro: #ff6b35;
  --neutral-dark: #2d3748;
  --neutral-light: #f7fafc;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  /* ✅ Enable smooth scroll snapping */
}

body {
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  color: var(--neutral-dark);
  overflow-x: hidden;
  background: var(--white);
  /* ✅ Remove overflow restrictions for natural scrolling */
}

/* Enhanced Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2rem;
  line-height: 1.2;
  opacity: 1;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--gray-600);
  margin-bottom: 3.5rem;
  line-height: 1.6;
  opacity: 1;
}

/* Professional Header */
.premium-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  opacity: 1 !important;
  /* Always visible, never fade */
  visibility: visible !important;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 80px;
}

.navbar-brand-premium {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-navy);
  transition: all 0.3s ease;
}

.navbar-brand-premium:hover {
  color: var(--steel-blue);
  text-decoration: none;
}

.navbar-brand-premium img {
  height: 50px;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.navbar-brand-premium:hover img {
  transform: scale(1.05);
}

.navbar-brand-premium span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.nav-premium {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  gap: 1.25rem;
}

.nav-premium a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-premium a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--steel-blue);
  transition: width 0.3s ease;
}

.nav-premium a:hover {
  color: var(--steel-blue);
}

.nav-premium a:hover::after {
  width: 100%;
}
/* MAIN MENU */
.menu-bar {
    display: flex;
    gap: 20px;
    background: #fff;
}

/* MENU ITEM */
.menu-item {
    position: relative;
}

/* MAIN LINK */
.menu-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
}

/* SUBMENU BOX */
.submenu-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: #fff;
  min-width: 300px;
    padding: 26px 32px;

    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);

    /* SCROLL */
    max-height: 250px;
    overflow-y: auto;

    z-index: 999;
}

/* SUBMENU LINKS */
.submenu-link {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

/* HOVER EFFECT */
.submenu-link:hover {
    background: #f5f5f5;
}

/* DESKTOP HOVER */
.menu-item.has-submenu:hover .submenu-box {
    display: block;
}

/* MOBILE TOGGLE */
.submenu-box.active {
    display: block;
}

/* SCROLLBAR */
.submenu-box::-webkit-scrollbar {
    width: 6px;
}

.submenu-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ARROW */
.menu-link::after {
    content: " ▼";
    font-size: 10px;
}

/* ================= */
/* 📱 RESPONSIVE */
/* ================= */

@media (max-width: 768px) {

    .menu-bar {
        flex-direction: column;
    }

    .submenu-box {
        position: static;
        box-shadow: none;
        max-height: none;
    }

    .menu-item.has-submenu:hover .submenu-box {
        display: none;
    }
}
.contact-btn-premium {
  background: linear-gradient(135deg, var(--steel-blue), var(--cyan-accent));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(44, 82, 130, 0.2);
  position: relative;
  overflow: hidden;
  margin-left: 1rem;
}

.contact-btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.contact-btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 82, 130, 0.3);
  color: white;
  text-decoration: none;
}

.contact-btn-premium:hover::before {
  left: 100%;
}

/* Hero Trust Badge - Fixed with background to span ALL hero sections */
.trust-badge-hero {
  position: fixed;
  top: 6rem;
  /* Account for header height */
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--cyan-accent), var(--steel-blue));
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(79, 209, 199, 0.4);
  z-index: 15;
  /* Above background but below header, with hero content */
  backdrop-filter: blur(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.trust-badge-hero i {
  font-size: 1rem;
}

.trust-badge-hero.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  pointer-events: none;
}

/* ✅ GoDaddy-Style Hero Container - Natural scrolling with extended background */
.hero-scroll-container {
  position: relative;
  margin-top: -3rem;
  /* Move hero content up to reduce space below trust badge */
  /* ✅ Extended height to accommodate all 5 hero sections seamlessly */
  min-height: 500vh;
  /* Full height for all 5 sections (5 × 100vh) */
  scroll-snap-type: y mandatory;
  /* Smooth section snapping like GoDaddy */
  overflow: visible;
  /* Allow extended background to flow through all sections */
  z-index: 5;
  /* Above fixed background but below header */
}

/* ✅ Enable smooth scrolling globally */
html {
  scroll-behavior: smooth;
}

/* ✅ Fixed Video Background - Behind scrolling content */
.hero-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

/* ✅ Video Element Styling - ENORMOUS extension to utilize COMPLETE carousel video */
.hero-video-element {
  position: absolute;
  top: -60%;
  left: -15%;
  width: 130%;
  height: 400%;
  /* ENORMOUS height to utilize COMPLETE video content across all 5 sections */
  object-fit: cover;
  object-position: center 0%;
  /* Start from absolute top of long video */
  z-index: 1;
  opacity: 0.8;
  /* Subtle so text remains readable */
  will-change: transform;
  /* Smooth scrolling optimization */
}

.hero-image-bg {
  position: absolute;
  top: -60%;
  left: -15%;
  right: -15%;
  bottom: -60%;
  width: 130%;
  height: 400%;
  /* ENORMOUS height to ensure COMPLETE carousel utilization */
  background-image:
    url("images/caraousel.jpg"),
    linear-gradient(135deg, var(--steel-blue), var(--primary-navy));
  /* Fallback */
  background-size: cover;
  /* Cover entire area to ensure no gaps at edges */
  background-position: center 0%;
  /* Start from absolute top of carousel */
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
  /* Behind video but visible */
  will-change: transform;
  /* Smooth scrolling optimization */
}

/* ✅ Optimize background quality for extended scrolling */
.hero-bg-video,
.hero-image-bg {
  display: block !important;
  visibility: visible !important;
  /* High quality rendering for smooth scrolling */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  transform: translateZ(0);
  /* Force GPU acceleration for smooth movement */
}

.hero-video-element {
  /* Optimize video quality for scrolling */
  image-rendering: auto;
  backface-visibility: hidden;
}

/* ✅ Natural Scrolling Hero Sections - Like GoDaddy */
.hero-text-section {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  scroll-snap-align: start;
  z-index: 10;
  /* Above fixed background */
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero-image-bg {
    background-size: cover;
    background-position: center center;
    height: 100%;
  }
}

/* ✅ Clean up old styles - no longer needed */

@keyframes gradientPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding: 0 2rem;
  z-index: 15;
  /* Above seamlessly scrolling background */
  position: relative;
}

/* ✅ GoDaddy-Style Text Content - Fully selectable and crisp */
.hero-text-content {
  background: rgba(255, 255, 255, 0.95);
  /* ✅ CRITICAL: No transforms or GPU layers for text selectability */
  transform: none !important;
  will-change: auto;
  user-select: text;
  /* Explicitly enable text selection */
  -webkit-user-select: text;
  -moz-user-select: text;
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* ✅ Removed heavy transforms for selectable text */
  user-select: text;
  /* Enable text selection */
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* Fallback for old class name */
.left-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* ✅ Removed translateY(100vh) for natural rendering */
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.story-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  /* ✅ Ensure text is selectable and crisp - GoDaddy approach */
  user-select: text;
  -webkit-user-select: text;
  transform: none !important;
  will-change: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan-accent), var(--steel-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  /* ✅ Keep gradient text selectable */
  user-select: text;
  -webkit-user-select: text;
}

.story-subtitle {
  font-size: 1.3rem;
  color: var(--gray-600);
  margin-bottom: 2.25rem;
  line-height: 1.5;
  font-weight: 500;
}

.story-features {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

.story-features li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.5;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease-out;
}

.story-features li.visible {
  opacity: 1;
  transform: translateX(0);
}

.story-features li i {
  color: var(--cyan-accent);
  font-size: 1rem;
  width: 18px;
  flex-shrink: 0;
}

.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background: linear-gradient(135deg, var(--steel-blue), var(--cyan-accent));
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(44, 82, 130, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.story-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.story-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s;
}

.story-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 45px rgba(44, 82, 130, 0.4);
  color: white;
  text-decoration: none;
}

.story-cta:hover::before {
  left: 100%;
}

.story-cta:hover i {
  transform: translateX(4px);
}

.story-cta i {
  transition: transform 0.3s ease;
}

/* Right Icon Styling */
.right-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.icon-orb {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--steel-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px rgba(26, 54, 93, 0.25);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8) translateY(50px);
}

.icon-orb.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.icon-orb::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(79, 209, 199, 0.4), transparent);
  animation: orbRotate 25s linear infinite;
}

@keyframes orbRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.icon-orb i {
  font-size: 5rem;
  color: white;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  z-index: 2;
  position: relative;
}

/* Premium Button Styles */
.btn-primary-premium {
  background: linear-gradient(135deg, var(--steel-blue), var(--cyan-accent));
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(44, 82, 130, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary-premium:hover {
  color: white;
  text-decoration: none;
}

.btn-secondary-premium {
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
  padding: 0.875rem 1.875rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-secondary-premium:hover {
  color: var(--primary-navy);
  text-decoration: none;
}

/* Enhanced Hero Section Features - Disabled for clean background */
.hero-background-texture {
  display: none;
  /* Disable texture overlay for clean image visibility */
}

/* ✅ REMOVED HEAVY TRANSFORMS - GoDaddy approach uses natural opacity transitions */
/* Old transform-heavy approach replaced with subtle fade-ins for better text selection */

.hero-text-section {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-text-section.visible {
  opacity: 1;
}

/* ✅ FIXED: Make CTA buttons and icons visible in natural scrolling */
.story-features li {
  opacity: 0.9;
  /* Slightly visible by default */
  transition: opacity 0.3s ease;
}

.hero-text-section.visible .story-features li {
  opacity: 1;
}

/* ✅ OVERRIDE: Make all CTA buttons and icons visible by default in natural scrolling */
.hero-text-section .story-cta {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-text-section .icon-orb {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* ✅ Enhanced visibility when section is in view */
.hero-text-section.visible .story-cta {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.hero-text-section.visible .icon-orb {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* ✅ Ensure right-icon container is properly positioned */
.hero-text-section .right-icon {
  opacity: 1;
  transform: none;
}

@keyframes textureFloat {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--cyan-accent), var(--steel-blue));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  margin-top: 0;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--cyan-accent), var(--steel-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Microinteractive Intro */
.microinteractive-intro {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--steel-blue);
  opacity: 0;
  animation: introSequence 3s ease-out;
}

.intro-word {
  display: inline-block;
  opacity: 0;
  animation: typewriterWord 0.6s ease-out forwards;
}

.intro-word:nth-child(1) {
  animation-delay: 0.2s;
}

.intro-word:nth-child(2) {
  animation-delay: 0.8s;
}

.intro-word:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes introSequence {
  0% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes typewriterWord {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll-Synced Background - Disabled for clean image visibility */
.scroll-synced-background {
  display: none;
}

/* Animated Gradient Blob - Disabled for clean background */
.animated-gradient-blob {
  display: none;
  /* Disable blob overlay for clean image visibility */
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  33% {
    transform: translateY(-20px) rotate(120deg) scale(1.1);
  }

  66% {
    transform: translateY(10px) rotate(240deg) scale(0.9);
  }
}

/* Hero Client Section - Repositioned within Hero */
.hero-clients-section {
  margin-top: 8rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(79, 209, 199, 0.2);
  background: linear-gradient(to bottom, transparent, rgba(247, 250, 252, 0.5));
}

@keyframes backgroundFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

/* Hero Client Section - Repositioned */
.hero-clients-section {
  margin-top: 8rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(79, 209, 199, 0.2);
  background: linear-gradient(to bottom, transparent, rgba(247, 250, 252, 0.5));
}

/* Old Hero Client Showcase - Legacy */
.hero-clients-showcase {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(247, 250, 252, 0.95)
  );
  backdrop-filter: blur(5px);
  padding: 2rem 0 1rem;
  overflow: hidden;
}

.clients-scroll-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: clientsFlow 40s linear infinite;
  width: fit-content;
}

.clients-track img {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(0%) brightness(1);
  opacity: 0.8;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.clients-track img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes clientsFlow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-clients-mini {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-200);
  padding: 1rem 0;
  overflow: hidden;
}

.mini-scroll-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: miniScroll 20s linear infinite;
  width: fit-content;
}

.mini-scroll-track img {
  height: 30px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

@keyframes miniScroll {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Client Logos within Testimonials Section */
.testimonial-clients-section {
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 1rem 0 0 0;
  position: relative;
  background: transparent;
}

/* Enhanced Client Logos with Center-Focus Animation */
.trust-banner-premium {
  background: var(--white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.trust-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.client-logos-premium {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  mask: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.logo-scroll-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: logoScroll 30s linear infinite;
  width: fit-content;
}

.logo-scroll-track img {
  height: 55px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) blur(1px);
  opacity: 0.6;
  transition: all 0.3s ease;
  flex-shrink: 0;
  transform: scale(0.9);
}

.logo-scroll-track img:nth-child(6),
.logo-scroll-track img:nth-child(7) {
  filter: grayscale(0%) blur(0px);
  opacity: 1;
  transform: scale(1.1);
}

.logo-scroll-track img:hover {
  filter: grayscale(0%) blur(0px);
  opacity: 1;
  transform: scale(1.2);
  animation-play-state: paused;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Enhanced About Section */
.about-section-premium {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
  z-index: 10;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h3 {
  color: var(--steel-blue);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary-navy);
  line-height: 1.2;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image-container {
  position: relative;
}

.about-image-premium {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
}

.about-image-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 82, 130, 0.1), transparent);
  z-index: 1;
}

.about-image-premium img {
  width: 100%;
  height: auto;
  display: block;
}

/* Enhanced Services Section */
.services-section-premium {
  padding: 6rem 0;
  background: var(--gray-50);
  position: relative;
  z-index: 10;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header-premium {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonial-clients-section .section-header-premium {
  margin-bottom: 1rem;
}

.section-header-premium h3 {
  color: var(--steel-blue);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header-premium h2 {
  font-size: 2.25rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.services-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card-premium {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service-card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--steel-blue), var(--cyan-accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.service-card-premium:hover::before {
  transform: scaleX(1);
}

.service-icon-premium {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-navy), var(--steel-blue));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.2);
  transition: all 0.3s ease;
}

.service-card-premium:hover .service-icon-premium {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(26, 54, 93, 0.3);
}

.service-card-premium h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-navy);
  font-weight: 600;
}

.service-card-premium p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
}

.services-cta .btn-primary-premium {
  font-size: 1.1rem;
  padding: 1.25rem 2.5rem;
}

/* Enhanced CTA Section */
.cta-section-premium {
  background: linear-gradient(135deg, var(--steel-blue), var(--cyan-accent));
  padding: 5rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>');
  background-size: cover;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.cta-section-premium h2 {
  color: #e2e8f0;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-section-premium p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Enhanced Blog Section */
.blog-section-premium {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
  z-index: 10;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card-premium {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
}

.blog-card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image-premium {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.blog-image-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 82, 130, 0.2), transparent);
}

.blog-content-premium {
  padding: 2rem;
}

.blog-card-premium h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary-navy);
  line-height: 1.4;
  font-weight: 600;
}

/* Enhanced Testimonials */
.testimonials-section-premium {
  padding: 6rem 0 4rem 0;
  background: var(--gray-50);
  position: relative;
  z-index: 10;
}

/* Clean Testimonials Grid */
.testimonials-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card-clean {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card-clean:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-quote-clean {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 2rem;
  flex: 1;
  position: relative;
}

.testimonial-quote-clean::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -15px;
  font-size: 3rem;
  color: var(--cyan-accent);
  font-family: serif;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-author-clean {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.author-avatar-clean {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--steel-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-avatar-clean i {
  font-size: 1.2rem;
}

.author-info-clean {
  flex: 1;
}

.author-name-clean {
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-title-clean {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.3;
}

/* Responsive Design for Clean Testimonials */
@media (max-width: 768px) {
  .testimonials-grid-clean {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .testimonial-card-clean {
    padding: 2rem 1.5rem;
  }

  .testimonial-quote-clean {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Modern Testimonials Carousel */
.testimonials-carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.testimonials-carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
}

.testimonials-track-new {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial-card-new {
  flex: 0 0 calc(100% / 3);
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  text-align: center;
  transform: scale(0.85);
  opacity: 0.5;
  pointer-events: none;
}

.testimonial-card-new.center {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.testimonial-card-new.center:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar-new {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--steel-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
  transition: all 0.3s ease;
}

.testimonial-card-new:nth-child(2n) .testimonial-avatar-new {
  background: linear-gradient(135deg, var(--cyan-accent), var(--steel-blue));
}

.testimonial-card-new:nth-child(3n) .testimonial-avatar-new {
  background: linear-gradient(135deg, var(--orange-micro), var(--cyan-accent));
}

.testimonial-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.testimonial-card-new.center .testimonial-quote {
  font-size: 1rem;
  color: var(--gray-700);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gray-200);
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.carousel-arrow:hover {
  background: var(--primary-navy);
  color: white;
  border-color: var(--primary-navy);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(26, 54, 93, 0.2);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

/* Pagination Dots */
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.pagination-dot.active {
  background: var(--primary-navy);
  transform: scale(1.3);
}

.pagination-dot.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-navy);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

.pagination-dot:hover {
  background: var(--steel-blue);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonials-carousel-container {
    gap: 1rem;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .testimonial-card-new {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .film-roll-container {
    margin-top: -2.5rem;
    /* Adjust spacing for mobile */
  }

  .testimonials-carousel-container {
    flex-direction: column;
    gap: 2rem;
  }

  .carousel-arrow {
    order: 2;
    position: relative;
  }

  .carousel-arrow-left {
    order: 1;
  }

  .carousel-arrow-right {
    order: 3;
  }

  .testimonials-carousel {
    order: 2;
    touch-action: pan-x;
  }

  .testimonials-track-new {
    scroll-snap-type: x mandatory;
  }

  .testimonial-card-new {
    flex: 0 0 100%;
    margin: 0 0.5rem;
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
    scroll-snap-align: center;
  }

  .testimonial-card-new.center {
    transform: scale(1);
  }

  .testimonials-carousel-container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .carousel-pagination {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card-new {
    padding: 1.5rem 1rem;
    margin: 0 0.25rem;
  }

  .testimonial-heading {
    font-size: 1rem;
  }

  .testimonial-quote {
    font-size: 0.9rem;
  }

  .testimonial-avatar-new {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Legacy testimonials styles for compatibility */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card-premium {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex: 0 0 100%;
  opacity: 0.7;
  transform: scale(0.95);
}

.testimonial-card-premium.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card-premium::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2.5rem;
  font-size: 4rem;
  color: var(--gray-200);
  font-family: serif;
  line-height: 1;
}

.testimonial-card-premium:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-navy);
  transform: scale(1.2);
}

.dot:hover {
  background: var(--steel-blue);
}

.testimonial-header-premium {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-avatar-premium {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-navy), var(--steel-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 1rem;
  box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.testimonial-text-premium {
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* Fixed Scrolling Stats Footer */
.stats-ticker-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(79, 209, 199, 0.2);
  overflow: hidden;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  animation: tickerScroll 30s linear infinite;
  gap: 3rem;
  padding: 0 2rem;
  white-space: nowrap;
}

.ticker-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.ticker-stat:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ticker-stat.animating {
  background: rgba(79, 209, 199, 0.1);
  border-color: rgba(79, 209, 199, 0.3);
}

.ticker-icon {
  color: var(--cyan-accent);
  font-size: 1.5rem;
  min-width: 24px;
  text-align: center;
}

.ticker-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ticker-number {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  font-family: "DM Sans", sans-serif;
  transition: all 0.3s ease;
}

.ticker-number.counting {
  color: var(--cyan-accent);
  transform: scale(1.05);
}

.ticker-number.counted {
  color: white;
  transform: scale(1);
}

.ticker-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* Responsive Design for Ticker */
@media (max-width: 768px) {
  .stats-ticker-footer {
    height: 70px;
  }

  .ticker-stat {
    min-width: 160px;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .ticker-icon {
    font-size: 1.2rem;
  }

  .ticker-number {
    font-size: 1.1rem;
  }

  .ticker-label {
    font-size: 0.7rem;
  }

  .ticker-track {
    gap: 2rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .stats-ticker-footer {
    height: 60px;
  }

  .ticker-stat {
    min-width: 140px;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .ticker-icon {
    font-size: 1rem;
  }

  .ticker-number {
    font-size: 1rem;
  }

  .ticker-label {
    font-size: 0.65rem;
  }

  .ticker-track {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
}

/* Enhanced Footer */
.footer-premium {
  background: var(--primary-navy);
  color: white;
  padding: 4rem 0 6rem;
  position: relative;
  margin-top: 0;
  z-index: 10;
}

.footer-premium::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--steel-blue), var(--cyan-accent));
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  /* match Valuation/BVS typography */
  position: relative;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--cyan-accent);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  /* match Valuation/BVS typography */
  font-weight: 400;
  line-height: 1.7;
  text-align: justify;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-section a:hover {
  color: var(--cyan-accent);
  transform: translateX(5px);
}

.footer-section a::before {
  content: "→";
  margin-right: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-section a:hover::before {
  opacity: 1;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-info:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-info i {
  color: var(--cyan-accent);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  font-size: 1.1rem;
  min-width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: var(--cyan-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--orange-micro);
  text-shadow: 0 0 5px rgba(79, 209, 199, 0.3);
}

/* Animation Keyframes */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(79, 209, 199, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(79, 209, 199, 0.4);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    gap: 4rem;
    padding: 0 2rem;
  }

  .left-card {
    padding: 3rem 2.5rem;
  }

  .story-title {
    font-size: 2.3rem;
  }

  .icon-orb {
    width: 200px;
    height: 200px;
  }

  .icon-orb i {
    font-size: 4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Header adjustments (match Valuation.php.html) */
  .header-container {
    flex-direction: column;
    padding: 1rem;
    min-height: auto;
    gap: 1rem;
  }

  .navbar-brand-premium {
    flex-direction: row;
    margin-bottom: 0.5rem;
  }

  .navbar-brand-premium img {
    height: 40px;
    margin-right: 10px;
  }

  .navbar-brand-premium span {
    font-size: 0.95rem !important;
  }

  /* Navigation - Stack vertically */
  .nav-premium {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    text-align: center;
  }

  .nav-premium a {
    padding: 0.5rem 0;
    width: 100%;
  }

  .contact-btn-premium {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .trust-badge-hero {
    top: 5rem;
    /* Account for smaller mobile header */
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
  }

  .left-card {
    padding: 2rem 1.5rem;
    order: 2;
  }

  .story-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

  .story-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .story-features li {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    gap: 1rem;
  }

  .story-cta {
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
  }

  .right-icon {
    order: 1;
    margin-bottom: 2rem;
  }

  .icon-orb {
    width: 150px;
    height: 150px;
  }

  .icon-orb i {
    font-size: 3rem;
  }

  .services-grid-premium,
  .blog-grid-premium,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header-premium h2,
  .about-text h2 {
    font-size: 1.875rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-illustration-premium {
    max-width: 300px;
    height: 250px;
    margin: 0 auto;
  }

  .about-grid {
    text-align: center;
  }

  .service-card-premium,
  .blog-card-premium,
  .testimonial-card-premium {
    margin: 1rem;
  }

  .testimonial-clients-section {
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .testimonials-section-premium {
    padding: 4rem 0 3rem 0;
  }
}

@media (max-width: 480px) {
  .film-roll-container {
    margin-top: -2rem;
    /* Fine-tune spacing for small mobile */
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .container-premium,
  .hero-container,
  .about-container,
  .stats-container,
  .services-container,
  .blog-container,
  .testimonials-container,
  .footer-container,
  .cta-container,
  .trust-content {
    padding: 0 1rem;
  }

  .btn-primary-premium,
  .btn-secondary-premium {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .logo-scroll-track {
    gap: 2rem;
  }

  .logo-scroll-track img {
    height: 42px;
  }

  .testimonials-slider {
    margin: 0 1rem;
  }

  .testimonial-card-premium {
    padding: 2rem 1.5rem;
  }

  .hero-tagline {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .rotating-word-inline {
    min-width: 100px;
  }

  .microinteractive-intro {
    font-size: 1rem;
  }

  .hero-clients-section {
    margin-top: 1.5rem;
    padding: 1rem 0;
  }

  .hero-clients-showcase {
    padding: 1rem 0 0.5rem;
  }

  .clients-track img {
    height: 36px;
  }
}

@media (max-width: 320px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-synced-background {
    opacity: 0.2;
  }

  .testimonial-clients-section {
    margin-top: 1rem;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .testimonials-section-premium {
    padding: 3rem 0 2rem 0;
  }
}

/* Utility Classes */
.container-premium {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Performance Optimizations */
.service-card-premium,
.blog-card-premium,
.testimonial-card-premium,
.ticker-stat {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ✅ Modern Hero Section - Clean & Confident */
:root {
  --av-navy: #1a365d;
  --av-teal: #215a6d;
  --av-sky: #e6f3ff;
  --av-slate: #eef2f6;
  --av-mint: #49d3c4;
  --av-text: #2d3748;

  /* ---------- Premium Color Tokens ---------- */
  --navy: #1a365d;
  --steel: #2c5282;
  --teal: #2aa39a;
  --cyan: #4fd1c7;
  --indigo: #3a4b6e;
  --surface: #ffffff;
  --line: #e7eef6;
  --shadow: 0 6px 22px rgba(17, 37, 64, 0.08);
  --text: #0f2340;
  --muted: #5b6b80;
  --chip-bg: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.15),
    rgba(79, 209, 199, 0.2)
  );
}

.av-hero {
  background: radial-gradient(
    1200px 600px at 80% 20%,
    #f8fafc 0%,
    #ffffff 100%
  ) !important;
  border-bottom: 1px solid #e5e7eb !important;
  position: relative !important;
  /* Responsive spacing so the hero doesn't drift away from the header on small widths */
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px) !important;
}

.av-hero__wrap {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: grid !important;
  grid-template-columns: minmax(520px, 560px) 1fr !important;
  gap: 80px !important;
  align-items: center !important;
}

/* Tablet re-balance: avoid squishing the right cards while the left stays huge */
@media (max-width: 1200px) {
  .av-hero__wrap {
    grid-template-columns: minmax(420px, 1.05fr) minmax(360px, 0.95fr) !important;
    gap: 48px !important;
  }

  .av-hero__left {
    max-width: none !important;
  }

  /* Keep the 4 mode buttons compact and balanced on tablet */
  .av-hero__modes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .av-mode {
    height: 50px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Slightly compact cards on tablet so nothing feels oversized */
  .av-card {
    padding: 22px !important;
    min-height: 160px !important;
  }

  .av-cards-1o2 .av-card.primary {
    min-height: 150px !important;
  }

  /* Scale down icon blocks so bottom cards don't look cramped */
  .av-cards-1o2 .av-card.primary .av-card__icon,
  .av-cards-1o2 .av-card.primary .av-card__icon img {
    flex: 0 0 92px !important;
    width: 92px !important;
    height: 92px !important;
  }

  .av-cards-1o2 a:nth-of-type(2) .av-card__icon,
  .av-cards-1o2 a:nth-of-type(3) .av-card__icon,
  .av-cards-1o2 a:nth-of-type(2) .av-card__icon img,
  .av-cards-1o2 a:nth-of-type(3) .av-card__icon img {
    width: 92px !important;
    height: 92px !important;
  }
}

.av-hero__title {
  font-size: clamp(40px, 4vw, 56px) !important;
  line-height: 1.2 !important;
  color: #1a365d !important;
  letter-spacing: -0.3px !important;
  margin: 0 0 20px 0 !important;
  font-weight: 700 !important;
}

.av-hero__left {
  max-width: 620px !important;
}

.av-hero__sub {
  margin-top: 14px !important;
  color: var(--muted) !important;
  margin-bottom: 32px !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

.av-hero__modes {
  display: grid !important;
  gap: 12px !important;
  margin-top: 28px !important;
}

.av-mode {
  height: 56px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  text-align: left !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.av-mode:is(:hover, :focus-visible) {
  box-shadow: 0 3px 14px rgba(17, 37, 64, 0.06) !important;
  transform: translateY(-1px) !important;
}

.av-mode.is-active {
  background: #1a365d !important;
  color: #fff !important;
  border-color: #1a365d !important;
}

/* ---------- Mode-Specific Color Theming ---------- */

/* Unified active tab styling - deep navy for all modes */
body.mode-advisory .av-mode[data-mode="advisory"],
body.mode-compliance .av-mode[data-mode="compliance"],
body.mode-funding .av-mode[data-mode="funding"],
body.mode-valuation .av-mode[data-mode="valuation"] {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Subtle brand tint for primary cards - navy + cyan accent blend */
body.mode-advisory .av-cards-1o2[data-cards="advisory"] .av-card.primary,
body.mode-compliance .av-cards-1o2[data-cards="compliance"] .av-card.primary,
body.mode-funding .av-cards-1o2[data-cards="funding"] .av-card.primary,
body.mode-valuation .av-cards-1o2[data-cards="valuation"] .av-card.primary {
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.04),
    rgba(79, 209, 199, 0.06)
  ) !important;
  border-color: rgba(26, 54, 93, 0.15) !important;
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.08) !important;
}

.av-hero__trust {
  font-size: 13px !important;
  color: #475569 !important;
  margin-top: 28px !important;
  font-weight: 500 !important;
}

/* Right column container: 1-over-2 */
.av-cards-1o2 {
  display: grid !important;
  grid-template-areas:
    "top top"
    "bottom-left bottom-right" !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 20px !important;
  align-items: start !important;
  height: 100% !important;
}

/* Assign areas */
.av-cards-1o2 .primary {
  grid-area: top !important;
}

.av-cards-1o2 a:nth-of-type(2) {
  grid-area: bottom-left !important;
  min-height: 120px !important;
}

.av-cards-1o2 a:nth-of-type(3) {
  grid-area: bottom-right !important;
  min-height: 120px !important;
}

/* New horizontal layout for top card - applies to ALL sections */
.av-cards-1o2 .av-card.primary {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 12px !important;
  padding: 20px !important;
  min-height: 160px !important;
  background: #f0fdfa !important;
  border-color: #d5f5f1 !important;
  box-shadow: 0 10px 28px rgba(14, 165, 169, 0.12) !important;
}

.av-cards-1o2 .av-card.primary .av-card__icon {
  flex: 0 0 120px !important;
  width: 120px !important;
  height: 120px !important;
  margin-bottom: 0 !important;
  margin-right: 10px !important;
}

.av-cards-1o2 .av-card.primary .av-card__icon img {
  width: 120px !important;
  height: 120px !important;
}

.av-cards-1o2 .av-card.primary .av-card__body {
  flex: 1 !important;
}

/* Card base */
.av-card {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  padding: 28px !important;
  border-radius: 18px !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
  text-decoration: none !important;
  color: var(--text) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease !important;
  min-height: 180px !important;
}

/* Make bottom cards vertical layout for square shape - applies to ALL sections */
.av-cards-1o2 a:nth-of-type(2),
.av-cards-1o2 a:nth-of-type(3) {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  justify-content: flex-start !important;
  padding: 12px 8px 8px 8px !important;
  min-height: 120px !important;
}

/* Bottom cards icon positioning - applies to ALL sections */
.av-cards-1o2 a:nth-of-type(2) .av-card__icon,
.av-cards-1o2 a:nth-of-type(3) .av-card__icon {
  margin-bottom: 2px !important;
  width: 120px !important;
  height: 120px !important;
}

.av-cards-1o2 a:nth-of-type(2) .av-card__icon img,
.av-cards-1o2 a:nth-of-type(3) .av-card__icon img {
  width: 120px !important;
  height: 120px !important;
}

.av-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 28px rgba(17, 37, 64, 0.12) !important;
  text-decoration: none !important;
}

/* Enhanced icon styling with circular chip */
.av-card__icon {
  border-radius: 50% !important;
  background: var(--chip-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.18s ease !important;
}

.av-card:hover .av-card__icon {
  transform: scale(1.03) !important;
}

/* CTA link styling with arrow animation */
.av-link {
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: all 0.18s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.av-link::after {
  content: "→" !important;
  transition: transform 0.18s ease !important;
}

.av-card:hover .av-link::after {
  transform: translateX(3px) !important;
}

/* Icon bubble - base styles */
.av-card__icon {
  border-radius: 20px;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
}

/* Text */
.av-card__body h3 {
  margin: 0 0 8px 0 !important;
  font-size: 1.05rem !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.av-card__body p {
  margin: 0 0 14px 0 !important;
  line-height: 1.45 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}

/* Smooth show/hide when switching groups */
.av-cards-1o2.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease !important;
}

.av-cards-1o2:not(.is-hidden) {
  opacity: 1 !important;
  transform: none !important;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease !important;
}

/* Focus visible for accessibility */
.av-card:focus-within,
.av-mode:focus-visible {
  outline: 2px solid var(--cyan) !important;
  outline-offset: 2px !important;
}

/* Ensure consistent text layout in bottom cards */
.av-cards-1o2 a:nth-of-type(2) .av-card__body,
.av-cards-1o2 a:nth-of-type(3) .av-card__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  flex: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.av-cards-1o2 a:nth-of-type(2) .av-card__body p,
.av-cards-1o2 a:nth-of-type(3) .av-card__body p {
  margin: 0 0 8px 0;
  line-height: 1.4;
  font-size: 12px;
  word-wrap: break-word;
  hyphens: auto;
  text-align: center;
  padding: 0 4px;
}

.av-link {
  color: #0ea5a9 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

.is-hidden {
  display: none !important;
}

/* Responsive: stack under 900px */
@media (max-width: 900px) {
  .av-cards-1o2 {
    /* Keep desktop/tablet "1-over-2" layout on phones (just scaled down) */
    grid-template-areas:
      "top top"
      "bottom-left bottom-right" !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 16px !important;
  }

  .av-hero__wrap {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    /* Remove extra top padding (hero already has top padding) */
    padding: 0 1.5rem 56px !important;
  }

  /* When the right cards stack below, center the "hero header" content */
  .av-hero__left {
    max-width: 760px !important;
    margin: 0 auto !important;
  }

  .av-hero__title,
  .av-hero__trust {
    text-align: center !important;
  }

  /* Keep the paragraph readable and as "single-line" as possible in landscape */
  .av-hero__sub {
    max-width: 72ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 1.02rem !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  .av-hero__modes {
    /* Prevent awkward 3+1 wrapping: default to a clean 2x2 grid */
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .av-mode {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Reduce card padding/heights so the hero content fits naturally on phones */
  .av-card {
    min-height: 0 !important;
    padding: 18px !important;
  }

  .av-cards-1o2 .av-card.primary {
    min-height: 0 !important;
    padding: 18px !important;
  }

  .av-cards-1o2 .av-card.primary .av-card__icon,
  .av-cards-1o2 .av-card.primary .av-card__icon img {
    flex: 0 0 84px !important;
    width: 84px !important;
    height: 84px !important;
  }

  .av-cards-1o2 a:nth-of-type(2) .av-card__icon,
  .av-cards-1o2 a:nth-of-type(3) .av-card__icon,
  .av-cards-1o2 a:nth-of-type(2) .av-card__icon img,
  .av-cards-1o2 a:nth-of-type(3) .av-card__icon img {
    width: 84px !important;
    height: 84px !important;
  }

  /* Tighten bottom-card typography so 2-up layout remains readable */
  .av-cards-1o2 a:nth-of-type(2) .av-card__body h3,
  .av-cards-1o2 a:nth-of-type(3) .av-card__body h3 {
    font-size: 0.98rem !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }
}

/* When the right cards have stacked below, allow 4-in-a-row (but ONLY when it fits) */
@media (min-width: 720px) and (max-width: 900px) {
  .av-hero__modes {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .av-hero__wrap {
    padding: 0 1rem 40px !important;
    gap: 40px !important;
  }

  .av-hero__title {
    font-size: clamp(32px, 6vw, 40px) !important;
    margin-bottom: 16px !important;
  }

  .av-hero__sub {
    margin-bottom: 24px !important;
  }

  .av-mode {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  .av-card {
    padding: 16px !important;
  }

  /* Keep the 1-over-2 card layout even on small phones; scale it down further */
  .av-cards-1o2 {
    gap: 14px !important;
  }

  .av-cards-1o2 .av-card.primary {
    padding: 16px !important;
  }

  .av-cards-1o2 .av-card.primary .av-card__icon,
  .av-cards-1o2 .av-card.primary .av-card__icon img {
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
  }

  .av-cards-1o2 a:nth-of-type(2),
  .av-cards-1o2 a:nth-of-type(3) {
    padding: 10px 10px 12px 10px !important;
  }

  .av-cards-1o2 a:nth-of-type(2) .av-card__icon,
  .av-cards-1o2 a:nth-of-type(3) .av-card__icon,
  .av-cards-1o2 a:nth-of-type(2) .av-card__icon img,
  .av-cards-1o2 a:nth-of-type(3) .av-card__icon img {
    width: 72px !important;
    height: 72px !important;
  }
}

/* Small phones: keep 2 columns for the 4 mode buttons but tighten spacing */
@media (max-width: 420px) {
  .av-hero__modes {
    gap: 8px !important;
  }

  .av-mode {
    height: 46px !important;
    padding: 10px 10px !important;
    font-size: 13px !important;
  }
}

/* --- Mobile stability fixes (no visual redesign) --- */
/* Prevent the fixed stats ticker from covering content on small screens */
body {
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
}

/* Services tiles: avoid mid-width cut-off and keep layouts "even" (4-col or 2-col) */
.services-grid-tiles {
  /* Override inline: repeat(4, minmax(320px, 1fr)) causes overflow/cut-off */
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Desktop: allow the services section to use more horizontal space so tiles grow */
@media (min-width: 1101px) {
  #services > div {
    max-width: 1400px !important;
    /* overrides inline max-width: 1200px */
  }

  .services-grid-tiles {
    max-width: 1400px !important;
    /* overrides inline max-width: 1400px (keeps explicit) */
    gap: 1.25rem !important;
  }
}

/* Tablet / small laptop: switch to a clean 2-column grid (never 3+?) */
@media (max-width: 1100px) {
  .services-grid-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Phone: stack 1 per row and show full text (no internal scroll / no clamp) */
@media (max-width: 768px) {
  .services-grid-tiles {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 0.5rem !important;
  }

  .service-card-hover {
    padding: 1.1rem !important;
    /* override inline padding: 2rem */
    border-radius: 14px !important;
    height: auto !important;
    /* override inline height: 300px */
    min-height: 0 !important;
  }

  .service-card-hover .service-title {
    font-size: 1.05rem !important;
    margin-bottom: 0.6rem !important;
  }

  /* On mobile: show the full description (no clamp) */
  .service-card-hover .service-description {
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }
}

@media (max-width: 420px) {
  .services-grid-tiles {
    gap: 10px !important;
    padding: 0 0.25rem !important;
  }

  .service-card-hover {
    padding: 0.9rem !important;
  }

  .service-card-hover .service-title {
    font-size: 1rem !important;
  }
}

.service-card-hover:hover {
  border-color: var(--steel-blue) !important;
  box-shadow: 0 8px 25px rgba(44, 82, 130, 0.15) !important;
}

.service-card-hover:hover .service-title {
  font-size: 1.05rem !important;
  margin-bottom: 0.3rem !important;
}

.service-card-hover:hover .service-description {
  opacity: 1 !important;
  max-height: 200px !important;
  margin-bottom: 1rem !important;
}

/* Mobile / touch devices: show service descriptions by default (no hover needed) */
@media (hover: none), (pointer: coarse) {
  .service-card-hover {
    height: auto !important;
    /* override inline height: 300px */
    min-height: 0;
  }

  .service-card-hover .service-description {
    opacity: 1 !important;
    max-height: none !important;
    /* allow full text */
    margin-bottom: 1rem !important;
  }
}

/* Make the whole service tile accessible/clickable (not just the "Read More" button) */
.service-card-hover[role="link"]:focus,
.service-card-hover[role="link"]:focus-visible {
  outline: 3px solid rgba(49, 130, 206, 0.55);
  outline-offset: 3px;
}

.service-card-hover div[style*="background: linear-gradient"]:hover {
  background: linear-gradient(
    135deg,
    var(--primary-navy),
    var(--steel-blue)
  ) !important;
}

/* career page */
.career-page {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 360px);
}

.career-hero {
  background: linear-gradient(135deg, #0b1220 0%, #111827 55%, #0b1220 100%);
  position: relative;
  padding: 3.25rem 0 2.25rem;
}

.career-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 260px at 20% 0%,
      rgba(79, 209, 199, 0.22),
      transparent 60%
    ),
    radial-gradient(
      800px 260px at 95% 20%,
      rgba(44, 82, 130, 0.25),
      transparent 55%
    );
  pointer-events: none;
}

.career-hero .container {
  position: relative;
  z-index: 1;
}

.career-title {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 0.85rem;
}

.career-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-accent), var(--steel-blue));
}

.career-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 62ch;
}

.career-section {
  padding: 3.75rem 0;
}

.career-section--alt {
  background: rgba(249, 250, 251, 0.8);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.career-h2 {
  margin: 0 0 0.9rem;
  color: var(--primary-navy);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  position: relative;
  padding-bottom: 0.65rem;
}

.career-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--steel-blue), var(--cyan-accent));
  opacity: 0.9;
}

.career-lead {
  color: #374151;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.career-media {
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.1);
}

.career-cta {
  padding: 3.25rem 0;
  background: var(--primary-navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.career-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      800px 240px at 20% 0%,
      rgba(79, 209, 199, 0.25),
      transparent 60%
    ),
    radial-gradient(
      700px 260px at 90% 20%,
      rgba(44, 82, 130, 0.25),
      transparent 55%
    );
  pointer-events: none;
}

.career-cta .container {
  position: relative;
  z-index: 1;
}

.career-cta-title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
}

.career-cta-text {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
}

.btn-career {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--steel-blue), var(--cyan-accent));
  box-shadow: 0 12px 30px rgba(44, 82, 130, 0.35);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.btn-career:hover {
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(44, 82, 130, 0.45);
}

@media (max-width: 768px) {
  .career-section {
    padding: 3rem 0;
  }

  .career-media {
    border-radius: 16px;
  }
}

/* services page */
.section-main {
  padding: 90px 20px;
  background: #f8fbff;
}

.container-main {
  max-width: 1180px;
  margin: auto;
}

/* GRID */
.grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* IMAGE */
.img-box img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* CONTENT */
.content-box {
  display: flex;
  flex-direction: column;
}

/* HEADINGS */
.heading-common {
letter-spacing: -0.3px;
font-weight: 600;
line-height: 1.6;
text-align: left;
}

.h1 {
  font-size: 30px;
}
.h2 {
  font-size: 25px;
}
.h3 {
  font-size: 25px;
}
.h4 {
  font-size:25px;
}
.h5 {
  font-size:25px;
}
.h6 {
  font-size: 25px;
}

/* TEXT */
.para {
  font-size: 16px;
  line-height: 1.9;
  color: #4a5568;
}

/* SECTION BLOCK */
.section-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* HEADING STYLE */
.section-block .heading-common {
  position: relative;
}

.section-block .heading-common::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #0d2c6c;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* CARD */
.card {
  background: #ffffff;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* FAQ */
.faq {
  background: #ffffff;
  padding: 18px;
  border-radius: 8px;
  border-left: 4px solid #0d2c6c;
  transition: 0.3s;
}

.faq:hover {
  background: #f1f5f9;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .grid-main {
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .grid-main {
    grid-template-columns: 1fr;
  }

  .h1 {
    font-size: 30px;
  }
  .h2 {
    font-size: 26px;
  }
}

/* BREADCRUMB SECTION */
.breadcrumb-section {
  background: linear-gradient(135deg, #0d2c6c, #1f4fa3);
  padding: 40px 20px;
  color: #fff;
}

/* PAGE TITLE */
.page-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #dbeafe;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 14px;
  display: flex;
  flex-wrap: wrap; /* important for mobile */
  align-items: center;
}

.breadcrumb a {
  color: #dbeafe;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

.breadcrumb .active {
  color: #ffffff;
  font-weight: 500;
}

/* 🔥 RESPONSIVE */
@media (max-width: 992px) {
  .breadcrumb-section {
    padding: 35px 15px;
  }

  .page-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .breadcrumb-section {
    padding: 30px 15px;
    text-align: center; /* center on mobile */
  }

  .page-title {
    font-size: 22px;
  }

  .breadcrumb {
    justify-content: center;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .breadcrumb-section {
    padding: 25px 12px;
  }

  .page-title {
    font-size: 20px;
  }

  .breadcrumb {
    font-size: 12px;
    gap: 4px;
  }

  .breadcrumb span {
    margin: 0 4px;
  }
}

/* ===== MARKET AREA SECTION ===== */
.market-area {
  padding: 80px 20px;
  background: radial-gradient(circle at top, #e3f2fd, #f9fcff);
  text-align: center;
  overflow: hidden;
}

/* TITLE */
.market-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 50px;
  color: #2f5c87;
  letter-spacing: 1px;
  position: relative;
}

.market-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #2f5c87;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

/* GRID */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
}

/* ITEM */
.market-item {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 25px 15px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  transition: all 0.4s ease;
  overflow: hidden;
}

/* GLOW EFFECT */
.market-item::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(30, 136, 229, 0.3),
    transparent
  );
  top: -100%;
  left: -100%;
  transition: 0.6s;
}

/* HOVER */
.market-item:hover::before {
  top: 100%;
  left: 100%;
}

.market-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #49188a, #49188a);
}

/* ICON */
.market-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #49188a, #49188a);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 20px;
  font-weight: bold;

  transition: 0.4s;
}

/* ICON HOVER */
.market-item:hover .market-icon {
  background: #fff;
  color: #49188a;
  transform: rotate(360deg) scale(1.1);
}

/* TEXT */
.market-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: 0.3s;
}

/* TEXT HOVER */
.market-item:hover .market-name {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 500px) {
  .market-title {
    font-size: 26px;
  }
}

.box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 300px;
}

h2 {
  text-align: center;
  color: #264065;
  margin-bottom: 20px;
}

.item {
  margin: 10px 0;
}

.link {
  display: inline-block;
  padding: 8px 14px;
  text-decoration: none;
  color: #264065;
  background: #f0f3f7;
  border-radius: 6px;
  transition: 0.2s;
}

.link:hover {
  background: #264065;
  color: #fff;
}

.child {
  margin-left: 25px;
  padding-left: 15px;
  border-left: 2px solid #26406533;
}
/* Main wrapper */
.pp {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6f9;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Main box */
.pp .box {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Title */
.pp .title {
    text-align: center;
    color: #264065;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* Section spacing */
.pp .section {
    margin-top: 25px;
}

/* Section heading */
.pp .heading {
    color: #264065;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 10px;
}

/* Text */
.pp .text {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* List */
.pp ul {
    margin-top: 10px;
    padding-left: 22px;
}

/* List items */
.pp li {
    margin: 6px 0;
    font-size: 14px;
    color: #555;
}

/* Bullet color */
.pp li::marker {
    color: #264065;
}

/* Links */
.pp a {
    color: #264065;
    text-decoration: none;
    font-weight: 500;
}

.pp a:hover {
    text-decoration: underline;
}

/* -------------------- */
/* RESPONSIVE DESIGN */
/* -------------------- */

/* Tablet */
@media (max-width: 768px) {
    .pp .box {
        padding: 25px;
    }

    .pp .title {
        font-size: 24px;
    }

    .pp .heading {
        font-size: 16px;
    }

    .pp .text,
    .pp li {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .pp {
        padding: 10px;
        align-items: flex-start; /* better for long content */
    }

    .pp .box {
        padding: 20px;
        border-radius: 8px;
    }

    .pp .title {
        font-size: 20px;
    }

    .pp .heading {
        font-size: 15px;
    }

    .pp .text,
    .pp li {
        font-size: 13px;
    }
}