/* ==========================================================================
   AKMS LUXURY SUBPAGES DESIGN SYSTEM (css/subpages.css)
   Unique Visual Identities & Animations for All 6 Subpages
   ========================================================================== */

/* --- 0. CORE VISIBILITY & SCROLL REVEALS --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed,
.reveal-on-scroll.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  visibility: visible !important;
}

/* Base Subpage Hero */
.subpage-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.28) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(197, 160, 71, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, #0A192F 0%, #0F284E 50%, #172554 100%);
  color: #FFFFFF;
  padding: 5.5rem 0 4.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 71, 0.25);
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.subpage-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 160, 71, 0.15);
  border: 1px solid rgba(197, 160, 71, 0.5);
  color: #FDE047;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(197, 160, 71, 0.2);
  animation: badgeGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes badgeGlowPulse {
  0% { box-shadow: 0 0 10px rgba(197, 160, 71, 0.2); border-color: rgba(197, 160, 71, 0.4); }
  100% { box-shadow: 0 0 25px rgba(197, 160, 71, 0.45); border-color: rgba(253, 224, 71, 0.8); }
}

.subpage-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.subpage-hero p.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #CBD5E1;
  max-width: 820px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.8;
}

/* Subpage Stat Counter Grid */
.subpage-hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 2.5rem auto 0 auto;
}

.subpage-stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.subpage-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(197, 160, 71, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.subpage-stat-card b {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.subpage-stat-card b.gold-text {
  color: #FDE047;
}

.subpage-stat-card span {
  display: block;
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   PAGE 1 UNIQUE: ABOUT.HTML (Floating Parallax Cards + Rotating Ring + Timeline)
   ========================================================================== */

/* Rotating Gradient Ring Frame for Founder */
.rotating-ring-frame {
  position: relative;
  display: inline-block;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(135deg, #1D4ED8, #C5A047, #3B82F6, #F59E0B);
  background-size: 300% 300%;
  animation: rotateGradient 6s ease infinite;
  box-shadow: 0 20px 50px rgba(29, 78, 216, 0.25);
}

@keyframes rotateGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rotating-ring-frame img {
  display: block;
  width: 100%;
  max-width: 350px;
  border-radius: 22px;
  background: #0A192F;
}

.about-founder-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.founder-badge-pill {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #0A192F;
  color: #FFFFFF;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid #C5A047;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cred-badge-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem 0;
}

.cred-pill {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.cred-pill:hover {
  background: #1D4ED8;
  color: #FFFFFF;
  border-color: #1D4ED8;
  transform: translateY(-2px);
}

/* Staggered Vertical Milestone Timeline */
.timeline-roadmap-wrap {
  position: relative;
  max-width: 920px;
  margin: 3.5rem auto 0 auto;
  padding-left: 2.5rem;
}

.timeline-roadmap-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1D4ED8 0%, #3B82F6 50%, #C5A047 100%);
  border-radius: 4px;
}

.timeline-step-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-step-item:last-child {
  margin-bottom: 0;
}

.timeline-step-dot {
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid #1D4ED8;
  transform: translateX(-9px);
  box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.15);
  transition: all 0.3s ease;
}

.timeline-step-item:hover .timeline-step-dot {
  background: #C5A047;
  border-color: #0A192F;
  transform: translateX(-9px) scale(1.25);
  box-shadow: 0 0 0 8px rgba(197, 160, 71, 0.25);
}

.timeline-step-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.timeline-step-card:hover {
  border-color: #2563EB;
  box-shadow: 0 16px 36px -6px rgba(29, 78, 216, 0.14);
  transform: translateX(6px);
}

.timeline-year-tag {
  display: inline-block;
  background: #0A192F;
  color: #FDE047;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
}

/* Parallax Depth Cards */
.parallax-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.parallax-depth-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.parallax-depth-card:nth-child(1) { transform: translateY(0); }
.parallax-depth-card:nth-child(2) { transform: translateY(16px); }
.parallax-depth-card:nth-child(3) { transform: translateY(32px); }

.parallax-depth-card:hover {
  transform: translateY(-8px) !important;
  border-color: #2563EB;
  box-shadow: 0 24px 50px rgba(29, 78, 216, 0.18);
}

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

.parallax-depth-card:hover::before {
  opacity: 1;
}

/* Why Choose AKMS 6-Item Icon Grid */
.why-choose-luxury-card {
  background: linear-gradient(135deg, #0A192F 0%, #0F284E 50%, #172554 100%);
  border: 1.5px solid rgba(197, 160, 71, 0.35);
  border-radius: 24px;
  padding: 3rem;
  color: #FFFFFF;
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.5);
  margin-top: 3.5rem;
}

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

.why-choose-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-choose-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.why-choose-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.4rem 0;
}

.why-choose-item p {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   PAGE 2 UNIQUE: SERVICES.HTML (Pillars + Curtain Reveal Cards + Workflow)
   ========================================================================== */

/* 4 Practice Pillars with Glowing Top Borders */
.practice-pillar-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.practice-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: height 0.3s ease;
}

.practice-pillar-card.pillar-blue::before { background: #1D4ED8; }
.practice-pillar-card.pillar-green::before { background: #059669; }
.practice-pillar-card.pillar-purple::before { background: #7C3AED; }
.practice-pillar-card.pillar-orange::before { background: #EA580C; }

.practice-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.practice-pillar-card:hover::before {
  height: 8px;
}

/* Curtain Reveal Service Cards */
.curtain-reveal-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.25rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: all 0.35s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.curtain-reveal-card:hover {
  border-color: #2563EB;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.14);
}

.curtain-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0A192F 0%, #172554 100%);
  color: #FFFFFF;
  padding: 2rem;
  border-radius: 20px;
  transform: translateY(102%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 5;
}

.curtain-reveal-card:hover .curtain-overlay {
  transform: translateY(0%);
}

.curtain-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #E2E8F0;
}

.curtain-deliverables-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.curtain-deliverables-list li span {
  color: #FDE047;
  font-weight: 800;
}

/* Horizontal 4-Step Connected Workflow */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0;
  position: relative;
}

.workflow-step-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
  z-index: 2;
}

.workflow-step-box:hover {
  transform: translateY(-8px);
  border-color: #2563EB;
  box-shadow: 0 16px 36px -6px rgba(29, 78, 216, 0.16);
}

.workflow-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
}

/* Industry Sectors Horizontal Pill Marquee */
.sectors-scroll-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
}

.sectors-scroll-track::-webkit-scrollbar {
  display: none;
}

.sector-pill-badge {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #0A192F;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.sector-pill-badge:hover {
  background: #1D4ED8;
  color: #FFFFFF;
  border-color: #1D4ED8;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}

/* ==========================================================================
   PAGE 3 UNIQUE: ERP-ODOO.HTML (SaaS Dark Hero + 3D Tilt + Interactive Matrix)
   ========================================================================== */

/* Floating Geometric Shapes in SaaS Hero */
.floating-shapes-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  animation: floatSlow 12s ease-in-out infinite alternate;
}

.shape-1 {
  width: 140px;
  height: 140px;
  top: 15%;
  left: 8%;
  background: rgba(29, 78, 216, 0.08);
  transform: rotate(15deg);
}

.shape-2 {
  width: 90px;
  height: 90px;
  bottom: 20%;
  right: 10%;
  background: rgba(197, 160, 71, 0.08);
  transform: rotate(45deg);
  animation-duration: 9s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(10deg); }
  100% { transform: translateY(15px) rotate(-10deg); }
}

/* 3D Perspective Tilt Cards */
.tilt-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  perspective: 1000px;
}

.tilt-card-3d {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.tilt-card-3d:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
  border-color: #2563EB;
  box-shadow: 0 24px 48px rgba(29, 78, 216, 0.16);
}

/* 5-Column Enterprise Comparison Matrix */
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  margin: 3rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.comparison-table th {
  background: #0A192F;
  color: #FFFFFF;
  padding: 1.35rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.highlight-col {
  background: #1D4ED8;
  color: #FFFFFF;
}

.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.95rem;
  color: #334155;
}

.comparison-table tr:hover td {
  background: #F8FAFC;
}

.comparison-table tr td.highlight-col {
  background: #EFF6FF;
  font-weight: 700;
  color: #1E40AF;
  border-left: 2px solid #3B82F6;
  border-right: 2px solid #3B82F6;
}

/* Horizontal 5-Step Implementation Roadmap Stepper */
.stepper-track-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 3rem 0;
  position: relative;
}

.stepper-step-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.stepper-step-card:hover {
  border-color: #2563EB;
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.12);
}

.stepper-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0A192F;
  color: #FDE047;
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

/* ==========================================================================
   PAGE 4 UNIQUE: INSTITUTE.HTML (Scroll-Snap Carousel + Badge Wall + Bouncing Cap)
   ========================================================================== */

/* Bouncing Graduation Cap in Hero */
.bouncing-cap-icon {
  display: inline-block;
  font-size: 2.75rem;
  animation: capBounce 2.5s ease-in-out infinite;
  margin-bottom: 0.5rem;
}

@keyframes capBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-6deg); }
}

/* Course Catalog Horizontal Scroll-Snap Carousel */
.course-carousel-wrap {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0.5rem 2.5rem 0.5rem;
  display: flex;
  gap: 1.75rem;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.course-carousel-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border-left: 6px solid #1D4ED8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
}

.course-carousel-card.accent-purple { border-left-color: #7C3AED; }
.course-carousel-card.accent-green { border-left-color: #059669; }
.course-carousel-card.accent-orange { border-left-color: #EA580C; }
.course-carousel-card.accent-teal { border-left-color: #0D9488; }

.course-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(29, 78, 216, 0.15);
}

/* Verified Credential Badge Wall */
.badge-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 3rem 0;
}

.verified-badge-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.verified-badge-item:hover {
  border-color: #059669;
  background: #ECFDF5;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.12);
}

.verified-badge-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #059669;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Urgent Limited Seats Cohort Banner */
.cohort-urgent-banner {
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%);
  border: 1.5px solid rgba(253, 224, 71, 0.4);
  border-radius: 22px;
  padding: 2.75rem;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.35);
  margin-top: 3.5rem;
}

/* ==========================================================================
   PAGE 5 UNIQUE: CHARTERED-ACCOUNTANTS.HTML (Hexagonal Cards + Rotating Seal)
   ========================================================================== */

/* Rotating FCMA Seal in Credential Spotlight */
.fcma-seal-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.rotating-fcma-seal {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A192F 0%, #172554 100%);
  border: 4px dashed #C5A047;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FDE047;
  font-weight: 900;
  box-shadow: 0 12px 36px rgba(10, 25, 47, 0.3);
  animation: sealRotate 20s linear infinite;
}

.rotating-fcma-seal span {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.rotating-fcma-seal b {
  font-size: 1.5rem;
  color: #FFFFFF;
  line-height: 1.1;
}

@keyframes sealRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 6 Hexagonal-Styled Practice Cards */
.hex-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.hex-practice-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hex-practice-card:hover {
  transform: translateY(-8px);
  border-color: #1D4ED8;
  box-shadow: 0 22px 48px rgba(29, 78, 216, 0.16);
}

.hex-card-badge {
  display: inline-block;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

/* Governance Assurance Checklist */
.governance-checklist-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 2.5rem;
  margin-top: 3.5rem;
}

.governance-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.gov-check-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: #0A192F;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.gov-check-item span.check-icon {
  color: #059669;
  font-size: 1.2rem;
  font-weight: 900;
}

/* ==========================================================================
   PAGE 6 UNIQUE: CONTACT.HTML (Floating Labels + Live Beacons + Map Blur)
   ========================================================================== */

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-interactive-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 2.75rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
}

.contact-form-group {
  margin-bottom: 1.35rem;
}

.contact-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.45rem;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0A192F;
  background: #F8FAFC;
  transition: all 0.25s ease;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.office-desk-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.office-desk-card:hover {
  border-color: #2563EB;
  box-shadow: 0 16px 36px rgba(29, 78, 216, 0.14);
  transform: translateY(-4px);
}

.office-desk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.office-desk-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: #0A192F;
}

.office-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.office-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Embedded Google Map Blur-to-Clear */
.map-container-blur {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  margin-top: 3.5rem;
}

.map-container-blur iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Magnetic Social Buttons */
.magnetic-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0A192F;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.magnetic-social-btn:hover {
  background: #1D4ED8;
  border-color: #FFFFFF;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.35);
}

/* ==========================================================================
   COMMON: FOOTER BRAND LOGO WHITE BADGE
   ========================================================================== */
.footer-logo-badge {
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.footer-logo-badge img {
  display: block;
  max-width: 200px;
  height: auto;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (1024px, 768px, 640px)
   ========================================================================== */
@media (max-width: 1024px) {
  .about-founder-hero-grid,
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .subpage-hero-stats-grid,
  .workflow-steps-grid,
  .tilt-cards-grid,
  .hex-cards-grid,
  .why-choose-grid,
  .parallax-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stepper-track-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .parallax-depth-card:nth-child(n) {
    transform: translateY(0) !important;
  }
}

@media (max-width: 768px) {
  .governance-checklist-grid {
    grid-template-columns: 1fr;
  }
  
  .stepper-track-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .subpage-hero {
    padding: 3.5rem 0 3rem 0;
  }
  
  .subpage-hero-stats-grid,
  .workflow-steps-grid,
  .tilt-cards-grid,
  .hex-cards-grid,
  .why-choose-grid,
  .parallax-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .timeline-roadmap-wrap {
    padding-left: 1.5rem;
  }
  
  .timeline-step-dot {
    left: -1.5rem;
  }
  
  .contact-interactive-card {
    padding: 1.75rem 1.25rem;
  }
}
