:root {
    --bg: #f7f9fc;
    --card: #ffffff;
    --muted: #636c78;
    --accent: #d97706;
    --accent-soft: #f2b26b;
    --radius: 14px;
    --border: 1px solid #e5e7eb;
    --maxw: 1100px;
    --glass: rgba(255, 255, 255, 0.65);
}

/* Universal */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: #1b1f23;
    line-height: 1.6;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 28px;
}

/* NAVIGATION */
header {
    position: sticky;
    top: 16px;
    z-index: 50;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Custom transparent nav container */
.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--glass);
    padding: 12px 20px;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    border: var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 14px;
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
}

.nav-links a.cta {
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    color: white;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    margin-top: 28px;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    margin-top: 28px;
}

.hero img,
.hero video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-card {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    border: var(--border);
}

.eyebrow {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: 34px;
    margin: 8px 0 6px;
    color: #1a1a1a;
}

p.lead {
    color: #555;
    margin-bottom: 18px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    color: white;
}

.btn-ghost {
    border: var(--border);
    color: #374151;
    background: white;
}

/* VISUAL */
.visual {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff, #f3f4f6);
    border: var(--border);
    height: 360px;
    display: flex;
    flex-direction: column;
}
.visual {
    position: relative;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
}

.fullscreen-btn i {
    color: #fff;
    font-size: 18px;
}

.visual-top {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nameboard {
    background: #fff3cd;
    padding: 8px 14px;
    border-radius: 10px;
    color: #6a3a12;
    font-weight: 800;
    border: 1px solid #f4d38b;
}

.visual-meta {
    padding: 14px;
    border-top: var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
}

.pill {
    background: #f3f4f6;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 600;
    color: #555;
    border: var(--border);
}

/* GRID 3 SECTION */
.grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 22px;
}

.card,
.card1 {
    background: white;
    padding: 20px;
    border-radius: 14px;
    border: var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.card1 {
    height: 500px;
}

h2 {
    margin: 0 0 12px;
    color: #1a1a1a;
}

/* EVENTS */
.event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    border: var(--border);
    background: #fafafa;
    margin-top: 20px;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    border: var(--border);
}

/* FORM FIELDS */
input,
textarea,
select {
    background: white;
    border: var(--border);
    padding: 12px;
    border-radius: 10px;
    color: #1a1a1a;
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #555;
}

.Mahasastha {
    font-size: 18px;
    white-space: normal !important;
    line-height: 18px;
}

/* ==========================================================
   🔽 MEDIA QUERIES
   ========================================================== */

/* Small screens (iPhone SE, 375px, 360px, etc.) */

/* Tablets + small laptops */
@media (min-width: 375px) and (max-width: 979px) {
    .Mahasastha {
        font-size: 14px;
        white-space: normal !important;
        line-height: 18px;
    }

    .nameboard {
        width: 300px;
    }

    .Terms {
        margin-top: 20px !important;
    }

    .hera_head {
        font-size: 32px;
    }

    .card1 {
        width: 280px;
        height: auto;
    }

    .event {
        margin-top: 20px;
    }
.pill1 {
           background: #f3f4f6;
        padding: 4px 4px;
        border-radius: 999px;
        font-weight: 600;
        color: #555;
        font-size: 12px;
        border: var(--border);
}
.pill2 {
           background: #f3f4f6;
        padding: 4px 4px;
        border-radius: 999px;
        font-weight: 600;
        color: #555;
        font-size: 12px;
        border: var(--border);
}
    .pill {
        font-size: 12px;
        padding: 2px 4px;
        width: 100px;
        height: 26px;
        border-radius: 9px;
        text-align: center;
    }

    .lead {
        font-size: 16px;
    }

    .eyebrow {
        font-size: 18px;
    }

    .hero {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .grid-3 {
        grid-template-columns: 1fr !important;
    }

    .gallery {
        grid-template-columns: 1fr !important;
    }

    .visual {
        height: 240px !important;
    }
}

@media(min-width:663px){
    .card1 {
        width: 565px;
        height: auto;
    }
}