/* ==========================================================================
   Antelera Consulting - Core Design System & Stylesheet
   Theme: Mature Executive — Deep Navy (#161F45), Warm Gold (#E8A93E),
          Deep Red accent (#A6222C) on a bright ivory canvas.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary: #161F45;
  --primary-light: #2A3568;
  --accent: #A6222C;
  --accent-hover: #7E1A22;
  --gold: #E8A93E;
  --gold-hover: #8A5A12;
  --orange: #F2831C;
  --orange-hover: #D96F0F;
  --bg-color: #FFF9F4;
  --card-bg: #FFFFFF;
  --text-main: #1C2340;
  --text-muted: #676E8A;
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(22, 31, 69, 0.10);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(22, 31, 69, 0.06), 0 2px 4px -1px rgba(22, 31, 69, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(22, 31, 69, 0.09), 0 8px 10px -6px rgba(22, 31, 69, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(22, 31, 69, 0.22);
  --shadow-glow: 0 0 30px rgba(166, 34, 44, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Navigation Bar */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-normal);
}

#main-header.scrolled {
  padding: 12px 40px;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.96);
}

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

.logo-badge {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.logo .text {
  display: flex;
  flex-direction: column;
}

.logo .brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  color: var(--primary);
  line-height: 1;
}

.logo .brand-sub {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--gold-hover);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-item {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  padding: 8px 0;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

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

.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.75rem;
  margin-left: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1001;
}

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

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background: var(--bg-color);
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(166, 34, 44, 0.12);
  border: 1px solid rgba(166, 34, 44, 0.35);
  border-radius: 30px;
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(242, 131, 28, 0.4);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(242, 131, 28, 0.55);
}

.btn-outline {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: #f0f0f0;
  color: #000000;
  transform: translateY(-3px);
}

.btn-solid {
  background: var(--primary);
  color: #ffffff;
}

.btn-solid:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
}

.btn-white:hover {
  background: #fff3e9;
  transform: translateY(-3px);
}

.btn-pill {
  border-radius: 50px;
  padding: 16px 42px;
  font-weight: 700;
}

/* Continuous Scrolling Services Marquee Banner */
.marquee-banner {
  background: #ffffff;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
  align-items: center;
}

.marquee-item {
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  text-transform: uppercase;
}

.marquee-item span.accent {
  color: var(--accent-hover);
}

.marquee-item span.gold {
  color: var(--gold-hover);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections Global */
.section {
  padding: 90px 24px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--primary);
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 50px;
  text-align: center;
}

/* Bright Inner-Page Header Band */
.page-header {
  position: relative;
  padding: 160px 24px 90px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(232, 169, 62, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(232, 169, 62, 0.14) 0%, transparent 50%);
  pointer-events: none;
}

.page-header > div {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.page-header h1 span {
  color: var(--gold);
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Mature Navy Executive Hero Section for About Page */
.about-hero-digidev {
  position: relative;
  padding: 150px 24px 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.about-hero-digidev h1 {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 24px;
  line-height: 1.08;
}

.about-hero-digidev h1 span.gold-txt {
  color: var(--gold);
}

.about-hero-digidev h1 span.cyan-txt {
  color: #ffffff;
}

.about-hero-digidev p.lead-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 860px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* Core Values Section */
.core-values-section {
  background: #ffffff;
  padding: 110px 24px;
  color: var(--primary);
  position: relative;
}

.values-tag {
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
  display: block;
}

.values-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--primary);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 800;
}

.values-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

.value-card {
  background: var(--bg-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(166, 34, 44, 0.35);
  box-shadow: 0 20px 40px rgba(166, 34, 44, 0.15);
  background: #ffffff;
}

.value-icon-box {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: rgba(166, 34, 44, 0.10);
  border: 1px solid rgba(166, 34, 44, 0.25);
  color: var(--accent);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.value-card:hover .value-icon-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Vivid CTA / Rocket Layout */
.about-cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, var(--gold-hover) 100%);
  padding: 100px 24px 80px;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.cta-rocket-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--gold);
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatRocket 4s ease-in-out infinite;
}

@keyframes floatRocket {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.about-cta-section h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 800;
}

.about-cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Trusted Brands Worldwide Ticker */
.trusted-ticker-section {
  background: var(--bg-color);
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  text-align: center;
}

.trusted-tag {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--gold-hover);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.country-flags-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.country-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.country-item img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

/* Who We Are */
#who-we-are-section {
  padding: 100px 24px;
  background: #ffffff;
}

.who-we-are-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.who-we-are-box h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.who-we-are-box .subtitle {
  font-size: 1.15rem;
  color: var(--accent-hover);
  font-weight: 600;
  margin-bottom: 20px;
}

.who-we-are-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.who-we-are-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.who-we-are-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.who-we-are-image:hover img {
  transform: scale(1.03);
}

/* 3D Flipping Service Cards */
.services-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  perspective: 1500px;
}

.flip-card {
  height: 420px;
  background: transparent;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg) scale(1.03);
  box-shadow: 0 25px 50px rgba(166, 34, 44, 0.28);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
}

.flip-card-front {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #ffffff;
}

.flip-card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 31, 69, 0.95) 0%, rgba(22, 31, 69, 0.3) 60%, transparent 100%);
  z-index: 1;
}

.flip-card-front h3,
.flip-card-front .service-icon {
  position: relative;
  z-index: 2;
}

.flip-card-front .service-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.flip-card-front h3 {
  font-size: 1.6rem;
  color: #ffffff;
}

.flip-card-back {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-back h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.flip-card-back p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 20px;
}

.flip-card-back .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Horizontal Showcase */
.showcase-section {
  background: #ffffff;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.showcase-glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(140px);
  opacity: 0.18;
  pointer-events: none;
}

.orb-left { top: -50px; left: -50px; }
.orb-right { bottom: -50px; right: -50px; background: var(--gold); }

/* Stats Section */
.stats-section {
  background: var(--primary);
  color: #ffffff;
  padding: 60px 24px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Product & Consultation Cards Grid */
.product-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(166, 34, 44, 0.35);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.8rem;
  color: var(--accent-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 31, 69, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 650px;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-bounce);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-color);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: #ffe9e0;
  color: var(--accent-hover);
}

.modal-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.modal-product-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--bg-color);
  border-radius: 12px;
  margin-bottom: 24px;
}

.modal-product-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.modal-product-details h4 {
  font-size: 1.1rem;
  color: var(--primary);
}

.modal-product-details p {
  font-size: 0.9rem;
  color: var(--accent-hover);
  font-weight: 700;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(166, 34, 44, 0.15);
}

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

.modal-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: var(--primary);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-submit-btn:hover {
  background: var(--orange-hover);
}

.modal-success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Call to Action Banner */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, var(--gold-hover) 100%);
  color: #ffffff;
  padding: 80px 24px;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: linear-gradient(160deg, var(--primary) 0%, #0F1530 100%);
  color: rgba(255, 255, 255, 0.65);
  padding: 70px 24px 30px;
  border-top: 3px solid var(--gold);
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

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

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

footer .logo .brand-sub {
  color: var(--gold);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

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

/* Scroll Animation Observer Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .who-we-are-content {
    grid-template-columns: 1fr;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-text-content {
    max-width: 100%;
  }
  .hero-btn-group {
    justify-content: center;
  }
  .hero-floating-wrapper {
    height: 440px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #main-header {
    padding: 16px 20px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .modal-form-grid {
    grid-template-columns: 1fr;
  }
  .page-header {
    padding: 140px 24px 70px;
  }
}

/* ==========================================================================
   Service Detail Pages — Split Photo Hero, Zigzag Feature Rows, Process Strip
   ========================================================================== */

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(166, 34, 44, 0.12);
  border: 1px solid rgba(166, 34, 44, 0.3);
  border-radius: 30px;
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Split Photo Hero for Service Detail Pages */
.service-hero {
  position: relative;
  padding: 150px 24px 90px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(232, 169, 62, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 4% 92%, rgba(232, 169, 62, 0.14) 0%, transparent 50%);
  pointer-events: none;
}

.service-hero-grid {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.service-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.service-hero-text h1 span {
  color: var(--gold);
}

.service-hero-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 520px;
}

.service-hero .eyebrow-tag,
.page-header .eyebrow-tag,
.about-hero-digidev .hero-badge-tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--gold);
}

.service-hero-media {
  position: relative;
  min-width: 280px;
}

.service-hero-media .media-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(100px);
  opacity: 0.3;
  z-index: 1;
  top: -30px;
  right: -30px;
}

.service-hero-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 26px;
  border: 6px solid #ffffff;
  box-shadow: var(--shadow-lg);
}

/* Zigzag Feature Rows */
.feature-row {
  max-width: 1300px;
  margin: 0 auto 100px;
  display: flex;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-row .feature-media {
  flex: 1 1 380px;
  position: relative;
  min-width: 300px;
}

.feature-row .feature-media .media-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  z-index: 1;
  background: var(--accent);
  top: 10%;
  left: -10%;
}

.feature-row.reverse .feature-media .media-glow {
  background: var(--gold);
  left: auto;
  right: -10%;
}

.feature-row .feature-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  border: 6px solid #ffffff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.feature-row .feature-media:hover img {
  transform: scale(1.03) rotate(-0.5deg);
}

.feature-row .feature-body {
  flex: 1 1 380px;
  min-width: 300px;
}

.feature-row .feature-body h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 16px;
}

.feature-row .feature-body p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  font-size: 1.02rem;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.98rem;
}

.feature-points li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-points li span.point-desc {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Process Steps Strip */
.process-steps-row {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(166, 34, 44, 0.3);
}

.process-step-card .step-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.85;
}

.process-step-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.process-step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Highlight Callout Box */
.highlight-box {
  background: var(--bg-color);
  border-left: 4px solid var(--accent);
  padding: 30px;
  border-radius: 0 16px 16px 0;
}

.highlight-box h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Long-Form Content (Legal Pages, Service Detail Body) */
.service-detail-content {
  max-width: 860px;
  margin: 0 auto;
}

.service-detail-content h2 {
  margin-top: 36px;
  margin-bottom: 14px;
}

.service-detail-content h2:first-child {
  margin-top: 0;
}

.service-detail-content h3 {
  margin-bottom: 12px;
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-detail-content ul.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.service-detail-content .features-list li {
  color: var(--text-main);
  line-height: 1.6;
}

.service-detail-content .features-list li i {
  color: var(--gold-hover);
  margin-right: 10px;
}

/* ==========================================================================
   Homepage Hero — Full-Bleed Photo Slider
   ========================================================================== */

.hero-photo {
  height: 100vh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero-photo .hero-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-photo .slide.active {
  opacity: 1;
}

.hero-photo .slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 31, 69, 0.90) 0%, rgba(22, 31, 69, 0.62) 48%, rgba(22, 31, 69, 0.22) 100%);
}

.hero-photo-content {
  max-width: 720px;
  z-index: 1;
  position: relative;
  padding-top: 90px;
  animation: fadeInUp 1s ease-out forwards;
}

.eyebrow-tag.on-dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFD9A6;
}

.hero-photo-content h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-photo-content h1 span {
  color: var(--gold);
}

.hero-photo-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 38px;
  max-width: 580px;
  line-height: 1.7;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-photo {
    height: auto;
    min-height: 100vh;
    padding: 140px 6% 80px;
  }
}

@media (max-width: 900px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .service-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .service-hero-media {
    order: -1;
  }
  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .feature-points li {
    text-align: left;
  }
}
