:root {
    --red: #d0161e;
    --red-hover: #a50f16;
    --dark: #1b1f2e;
    --soft: #f9f5f4;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #444;
    background: #fff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.serif {
    font-family: 'Source Serif 4', Georgia, serif;
    color: var(--dark);
}

.text-red {
    color: var(--red) !important;
}

.bg-red {
    background: var(--red) !important;
}

/* Buttons */
.btn-red {
    background: var(--red);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--red-hover);
    padding: 8px 24px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.btn-red:hover {
    background: var(--red-hover);
    border-color: #8c0c12;
    color: #fff !important;
}

.btn-dark2 {
    background: var(--dark);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    border: 2px solid var(--dark);
    padding: 8px 22px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.btn-dark2:hover {
    background: #000;
    border-color: #000;
    color: #fff !important;
}

.btn-outline2 {
    background: #fff;
    color: var(--dark) !important;
    font-weight: 600;
    font-size: 13px;
    border: 2px solid var(--dark);
    padding: 8px 22px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.btn-outline2:hover {
    background: var(--dark);
    color: #fff !important;
}

/* Eyebrow Label */
.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 10px;
    display: inline-block;
}

/* Topbar */
.topbar {
    background: var(--soft);
    font-size: 12px;
    color: #777;
    border-bottom: 1px solid #f0eae8;
    padding: 7px 0;
}

.topbar a {
    color: #666;
    transition: color 0.2s;
}

.topbar a:hover {
    color: var(--red);
}

/* Header & Navbar */
/* Header & Navbar */
.nav-card {
    background: #fff;
    border: 0;
    border-radius: 0;
    padding: 16px 0;                          /* header andar se bada */
    box-shadow: 0 6px 22px rgba(0, 0, 0, .10); /* thora gehra shadow */
}

.nav-full {
    width: 100%;
    margin: 22px 0 22px;   /* upar 16px, neeche 26px gap */
}
.nav-card .nav-link {
    color: var(--dark);
    font-weight: 400;
    font-size: 16px;
    padding: 0.5rem 0.9rem;
    transition: color 0.2s;
}

.nav-card .nav-link:hover,
.nav-card .nav-link.active {
    color: var(--red);
}

.nav-card .dropdown-toggle::after {
    color: var(--red);
    border-top-color: var(--red);
    vertical-align: 0.15em;
    margin-left: 0.35em;
    border-top-width: 0.35em;
    border-right-width: 0.3em;
    border-left-width: 0.3em;
}

.dropdown-menu {
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    font-size: 13px;
    padding: 0.4rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.2rem;
    color: var(--dark);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--soft);
    color: var(--red);
}

/* Hero Section */
/*.hero {*/
/*    position: relative;*/
/*    min-height: 490px;*/
/*    color: #fff;*/
/*    border-bottom: 3px solid var(--red);*/
/*    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),*/
/*                url('../images/convocation-hero.png') center/cover no-repeat #3a3a2a;*/
/*    border-radius: 0px;*/
/*    overflow: hidden;*/
/*    padding-top: 85px;*/
/*    padding-bottom: 110px;*/
/*}*/
/*.hero h1 {*/
/*    font-family: Georgia, 'Times New Roman', serif;   !* same look as pic 2 *!*/
/*    font-size: clamp(2.8rem, 7.5vw, 5rem);            !* large like pic 2 *!*/
/*    font-weight: 400;*/
/*    color: #fff;*/
/*    margin-bottom: 0.4rem;*/
/*    letter-spacing: 0;*/
/*    line-height: 1.1;*/
/*    white-space: nowrap;                              !* keeps it on one line *!*/
/*}*/

/*.hero h2 {*/
/*    font-family: Arial, 'Helvetica Neue', sans-serif;*/
/*    font-weight: 700;*/
/*    font-size: clamp(1.6rem, 4vw, 2.7rem);*/
/*    color: #fff;*/
/*    margin-bottom: 1.5rem;*/
/*    letter-spacing: 0;*/
/*    line-height: 1.2;*/
/*}*/

/*.hero .btn-red,*/
/*.hero .btn-outline-light {*/
/*    font-size: 12px;*/
/*    padding: 8px 22px;*/
/*}*/

/*.hero .btn-outline-light {*/
/*    background: rgba(0, 0, 0, 0.25);*/
/*    border: 1.5px solid rgba(255, 255, 255, 0.85);*/
/*    color: #fff;*/
/*    font-weight: 600;*/
/*    font-size: 13px;*/
/*    padding: 10px 26px;*/
/*    border-radius: 5px;*/
/*    transition: all 0.2s ease-in-out;*/
/*}*/

/*.hero .btn-outline-light:hover {*/
/*    background: rgba(255, 255, 255, 0.2);*/
/*    border-color: #fff;*/
/*    color: #fff;*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .hero {*/
/*        min-height: 380px;*/
/*        margin-left: 0.75rem !important;*/
/*        margin-right: 0.75rem !important;*/
/*        padding-top: 50px;*/
/*        padding-bottom: 90px;*/
/*    }*/
/*    .hero h1 {*/
/*        font-size: 2.2rem;*/
/*    }*/
/*    .hero h2 {*/
/*        font-size: 1.5rem;*/
/*    }*/
/*}*/

/* ===== Hero + Stats (replace your old .hero, .hero h1, .hero h2, mobile hero rules and .stats blocks with this) ===== */

/* Centered frame like the design */
.hero-wrap {
    width: 100%;
    max-width: none;        /* full width */
    margin: 0;
    padding: 0;             /* edge to edge, like container-fluid */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 440px;
    color: #fff;
    border-bottom: 3px solid var(--red);
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
    url('../images/convocation-hero.png') center/cover no-repeat #3a3a2a;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    padding-top: 50px;
    padding-bottom: 150px;   /* space for the stats card, total height unchanged */
}

.hero .container {
    padding-bottom: 0 !important;
}

.hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.4rem;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
    animation: heroSlideRight 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero h2 {
    font-family: Arial, 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    line-height: 1.2;
    animation: heroSlideLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroSlideRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero .btn-red,
.hero .btn-outline-light {
    font-size: 12px;
    padding: 8px 22px;
}

.hero .btn-outline-light {
    background: rgba(0, 0, 0, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 26px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

.hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

.stats-wrap {
    width: 100%;
    margin: -60px auto 0;
    position: relative;
    z-index: 5;
}

.stats {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .10);
    padding: 22px 10px;
}

/* dividers between items (desktop) */
.stats > div + div {
    border-left: 1px solid #eee;
}

.stats .num {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stats .lbl {
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-wrap {
        width: 100%;
        margin-top: -135px;
    }
    /* 2-per-row grid: divider only on 2nd and 4th items */
    .stats > div:nth-child(odd) {
        border-left: 0;
    }
    .stats > div:nth-child(n+3) {
        border-top: 1px solid #eee;
    }
}
/* Stats */
.stats {
    margin-top: -30px;
    position: relative;
    z-index: 5;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .10);
    padding: 26px 15px;
}

.stats .col-6 + .col-6,
.stats .col-md-3 + .col-md-3 {
    border-left: 1px solid #eee;
}

.stats .num {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.15rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stats .lbl {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
}

/* About Section */
.about-p {
    font-size: 13.5px;
    line-height: 1.8;
    color: #666;
}

/* Date/Time/Venue info-card */
.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px 22px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-card small {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-card h5 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    font-size: 1.15rem;
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.timeline .col {
    position: relative;
    z-index: 2;
}

.timeline .dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--red);
    background: #fff;
    margin: 0 auto 14px;
    position: relative;
    z-index: 3;
}

.timeline .dot.last {
    box-shadow: 0 0 0 4px rgba(208, 22, 30, .15);
}

.timeline-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--dark);
    margin-bottom: 3px;
}

.timeline-sub {
    font-size: 12px;
    color: #888;
}

@media (max-width: 768px) {
    .timeline::before {
        display: none;
    }
    .timeline .col {
        margin-bottom: 24px;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Notice Box */
.notice {
    background: var(--soft);
    border: 1px solid #e3b4b6;
    border-left: 4px solid var(--red);
    border-radius: 6px;
    padding: 24px 28px;
    text-align: left;
}

.notice h5 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.notice p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.notice p:last-child {
    margin-bottom: 0;
}

.schedule-disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 16px;
}

/* Guest Cards */
.guest-card {
    background: #fff;
    border-radius: 8px;
    padding: 22px 26px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.guest-card small {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.guest-card h5 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.guest-card p {
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
    line-height: 1.5;
}

.guests-disclaimer {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin-top: 24px;
    margin-bottom: 0;
}

/* FAQs Accordion */
.accordion-item {
    border: 0;
    border-bottom: 1px solid #e8e8e8;
    background: transparent;
}

.accordion-button {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    padding: 16px 0;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button::after,
.accordion-button.collapsed::after {
    background-image: none !important;
    content: '−' !important;
    color: var(--red);
    transform: none !important;
    width: auto;
    height: auto;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.accordion-body {
    padding: 0 0 16px 0;
    font-size: 13.5px;
    color: #777;
    line-height: 1.7;
}

/* Help Box */
.help-box {
    background: var(--soft);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 26px 32px;
}

.help-box h5 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.help-box p {
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--soft);
    font-size: 13px;
    border-top: 1px solid #eee;
    padding-top: 56px;
    padding-bottom: 24px;
}

footer h6 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
}

footer p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--red);
}

.footer-list {
    line-height: 2.1;
    margin-bottom: 0;
}

.copyright-text {
    font-size: 12px;
    color: #999;
    margin-top: 40px;
    padding-bottom: 8px;
    margin-bottom: 0;
    text-align: center;
}

/* ========================================================
   Inner Pages Styling (Frontendnew Theme)
   ======================================================== */

/* Page Banner */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(27, 31, 46, 0.95), rgba(45, 20, 25, 0.92)),
                url('../images/convocation-hero.png') center/cover no-repeat #1b1f2e;
    color: #fff;
    border-bottom: 3px solid var(--red);
    padding: 50px 0 54px;
}

.page-banner .page-banner-title {
    font-size: 2.6rem;
    font-weight: 700;
}

/* Theme Tab Pills */
.theme-tab-pills {
    background: #f1eded;
    display: inline-flex;
    gap: 4px;
    padding: 5px;
}

.theme-tab-pills .nav-link {
    border: 0;
    background: transparent;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 26px;
    transition: all 0.2s ease-in-out;
}

.theme-tab-pills .nav-link:hover {
    color: var(--red);
}

.theme-tab-pills .nav-link.active {
    background: var(--red) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(208, 22, 30, 0.3);
}

/* Contact Cards */
.contact-info-card {
    background: #fff;
    border: 1px solid #f0eae8;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-icon-bubble {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2dede;
}

/* Notice Card */
.notice-card {
    background: var(--soft);
    border: 1px solid #ebd4d4;
    border-left: 4px solid var(--red) !important;
}

/* Medal Badges */
.medal-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.medal-badge.badge-gold {
    background: linear-gradient(135deg, #fff2b2, #f5d76e);
    color: #7d5900;
    border: 1px solid #e6c547;
    box-shadow: 0 2px 6px rgba(245, 215, 110, 0.4);
}

.medal-badge.badge-silver {
    background: linear-gradient(135deg, #f5f5f7, #dcdce1);
    color: #495057;
    border: 1px solid #ced4da;
    box-shadow: 0 2px 6px rgba(220, 220, 225, 0.4);
}

.medal-badge.badge-bronze {
    background: linear-gradient(135deg, #fbe3d2, #e8a87c);
    color: #633300;
    border: 1px solid #d48b59;
    box-shadow: 0 2px 6px rgba(232, 168, 124, 0.4);
}

/* DataTables Theme Enhancements */
.dataTables_wrapper {
    font-size: 13.5px;
    color: #444;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 16px;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(208, 22, 30, 0.15);
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 18px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 5px !important;
    padding: 5px 12px !important;
    font-size: 12.5px !important;
    border: 1px solid #e0e0e0 !important;
    background: #fff !important;
    color: var(--dark) !important;
    margin: 0 2px !important;
    transition: all 0.15s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--soft) !important;
    color: var(--red) !important;
    border-color: #dcd0ce !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--red) !important;
    color: #fff !important;
    border-color: var(--red) !important;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Glimpse Gallery */
.glimpse-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glimpse-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.glimpse-zoom {
    transition: transform 0.35s ease;
}

.glimpse-card:hover .glimpse-zoom {
    transform: scale(1.05);
}
