:root {
    --navy: #101a36;
    --navy-2: #18264d;
    --gold: #c79b45;
    --gold-light: #e4c47b;
    --cream: #fbf7ee;
    --paper: #fffdf8;
    --ink: #202535;
    --muted: #687083;
    --border: #e8dfcf;
    --shadow: 0 18px 50px rgba(16, 26, 54, .10);
    --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
    background: var(--navy);
    color: #e9edf7;
    font-size: .86rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar {
    background: rgba(255,253,248,.97);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.nav-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body {
    padding-top: 112px;
}


.brand { display:flex; align-items:center; gap: 11px; color: var(--navy); }
.brand-mark {
    background: transparent;
    padding: 0;
    width: auto;
    height: auto;
}

.brand-mark img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}
.brand strong, .brand small { display:block; line-height:1.05; }
.brand strong { font-family:"Cormorant Garamond", serif; font-size:1.35rem; }
.brand small { margin-top:4px; font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }

.nav-links { display:flex; align-items:center; gap: 4px; }
.nav-links a { padding: 10px 11px; font-size:.9rem; font-weight:600; color:#4c5364; border-radius:10px; }
.nav-links a:hover, .nav-links a.active { color:var(--navy); background:#f4eee1; }
.menu-toggle { display:none; border:0; background:none; font-size:1.6rem; cursor:pointer; color:var(--navy); }

.hero {
    min-height: 650px; display:grid; align-items:center;
    background:
      linear-gradient(90deg, rgba(8,15,35,.95), rgba(16,26,54,.76) 52%, rgba(16,26,54,.35)),
      radial-gradient(circle at 75% 30%, rgba(199,155,69,.25), transparent 32%),
      var(--navy);
    color:white;
}
.hero-content { max-width:760px; padding: 95px 0; }
.eyebrow { color:var(--gold-light); text-transform:uppercase; letter-spacing:.18em; font-size:.78rem; font-weight:700; margin-bottom:16px; }
.hero h1 { font-family:"Cormorant Garamond", serif; font-size:clamp(3rem,7vw,6.2rem); line-height:.92; margin-bottom:22px; }
.hero h1 span { color:var(--gold-light); }
.hero p { max-width:650px; font-size:1.05rem; color:#d9deeb; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 21px; border-radius:999px; border:1px solid transparent; font-weight:700; cursor:pointer; transition:.2s ease; }
.btn-primary { background:var(--gold); color:#17120a; }
.btn-primary:hover { transform:translateY(-2px); background:var(--gold-light); }
.btn-outline { border-color:rgba(255,255,255,.45); color:white; }
.btn-outline:hover { background:white; color:var(--navy); }

.section { padding:90px 0; }
.section-alt { background:var(--cream); }
.section-heading { max-width:700px; margin-bottom:42px; }
.section-heading.center { text-align:center; margin-inline:auto; }
.section-kicker { color:#a2762f; text-transform:uppercase; letter-spacing:.16em; font-size:.75rem; font-weight:800; }
.section h2 { font-family:"Cormorant Garamond",serif; color:var(--navy); font-size:clamp(2.3rem,4vw,3.7rem); line-height:1; margin:9px 0 15px; }
.section-heading p { color:var(--muted); }

.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }

.card { background:white; border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.card h3 { font-family:"Cormorant Garamond",serif; color:var(--navy); font-size:1.7rem; margin-bottom:8px; }
.card p { color:var(--muted); }
.icon-card .icon { width:50px; height:50px; display:grid; place-items:center; border-radius:14px; background:#f4eee1; color:#a2762f; font-size:1.4rem; margin-bottom:18px; }

.about-panel { padding:45px; background:var(--navy); color:white; border-radius:28px; box-shadow:var(--shadow); }
.about-panel h2 { color:white; }
.about-panel p { color:#d9deeb; }
.quote { border-left:3px solid var(--gold); padding-left:18px; margin-top:25px; font-style:italic; color:#dfe4ef; }

.page-hero { padding:90px 0 80px; background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:white; }
.page-hero h1 { font-family:"Cormorant Garamond",serif; font-size:clamp(2.8rem,6vw,5rem); line-height:1; }
.page-hero p { color:#d9deeb; max-width:700px; margin-top:15px; }

.feature-list { display:grid; gap:14px; }
.feature-list li { list-style:none; display:flex; gap:12px; align-items:flex-start; }
.feature-list li::before { content:"♪"; color:var(--gold); font-weight:800; }

.course-card { position:relative; overflow:hidden; }
.course-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--gold); }
.course-card h3 { margin-top:5px; }

.guru-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 50px;
    align-items: center;
    background: var(--navy);
    color: white;
    border-radius: 26px;
    padding: 35px;
    margin-bottom: 25px;
}

.guru-image {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.guru-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.guru-placeholder { width:180px; height:180px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,#27365e,#101a36); border:1px solid rgba(255,255,255,.15); font-size:4rem; color:var(--gold-light); }
.guru-card h2 { color:#d9deeb; font-family:"Cormorant Garamond",serif; font-size:3rem; }
.guru-card p { color:#d9deeb; }

.cta { background:linear-gradient(135deg,#f4eee1,#fffdf8); border:1px solid var(--border); border-radius:28px; padding:48px; display:flex; justify-content:space-between; align-items:center; gap:30px; }
.cta h2 { margin:0; }

.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:25px; }
.contact-item { padding:24px; background:var(--cream); border-radius:16px; }
.contact-item strong { display:block; color:var(--navy); margin-bottom:5px; }
.contact-item span { color:var(--muted); }

form { display:grid; gap:17px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px; }
label { font-weight:600; font-size:.9rem; color:var(--navy); }
input, textarea, select { width:100%; margin-top:7px; border:1px solid #dcd5c8; border-radius:12px; padding:13px 14px; font:inherit; background:white; color:var(--ink); }
textarea { min-height:140px; resize:vertical; }
input:focus, textarea:focus, select:focus { outline:3px solid rgba(199,155,69,.2); border-color:var(--gold); }

.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.gallery-placeholder { min-height:240px; border-radius:18px; display:grid; place-items:center; background:linear-gradient(135deg,#e9e0d0,#f8f3e9); color:#887552; text-align:center; padding:20px; }
.gallery-placeholder span { font-family:"Cormorant Garamond",serif; font-size:1.5rem; }

.notice { padding:15px 18px; border-radius:12px; background:#f4eee1; color:#5c4a2d; }
.success { background:#e8f6ec; color:#216b37; }
.error { background:#fff0ef; color:#9d2d27; }

.site-footer { background:var(--navy); color:#d9deeb; padding-top:60px; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:45px; padding-bottom:45px; }
.footer-brand { font-family:"Cormorant Garamond",serif; color:white; font-size:2rem; }
.site-footer h3 { color:white; margin-bottom:12px; }
.site-footer p { color:#aeb7ca; }
.footer-links { display:grid; gap:7px; }
.footer-links a:hover, .site-footer a:hover { color:var(--gold-light); }

@media (max-width: 900px) {
    .nav-links { display:none; position:absolute; left:0; right:0; top:76px; background:var(--paper); border-bottom:1px solid var(--border); padding:12px 20px 20px; flex-direction:column; align-items:stretch; box-shadow:var(--shadow); }
    .nav-links.open { display:flex; }
    .menu-toggle { display:block; }
    .grid-4 { grid-template-columns:1fr 1fr; }
    .grid-3 { grid-template-columns:1fr 1fr; }
    .grid-2, .contact-grid { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px) {
    .container { width:min(100% - 28px, 1120px); }
    .topbar-inner { font-size:.74rem; }
    .hero { min-height:580px; }
    .hero-content { padding:75px 0; }
    .section { padding:65px 0; }
    .grid-3, .grid-4, .form-grid, .gallery-grid, .footer-grid { grid-template-columns:1fr; }
    .about-panel, .cta { padding:30px; }
    .cta { align-items:flex-start; flex-direction:column; }
    .guru-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px 18px;
        gap: 20px;
    }

    .guru-placeholder {
        width: 110px;
        height: 110px;
        margin: auto;
        font-size: 2.5rem;
    }

    .guru-card h2 {
        font-size: 2rem;
    }

    .guru-card p {
        font-size: 0.95rem;
    }
}

.footer-bottom-content {
    text-align: center;
}

.footer-copyright {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-credit {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.mode-tech-credit {
    display: inline-flex;
    align-items: center;
    transition: opacity .2s ease, transform .2s ease;
}

.mode-tech-credit img {
    width: 85px;
    height: auto;
    max-height: 32px;
    object-fit: contain;
    display: block;
}

.mode-tech-credit:hover {
    opacity: .8;
    transform: translateY(-1px);
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 22px 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #aeb7ca;
    text-decoration: none;
}

.footer-contact-item i {
    color: var(--gold-light);
    font-size: 15px;
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact-item:hover {
    color: var(--gold-light);
}

/* Phase 2 additions */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-item{margin:0;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.gallery-item img{width:100%;height:260px;object-fit:cover}.gallery-item figcaption{padding:12px 15px;color:var(--muted);font-weight:600}@media(max-width:700px){.gallery-grid{grid-template-columns:1fr 1fr}}@media(max-width:500px){.gallery-grid{grid-template-columns:1fr}}

/* Stats */

.hero-stats {
    margin-top: 65px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hero-stat-card {
    padding: 24px 18px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.11);
    border-color: rgba(255,255,255,.25);
}

.hero-stat-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--gold-light);
    font-size: 1.2rem;
}

.hero-stat-card strong {
    display: block;
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    line-height: 1.1;
}

.hero-stat-card small {
    display: block;
    margin-top: 7px;
    color: #b9c1d2;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 45px;
    }

    .hero-stat-card {
        padding: 18px 12px;
    }

    .hero-stat-card strong {
        font-size: 1.5rem;
    }

    .hero-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 450px) {
    .hero-stats {
        gap: 9px;
    }

    .hero-stat-card {
        padding: 15px 8px;
    }

    .hero-stat-card strong {
        font-size: 1.3rem;
    }

    .hero-stat-card small {
        font-size: .65rem;
    }
}