/* --- Refactored Utility & Component Classes --- */
:root {
    --brand-primary: #9D2300;
    --brand-secondary: #C23812;
    --bg-light-gray: #f2f2f2;
    --bg-lighter-gray: #f4f4f4;
    --bg-warm: #fffdf9;
    --bg-yellow-light: #fdf9e6;
    --bg-gray-footer: #e8e8e8;
    --border-gray: #d0d0d0;
    --text-heading-color: #0F172A;
    --text-para-color: #475569;

    --brand-primary-light: #f6e9e6;
}





/* Font Size Utilities */
.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

/* Spacing & Line Height */
.ls-05 {
    letter-spacing: 0.5px !important;
}

.lh-15 {
    line-height: 1.5 !important;
}


.navbar-toggler-icon-custom,
.custom-toggler-icon {
    width: 19px;
    height: 19px;
}

.bg-lightgray {
    background-color: #E6E5E3;
}

.bg-lightgray-2 {
    background-color: #F4F3F1;
}

.bg-life-section {
    background-color: #F4F3F1;
}

.bg-lightyellow {
    background-color: #FDF9E6;
}

.bg-gray-card {
    background-color: #f2f2f2;
}

.text-theme-orange {
    color: var(--brand-primary);
    text-decoration: none;
}

.text-theme-brown {
    color: #934600;
}

.text-gray-666 {
    color: #666;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-05 {
    letter-spacing: 0.5px;
}

.lh-15 {
    line-height: 1.5;
}


.max-w-800 {
    max-width: 800px;
}

.card-number-icon {
    width: 32px;
    height: 32px;
    background-color: #FFDBD2;
    color: var(--brand-primary);
}

.border-gray {
    border-color: #d0d0d0;
}



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

body {
    background-color: #fffdf9;
    font-family: Plus Jakarta Sans;
}

p {
    color: var(--text-para-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--brand-secondary);
    color: white;
    padding: 3px 0;
    font-size: 14px;
    height: 32px;
}

.top-bar-content {
    display: flex;
    /* align-items: center; */
    height: 24px;
}

.latest-update {
    background-color: #f1b315;
    /* Yellow badge */
    color: var(--text-heading-color);
    font-weight: 500;
    padding: 3px 12px;
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 13px;
}

.latest-update .dot {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-links a {
    color: white;
    text-decoration: none;
}




/* --- Main Header --- */
.main-header {
    padding: 8px 0;
}

.main-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-section .logo {
    width: 90px;
    height: auto;
    display: block;
}

/* Titles */
.title-section {
    flex-grow: 1;
    padding-left: 20px;
}

.title-hindi {
    color: var(--brand-primary);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 2px;
}

.title-english {
    color: var(--text-heading-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.subtitle {
    font-size: 9px;
    margin-bottom: 0;
}

/* Info right side */
.info-section {
    text-align: left;
    font-size: 13px;
    color: var(--text-para-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.info-label {
    min-width: 95px;
    /* Aligns the values */
    display: inline-block;
}

.info-value {
    color: var(--text-heading-color);
    font-weight: 700;
}

/* --- Main Navigation Bar --- */
.main-nav {
    background-color: var(--brand-secondary);
    color: white;
    min-height: 45px;
}

.nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    margin-top: 6px;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .main-nav {
        min-height: 45px;
        display: flex;
        align-items: center;
    }

    .nav-links {
        height: auto;
        gap: 12px;
        align-items: center;
    }

    .nav-links a {
        font-size: 13px;
        line-height: normal;
        white-space: nowrap;
    }

    .fee-payment-btn {
        height: 36px;
        line-height: 36px;
        padding: 0 12px;
        font-size: 11.5px;
        white-space: nowrap;
        border-radius: 4px;
    }

    .nav-mobile {
        display: none !important;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 14.5px;
    }

    .fee-payment-btn {
        height: 40px;
        line-height: 40px;
        padding: 0 16px;
        font-size: 12px;
    }
}



.nav-links {
    list-style: none;
    margin: 0;
}


.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: block;
}


.nav-links a:hover {
    text-decoration: none;
    color: #e6ae25;
}

.nav-links a:active {
    color: #e6ae25;
    background-color: transparent;
}

.fee-payment-btn {
    background-color: #e6ae25;
    color: var(--text-heading-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
}

/* --- Hero Section --- */
.hero {
    padding: 25px 0;
}

.hero-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Side: Text and Stats */
.hero-text-side {
    flex: 1;
}

.sanskrit-quote {
    color: var(--brand-primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .quote-diamond {
  color: #e6ae25;
  font-size: 18px;
} */

/* .quote-source {
  color: #888;
  font-weight: 400;
} */

.hero-headline {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading-color);
    margin-bottom: 30px;
}

.serif-italic-orange {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 80px;
}

.hero-subline {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.hero-para {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: var(--text-para-color);
    ;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}


.btn-primary {
    background-color: var(--brand-primary);
    color: white;
}

.btn:hover,
.btn-all-notices:hover,
.btn-primary-small:hover {
    background-color: var(--brand-secondary) !important;
}

.btn-download:hover {
    background-color: var(--brand-secondary);
    color: white;
}

.btn-secondary {
    background-color: #f2f2f2;
    color: var(--text-heading-color);
}

/* .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
} */

.stat-card {
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 8px 8px 8px 0;
    border-left: 3px solid transparent;
}

.stat-card h3 {
    color: var(--brand-primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-para-color);
    font-size: 12px;
    line-height: 1.4;
}

/* Right Side: Image and Overlay */
.hero-image-side {
    flex: 1;
    position: relative;
    padding-bottom: 30px;
}

.image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 40px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.location-badge {
    background-color: #e6ae25;
    color: var(--text-heading-color);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.image-overlay h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.image-overlay p {
    font-size: 12px;
    opacity: 0.9;
    color: white;
}

.admission-card {
    position: absolute;
    bottom: -40px;
    /* left: 80px; */
    background-color: #F9F5EE;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    z-index: 10;
    /* width: 400px; */
    height: 80px;
}

.icon-box {
    background-color: var(--brand-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admission-text h5 {
    color: var(--text-heading-color);
    font-size: 18px;
    margin-bottom: 3px;
    margin-top: 12px;
}

.admission-text p {
    color: var(--text-para-color);
    font-size: 13px;
}


/* --- Notices Section --- */
.notices-section {
    background-color: #f4f4f4;
    padding: 40px 0;
}

.notices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-subtitle {
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.dot-red {
    width: 6px;
    height: 6px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    display: inline-block;
}

.section-title {
    font-size: 28px;
    color: var(--text-heading-color);
    font-weight: 700;
}

.btn-all-notices {
    background-color: var(--brand-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.notices-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Notice Cards */
.notices-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.notices-list::-webkit-scrollbar {
    width: 6px;
}

.notices-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.notices-list::-webkit-scrollbar-thumb {
    background: var(--brand-secondary);
    border-radius: 4px;
}

.notices-list::-webkit-scrollbar-thumb:hover {
    background: var(--brand-secondary);
}

.notice-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* .notice-highlight {
    background-color: #fff9f9;
} */

.notice-date,
.notice-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #FDF6E2;
    border-radius: 8px;
    flex-shrink: 0;
}

.notice-date .day {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
}

.notice-date .month {
    font-size: 11px;
    color: var(--brand-primary);
    font-weight: 600;
    margin-top: 2px;
}



.notice-card:nth-child(3) .notice-icon {
    background-color: #FFDBD2;
}

.notice-content {
    flex: 1;
}

.badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-admission {
    background-color: #E6A12233;
    color: var(--brand-primary);
}

.notice-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading-color);
    margin-bottom: 5px;
}

.notice-desc {
    font-size: 13px;
    color: var(--text-para-color);
    ;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #f2f2f2;
    color: var(--text-heading-color);
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.btn-primary-small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--brand-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.action-group {
    display: flex;
    gap: 10px;
}

/* Sidebar */
.notices-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 18px;
    color: var(--text-heading-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs-list {
    list-style: none;
    padding: 0;
}

.docs-list li {
    margin-bottom: 15px;
    padding: 0;
}

.docs-list li:last-child {
    margin-bottom: 0;
}

.docs-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-heading-color);
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
    background-color: #fafafa;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.docs-list a:hover {
    border-color: #e6ae25;
}

.doc-icon {
    margin-right: 10px;
}

.arrow {
    color: #475569;
}

.helpline-box,
.helpline-box p {
    background-color: var(--brand-primary);
    color: white;
}

.helpline-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.helpline-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.helpline-desc {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 25px;
}

.helpline-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.helpline-time {
    font-size: 12px;
    opacity: 0.9;
}

.btn-call-now {
    background-color: white;
    color: var(--brand-primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.btn-call-now:hover {
    background-color: #FFDBD2;
}

/* Marquee adjust */
.marquee-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee-text a {
    margin: 0 50px;
    display: inline-block;
    animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- About Section --- */
.about-section {
    min-height: 686.875px;
    margin: 0 auto;
    opacity: 1;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 30px;
    align-items: center;
    column-gap: 40px;
    row-gap: 40px;
    width: 100%;
}

/* Left Side: Images */
.about-images {
    display: flex;
    gap: 16px;
    grid-column: 1 / span 5;
    /* grid-row: 1 / span 1;
    width: 100%;
    min-height: 394px; */
    align-items: center;
}

.image-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mt-40 {
    margin-top: 40px;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-img,
.secondary-img {
    height: 256px;
}


.info-box {
    padding: 20px;
    border-radius: 12px;
}

.box-yellow {
    background-color: #FDF6E2;
}

.box-grey {
    background-color: #E9E8E6;
}

.info-box h4 {
    color: var(--brand-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}


/* Right Side: Text */
.about-text {
    padding-left: 20px;
    grid-column: 6 / span 7;
    /* grid-row: 1 / span 1;
    width: 100%;
    min-height: 506px; */
}

.text-align-just {
    text-align: justify;
}

.about-title {
    font-size: 40px;
    color: var(--text-heading-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.about-desc {
    font-size: 15px;
    color: var(--text-para-color);
    ;
    line-height: 1.6;
    margin-bottom: 20px;
}



.feature-box {
    background-color: #F4F3F1;
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.feature-download-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background-color: #FFEADA;
    color: var(--brand-primary);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.feature-download-btn:hover {
    background-color: #F6D0BC;
    color: var(--brand-primary);
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading-color);
    margin-bottom: 8px;
}


@media (max-width: 600px) {
    .about-images {
        /* flex-direction: column; */
        grid-column: 1 / span 3;
        min-height: 350px;
    }

    .mt-40 {
        margin-top: 0;
    }

}

/* --- Leadership Section --- */
.leadership-section {
    padding: 40px 0;
    background-color: #F4F3F1;
}

.leadership-header {
    margin-bottom: 50px;
}

.leadership-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-heading-color);
    margin-bottom: 15px;
}

.text-orange {
    color: var(--brand-primary);
}

.leadership-subtitle {
    line-height: 1.5;
    margin: 0 auto;
}

/* Leader Cards */
.leader-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 50px;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.row-reverse {
    flex-direction: row;
}

.leader-image-box {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.leader-img {
    width: 384px;
    height: 400px;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.leader-text-box {
    flex: 2;
}

.leader-name {
    color: var(--brand-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leader-quote {
    font-size: 17px;
    font-style: italic;
    color: var(--text-heading-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.leader-para {
    color: var(--text-para-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.leader-para:last-child {
    margin-bottom: 0;
}

/* --- Vision Section --- */

.vision-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--text-heading-color);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.vision-desc {
    /* font-size: 17px; */
    color: var(--text-para-color);
    line-height: 1.9;
    max-width: 1050px;
    margin: 0 auto 60px;
}

.vision-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.v-badge {
    background-color: #f6e9e6;
    color: var(--text-heading-color);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LIFE AT THE GURUKULAM */

.cards {
    transition: transform 0.4s ease;
}

.cards:hover {
    transform: scale(1.05);
}

/* --- Environment Section --- */
.environment-section {
    padding: 40px 0;
}

.env-header {
    margin-bottom: 50px;
}

.env-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--text-heading-color);
    margin-bottom: 15px;
}

.env-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #eee;
}

.card-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.badge-red {
    background-color: #9D23001A;
    color: var(--brand-primary);
}

.badge-yellow {
    background-color: #E6A12233;
    color: #663500;
}

.card-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-heading-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-desc {
    font-size: 15px;
    color: var(--text-para-color);
    line-height: 1.6;
    margin-bottom: 25px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-para-color);
    margin-bottom: 12px;
}

.check-icon {
    color: var(--brand-primary);
    font-weight: bold;
}



/* Sister Institutions Hover Effect */
.sister-institution-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

.sister-institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Footer Links Hover */
.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-primary) !important;
}






/* .card-number-badge {
  width: 32px;
  height: 32px;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
} */
/* .sister-institutions-wrapper {
  padding-bottom: 6rem;
} */

/* Background Utilities */
/* .bg-light-gray {
  background-color: var(--bg-light-gray) !important;
}
.bg-lighter-gray {
  background-color: var(--bg-lighter-gray) !important;
}
.bg-warm {
  background-color: var(--bg-warm) !important;
}
.bg-yellow-light {
  background-color: var(--bg-yellow-light) !important;
}
.bg-gray-footer {
  background-color: var(--bg-gray-footer) !important;
} */

/* Border Utilities */
/* .border-custom-gray {
  border-color: var(--border-gray) !important;
} */

/* Component Specific */


/* .section-intro-text {
  max-width: 800px;
  font-size: 15px;
} */

/* Typography Utilities */
/* .font-roboto {
    font-family: var(--font-roboto) !important;
}

.text-brand {
  color: var(--brand-primary) !important;
}
.text-brand-secondary {
  color: var(--brand-secondary) !important;
}
.text-muted-dark {
  color: var(--text-muted-dark) !important;
} */

/* Custom Classes for about.html */
.bg-brand-primary {
    background-color: var(--brand-primary);
}

.heading-text {
    color: var(--text-heading-color);
}

.text-brand-secondary {
    color: var(--brand-secondary);
}

.fw-semibold {
    font-weight: 600;
}

.para-text {
    color: var(--text-para-color);
}

.vision-img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    max-width: 384px;
}

/* Contact Us Section Classes */
.contact-icon-box {
    width: 40px;
    height: 40px;
}

.bg-brand-primary-light {
    background-color: var(--brand-primary-light);
}

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

/* News & Announcements Classes */
.bg-light-f8f9fa {
    background-color: #F8F9FA !important;
}

.bg-orange-c84b20 {
    background-color: #C84B20 !important;
}

.bg-yellow-border {
    background-color: #FFF8E1 !important;
    border: 1px solid #FFECB3 !important;
}

.bg-gray-eaeaea {
    background-color: #EAEAEA !important;
}

.bg-warm-fdf6e8 {
    background-color: #FDF6E8 !important;
}

.form-control-custom {
    border-radius: 6px !important;
    color: #6c757d !important;
    font-size: 14px !important;
}

.form-select-custom {
    border-radius: 6px !important;
    color: #3C4043 !important;
    font-size: 14px !important;
}


/* Alumni classe */

.alumni-card-img {
    position: relative;
    width: 120px;
    height: 140px;
}


/* Alumni Search Section */
.bg-alumni-search {
    background-color: var(--bg-light-gray);
}

.alumni-search-container {
    background-color: #fff;
    padding: 6px 12px;
}

.alumni-search-input {
    color: var(--text-heading-color);
    font-size: 15px;
}

.alumni-search-input::placeholder {
    color: #9CA3AF;
}

.btn-alumni-search {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-alumni-search:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

.alumni-filter-label {
    font-size: 13px;
    color: var(--text-para-color);
    font-weight: 600;
}

.alumni-filter-select {
    color: var(--text-heading-color);
    font-weight: 500;
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234B5563' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 10px;
    /* overflow: hidden; */
}

/* Alumni Directory Card Classes */
.alumni-dir-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alumni-dir-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.badge-category-brown {
    background-color: var(--brand-primary);
    color: white;
    transform: translateY(-8px);
}

.alumni-btn-view {
    background-color: #EFEEEC;
    color: var(--brand-primary);
    border: none;
    transition: background-color 0.3s ease;
}

.alumni-btn-view:hover {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
}

.alumni-load-btn {
    background-color: #E9E8E6;
    color: var(--text-heading-color);
    border: none;
    transition: background-color 0.3s ease;
}

.alumni-load-btn:hover {
    background-color: #dcdcdc;
}

.text-xs-bold {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Alumni Engagement Pillars Classes */
.bg-alumni-engagement {
    background-color: #F9F5EE;
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
}

.btn-pillar-membership {
    background-color: var(--brand-primary);
    color: white;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

.btn-pillar-membership:hover {
    color: white;
    opacity: 0.9;
}

.btn-pillar-mentorship {
    background-color: #e8e8e8;
    color: #4B5563;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-pillar-mentorship:hover {
    background-color: #d1d1d1;
    color: #4B5563;
}

.btn-pillar-endowment {
    background-color: #dd9e24;
    color: white;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

.btn-pillar-endowment:hover {
    color: white;
    background-color: #dea22a;
    opacity: 0.9;
}


/* Executive Patronage Classes */
.patron-card-img {
    width: 100%;
    max-width: 200px;
    /* Constrains image from getting too large on mobile */
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .patron-card-img {
        width: 180px;
        height: 100%;
        min-height: 220px;
        aspect-ratio: auto;
    }
}

/* Executive Directorate Classes */
.director-card-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.sub-director-card-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

/* @media (max-width: 767.98px) {
    .director-card-img {
        width: 100px;
        height: 100px;
    }
} */

/* Faculty Roster Classes */

.faculty-filter-btn {
    border: none;
    background-color: #ffffff;
    color: var(--text-para-color);
    padding: 8px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.faculty-filter-btn.active {
    background-color: #C3332A;
    color: white;
}

.faculty-card-img {
    width: 100%;
    /* height: 220px; */
    object-fit: cover;
    border-radius: 12px;
}

.badge-experience {
    background-color: #e59c24;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.badge-subject {
    background-color: rgba(255, 255, 255, 0.95);
    color: #a44a1b;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}


/* --- Acharya Parishad Section --- */

/* Top Bar & Breadcrumb */
.ap-top-bar {
    background-color: var(--bg-light-gray);
    padding: 12px 0;
    font-size: 14px;
    color: #555;
}

.breadcrumb-text {
    color: #666;
    text-decoration: none;
}

.breadcrumb-text:hover {
    color: #d14924;
}

.breadcrumb-active {
    color: #d14924;
    font-weight: 500;
}

.faculty-badge {
    font-size: 12px;
    font-weight: 600;
    background-color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    color: #b54016;
    border: 1px solid #e1d3c3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faculty-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #27ae60;
    border-radius: 50%;
}

.faculty-id {
    font-family: monospace;
    font-size: 14px;
    color: #777;
}



/* Left Column Image */
.image-wrapper-card {
    background: #eedcca;
    border-radius: 16px;
    padding: 16px;
    position: relative;
}

.profile-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.floating-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(246, 240, 233, 0.95);
    backdrop-filter: blur(5px);
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.floating-badge h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.floating-badge p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.om-icon {
    color: #d14924;
    font-size: 18px;
}

.availability-badge {
    background: #f4f8f5;
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.availability-dot {
    width: 10px;
    height: 10px;
    background-color: #2e7d32;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.campus-location {
    color: #777;
    font-weight: 400;
    font-size: 14px;
}

.info-tag {
    background: #FDF6E2CC;
    color: #555;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-tag i {
    color: #b54016;
}

/* Buttons row */

.btn-yellow {
    background-color: #fdf5e6;
    color: #9e6417;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #f0dec5;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-yellow:hover {
    background-color: #faebd2;
}

/* Responsive */
/* @media (max-width: 991px) {
    .profile-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
} */

/* --- Gallery Modal & Hover Effects --- */
.gallery-modal-close {
    top: -20px;
    right: -20px;
    z-index: 1055;
}

.gallery-modal-img {
    max-height: 85vh;
    object-fit: contain;
}

.media-gallery-img {
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.media-gallery-img:hover {
    opacity: 0.85;
}

@media (max-width: 576px) {
    .media-gallery-img {
        height: 150px;
    }
}

/* Acharya Details Nav Pills */
.acharya-nav-pills .nav-link {
    background-color: #f1f1f1 !important;
    color: #333 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.acharya-nav-pills .nav-link.active {
    background-color: var(--brand-primary) !important;
    /* Theme orange */
    color: #fff !important;
}

/* Timeline */
.parampara-dot {
    position: absolute;
    background-color: var(--brand-primary);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    left: -24px;
    top: 6px;
}

/* Photo Gallery Year Cards */
.gallery-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.gallery-year-banner {
    background-color: #ed5627;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    transition: background-color 0.3s ease;
}

.gallery-card:hover .gallery-year-banner {
    background-color: #d1491f;
    color: #fff;
}

/* Acharya Parishad & Section Subtitle Utilities */

.profile-img-lg {
    min-height: 450px;
    background-color: #ccc;
    object-fit: cover;
}

.shastrartha-thumb {
    min-height: 110px;
    /* background-color: #ccc; */
    object-fit: cover;
}

/* --- Entrance Sample Papers Hero Section --- */
.bg-sample {
    background: url('../images/bg-sample.png') center/cover no-repeat;
    padding: 70px 0;
    position: relative;
}

/* .sample-hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.25;
} */

/* .sample-hero-desc {
    max-width: 820px;
    margin: 0 auto 32px auto;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
} */

.sample-feature-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sample-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* .sample-icon-pdf {
    color: #dc2626;
    font-size: 18px;
} */

/* .sample-icon-calendar {
    color: #059669;
    font-size: 18px;
}

.sample-icon-info {
    color: #ea580c;
    font-size: 18px;
} */

/* --- Download Papers by Grade Section --- */

.sample-paper-card {
    background: #ffffff;
    border: 1px solid #f0eae1;
    border-radius: 18px;
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sample-paper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.1);
}

.sample-card-icon-box {
    width: 66px;
    height: 74px;
    margin: 0 auto 18px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.sample-card-icon-box i {
    color: #ea580c;
    font-size: 24px;
}

.sample-card-icon-box span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #9a3412;
}

.sample-card-heading {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

/* @media (max-width: 768px) {
    .sample-grade-title {
        font-size: 24px;
    }
} */

/* --- Responsive Breakpoints --- */
@media (max-width: 991.98px) {
    .main-header {
        display: none !important;
    }

    .main-nav {
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        color: #333333 !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        transition: transform 0.2s ease, background-image 0.2s ease;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon,
    .navbar-toggler:not(.collapsed)[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333333'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
        transform: rotate(90deg);
    }

    .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        z-index: 1050;
        padding: 0 15px 15px 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .hero-content {
        flex-direction: column-reverse;
        gap: 0;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .nav-links {
        padding: 10px 0;
        gap: 15px;
    }

    .fee-payment-btn {
        padding: 8px 15px;
        border-radius: 4px;
    }

    .admission-card {
        position: relative;
        bottom: 40px;
    }

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

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .leader-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 20px;
        padding: 30px;

    }

    .about-section {
        min-height: auto;
    }

    .about-text {
        padding-left: 0;
        grid-column: 4 / span 5;
        min-height: 450px;
    }

    .row-reverse {
        flex-direction: column-reverse;
    }

}

@media (max-width: 768px) {
    .text-align-just {
        text-align: left;
    }

    .main-header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;

    }

    .title-section {
        padding-left: 0;
    }

    .info-section {
        align-items: center;
    }

    .serif-italic-orange {
        font-size: 60px;
    }

    .hero-headline {
        font-size: 24px;
    }

    .env-card {
        padding: 30px 20px;
    }

    .vision-title,
    .env-title,
    .about-title,
    .section-title,
    .leadership-title,
    .sample-grade-title,
    .sample-hero-title {
        font-size: 24px;
    }

    .info-label {
        min-width: auto;
    }

    .top-bar {
        height: auto;
        padding: 8px 0;
    }

    .top-bar-content {
        height: auto;
        align-items: center;
        gap: 8px;
    }

    .top-links {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .latest-update {
        margin-right: 0;
    }

    .bg-sample {
        padding: 45px 0;
    }

    .sample-hero-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .sample-breadcrumb-pill {
        font-size: 12px;
        padding: 5px 14px;
        gap: 6px;
    }

    .sample-feature-card {
        font-size: 13px;
        padding: 8px 14px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 10px 0;
    }

    .title-hindi {
        font-size: 22px;
    }

    .title-english {
        font-size: 18px;
    }

    .serif-italic-orange {
        font-size: 45px;
    }

    .hero-headline {
        font-size: 20px;
    }

    .hero-actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1;
        padding: 10px 5px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
        justify-content: center;
        line-height: 1.2;
    }

    .notice-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 15px;
        align-items: center;
    }

    .notice-content {
        display: contents;
    }

    .notice-date {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .notice-title {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        margin-top: 5px;
    }

    .notice-desc {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .notice-action {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .action-group {
        width: 100%;
    }

    .btn-download {
        justify-content: center;
        width: 100%;
    }

    .leader-img {
        width: 100%;
        height: auto;
    }

    .leader-name {
        flex-direction: column;
        gap: 5px;
        font-size: 20px;
    }

    .card-title {
        font-size: 20px;
    }

    .about-img {
        height: auto;
    }

    .about-images {
        gap: 12px;
    }

    h1 {
        font-size: 32px;
    }

    p {
        font-size: 15px;
    }

    .about-text {
        min-height: 300px;
    }

    .life-section .card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0 15px;
        align-items: start;
    }

    .life-section .card-number {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        margin-bottom: 0 !important;
    }

    .life-section .card h5 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-bottom: 5px !important;
        margin-top: 5px;
    }

    .life-section .card p {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .sister-institution-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0 15px;
        align-items: start;
    }

    .sister-institution-card>div:first-child {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        margin-bottom: 0 !important;
    }

    .sister-institution-card h5 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-bottom: 5px !important;
        margin-top: 2px;
    }

    .sister-institution-card p {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .sister-institution-card a {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
        margin-top: 10px !important;
    }
}