/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.5.15,
* Autoprefixer: v10.5.0
* Browsers: last 4 version
*/

/* ==========================================================================
   STYLE.CSS - SAMANSRO Materials Main Stylesheet
   ========================================================================== */

/* 1. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip; /* Prevents horizontal scroll without creating stacking context issues */
}

body {
  /* Off-screen reveal animations (translateX) must not create a horizontal
     scrollbar on narrow viewports. `clip` keeps position: sticky working. */
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.mobile-menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* On dark-background regions (hero, page-header bands, footer, mobile
   menu overlay, dark CTA/section), a navy outline would be nearly
   invisible against navy — restore the gold outline there, where it
   has excellent contrast (10:1+). */
.site-header:not(.scrolled) a:focus-visible,
.site-header:not(.scrolled) button:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.page-header a:focus-visible,
.footer a:focus-visible,
.footer button:focus-visible,
.mobile-menu a:focus-visible,
.mobile-menu button:focus-visible,
.section-dark a:focus-visible,
.section-dark button:focus-visible,
.cta-banner a:focus-visible,
.cta-banner button:focus-visible {
  outline-color: var(--accent);
}

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



/* 2. HEADER (.site-header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  /* Force the header into its own compositing layer to solve stacking issues */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  background: var(--white);
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 80px;
}

.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  color: var(--orange);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain; /* Ensures your logo image scales correctly */
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--white);
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}

.logo-text-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.logo-subtext {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}

.site-header.scrolled .logo-text {
  color: var(--navy);
}

.site-header.scrolled .logo-subtext {
  color: var(--grey);
}

.nav-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  list-style: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.site-header.scrolled .nav-link {
  color: var(--navy);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  -webkit-transition: width 0.3s;
  transition: width 0.3s;
}

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

.nav-link:hover {
  color: var(--orange);
}

/* On the scrolled (white) header, gold hover text drops to 1.43:1 contrast
   against white — nearly unreadable. Use navy there instead; the
   transparent header over the dark hero image keeps the original gold. */
.site-header.scrolled .nav-link:hover {
  color: var(--secondary);
}

/* Same contrast problem applies to the keyboard focus ring: the global
   gold outline drops to 1.43:1 against the scrolled white header, below
   the WCAG 3:1 minimum for focus indicators. */
.site-header.scrolled .nav-link:focus-visible {
  color: var(--secondary);
  outline-color: var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  /* Golden icon at all times (open, closed, scrolled, un-scrolled) — no white variant */
  color: var(--orange);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  z-index: 1;
  -webkit-transition: color 0.4s ease, opacity 0.25s ease, visibility 0.25s ease;
  transition: color 0.4s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  -webkit-transition: opacity 0.25s ease, -webkit-transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.25s ease, -webkit-transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, -webkit-transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle:hover .hamburger-line {
  background: var(--accent-light);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
      -ms-transform: translateY(8px) rotate(45deg);
          transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  -webkit-transform: scaleX(0);
      -ms-transform: scaleX(0);
          transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
      -ms-transform: translateY(-8px) rotate(-45deg);
          transform: translateY(-8px) rotate(-45deg);
}

/* Icon stays gold when the header is scrolled too — single consistent color, never white */
.site-header.scrolled .mobile-menu-toggle {
  color: var(--orange);
}

/* Gold-on-white alone is only ~1.4:1 contrast (below the 3:1 minimum for
   UI components). A soft navy shadow keeps the icon legible against the
   scrolled white header without changing its requested gold color. */
.site-header.scrolled .hamburger-line {
  -webkit-filter: drop-shadow(0 0 1px rgba(11, 25, 121, 0.55));
          filter: drop-shadow(0 0 1px rgba(11, 25, 121, 0.55));
}

/* Root cause of the "two close icons" bug: the header hamburger button was never
   hidden once the full-screen mobile menu (with its own close button) opened, so
   its lines animated into an X *underneath/alongside* the dedicated close button,
   showing two X icons at once. Hiding the header toggle while the menu is open
   guarantees exactly one hamburger when closed and exactly one X when open. */
body.mobile-menu-open .mobile-menu-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* 3. BUTTONS
   ========================================================================== */
.btn-primary {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  -webkit-box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
          box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 10px 35px rgba(249, 115, 22, 0.5);
          box-shadow: 0 10px 35px rgba(249, 115, 22, 0.5);
}

.btn-outline {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
}

.btn-primary.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.3)), to(transparent));
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  -webkit-transition: left 0.6s;
  transition: left 0.6s;
}

.btn-shine:hover::before {
  left: 100%;
}


/* 4. HERO (.hero)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: var(--navy);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  -o-object-fit: cover;
     object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  visibility: hidden;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero-title span::after {
  content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 8px; background: rgba(249, 115, 22, 0.25); z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* 5. STATS (.stats-section)
   ========================================================================== */
.stats-section {
  background: var(--navy);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%,rgba(249, 115, 22, 0.08),transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  padding: 60px 30px;
  text-align: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%);
  background: var(--navy-light);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  -webkit-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
}

.stat-card:last-child {
  border-right: none;
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 6. SECTIONS (.section)
   ========================================================================== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* Navy reads clearly against the white/light backgrounds this label
     normally sits on (~9:1 contrast). Gold on white was only 1.43:1. */
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Restore the original vivid gold specifically on dark-background
   sections, where it already had excellent contrast (10:1+). */
.section-dark .section-label,
.hero .section-label,
.page-header .section-label,
.cta-banner .section-label {
  color: var(--accent);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.1rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 600px;
}

.section-dark {
  background: var(--navy);
  padding: var(--section-padding);
}

.section-dark .section-heading {
  color: var(--white);
}

.section-dark .section-text {
  color: rgba(255, 255, 255, 0.6);
}

/* 7. TWO-COLUMN (.two-column)
   ========================================================================== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.column-text, 
.column-image {
  width: 100%;
  position: relative;
}

.column-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
}

.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}




.premium-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  -webkit-box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
          box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  -webkit-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:not(.no-hover):hover {
  -webkit-transform: translateY(-10px);
      -ms-transform: translateY(-10px);
          transform: translateY(-10px);
  -webkit-box-shadow: var(--shadow-lg);
          box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.2);
}

.card-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.7s ease;
  transition: -webkit-transform 0.7s ease;
  transition: transform 0.7s ease;
  transition: transform 0.7s ease, -webkit-transform 0.7s ease;
}

.premium-card:not(.no-hover):hover .card-img-wrap img {
  -webkit-transform: scale(1.08);
      -ms-transform: scale(1.08);
          transform: scale(1.08);
}

.premium-card.no-hover:hover {
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  -webkit-box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
          box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  border-color: rgba(226, 232, 240, 0.9);
}

.premium-card.no-hover:hover .card-img-wrap img {
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}

.premium-card.no-hover .btn-primary:hover {
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  -webkit-box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
          box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

.premium-card.no-hover .btn-shine:hover::before {
  left: -100%;
}

.card-img-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(15, 23, 42, 0.75)));
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.75));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
}

.card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.card-body p {
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 14px;
}
.card-features {
  list-style: none;
  margin-bottom: 24px;
}
.card-features li {
  font-size: 13px;
  color: var(--navy);
  padding: 6px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.cards-grid {
  display: grid;
  gap: 32px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card-glass {
  padding: 40px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card-glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(11, 25, 121, 0.28);
  -webkit-transform: translateY(-8px);
      -ms-transform: translateY(-8px);
          transform: translateY(-8px);
}

.feature-icon-glass {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 212, 0, 0.16);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
  -webkit-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card-glass:hover .feature-icon-glass {
  background: var(--orange);
  color: var(--white);
  -webkit-transform: rotate(-5deg) scale(1.05);
      -ms-transform: rotate(-5deg) scale(1.05);
          transform: rotate(-5deg) scale(1.05);
}

.feature-card-glass h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card-glass p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* 9. FEATURE CARDS (.feature-card)
   ========================================================================== */





.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--grey);
  line-height: 1.6;
  font-size: 1rem;
}


/* 10. INDUSTRY CARDS (.industry-card)
   ========================================================================== */
.industry-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}

.industry-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition: -webkit-transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), -webkit-transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover img {
  -webkit-transform: scale(1.08);
      -ms-transform: scale(1.08);
          transform: scale(1.08);
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(15, 23, 42, 0.2)), to(rgba(15, 23, 42, 0.85)));
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 32px;
}

.industry-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 212, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  border: 1px solid rgba(11, 25, 121, 0.22);
}

.industry-card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}


/* 11. PROCESS TIMELINE (.timeline)
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  opacity: 0.3;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--orange);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-box-shadow: 0 8px 30px rgba(11, 25, 121, 0.12);
          box-shadow: 0 8px 30px rgba(11, 25, 121, 0.12);
}

.timeline-icon svg {
  width: 32px;
  height: 32px;
  color: var(--orange);
}

.timeline-step:hover .timeline-icon {
  background: var(--orange);
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

.timeline-step:hover .timeline-icon svg {
  color: var(--white);
}

.timeline-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 2;
}

.timeline-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.timeline-step p {
  color: var(--grey);
  font-size: 14px;
  padding: 0 12px;
  line-height: 1.6;
}


/* 13. TESTIMONIALS (.testimonials-section)
   ========================================================================== */
.testimonial-card {
  padding: 40px 36px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border-color);
  -webkit-box-shadow: var(--shadow-sm);
          box-shadow: var(--shadow-sm);
  -webkit-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.testimonial-card:hover {
  -webkit-transform: translateY(-8px);
      -ms-transform: translateY(-8px);
          transform: translateY(-8px);
  -webkit-box-shadow: var(--shadow-lg);
          box-shadow: var(--shadow-lg);
}

.testimonial-quote-mark {
  font-size: 60px;
  color: rgba(11, 25, 121, 0.12);
  font-family: var(--font-heading);
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 30px;
}

.testimonial-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -o-object-fit: cover;
     object-fit: cover; /* Ensure avatar images fill the circle */
}

.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-heading);
}

.testimonial-role {
  font-size: 13px;
  color: var(--grey);
}


/* 14. CTA SECTION (.cta-section)
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: 140px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}


/* 15. PAGE HEADER (.page-header)
   ========================================================================== */
.page-header {
  position: relative;
  padding: 160px 40px 80px;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%,rgba(249, 115, 22, 0.1),transparent 60%);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-header-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  margin-top: 24px;
}

.breadcrumb a {
  color: var(--orange);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


/* 16. FORMS (.form-section)
   ========================================================================== */


.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-input, 
.form-select, 
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  -webkit-box-shadow: 0 0 0 3px rgba(11, 25, 121, 0.1);
          box-shadow: 0 0 0 3px rgba(11, 25, 121, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #DC2626;
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
  -webkit-box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
          box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.form-submit:disabled,
.form-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.form-submit.loading {
  position: relative;
  color: transparent;
}

.form-submit.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  -webkit-animation: form-spin 0.7s linear infinite;
          animation: form-spin 0.7s linear infinite;
}

@-webkit-keyframes form-spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes form-spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.form-success,
.form-error-banner {
  display: none;
  -webkit-box-align: flex-start;
      -ms-flex-align: flex-start;
          align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: left;
  margin-top: 1rem;
  -webkit-box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
          box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.form-success.show,
.form-error-banner.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-animation: form-banner-in 0.35s ease;
          animation: form-banner-in 0.35s ease;
}

@-webkit-keyframes form-banner-in {
  from { opacity: 0; -webkit-transform: translateY(-6px); transform: translateY(-6px); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes form-banner-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success svg,
.form-error-banner svg {
  width: 22px;
  height: 22px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 0.15rem;
}

.form-banner-text {
  min-width: 0;
}

.form-banner-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.form-banner-subtitle {
  font-weight: 400;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  opacity: 0.9;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.form-error-banner {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #dc2626;
}


/* 17. CONTACT INFO CARDS (.contact-info-grid)
   ========================================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.contact-info-card:hover {
  border-color: var(--orange);
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon--phone {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.contact-icon--whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-icon--email {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.contact-icon--address {
  background: rgba(108, 92, 231, 0.1);
  color: #6c5ce7;
}

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

.contact-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-text {
  color: var(--grey);
  line-height: 1.6;
}


/* 18. MAP (.map-section)
   ========================================================================== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}


/* 19. FOOTER (.site-footer)
   ========================================================================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 40px 30px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand.logo {
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
}

.footer-brand .logo-subtext {
  font-size: 0.65rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 13px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-item svg {
  color: var(--orange);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 3px;
}

/* 23. SCROLL PROGRESS (.scroll-progress)
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: rgba(255, 212, 0, 0.16);
  z-index: 99;
}

.scroll-progress-bar {
  width: 100%;
  background: var(--orange);
  height: 0%;
  -webkit-transition: height 0.1s;
  transition: height 0.1s;
}


/* 24. MOBILE MENU (.mobile-menu)
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Must sit above the sticky site header, otherwise the header's container
     covers the close button and swallows its clicks. */
  z-index: 1200;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* Use visibility and opacity for a more robust fade-in/out transition */
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease, visibility 0.4s ease;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.mobile-nav-link {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  -webkit-transition: color 0.3s, opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: color 0.3s, opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: color 0.3s, opacity 0.4s ease, transform 0.4s ease;
  transition: color 0.3s, opacity 0.4s ease, transform 0.4s ease, -webkit-transform 0.4s ease;
  opacity: 0;
  -webkit-transform: translateY(16px);
      -ms-transform: translateY(16px);
          transform: translateY(16px);
}

.mobile-menu.open .mobile-nav-link {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.mobile-menu.open .mobile-nav-link:nth-child(1) { -webkit-transition-delay: 0.1s; transition-delay: 0.1s; }
.mobile-menu.open .mobile-nav-link:nth-child(2) { -webkit-transition-delay: 0.15s; transition-delay: 0.15s; }
.mobile-menu.open .mobile-nav-link:nth-child(3) { -webkit-transition-delay: 0.2s; transition-delay: 0.2s; }
.mobile-menu.open .mobile-nav-link:nth-child(4) { -webkit-transition-delay: 0.25s; transition-delay: 0.25s; }
.mobile-menu.open .mobile-nav-link:nth-child(5) { -webkit-transition-delay: 0.3s; transition-delay: 0.3s; }
.mobile-menu.open .mobile-nav-link:nth-child(6) { -webkit-transition-delay: 0.35s; transition-delay: 0.35s; }

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible,
.mobile-nav-link.active {
  color: var(--orange);
}

.mobile-nav-link.active {
  position: relative;
}

.mobile-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: 50%;
  /* Golden close icon by default, matching the golden hamburger — no white version */
  color: var(--orange);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  -webkit-transition: background 0.3s, color 0.3s, -webkit-transform 0.3s;
  transition: background 0.3s, color 0.3s, -webkit-transform 0.3s;
  transition: background 0.3s, transform 0.3s, color 0.3s;
  transition: background 0.3s, transform 0.3s, color 0.3s, -webkit-transform 0.3s;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  background: rgba(255, 212, 0, 0.12);
  color: var(--accent-light);
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}


/* 25. GLASS UTILITY (.glass)
   ========================================================================== */



/* 26. CUT CORNER UTILITY (.cut-corner)
   ========================================================================== */


/* 27. IMAGE OVERLAY UTILITY (.img-overlay)
   ========================================================================== */
.img-overlay {
  position: relative;
}

.img-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(15, 23, 42, 0.8)));
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
  pointer-events: none;
}


/* 28. PARALLAX UTILITY (.parallax)
   ========================================================================== */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

/* CTA Section styles based on CoreBuild's .cta-banner */
.cta-section {
  position: relative;
  padding: 140px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* 29. SERVICE CARDS (.service-card)
   ========================================================================== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0;
}

.service-card:hover {
  border-color: var(--orange);
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
}

.service-card-image {
  height: 180px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.service-card-content-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  border-radius: var(--radius-md);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-content {
  min-width: 0;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service-content p {
  color: var(--grey);
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-top: 1rem;
}

.service-features li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
}

/* 31. VALUES GRID (.values-grid)
   ========================================================================== */


/* 32. FACTORY GALLERY (.factory-grid)
   ========================================================================== */








/* 33. MISSION/VISION CARDS (.mv-grid)
   ========================================================================== */
.mv-card {
  padding: 3rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.mv-card:hover {
  border-color: var(--orange);
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
}


/* iOS Safari collapses inline SVGs without explicit dimensions inside
   flex containers. Give every inline icon a concrete size fallback. */
.mv-icon svg,
.value-icon svg,
.feature-icon svg,
.feature-icon-glass svg,
.industry-card-icon svg,
.icon-box svg,
.stat-icon svg,
.card-icon svg {
  width: 28px;
  height: 28px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: block;
}

.mv-icon {
  width: 56px;
  height: 56px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  border-radius: var(--radius-md);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 1.5rem;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.mv-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.mv-text {
  color: var(--grey);
  line-height: 1.7;
}

.mv-card:hover .mv-icon {
  background: var(--orange);
  color: var(--white);
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

/* 36. GRID UTILITIES
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* 37. TOUCH-DEVICE / SMALL-SCREEN HOVER SAFETY NET
   ========================================================================== */
/* Touch devices simulate ":hover" on tap and leave it stuck; narrow viewports
   (phones/tablets, including desktop browsers resized down) show the same
   jumpy card/image movement. Both cases reset hover-only motion back to the
   resting state, while leaving full desktop hover intact. */
@media (hover: none), (pointer: coarse) {
  /* Transform-based lifts/scales/rotations: reset to the resting position */
  .stat-card:hover,
  .stat-card:hover .stat-number,
  .premium-card:not(.no-hover):hover,
  .premium-card:not(.no-hover):hover .card-img-wrap img,
  .feature-card-glass:hover,
  .feature-card-glass:hover .feature-icon-glass,
  .industry-card:hover img,
  .timeline-step:hover .timeline-icon,
  .testimonial-card:hover,
  .contact-info-card:hover,
  .mv-card:hover .mv-icon,
  .mv-card:hover,
  .footer-social a:hover,
  .mobile-menu-close:hover,
  .service-card:hover,
  .service-card:hover .service-card-image img,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-outline-light-bg:hover {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }

  /* Color/shadow/border escalations: restored to each component's own
     resting value (matched from its base, non-hover rule above) rather
     than a blanket reset, so no card is left looking highlighted/glowing
     after a tap. */
  .stat-card:hover { background: var(--navy-light); }
  .premium-card:not(.no-hover):hover { -webkit-box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08); box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08); border-color: rgba(226, 232, 240, 0.9); }
  .feature-card-glass:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
  .feature-card-glass:hover .feature-icon-glass { background: rgba(255, 212, 0, 0.16); color: var(--accent); }
  .timeline-step:hover .timeline-icon { background: var(--white); }
  .timeline-step:hover .timeline-icon svg { color: var(--orange); }
  .testimonial-card:hover { -webkit-box-shadow: var(--shadow-sm); box-shadow: var(--shadow-sm); }
  .contact-info-card:hover { border-color: var(--border-color); -webkit-box-shadow: none; box-shadow: none; }
  .mv-card:hover { border-color: var(--border-color); -webkit-box-shadow: none; box-shadow: none; }
  .service-card:hover { border-color: var(--border-color); -webkit-box-shadow: none; box-shadow: none; }
  .btn-primary:hover { -webkit-box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35); }
  .btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
  .btn-shine:hover::before { left: -100%; }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-muted-center { max-width: 600px; margin: 0 auto 3rem; text-align: center; }
.hidden { display: none; }
.mt-1 { margin-top: 1rem; }
.container-narrow { max-width: 800px; margin: 0 auto; }
.iframe-borderless { border: 0; }
.mt-2 { margin-top: 2rem; }

/* ==========================================================================
   ACCESSIBILITY UTILITIES
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-md) 0;
  font-family: var(--font-heading);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* Honeypot field: hidden from users, visible to bots */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Inline field-level error messages */
.form-error-text {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #DC2626;
}

/* Outline button for light backgrounds (used on the 404 page) */
.btn-outline-light-bg {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.btn-outline-light-bg:hover {
  background: var(--navy);
  color: var(--white);
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy, Terms, Cookie Policy)
   ========================================================================== */
.legal-content {
  max-width: 820px;
}

.legal-content > p,
.legal-content ul {
  font-family: var(--font-body);
  color: var(--gray-600, #475569);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-content h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 0.85rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
}

.legal-content a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--yellow, #FACC15);
}

.legal-updated {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(11, 25, 121, 0.06);
  border-radius: var(--radius-md, 10px);
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.5rem;
}