/* ============================================
   ProsperEdge Financial Services
   Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary-dark: #0A1628;
  --accent-gold: #C9A84C;
  --secondary: #1E3A5F;
  --bg-light: #F8F6F1;
  --text-dark: #1A1A2E;
  --white: #FFFFFF;
  --muted: #6B7280;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 30px rgba(10,22,40,0.12);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Bebas Neue', impact, sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

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

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Gold Divider */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 20px 0 24px;
  border-radius: 2px;
}

.gold-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* Section padding */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1;
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--accent-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

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

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

/* =============================
   NAVBAR
   ============================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10,22,40,0.1);
}

.navbar.scrolled {
  background: var(--white);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.navbar .logo a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar .logo .prosper {
  color: var(--primary-dark);
}

.navbar .logo .edge {
  color: var(--accent-gold);
}

.navbar.scrolled .logo .prosper { color: var(--primary-dark); }
.navbar.scrolled .logo .edge { color: var(--accent-gold); }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

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

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

.nav-links a.active {
  color: var(--accent-gold);
}

.navbar.scrolled .nav-links a.active {
  color: var(--accent-gold);
}

.navbar .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================
   HERO
   ============================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

/* Diagonal gold grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.04) 40px,
      rgba(201,168,76,0.04) 41px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.04) 40px,
      rgba(201,168,76,0.04) 41px
    );
  z-index: 1;
}

/* Radial gold glow */
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

/* Scroll Down Arrow */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--accent-gold);
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.scroll-down:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* =============================
   STATS TICKER
   ============================= */
.stats-ticker {
  background: var(--secondary);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  position: relative;
}

.stats-ticker-track {
  display: inline-flex;
  gap: 60px;
  animation: ticker 35s linear infinite;
}

.stats-ticker-track span {
  color: var(--accent-gold);
  font-family: var(--font-accent);
  font-size: 1.2rem;
  letter-spacing: 2px;
  white-space: nowrap;
}

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

/* =============================
   SERVICES OVERVIEW
   ============================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 8px;
  border-top: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.03));
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-gold);
  fill: var(--accent-gold);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =============================
   WHY CHOOSE US
   ============================= */
.why-choose {
  background: var(--white);
}

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

.why-points {
  display: grid;
  gap: 28px;
}

.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-point .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point .check svg {
  width: 14px;
  height: 14px;
  color: var(--primary-dark);
  stroke: var(--primary-dark);
  stroke-width: 3;
}

.why-point h4 {
  margin-bottom: 4px;
}

.why-point p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Stats Visual */
.stats-visual {
  background: var(--primary-dark);
  padding: 48px 40px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.stats-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gold);
}

.stats-visual .stat-item {
  text-align: center;
}

.stats-visual .stat-number {
  font-family: var(--font-accent);
  font-size: 3rem;
  color: var(--accent-gold);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-visual .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials-section {
  background: var(--bg-light);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 16px;
}

.testimonial-card-inner {
  background: var(--white);
  padding: 40px 36px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-left: 3px solid var(--accent-gold);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card-inner blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.testimonial-author .location {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent-gold);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  font-size: 1.2rem;
}

.slider-btn:hover {
  background: var(--accent-gold);
  color: var(--white);
}

.slider-btn.prev { left: -12px; }
.slider-btn.next { right: -12px; }

/* =============================
   CTA BANNER
   ============================= */
.cta-banner {
  background: var(--primary-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* =============================
   FOOTER
   ============================= */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand .logo .prosper { color: var(--white); }
.footer-brand .logo .edge { color: var(--accent-gold); }

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 16px;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact .icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-links a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(201,168,76,0.1);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

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

.footer-disclaimer {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-disclaimer p {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.6;
}

/* =============================
   PAGE HERO (inner pages)
   ============================= */
.page-hero {
  position: relative;
  background: var(--primary-dark);
  padding: 160px 0 80px;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.03) 40px,
      rgba(201,168,76,0.03) 41px
    );
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero .subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.page-hero .gold-divider {
  margin: 16px auto 20px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb .current {
  color: var(--accent-gold);
}

/* =============================
   ABOUT PAGE
   ============================= */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 350px;
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image::after {
  content: 'Since 2004';
  font-family: var(--font-accent);
  font-size: 3rem;
  color: var(--accent-gold);
  letter-spacing: 4px;
  opacity: 0.3;
  position: absolute;
}

.about-image .year-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
}

/* Mission cards */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-card {
  padding: 40px 32px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent-gold);
}

.mission-card h3 {
  margin-bottom: 16px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-card .photo {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card .photo .initials {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-gold);
  font-weight: 700;
  opacity: 0.5;
}

.team-card .photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gold);
}

.team-card .info {
  padding: 24px 20px;
}

.team-card .info h4 {
  margin-bottom: 4px;
}

.team-card .info .role {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card .info p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(201,168,76,0.15);
}

.cert-card .cert-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.cert-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cert-card p {
  font-size: 0.8rem;
  margin-bottom: 0;
  color: var(--muted);
}

/* =============================
   SERVICES PAGE
   ============================= */
.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-detailed-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent-gold);
  transition: var(--transition);
}

.service-detailed-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-detailed-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.service-detailed-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-detailed-card p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-detailed-card .learn-more {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-detailed-card .learn-more:hover {
  gap: 10px;
}

/* Process Timeline */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: rgba(201,168,76,0.3);
  z-index: 0;
}

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

.process-step .step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-dark);
  border: 3px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--accent-gold);
}

.process-step h4 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(201,168,76,0.04);
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent-gold);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-question .faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-question .faq-icon::after {
  width: 2px;
  height: 14px;
  transition: var(--transition);
}

.faq-item.active .faq-question .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* =============================
   CONTACT PAGE
   ============================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent-gold);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

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

.form-group .error-msg {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

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

.form-group.error .error-msg {
  display: block;
}

.form-success {
  display: none;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--accent-gold);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: var(--primary-dark);
  font-weight: 500;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* Contact Info Cards */
.contact-info-wrapper {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent-gold);
}

.contact-info-card .icon {
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Map */
.map-wrapper {
  margin-top: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.map-placeholder p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* =============================
   404 PAGE
   ============================= */
.error-page {
  min-height: 100vh;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.error-page .bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.error-page .shape {
  position: absolute;
  border: 2px solid rgba(201,168,76,0.08);
  border-radius: 50%;
  animation: floatShape 8s ease-in-out infinite;
}

.error-page .shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -50px;
  left: -80px;
  animation-delay: 0s;
}

.error-page .shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: -40px;
  animation-delay: 2s;
}

.error-page .shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 80%;
  animation-delay: 4s;
}

.error-page .shape:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 1s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(15deg); }
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 0 24px;
}

.error-content .error-code {
  font-family: var(--font-accent);
  font-size: clamp(8rem, 20vw, 14rem);
  color: var(--accent-gold);
  line-height: 1;
  letter-spacing: 8px;
  margin-bottom: 16px;
}

.error-content h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.error-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 32px;
}

.error-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.error-countdown {
  margin-top: 32px;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.error-countdown span {
  color: var(--accent-gold);
  font-weight: 700;
}

/* =============================
   SCROLL REVEAL
   ============================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 1024px) {
  .services-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar .container {
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--white) !important;
    font-size: 1.1rem;
  }

  .nav-links .btn {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-visual {
    padding: 32px 24px;
    gap: 24px;
  }

  .stats-visual .stat-number {
    font-size: 2.2rem;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .services-detailed-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card-inner {
    padding: 28px 20px;
  }

  .slider-btn {
    display: none;
  }

  .page-hero {
    padding: 130px 0 60px;
  }

  .section {
    padding: 60px 0;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

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

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .stats-visual {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .error-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Helper class for mobile nav open state */
body.nav-open {
  overflow: hidden;
}

/* Overlay for mobile nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
