* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;

    color: #3f3028;
    background: #ffffff;
    line-height: 1.6;
}


/* =========================================
   COLOUR PALETTE
   ========================================= */

:root {
    --temple-brown: #7C3F20;
    --deep-brown: #5C2E1A;
    --saffron: #D97706;
    --gold: #C58A24;

    --cream: #FFF8ED;
    --light-saffron: #FFF3DF;

    --text: #3F3028;
    --muted: #76685F;

    --border: #E8DDD2;
    --white: #FFFFFF;
}


/* =========================================
   LANGUAGE
   ========================================= */

.hi {
    display: none;
}

body.hindi .en {
    display: none;
}

body.hindi .hi {
    display: block;
}


/* =========================================
   GENERAL LAYOUT
   ========================================= */

.container {
    width: min(1100px, 90%);
    margin: auto;
}

.narrow {
    max-width: 800px;
}


/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    width: min(1100px, 90%);
    min-height: 68px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--temple-brown);
    text-decoration: none;

    font-size: 1.25rem;
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--saffron);
}

.language-toggle {
    border: 1px solid var(--temple-brown);
    background: white;
    color: var(--temple-brown);

    padding: 5px 10px;
    border-radius: 4px;

    cursor: pointer;
    font-size: 0.85rem;
}

.language-toggle:hover {
    background: var(--temple-brown);
    color: white;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 680px;

    background:
        linear-gradient(
            rgba(124, 63, 32, 0.12),
            rgba(80, 40, 20, 0.48)
        ),
        url("../images/himalaya.jpg")
        center / cover no-repeat;

    color: white;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
}

/* Nag Mandir watermark */

.hero {
    position: relative;
    min-height: 680px;

    background:
        linear-gradient(
            rgba(124, 63, 32, 0.12),
            rgba(80, 40, 20, 0.48)
        ),
        url("../images/himalaya.jpg")
        center / cover no-repeat;

    color: white;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* Temple watermark */
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image: url("../images/nag-mandir-watermark-final.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0.15;

    pointer-events: none;
    z-index: 0;

    filter: grayscale(100%);
}


/* Keep hero text above watermark */
.hero-content {
    position: relative;
    z-index: 1;
    width: min(1100px, 90%);
    margin: auto;
    padding: 90px 0;
}
.eyebrow {
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: grey;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.05;
    margin-bottom: 15px;
    color: #e67e00;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 45px;
    color: grey;
}

.event-highlight {
    max-width: 650px;
}

.event-label {
    color: grey;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.event-highlight h2 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    margin: 12px 0 20px;
    color: #e67e00;
}

.event-highlight p {
    margin-bottom: 8px;
    color: grey;
}


/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-block;

    margin-top: 25px;
    padding: 12px 24px;

    background: var(--saffron);
    color: white;

    text-decoration: none;
    font-weight: 700;

    border-radius: 5px;

    transition: 0.2s ease;
}

.btn:hover {
    background: var(--deep-brown);
    color: white;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: 85px 0;
}

.section-label {
    color: var(--saffron);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section h2 {
    color: var(--temple-brown);

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;

    margin-bottom: 25px;
}

.section p {
    margin-bottom: 18px;
}


/* =========================================
   EVENT SECTION
   ========================================= */

.event-section {
    background: var(--cream);
}

.intro {
    max-width: 700px;
    font-size: 1.1rem;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
    margin-top: 45px;
}

.event-card {
    background: white;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 8px;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(92, 46, 26, 0.08);
}

.card-icon {
    font-size: 2rem;
}

.event-card h3 {
    color: var(--temple-brown);
    margin: 10px 0;
}


/* =========================================
   REGISTRATION
   ========================================= */

.registration-box {
    margin-top: 35px;
    padding: 35px;

    background: var(--temple-brown);
    color: white;

    border-radius: 8px;

    border-left: 5px solid var(--saffron);
}

.registration-box h3 {
    font-size: 1.7rem;
}

.registration-box .btn {
    background: var(--saffron);
    color: white;
}

.registration-box .btn:hover {
    background: white;
    color: var(--temple-brown);
}
/* =========================================
   SUPPORT / DONATION FORM
   ========================================= */

.support-form {
    text-align: center;
    margin: 40px auto;
    padding: 30px 25px;
    max-width: 800px;
}

.support-form h2 {
    margin-bottom: 12px;
}

.support-form p {
    max-width: 700px;
    margin: 0 auto 22px;
}

.support-button {
    display: inline-block;
    margin: 10px 0 20px;
    padding: 12px 24px;
    background: #d97706;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.support-button:hover {
    opacity: 0.9;
}

/* =========================================
   PRIZES
   ========================================= */

.prizes {
    margin-top: 45px;
}

.prizes h3 {
    color: var(--temple-brown);
}

.prize-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin: 20px 0;
}

.prize-list span {
    background: white;

    border: 1px solid var(--border);

    padding: 10px 16px;

    border-radius: 6px;
}

.prize-list span:first-child {
    border-color: var(--saffron);
}


/* =========================================
   SPONSOR
   ========================================= */

.sponsor-section {
    background: var(--light-saffron);
}

.sponsor-section .section-label {
    color: var(--saffron);
}


/* =========================================
   CONTACT
   ========================================= */

.contact-section {
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 15px;
}

.contact-section p {
    margin-bottom: 8px;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 35px 0;

    background: var(--deep-brown);
    color: white;

    text-align: center;

    font-size: 0.9rem;
}

footer a {
    color: #FFE0A3;
    text-decoration: none;
}

footer a:hover {
    color: white;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .nav-container {
        min-height: auto;
        padding: 14px 0;

        flex-direction: column;
        gap: 12px;
    }

    nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

    .section {
        padding: 65px 0;
    }

    .registration-box {
        padding: 28px;
    }

}

/* =========================================
   HERO — FINAL CENTER ALIGNMENT
   ========================================= */

.hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.hero-content {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 90px 5% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    text-align: center !important;
}

.hero-content .eyebrow,
.hero-content .hero-subtitle {
    text-align: center !important;
    width: 100% !important;
}

.event-highlight {
    width: 100% !important;
    max-width: 750px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.event-highlight h2,
.event-highlight p,
.event-highlight .event-label {
    text-align: center !important;
}

.hero .btn {
    margin-left: auto !important;
    margin-right: auto !important;
}

.run-poster {
    max-width: 900px;
    margin: 2.5rem auto 3rem;
    text-align: center;
}

.run-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* =========================================
   NEWS / LATEST UPDATES
   ========================================= */

.news-section {
    position: relative;
}

.news-article {
    margin-top: 2rem;
}

.news-date {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 0.75rem;
}

.news-article h2 {
    margin-bottom: 1.5rem;
}

.news-article p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.news-article .intro {
    font-size: 1.08rem;
}

.news-signature {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(90, 60, 40, 0.15);
}

.news-footer {
    margin-top: 2.5rem;
    text-align: center;
}
/* =========================================
   YOUTUBE VIDEO
   ========================================= */

.youtube-embed {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
}

.youtube-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.youtube-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    margin-right: 6px;
    background: #ff0000;
    color: #ffffff;
    border-radius: 4px;
    font-size: 10px;
    line-height: 1;
    vertical-align: middle;
}

/* NEWS IMAGE */

.news-image {
    margin: 24px auto;
    text-align: center;
}

.news-image img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.news-image-small {
    width: 50%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border: 3px solid #561515;
    border-radius: 12px;
    padding: 4px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .news-image-small {
        width: 80%;
    }
}
.news-video {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    margin: 20px auto 0;
}

.news-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}
.route-map {
    width: 100%;
    margin: 25px auto 10px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.route-map iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

.route-map-link {
    text-align: center;
    margin-top: 12px;
}
.thankyou-news-card {
  margin-bottom: 30px;
}

.thankyou-news-card h3 {
  margin-bottom: 6px;
}

.thankyou-news-card p {
  line-height: 1.8;
  margin-bottom: 18px;
}

.thankyou-news-card .news-date {
  margin-bottom: 22px;
}

.thankyou-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}

.thankyou-social-links a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none !important;
  color: #555 !important;
  font-size: 13px;
  background: #fafafa;
  transition: all 0.2s ease;
}

.thankyou-social-links a:hover {
  border-color: #BA7517;
  color: #BA7517 !important;
  background: #fffaf2;
}

.thankyou-closing {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #eeeeee;
}

.thankyou-signoff {
  margin-top: 20px;
  color: #666;
}

@media (max-width: 680px) {
  .thankyou-news-card p {
    line-height: 1.75;
  }

  .thankyou-social-links {
    gap: 8px;
  }

  .thankyou-social-links a {
    padding: 7px 12px;
    font-size: 12px;
  }
}