/* =========================================================
   SAHYADRI MITRA SAMMELAN - PAGE SPECIFIC STYLE
   Keep global.css unchanged.
   ========================================================= */

/* =========================================================
   CUSTOM VARIABLES
   ========================================================= */
:root {
    --color-saffron: #ff9933;
    --color-quote-gradient-start: #fd710d;
    --color-quote-gradient-end: #62300a;
}

/* =========================================================
   MATERIAL SYMBOLS
   ========================================================= */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

/* =========================================================
   COMMON PAGE ELEMENTS
   ========================================================= */
.accent-bar-saffron {
    width: 32px;
    height: 4px;
    background-color: var(--color-saffron);
    border-radius: 50px;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.icon-box-xs {
    font-size: 16px;
}

.icon-box-sm {
    font-size: 20px;
}

.icon-box-md {
    font-size: 24px;
}

.icon-box-lg {
    font-size: 36px;
}

.calendar-icon-wrapper,
.pillar-icon-box {
    width: 48px;
    height: 48px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    position: relative;
    min-height: 920px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-image: url('../images/banner/backgroud.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgb(74 74 74 / 27%),
        rgb(74 74 74 / 34%),
        rgb(176 47 0 / 30%)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 32px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
}

.hero-badge-icon {
    color: var(--color-saffron-orange);
    font-size: 18px;
}

.hero-title {
    color: #fff;
    font-size: 5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    display: block;
    margin-top: 12px;
    color: var(--color-sky-blue);
    font-weight: 700;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.hero-btn,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-stats {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-item {
    text-align: center;
    margin-bottom: 20px;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.hero-stat-text {
    color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   ABOUT / ORIGIN / QUOTE
   ========================================================= */
.quote-card {
    background: linear-gradient(
        135deg,
        var(--color-quote-gradient-start) 0%,
        var(--color-quote-gradient-end) 100%
    );
    overflow: hidden;
}

.quote-card-glow {
    width: 140px;
    height: 140px;
    bottom: -30px;
    right: -30px;
    background-color: #fff;
    opacity: 0.1;
    filter: blur(25px);
    pointer-events: none;
}

/* About image/cards should never overflow on small screens */
section img {
    max-width: 100%;
}

/* =========================================================
   OBJECTIVES / HIGHLIGHTS / GENERAL CARDS
   ========================================================= */
.objective-card,
.highlight-card,
.award-card,
.pillar-card {
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.objective-card:hover,
.highlight-card:hover,
.award-card:hover,
.pillar-card:hover {
    transform: translateY(-3px);
}

/* =========================================================
   AWARDS / HISTORY
   ========================================================= */
.awards-card {
    height: 100%;
}

.awards-card .material-symbols-outlined {
    flex-shrink: 0;
}

/* Prevent long Marathi text from forcing horizontal overflow */
section p,
section h1,
section h2,
section h3,
section h4,
section span,
footer p,
footer span {
    overflow-wrap: break-word;
}

/* =========================================================
   PHILOSOPHY / FIVE PILLARS
   ========================================================= */
.pillar-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =========================================================
   PHOTO GALLERY
   ========================================================= */
.gallery-card {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.2) 60%,
        transparent 100%
    );
}

/* =========================================================
   REGISTRATION / CTA
   ========================================================= */
.btn-saffron {
    background-color: var(--color-saffron);
    border-color: var(--color-saffron);
    color: #fff;
    transition: all 0.2s ease-in-out;
}

.btn-saffron:hover,
.btn-saffron:focus,
.btn-saffron:active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* Registration inputs should remain inside their columns */
#sammelanRegistrationForm input,
#sammelanRegistrationForm select,
#sammelanRegistrationForm textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-mountain-bg {
    position: relative;
    background-image:
        linear-gradient(
            to bottom,
            rgba(13, 27, 42, 0.85) 0%,
            rgba(10, 18, 30, 0.95) 100%
        ),
        url('../images/banner/footer1.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: #f8f9fa;
}

.footer-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.footer-link:hover {
    color: var(--color-saffron);
    transform: translateX(4px);
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.25s ease-in-out;
}

.social-icon-btn:hover {
    background: var(--color-saffron);
    color: #000;
    border-color: var(--color-saffron);
    transform: translateY(-2px);
}

/* =========================================================
   TABLET - 992px AND BELOW
   ========================================================= */
@media (max-width: 991.98px) {

    .hero-section {
        min-height: 750px;
        padding: 100px 20px 70px;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .hero-description {
        max-width: 620px;
    }

    .hero-buttons {
        margin-bottom: 60px;
    }

    .hero-stats {
        padding-top: 30px;
    }

    .gallery-card {
        height: 230px;
    }

    .quote-card {
        min-height: auto;
    }

    /* Keep large CTA/form content comfortable on tablets */
    #nondani .grid {
        row-gap: 0;
    }

    .footer-mountain-bg {
        background-position: center center;
    }
}

/* =========================================================
   MOBILE - 768px AND BELOW
   ========================================================= */
@media (max-width: 767.98px) {

    .hero-section {
        min-height: auto;
        padding: 110px 16px 60px;
    }

    .hero-badge {
        margin-bottom: 22px;
        padding: 7px 13px;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.35;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 45px;
    }

    .hero-btn,
    .hero-btn-secondary {
        width: 100%;
        max-width: 320px;
        min-height: 50px;
        padding: 13px 20px;
    }

    .hero-stats {
        padding-top: 25px;
    }

    .hero-stat-number {
        font-size: 1.65rem;
    }

    .hero-stat-text {
        font-size: 0.85rem;
    }

    /* Section spacing */
    section {
        overflow: hidden;
    }

    /* About / quote */
    .quote-card-glow {
        width: 100px;
        height: 100px;
    }

    /* Gallery */
    .gallery-card {
        height: 220px;
    }

    /* Footer */
    .footer-glass-card {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .footer-link:hover {
        transform: none;
    }

    /* Registration button */
    .btn-saffron {
        width: 100%;
    }
}

/* =========================================================
   SMALL MOBILE - 576px AND BELOW
   ========================================================= */
@media (max-width: 575.98px) {

    .hero-section {
        padding: 100px 14px 50px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.78rem;
    }

    .hero-stat-number {
        font-size: 1.45rem;
    }

    .hero-stat-text {
        font-size: 0.78rem;
    }

    .gallery-card {
        height: 200px;
    }

    .calendar-icon-wrapper,
    .pillar-icon-box {
        width: 44px;
        height: 44px;
    }

    .icon-box-lg {
        font-size: 30px;
    }

    .footer-mountain-bg {
        background-position: 60% center;
    }

    .social-icon-btn {
        width: 36px;
        height: 36px;
    }
}

/* =========================================================
   EXTRA SMALL DEVICES - 400px AND BELOW
   ========================================================= */
@media (max-width: 400px) {

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-btn,
    .hero-btn-secondary {
        max-width: 290px;
    }

    .gallery-card {
        height: 180px;
    }
}
