/* html {
    scrollbar-gutter: stable;
} */

/* 1. Kill horizontal scroll forever */
html, body {
  overflow-x: hidden;
}

/* 2. Correct box model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 3. Prevent scrollbar width jump */
body.menu-open {
  position: fixed;
  width: 100%;
}

/* 4. Mobile overlay width fix */
.mobile-overlay {
  width: 100%;
  left: 0;
  right: 0;
}


:root {
    --gold: #C5A059;
    --bg-dark: #020408;
    --accent-blue: #1e2a4a;
}

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Cosmic Background */



.bg-container {
    position: fixed;
    /* width: 100vw; */
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at center, #0a1128 0%, #020408 100%);
}

.nebula {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    filter: blur(80px);
}

/* .stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
} */

/* Floating Elements */
/* ================= REAL PLANET (TEXTURE-BASED) ================= */

.floating-planet {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow:
      inset -50px -50px 100px rgba(0,0,0,0.9),
      inset 15px 15px 40px rgba(255,255,255,0.08),
      0 0 80px rgba(255,255,255,0.15);
}

/* Shadow / night side */
.floating-planet::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
      circle at 30% 35%,
      rgba(255,255,255,0.15),
      rgba(0,0,0,0.9) 65%
    );
    mix-blend-mode: multiply;

}

/* Atmosphere */
.floating-planet::after {
    content: "";
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(135,206,235,0.35),
      rgba(135,206,235,0.15) 40%,
      transparent 70%
    );
    filter: blur(18px);
    pointer-events: none;
}

/* ================= PLANET TYPES ================= */

/* Earth-like planet */
.p-1 {
    width: 220px;
    height: 220px;
    top: 15%;
    left: 6%;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/9/97/The_Earth_seen_from_Apollo_17.jpg");
}

/* Gas giant */
.p-2 {
    width: 360px;
    height: 360px;
    bottom: -12%;
    right: 4%;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/e/e2/Jupiter.jpg");
}


@media (max-width: 576px) {
    .p-1{
        display: none;
    }

    .p-2 {
        display: none;
    }
}




/* ================= HERO STARFIELD ================= */
#hero-stars {
    position: fixed;          /* NOT absolute */
    top: 0;
    left: 0;
    /* width: 100vw; */
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* ensure hero content is above */
.hero-section,
.nav-island {
    position: relative;
    z-index: 5;
    
}








/* ================= RESPONSIVE NAVBAR (FIXED) ================= */

.nav-island {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1100px);
    padding: 14px 32px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;

    z-index: 1000;
    transition: padding 0.3s ease, width 0.3s ease;

    
  height: 70px;              /* 🔥 lock height */
  padding: 0 35px;
}

/* Nav groups */
.nav-group.left {
    justify-self: start;
}

.nav-group.right {
    justify-self: end;
}

/* Desktop links */
.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links-desktop a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links-desktop a:hover {
    color: var(--gold);
}

/* Logo stays centered ALWAYS */
.logo {
  position: absolute;        /* 🔥 key */
  left: 50%;
  transform: translateX(-50%);

  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.6rem;         /* slightly smaller */
  letter-spacing: 4px;
  line-height: 1;            /* 🔥 prevents height jump */

  color: var(--gold);
  white-space: nowrap;
  margin-top: -52px;
}

.logo {
    justify-self: center;
    text-decoration: none;
    text-shadow: 0 0 15px rgba(243,207,122,0.4);
}

/* Contact button */
.btn-contact {
    background: var(--gold);
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* ================= HAMBURGER ================= */

.ham-btn {
    position: absolute;
    left: 24px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: none;
    z-index: 1100;
}

.ham-line {
    width: 100%;
    height: 2px;
    background: var(--gold);
    position: absolute;
    transition: 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}

.line-1 { top: 0; }
.line-2 { bottom: 0; }

.ham-btn.active .line-1 {
    transform: rotate(45deg);
    top: 9px;
    background: #fff;
}

.ham-btn.active .line-2 {
    transform: rotate(-45deg);
    bottom: 9px;
    background: #fff;
}

/* ================= MOBILE OVERLAY ================= */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,5,8,0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;

    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85,0,0.15,1);
}

.mobile-overlay.active {
    transform: translateY(0);
}

.mobile-overlay a {
    font-family: 'Cinzel Decorative';
    font-size: 2.4rem;
    color: #fff;
    text-decoration: none;
    margin: 14px 0;
    opacity: 0;
}

/* ================= BREAKPOINTS ================= */

/* Tablets & below */
@media (max-width: 992px) {

    .nav-links-desktop {
        display: none;
    }

    .ham-btn {
        display: block;
    }

    .logo {
        /* font-size: 1.4rem; */
        letter-spacing: 3px;
    }
}

/* Phones */
@media (max-width: 576px) {

    .nav-island {
        top: 14px;
        padding: 12px 20px;
    }

    .logo {
        font-size: 1.2rem;
        
    }

    .logo img {
        
    }

    .ham-btn {
        left: 16px;
    }
}






/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(to right, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.btn-primary-cosmic {
    background: var(--gold);
    color: #000;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 0;
}

.btn-primary-cosmic:hover {
    border: 1px solid #fff;
}

/* Scroll Animation */
/* .scroll-wrapper {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
} */



/* ================= SCROLL INDICATOR ================= */

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
}

/* Mouse */
.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    margin-bottom: -10px;
    position: relative;
}

.mouse .wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.9);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

/* Arrows */
.arrows span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.7);
    transform: rotate(45deg);
    margin-top: -4px;
    opacity: 0;
}





































/* ================= GUIDANCE SECTION ================= */

.guidance-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(
        to bottom,
        rgba(2,4,8,0) 0%,
        rgba(2,4,8,0.9) 20%,
        #020408 100%
    );
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin-bottom: 2rem;
}

.guidance-points .point {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.guidance-points span {
    color: var(--gold);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ================= VISUAL ================= */

/* .guidance-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosmic-orb {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        #ffffff 0%,
        var(--gold) 25%,
        #1a1b3a 60%,
        #000 100%
    );
    box-shadow:
        0 0 60px rgba(197,160,89,0.4),
        inset -20px -20px 40px rgba(0,0,0,0.6);
}

.orb-ring {
    position: absolute;
    border: 1px solid rgba(197,160,89,0.4);
    border-radius: 50%;
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: 380px;
    height: 380px;
    animation: spinReverse 30s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes spinReverse {
    to { transform: rotate(-360deg); }
} */







/* ================= ZODIAC WHEEL VISUAL ================= */

.zodiac-visual {
    position: relative;
    width: 480px;
    height: 480px;
    margin-left: auto; /* push to right */
}

.zodiac-wheel {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(197,160,89,0.35));
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 992px) {
    .zodiac-visual {
        margin: 60px auto 0;
        width: 500px;
        height: 500px;
    }
}










/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .guidance-visual {
        margin-top: 60px;
        height: 300px;
    }
}












/* ================= FIXED 3D DISCOVER CARDS ================= */

.discover-3d-section {
    padding: 60px 0;
    background: radial-gradient(circle at top, #050814, #020408 70%);
}

.cards-3d-wrap {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 80px;

    perspective: 1200px;          /* ✅ correct place */
}

/* Card */
.card-3d {
    width: 300px;
    min-height: 360px;
    padding: 45px 35px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.02)
    );

    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);

    transform-style: preserve-3d;
    will-change: transform;
}

/* Depth content */
.card-3d h4 {
    font-family: 'Cinzel', serif;
    margin-bottom: 15px;
    transform: translateZ(30px);
}

.card-3d p {
    color: rgba(255,255,255,0.75);
    transform: translateZ(20px);
}

/* Glow */
.card-3d::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(197,160,89,0.25),
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-3d:hover::before {
    opacity: 1;
}

/* Featured card */
.card-3d.featured {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

/* Mobile */
@media (max-width: 992px) {
    .cards-3d-wrap {
        /* flex-direction: column; */
        align-items: center;
    }

    .card-3d.featured {
        transform: none;
    }
}

@media (max-width: 576px) {
    .cards-3d-wrap {
        flex-direction: column;
    }
}









/* ================= COSMIC SPECTRUM ================= */

.cosmic-spectrum-section {
    padding: 60px 0;
    background: linear-gradient(
        to bottom,
        #020408 0%,
        #050814 100%
    );
}

.spectrum-header {
    max-width: 720px;
    margin-bottom: 80px;
}

.spectrum-desc {
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin-top: 20px;
}

/* Spectrum line */
.spectrum-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 60px;
}

.spectrum-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.1),
        var(--gold),
        rgba(255,255,255,0.1)
    );
}

/* Spectrum points */
.spectrum-item {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #020408;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.spectrum-item span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.spectrum-item.active {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(197,160,89,0.4);
}

.spectrum-item.active span {
    color: var(--gold);
}

/* Detail text */
.spectrum-detail {
    max-width: 420px;
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
}

/* Responsive */
@media (max-width: 992px) {
    .spectrum-track {
        flex-direction: column;
        gap: 30px;
    }

    .spectrum-track::before {
        display: none;
    }
}

























/* experience section  */

/* ================= EXPERIENCE SECTION ================= */

.experience-section {
    position: relative;
    padding: 60px 0;
    background: #020408;
    overflow: hidden;
}

.experience-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(197,160,89,0.08), transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(99,102,241,0.08), transparent 40%);
    pointer-events: none;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.experience-card {
    position: relative;
    padding: 60px 35px;
    border-radius: 20px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.01)
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    overflow: hidden;
}

.experience-card h4 {
    font-family: 'Cinzel', serif;
    margin-top: 20px;
    margin-bottom: 10px;
}

.experience-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

/* Orb inside card */
.card-orb {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        #fff,
        var(--gold),
        #1a1b3a 70%
    );
    box-shadow: 0 0 40px rgba(197,160,89,0.5);
}

/* Hover polish */
.experience-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.5s;
}

.experience-card:hover::after {
    opacity: 1;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}







































/* ================= COSMIC CTA SECTION ================= */

.cosmic-cta-section {
    position: relative;
    padding: 60px 0;
    background: radial-gradient(
        circle at center,
        #0a1128 0%,
        #020408 70%
    );
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(197,160,89,0.15), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(99,102,241,0.12), transparent 40%);
    pointer-events: none;
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.cta-desc {
    max-width: 560px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.cta-main {
    padding: 14px 45px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cta-secondary {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

.cta-secondary::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.cta-secondary:hover::after {
    width: 100%;
}

/* Floating lines */
.cta-lines span {
    position: absolute;
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0.4;
}

.cta-lines span:nth-child(1) {
    left: 20%;
    top: 10%;
}
.cta-lines span:nth-child(2) {
    right: 25%;
    top: 30%;
}
.cta-lines span:nth-child(3) {
    left: 50%;
    bottom: 10%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .cta-title {
        font-size: 2.5rem;
    }

    .cta-actions {
        flex-direction: column;
    }
}




















/* ================= TESTIMONIAL SECTION ================= */

.testimonial-section {
    padding: 40px 0;
     background: linear-gradient(
        to bottom,
        #050814 0%,
        #030616 100%
    );
}

.testimonial-stage {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 220px;
}

.testimonial {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    text-align: center;
    transition: opacity 0.6s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
}

.testimonial h5 {
    font-family: 'Cinzel', serif;
    margin-bottom: 4px;
}

.testimonial span {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}

/* Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* margin-top: 60px; */
    margin-top: 0px;
}

.testimonial-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-dots .dot.active {
    background: var(--gold);
}


















/* ================= SIMPLE CENTERED FOOTER ================= */

.astral-footer-simple {
    background: #020408;
    padding: 40px 0 40px;
    text-align: center;
}

.footer-logo-center {
    margin-bottom: 35px;
}

.footer-logo {
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 6px;
    color: var(--gold);
    font-size: 2.4rem;
}

/* Links */
.footer-links-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-links-row a {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links-row a:hover {
    color: var(--gold);
}

/* CTA */
.footer-cta-row {
    margin-bottom: 50px;
}

/* Copy */
.footer-copy {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-logo {
        font-size: 2rem;
    }
}
