/* =========================================================
   SAHYADRI MITRA SAMMELAN - PAGE SPECIFIC STYLE
   Keep global.css unchanged.
   ========================================================= */

/* =========================================================
   CUSTOM VARIABLES
   ========================================================= */
:root {
    --color-saffron: #e65100;
    --color-saffron-light: #f26522;
    --color-quote-gradient-start: #f26522;
    --color-quote-gradient-end: #872300;
}

/* =========================================================
   ICONS (BOOTSTRAP ICONS & MATERIAL SYMBOLS)
   ========================================================= */
.bi {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.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/hero-bg.png');
    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, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.55) 50%, rgba(230, 81, 0, 0.45) 100%);
}

.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: #fed7aa;
    font-weight: 700;
    font-size: 45px;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgb(255, 255, 255);
}

.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;
    padding: 0.75rem 1.85rem;
    border-radius: 50rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: #ffffff;
    color: #111827;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.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,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(191, 54, 12, 0.85) 100%
    ), url('../images/banner/backgroud.jpg') center/cover no-repeat;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.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,
.awards-card .bi {
    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(.footer-logo
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.2) 60%,
        transparent 100%
    );
}

/* =========================================================
   REGISTRATION / CTA
   ========================================================= */


/* 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:
        linear-gradient(
            to bottom,
            rgba(13, 27, 42, 0.90) 0%,
            rgba(10, 18, 30, 0.97) 100%
        ),
        url('../images/banner/footer1.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: #f8f9fa;
}


.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--color-saffron, #FF9933);
    transform: translateX(4px);
    text-decoration: none;
}

.footer-mountain-bg .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-icon-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.social-icon-btn:hover {
    background: var(--color-saffron, #FF9933);
    color: #000;
    border-color: var(--color-saffron, #FF9933);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.35);
}

/* =========================================================
   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-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: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* =========================================================
   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;
    }
}

/* =========================================================
   DEVANAGARI TYPOGRAPHY & ENHANCEMENTS
   ========================================================= */
body, input, textarea, select, button {
    font-family: 'Mukta', 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.font-yatra {
    font-family: 'Yatra One', cursive, sans-serif;
}

/* =========================================================
   HEADER NAV CTA BUTTON
   ========================================================= */
.nav-cta-btn {
    background: linear-gradient(135deg, #f26522 0%, #e65100 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    padding: 6px 16px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.35);
    transition: all 0.25s ease-in-out !important;
}

.nav-cta-btn::before {
    display: none !important;
}

.nav-cta-btn:hover {
    background-color: #bf360c !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(230, 81, 0, 0.45);
}

.main-nav .nav-link {
    font-size: 15px;
    font-weight: 600;
}

/* =========================================================
   PAGE HERO / SUBPAGE BANNER
   ========================================================= */
.page-banner {
    position: relative;
    padding: 50px 20px 50px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(230, 81, 0, 0.88) 100%),
                url('../images/banner/hero-bg.png') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.page-banner-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.page-banner-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    line-height: 1.6;
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.breadcrumb-trail a {
    color: #fed7aa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.breadcrumb-trail a:hover {
    color: #fff;
}

/* =========================================================
   TIMELINE STYLES (आमचा प्रवास)
   ========================================================= */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}

.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 3px;
    background: linear-gradient(to bottom, #e65100, #f26522, #1e293b);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .timeline-wrapper::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e65100;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.3);
    z-index: 2;
}

@media (min-width: 768px) {
    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-content {
    margin-left: 55px;
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: calc(50% + 35px);
        text-align: right;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: calc(50% + 35px);
        text-align: left;
    }

    .timeline-item:nth-child(odd) .d-flex-rtl {
        justify-content: flex-end;
    }
}

/* =========================================================
   AWARD CARDS & BADGES (पुरस्कार)
   ========================================================= */
.award-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.award-card-featured {
    border: 2px solid #e65100 !important;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    position: relative;
    overflow: hidden;
}

.award-card-featured::before {
    content: "प्रथम पुरस्कार";
    position: absolute;
    top: 18px;
    right: -36px;
    transform: rotate(45deg);
    background: #e65100;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.award-trophy-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 38px;
    background: #fff3e0 !important;
    color: #e65100 !important;
    border: 2px solid rgba(230, 81, 0, 0.25);
    box-shadow: 0 6px 18px rgba(230, 81, 0, 0.16);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card-featured:hover .award-trophy-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 24px rgba(230, 81, 0, 0.24);
}

/* =========================================================
   GALLERY FILTER TABS & CARDS (गॅलरी)
   ========================================================= */
.gallery-filter-btn {
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    transition: all 0.2s ease;
    cursor: pointer;
}

.gallery-filter-btn:hover {
    border-color: #e65100;
    color: #e65100;
    background: #fff7ed;
}

.gallery-filter-btn.active {
    background: #e65100;
    border-color: #e65100;
    color: #fff;
    box-shadow: 0 4px 10px rgba(230, 81, 0, 0.35);
}

.gallery-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-meta-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 6px;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
    background: rgba(18, 18, 18, 0.96);
    border: none;
    border-radius: 16px;
}

/* =========================================================
   ACTIVITIES CARDS (उपक्रम)
   ========================================================= */
.activity-card {
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(230, 81, 0, 0.14) !important;
    border-color: rgba(230, 81, 0, 0.35);
}

.activity-icon-box {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-card:hover .activity-icon-box {
    transform: scale(1.08);
}

/* =========================================================
   UPCOMING SAMMELAN BANNER
   ========================================================= */
.upcoming-sammelan-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #2a170e 100%);
    color: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(230, 81, 0, 0.32);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}


.upcoming-sammelan-banner::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(230, 81, 0, 0.18) 0%, rgba(242, 101, 34, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
