/* ============================================================
   ASTROVASTU THEME — Page-specific styles
   Extends design-system.css with component and layout styles
   ============================================================ */

/* ---- WORDPRESS RESETS — undo WP/Elementor interference ---- */
.wp-block-library, .wp-emoji { display: none !important; }
img.emoji { display: inline !important; }

/* Fix WP adding margin to body */
body { margin: 0 !important; padding: 0 !important; }

/* Ensure WP content area doesn't break our layouts */
.wp-site-blocks, .wp-container-core, .is-layout-flow { all: unset; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; background: var(--deep-navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 84px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 65% 50%, rgba(212,175,55,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 20% 80%, rgba(46,139,87,0.06) 0%, transparent 60%);
}
.hero-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 15%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 50%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 92% 75%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 90%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 10%, rgba(255,255,255,0.5) 0%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 80px;
}
.hero-content { color: var(--white); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.3);
  padding: 8px 20px; border-radius: 50px; margin-bottom: 28px;
}
.hero-eyebrow span { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-desc { font-size: 20px; color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 40px; max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-trust-item { display: flex; align-items: center; gap: 8px; }
.hero-trust-icon { color: var(--gold); font-size: 18px; }
.hero-trust-text { font-size: 14px; color: rgba(255,255,255,0.65); }

.hero-visual { position: relative; }
.hero-main-img {
  width: 100%; height: 580px;
  background: linear-gradient(135deg, #1a2f6e 0%, #0d1b4c 40%, #081126 100%);
  border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid rgba(212,175,55,0.2);
}
.hero-main-img .center-mandala {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.hero-main-img .center-mandala svg { width: 360px; height: 360px; opacity: 0.25; }
.hero-main-img .overlay-text {
  position: absolute; bottom: 32px; left: 32px; right: 32px;
  background: rgba(8,17,38,0.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,0.2); border-radius: 16px; padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.overlay-text .ot-icon { font-size: 32px; }
.overlay-text .ot-text strong { display: block; color: var(--white); font-size: 16px; }
.overlay-text .ot-text span { color: var(--gold); font-size: 13px; }
.hero-badge-floating {
  position: absolute; top: 32px; right: -20px;
  background: var(--gold); color: var(--deep-navy);
  border-radius: 16px; padding: 14px 20px; font-weight: 700; text-align: center;
  box-shadow: 0 8px 30px rgba(212,175,55,0.4);
}
.hero-badge-floating .num { font-size: 32px; font-family: var(--font-heading); line-height: 1; }
.hero-badge-floating .txt { font-size: 13px; }
.hero-badge-floating2 {
  position: absolute; bottom: 120px; left: -20px;
  background: var(--white); color: var(--royal-blue);
  border-radius: 16px; padding: 14px 20px; font-weight: 600;
  box-shadow: var(--shadow-hover); min-width: 160px;
}
.hero-badge-floating2 .stars { font-size: 14px; margin-bottom: 4px; }
.hero-badge-floating2 strong { display: block; font-size: 15px; color: var(--royal-blue); }
.hero-badge-floating2 span { font-size: 12px; color: var(--mid-gray); }

/* ---- TRUST METRICS ---- */
.trust-section {
  background: var(--royal-blue);
  padding: 64px 0;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.trust-divider { width: 1px; background: rgba(255,255,255,0.1); }

/* ---- SERVICE CATEGORIES ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cat-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; height: 420px; cursor: pointer;
  transition: transform 0.35s ease;
}
.cat-card:hover { transform: translateY(-8px); }
.cat-card-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.cat-card-bg.vastu { background: linear-gradient(160deg, #0f2a5c 0%, #1a4080 100%); }
.cat-card-bg.astro { background: linear-gradient(160deg, #1a0a40 0%, #3d1a8c 100%); }
.cat-card-bg.astrovastu { background: linear-gradient(160deg, #0a2e1a 0%, #1a6640 100%); }
.cat-card-bg svg { width: 200px; height: 200px; opacity: 0.18; }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,17,38,0.95) 40%, transparent 100%);
}
.cat-card-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 36px;
}
.cat-icon { font-size: 42px; margin-bottom: 16px; }
.cat-card-content h3 { color: var(--white); font-size: 32px; margin-bottom: 10px; }
.cat-card-content p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 20px; line-height: 1.6; }
.cat-link { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }

/* ---- ABOUT EXPERT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; height: 580px;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-navy));
  border-radius: 24px; overflow: hidden; position: relative;
  border: 2px solid rgba(212,175,55,0.2);
}
.about-img-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.expert-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.3), rgba(13,27,76,0.8));
  border: 4px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
}
.expert-name-card {
  background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3);
  padding: 12px 28px; border-radius: 50px; text-align: center;
}
.expert-name-card strong { display: block; color: var(--white); font-family: var(--font-heading); font-size: 22px; }
.expert-name-card span { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.about-cert-badge {
  position: absolute; top: 32px; right: -24px;
  background: var(--gold); color: var(--deep-navy); border-radius: 16px;
  padding: 16px 20px; text-align: center; font-weight: 700; box-shadow: var(--shadow-gold);
}
.about-cert-badge .num { font-size: 28px; font-family: var(--font-heading); line-height: 1; }
.about-cert-badge .txt { font-size: 12px; }
.about-content .eyebrow { margin-bottom: 14px; }
.about-content h2 { margin-bottom: 20px; }
.about-content > p { font-size: 18px; color: var(--mid-gray); line-height: 1.8; margin-bottom: 32px; }
.timeline { margin-bottom: 36px; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 20px; }
.tl-year {
  min-width: 60px; font-family: var(--font-heading); font-size: 20px;
  font-weight: 700; color: var(--gold);
}
.tl-body strong { display: block; font-size: 16px; color: var(--royal-blue); margin-bottom: 4px; }
.tl-body span { font-size: 14px; color: var(--mid-gray); }
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-badge {
  padding: 8px 16px; border-radius: 50px;
  border: 1px solid rgba(13,27,76,0.15); font-size: 13px; font-weight: 600; color: var(--royal-blue);
  background: var(--warm-beige);
}

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

/* ---- PROCESS ---- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

/* ---- BENEFITS ---- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.benefit-item { text-align: center; padding: 32px 24px; }
.benefit-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px;
}
.benefit-item h5 { font-family: var(--font-heading); font-size: 20px; color: var(--white); margin-bottom: 10px; }
.benefit-item p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---- VIDEO ---- */
.video-section {
  background: linear-gradient(135deg, var(--deep-navy), var(--royal-blue));
  padding: var(--section-py) 0; text-align: center;
}
.video-frame {
  max-width: 900px; margin: 0 auto;
  aspect-ratio: 16/9; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a2f6e, #0d1b4c);
  border: 2px solid rgba(212,175,55,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.play-btn {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--deep-navy);
  box-shadow: 0 0 0 16px rgba(212,175,55,0.15), 0 0 0 32px rgba(212,175,55,0.07);
}
.video-label {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(8,17,38,0.8); padding: 8px 20px; border-radius: 50px;
  color: rgba(255,255,255,0.7); font-size: 14px;
}

/* ---- LEAD FORM ---- */
.lead-section {
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--deep-navy) 100%);
  padding: var(--section-py) 0; position: relative;
}
.lead-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.lead-content h2 { color: var(--white); margin-bottom: 20px; }
.lead-content p { color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1.8; margin-bottom: 36px; }
.lead-features { list-style: none; }
.lead-features li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 14px; }
.lead-features li::before { content: '✦'; color: var(--gold); font-size: 14px; }
.lead-form-box {
  background: var(--white); border-radius: var(--radius-xl); padding: 48px 40px;
}
.lead-form-box h4 { font-family: var(--font-heading); font-size: 28px; color: var(--royal-blue); margin-bottom: 8px; }
.lead-form-box .sub { font-size: 16px; color: var(--mid-gray); margin-bottom: 28px; }



.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.mission-card { padding: 48px 36px; border-radius: var(--radius-lg); text-align: center; }
.mission-card.m1 { background: var(--royal-blue); color: var(--white); }
.mission-card.m2 { background: var(--gold); color: var(--deep-navy); }
.mission-card.m3 { background: var(--deep-navy); color: var(--white); }
.mission-card .icon { font-size: 48px; margin-bottom: 20px; }
.mission-card h4 { font-family: var(--font-heading); font-size: 28px; margin-bottom: 14px; }
.mission-card p { font-size: 17px; line-height: 1.75; opacity: 0.85; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.value-card { padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); background: var(--white); }
.value-card .icon { font-size: 36px; margin-bottom: 16px; }
.value-card h5 { font-family: var(--font-heading); font-size: 22px; color: var(--royal-blue); margin-bottom: 10px; }
.value-card p { color: var(--mid-gray); font-size: 16px; line-height: 1.7; }

.timeline-vertical { max-width: 900px; margin: 0 auto; position: relative; }
.timeline-vertical::before { content:''; position:absolute; left:50%; top:0; bottom:0; width:2px; background: linear-gradient(to bottom, var(--gold), rgba(212,175,55,0.1)); transform:translateX(-50%); }
.tl-event { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 56px; align-items: center; }
.tl-event.right .tl-evt-content { order: 2; }
.tl-event.right .tl-evt-year { order: 1; text-align: right; }
.tl-evt-year { font-family: var(--font-heading); font-size: 48px; font-weight: 700; color: var(--gold); opacity: 0.35; }
.tl-evt-content { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 28px 32px; box-shadow: var(--shadow-card); }
.tl-evt-content h5 { font-family: var(--font-heading); font-size: 22px; color: var(--royal-blue); margin-bottom: 10px; }
.tl-evt-content p { color: var(--mid-gray); font-size: 16px; line-height: 1.7; }
.tl-dot { position:absolute; left:50%; top:50%; width:16px; height:16px; background:var(--gold); border-radius:50%; transform:translate(-50%,-50%); border:3px solid var(--white); box-shadow:0 0 0 3px var(--gold); }

.awards-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.award-card { text-align: center; padding: 32px 24px; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--white); }
.award-icon { font-size: 48px; margin-bottom: 16px; }
.award-card h6 { font-family: var(--font-heading); font-size: 17px; color: var(--royal-blue); margin-bottom: 6px; }
.award-card span { font-size: 13px; color: var(--mid-gray); }

.media-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; align-items: center; }
.media-logo { padding: 24px; border: 1px solid var(--border-color); border-radius: var(--radius-md); text-align: center; filter: grayscale(1); opacity: 0.5; transition: all 0.3s; }
.media-logo:hover { filter: grayscale(0); opacity: 1; }
.media-logo .name { font-size: 18px; font-weight: 700; color: var(--charcoal); }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.team-card { text-align: center; }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--royal-blue), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 48px; margin: 0 auto 16px; border: 3px solid var(--gold); }
.team-card h5 { font-family: var(--font-heading); font-size: 20px; color: var(--royal-blue); margin-bottom: 4px; }
.team-card .role { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--mid-gray); }



.filter-bar { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:48px; }
.filter-btn { padding:10px 28px; border-radius:50px; border:1.5px solid var(--border-color); font-size:15px; font-weight:600; cursor:pointer; transition:all 0.2s; background:var(--white); color:var(--charcoal); }
.filter-btn.active, .filter-btn:hover { background:var(--gold); color:var(--deep-navy); border-color:var(--gold); }
.all-services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.featured-service { grid-column:span 3; display:grid; grid-template-columns:1fr 1fr; background:var(--royal-blue); border-radius:var(--radius-xl); overflow:hidden; }
.featured-service-img { background:linear-gradient(135deg,#1a3070,var(--deep-navy)); display:flex; align-items:center; justify-content:center; font-size:100px; min-height:280px; }
.featured-service-body { padding:48px; color:var(--white); }
.featured-service-body .eyebrow { color:var(--gold); margin-bottom:16px; }
.featured-service-body h3 { color:var(--white); font-size:36px; margin-bottom:16px; }
.featured-service-body p { color:rgba(255,255,255,0.75); font-size:17px; line-height:1.75; margin-bottom:28px; }
.featured-service-body .price { font-family:var(--font-heading); font-size:32px; font-weight:700; color:var(--gold); margin-bottom:20px; }
.cat-section-title { grid-column:span 3; display:flex; align-items:center; gap:16px; margin-top:16px; }
.cat-section-title h3 { font-family:var(--font-heading); font-size:32px; color:var(--royal-blue); }
.cat-section-title .line { flex:1; height:1px; background:var(--border-color); }

.search-box { display:flex; gap:0; max-width:600px; margin:0 auto 48px; border:2px solid var(--border-color); border-radius:50px; overflow:hidden; background:var(--white); box-shadow:var(--shadow-card); }
.search-box input { flex:1; padding:16px 24px; border:none; outline:none; font-size:16px; font-family:var(--font-body); }
.search-box button { padding:16px 32px; background:var(--gold); border:none; color:var(--deep-navy); font-weight:700; font-size:15px; cursor:pointer; }



.contact-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:80px; align-items:start; }
.contact-cards { display:grid; gap:20px; margin-bottom:40px; }
.contact-card { display:flex; gap:20px; align-items:flex-start; padding:28px; border:1px solid var(--border-color); border-radius:var(--radius-md); background:var(--white); box-shadow:var(--shadow-card); }
.contact-card-icon { width:56px; height:56px; border-radius:14px; background:linear-gradient(135deg,rgba(212,175,55,0.15),rgba(212,175,55,0.05)); border:1px solid var(--border-color); display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; }
.contact-card h5 { font-family:var(--font-heading); font-size:18px; color:var(--royal-blue); margin-bottom:6px; }
.contact-card p { font-size:15px; color:var(--mid-gray); line-height:1.6; }
.contact-card a { color:var(--royal-blue); font-weight:600; }

.map-placeholder { width:100%; height:300px; background:linear-gradient(135deg,#e8eef8,#d4dff2); border-radius:var(--radius-lg); display:flex; align-items:center; justify-content:center; font-size:64px; border:1px solid var(--border-color); margin-bottom:28px; position:relative; overflow:hidden; }
.map-placeholder::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='none' stroke='%230D1B4C' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E"); }
.map-pin { position:absolute; top:50%; left:50%; transform:translate(-50%,-100%); font-size:40px; filter:drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.map-label { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); background:var(--royal-blue); color:var(--white); padding:8px 20px; border-radius:50px; font-size:13px; font-weight:600; white-space:nowrap; }

.hours-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.hour-row { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid rgba(13,27,76,0.06); font-size:14px; }
.hour-row:last-child { border-bottom:none; }
.hour-row .day { color:var(--charcoal); font-weight:500; }
.hour-row .time { color:var(--emerald); font-weight:600; }
.hour-row .closed { color:#e74c3c; font-weight:600; }

.form-box { background:var(--white); border-radius:var(--radius-xl); padding:48px 44px; box-shadow:var(--shadow-hover); border:1px solid var(--border-color); }

/* ---- LEGAL PAGES ---- */
.legal-content { color: var(--charcoal); font-size: 16px; line-height: 1.85; }
.legal-content h2 { font-family: var(--font-heading); font-size: 26px; color: var(--deep-navy); margin: 48px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.legal-content h3 { font-family: var(--font-heading); font-size: 20px; color: var(--deep-navy); margin: 32px 0 12px; }
.legal-content p { margin-bottom: 18px; color: var(--mid-gray); }
.legal-content ul, .legal-content ol { margin: 0 0 18px 24px; color: var(--mid-gray); }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }
.legal-content a:hover { color: var(--gold); }
.legal-content strong { color: var(--charcoal); font-weight: 600; }
.legal-content .legal-intro { font-size: 17px; color: var(--charcoal); background: rgba(196,160,80,0.08); border-left: 4px solid var(--gold); padding: 20px 24px; border-radius: 0 8px 8px 0; margin-bottom: 40px; }

