/* =========================================================
   MODERN CLASSICAL UI DESIGN SYSTEM - BRAOU DIGITAL
   ========================================================= */
:root {
    --primary: #1E4291;
    --primary-dark: #00184C;
    --primary-light: #2E4274;
    --secondary: #F59837;
    --secondary-light: #FFB60D;
    --secondary-dark: #DE903C;
    --accent: #1E4291;
    --accent-light: #EEF3FF;
    --accent-dark: #001C59;
    --light-bg: #F1F4F9;
    --cream-bg: #FAF5EB;
    --white: #ffffff;
    --text-main: #1F1F1F;
    --text-muted: #505050;
    --border-light: #D9D9D9;
    --border-gold: rgba(245, 152, 55, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(30, 66, 145, 0.12), 0 8px 10px -6px rgba(0, 24, 76, 0.06);
    --shadow-lg: 0 20px 35px -10px rgba(0, 24, 76, 0.2), 0 10px 15px -5px rgba(30, 66, 145, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* 100% Full-Width Layout Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--cream-bg);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

/* Full width override for content wrapper */
body div .content-wrapper,
.content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fluid Container Utility */
.container-fluid-custom {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   1. TOP ACCESSIBILITY BAR
   ========================================================= */
.topbar {
    background-color: #2E4274;
    color: #e2e8f0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1001;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 42px;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.topbar-info span {
    color: #ffffff;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.topbar-links a {
    color: #cbd5e1;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
}

.topbar-links a:hover {
    color: var(--secondary-light);
}

.font-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.font-btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* =========================================================
   2. UNIVERSITY HEADER
   ========================================================= */
.university-header {
    background-color: #2E4274;
    padding: 0;
    border-bottom: 2px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.header-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr) 240px;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.header-logo-left {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
}

.header-logo-img {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.header-naac-img {
    height: 115px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.university-title-container {
    text-align: center;
}

.university-title-container h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin-bottom: 4px;
    text-transform: none !important;
}

.university-title-container .telugu-title {
    font-family: 'Noto Sans Telugu', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 6px;
}

.digital-tagline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.digital-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(245, 152, 55, 0.22), rgba(0, 0, 0, 0.35));
    padding: 5px 18px;
    border-radius: 30px;
    border: 1px solid #F59837;
    box-shadow: 0 4px 12px rgba(245, 152, 55, 0.3);
}

.gold-star {
    color: #FFB60D;
    font-size: 0.85rem;
}

.digital-tagline .gold-brand {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    color: #FFB60D;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.digital-tagline .gold-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.digital-tagline .gold-sub {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.motto-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #F59837, #FFB60D);
    color: #00184C;
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245, 152, 55, 0.4);
}

.header-logo-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-digital-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.header-digital-logo {
    height: 52px;
    width: auto;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    object-fit: contain;
}

.header-tagline-badge {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(245, 152, 55, 0.35);
    white-space: nowrap;
}

/* =========================================================
   3. STICKY NAVIGATION
   ========================================================= */
.main-navbar {
    background: linear-gradient(135deg, #FAF5EB, #EEF3FF);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-between;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 16px 16px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--secondary-dark);
    background: rgba(245, 152, 55, 0.12);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    padding: 12px;
    cursor: pointer;
}

/* =========================================================
   4. HERO SECTION WITH INTEGRATED ENQUIRY FORM
   ========================================================= */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 24, 76, 0.94) 0%, rgba(30, 66, 145, 0.88) 50%, rgba(46, 66, 116, 0.80) 100%),
    url('../img/banner.jpg') center/cover no-repeat;
    padding: 25px 0 20px 0;
    color: #ffffff;
    width: 100%;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 152, 55, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: flex-start;
}

.hero-content {
    padding-right: 15px;
}

.hero-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(214, 155, 45, 0.3);
}

.hero-welcome-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: none;
}

.hero-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-welcome-text {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.hero-welcome-text strong {
    color: #ffffff;
}

.hero-highlight-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    background: rgba(0, 24, 76, 0.5);
    padding: 10px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
    font-size: 0.84rem;
    font-weight: 600;
    color: #FFDF8A;
    margin-top: 14px;
}

.hero-highlight-box .dot {
    color: rgba(255, 255, 255, 0.4);
}

.hero-journey-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: none;
}

.hero-journey-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-journey-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-classical {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-gold {
    background: linear-gradient(135deg, var(--secondary), #efb543);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(214, 155, 45, 0.35);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(214, 155, 45, 0.5);
    background: linear-gradient(135deg, #efb543, var(--secondary));
    color: var(--primary-dark);
}

.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Modern Classical Enquiry Form */
.enquiry-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 30px;
    color: var(--text-main);
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--secondary);
    border-left: 1px solid var(--border-gold);
    border-right: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.enquiry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
}

.enquiry-card .form-subheading {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group label .required {
    color: #dc2626;
    margin-left: 2px;
}

.form-control-custom {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    font-family: var(--font-body);
    color: var(--text-main);
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.25s ease;
}

.form-control-custom:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 66, 145, 0.15);
}

.form-control-custom.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fff8f8 !important;
}

.form-control-custom.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

/* jQuery-style Inline Field Error */
.field-error {
    display: block;
    color: #dc2626;
    font-size: 0.81rem;
    font-weight: 500;
    margin-top: 5px;
    line-height: 1.35;
    animation: fadeInError 0.2s ease-in;
}

.field-error i {
    margin-right: 4px;
    font-size: 0.82rem;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.radio-inline-group {
    display: flex;
    gap: 24px;
    padding-top: 4px;
}

.radio-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.radio-custom input[type="radio"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.conditional-box {
    display: none;
    padding: 16px;
    background: var(--light-bg);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.phone-input-wrapper select {
    width: 150px;
    flex-shrink: 0;
}

.phone-input-wrapper input {
    flex: 1;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-submit-enquiry {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #ffffff;
    padding: 13px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(214, 155, 45, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-enquiry:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 155, 45, 0.45);
}

.btn-submit-enquiry:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Alert Error Custom */
.alert-error-custom {
    display: none;
    margin-top: 15px;
    padding: 12px 16px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
}

.alert-error-custom i {
    margin-right: 6px;
}

/* Alert Success Custom with Reference Badge */
.alert-success-custom {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1.5px solid #86efac;
    color: #166534;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    animation: fadeInSuccess 0.4s ease-out;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.alert-success-custom .success-icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.3rem;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
}

.alert-success-custom .success-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #14532d;
    font-weight: 700;
    margin-bottom: 6px;
}

.alert-success-custom .success-desc {
    color: #166534;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.alert-success-custom .enquiry-ref-box {
    background: #ffffff;
    border: 1.5px dashed #22c55e;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin: 12px 0;
    display: inline-block;
}

.alert-success-custom .enquiry-ref-box span {
    display: block;
    font-size: 0.78rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.alert-success-custom .enquiry-ref-box strong {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 1.5px;
}

.alert-success-custom .success-note {
    font-size: 0.8rem;
    color: #374151;
    margin-top: 8px;
    line-height: 1.4;
}

/* =========================================================
   5. ANNOUNCEMENT TICKER BAR
   ========================================================= */
.announcement-section {
    background: linear-gradient(90deg, #FAF5EB, #EEF3FF);
    border-bottom: 1px solid var(--secondary);
    padding: 0;
}

.announcement-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 44px;
}

.announcement-badge {
    background: var(--secondary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 20px;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 2px 0 8px rgba(245, 152, 55, 0.3);
}

.announcement-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

/* =========================================================
   GENERAL SECTION HEADINGS & PADDING
   ========================================================= */
.section-padding {
    padding: 35px 0;
}

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

.bg-white-classical {
    background-color: var(--white);
}

.section-header-classical {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 25px;
}

.section-header-classical .subtitle {
    color: var(--secondary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.section-header-classical h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: clamp(1.5rem, 2.6vw, 2.0rem);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
    position: relative;
    display: inline-block;
}

.section-header-classical h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header-classical p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =========================================================
   6. ABOUT BRAOU DIGITAL SECTION
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.about-image-wrapper img {
    width: 100%;
    height: 525px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(5, 43, 74, 0.92);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary);
}

.about-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-light);
}

.about-badge span {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.about-text-content .section-header-classical h2 {
    white-space: nowrap;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

@media (max-width: 576px) {
    .about-text-content .section-header-classical h2 {
        white-space: normal;
    }
}

.about-text-content h3 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text-content p {
    color: #475569;
    font-size: 1.02rem;
    margin-bottom: 18px;
    line-height: 1.75;
}

.highlight-quote-box {
    margin-top: 25px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--cream-bg), var(--light-bg));
    border-left: 5px solid var(--secondary);
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}

/* =========================================================
   7. ONLINE PROGRAMMES
   ========================================================= */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.programme-card-classical {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.programme-card-classical:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.programme-card-top {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 24px;
    color: #ffffff;
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.programme-card-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
}

.programme-card-top h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.programme-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.programme-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.programme-card-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.programme-card-link:hover {
    color: var(--secondary-dark);
    gap: 10px;
}

/* Neat Apply Now Link / Button below Online Programmes */
.apply-now-neat-wrap {
    text-align: center;
    margin-top: 32px;
}

.btn-apply-neat {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--primary);
    padding: 8px 10px 8px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(30, 66, 145, 0.2);
    box-shadow: 0 4px 15px rgba(30, 66, 145, 0.07);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-apply-neat i.fa-graduation-cap {
    color: var(--secondary);
    font-size: 1.15rem;
}

.btn-apply-text {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.2px;
}

.btn-apply-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgb(55 147 245 / 30%);
    transition: all 0.25s ease;
}

.btn-apply-tag i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.btn-apply-neat:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 22px rgba(30, 66, 145, 0.14);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-apply-neat:hover .btn-apply-tag {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 4px 12px rgb(55 147 245 / 30%);
}

.btn-apply-neat:hover .btn-apply-tag i {
    transform: translateX(3px);
}

@media (max-width: 576px) {
    .btn-apply-neat {
        padding: 10px 16px;
        flex-direction: column;
        gap: 8px;
        border-radius: var(--radius-md);
        width: 100%;
        max-width: 320px;
    }

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

/* =========================================================
   8. BODHI LMS SECTION
   ========================================================= */
.bodhi-section {
    background: linear-gradient(135deg, #00184C 0%, #1E4291 60%, #2E4274 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.bodhi-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.bodhi-text-container .tag {
    color: var(--secondary-light);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.bodhi-text-container h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #ffffff;
    margin-bottom: 8px;
}

.bodhi-text-container h3 {
    color: #ffdf8a;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-style: italic;
}

.bodhi-text-container p {
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.feature-bullets-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin-bottom: 35px;
}

.feature-bullets-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    color: #f1f5f9;
}

.feature-bullets-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(214, 155, 45, 0.2);
    color: var(--secondary-light);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bodhi-action-panel {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.bodhi-action-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.bodhi-action-panel p {
    color: #94a3b8;
    font-size: 0.98rem;
    margin-bottom: 28px;
}

.bodhi-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* =========================================================
   9. DIGITAL ECOSYSTEM SECTION
   ========================================================= */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ecosystem-card-classical {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px 24px;
    border-bottom: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.ecosystem-card-classical:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent);
}

.ecosystem-card-classical .card-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary-dark);
    display: block;
    margin-bottom: 8px;
}

.ecosystem-card-classical h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.ecosystem-card-classical p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* =========================================================
   10. LEARNER SUPPORT SECTION
   ========================================================= */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.support-card-classical {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.support-card-classical:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.support-card-classical h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.support-card-classical p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* =========================================================
   11. QUICK ACCESS GATEWAY
   ========================================================= */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.quick-tile-classical {
    background: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.quick-tile-classical:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    text-decoration: none;
}

.quick-tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EEF3FF, #DDE8FD);
    color: var(--primary);
    border: 2px solid #D1E0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(30, 66, 145, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.quick-tile-icon img {
    max-width: 36px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
    transition: transform 0.3s ease;
}

.quick-tile-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.quick-tile-classical:hover .quick-tile-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(245, 152, 55, 0.3);
    transform: scale(1.1);
}

.quick-tile-classical:hover .quick-tile-icon img {
    transform: scale(1.08);
}

.quick-tile-classical h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
    width: 100%;
}

.quick-tile-classical p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* =========================================================
   12. IMPACT & STATISTICS SECTION
   ========================================================= */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 24, 76, 0.94), rgba(30, 66, 145, 0.94)),
    url('../img/banner.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 18px 0;
}

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

.stat-box {
    padding: 4px 10px;
}

.stat-box strong {
    font-family: var(--font-heading);
    display: block;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: var(--secondary-light);
    font-weight: 800;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.stat-box span {
    font-size: 0.92rem;
    color: #e2e8f0;
    font-weight: 500;
    line-height: 1.2;
    display: block;
}

/* =========================================================
   13. ADMISSIONS CALL TO ACTION
   ========================================================= */
.cta-section {
    background: linear-gradient(135deg, #FAF5EB, #EEF3FF);
    border-top: 1px solid var(--secondary);
    border-bottom: 1px solid var(--secondary);
    text-align: center;
    padding: 18px 0;
}

.cta-container {
    max-width: 1050px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cta-container h2 {
        white-space: normal;
    }
}

.cta-container p {
    color: var(--primary-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================================================
   14. CLASSICAL FOOTER
   ========================================================= */
.footer-classical {
    background: #00184C;
    color: #cbd5e1;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 3px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 20px;
    margin-bottom: 8px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}

.footer-brand h2 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.footer-brand .digital-sub {
    color: var(--secondary-light);
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.footer-col p,
.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 3px;
    color: #cbd5e1;
    word-break: break-word;
}

.footer-col p strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 2px;
    line-height: 1.3;
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--secondary-light);
}

/* =========================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================= */
@media (max-width: 1200px) {
    .programmes-grid,
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-grid,
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

@media (max-width: 992px) {
    .header-grid {
        grid-template-columns: 80px 1fr 80px;
    }

    .university-title-container h1 {
        font-size: 1.4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid,
    .bodhi-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav-toggle-btn {
        display: block;
        color: var(--primary);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: linear-gradient(180deg, #FAF5EB, #EEF3FF);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: var(--shadow-lg);
        border-bottom: 2px solid var(--secondary);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 14px 20px;
        border-top: 1px solid rgba(245, 152, 55, 0.2);
        color: var(--primary);
    }

    .digital-tagline {
        display: none;
    }

    .programmes-grid,
    .quick-grid,
    .ecosystem-grid,
    .support-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-bullets-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   15. PROGRAMME DETAILS VIEW & CKEDITOR RENDERED CONTENT
   ========================================================= */
.program-hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 24, 76, 0.94) 0%, rgba(30, 66, 145, 0.90) 50%, rgba(46, 66, 116, 0.85) 100%),
        url('../img/banner.jpg') center/cover no-repeat;
    padding: 16px 0;
    color: #ffffff;
    border-bottom: 3px solid var(--secondary);
    box-shadow: var(--shadow-md);
}

.program-hero-content {
    max-width: 1000px;
}

.breadcrumb-classical {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-classical a {
    color: #e2e8f0;
    font-weight: 500;
}

.breadcrumb-classical a:hover {
    color: var(--secondary-light);
}

.breadcrumb-sep {
    color: var(--secondary-light);
    font-weight: 700;
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: #FFB60D;
    font-weight: 600;
}

/* 2-Column Detail Layout: Menu on Left (320px), Content on Right (flexible) */
.program-detail-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.program-detail-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    border-top: 5px solid var(--secondary);
    box-shadow: var(--shadow-md);
    padding: 36px 40px;
}

.program-detail-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 28px;
}

.program-subtitle-tag {
    display: inline-block;
    color: var(--secondary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.program-heading-main {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* Rich CKEditor Rendered Content */
.editor-rendered-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-main);
    word-break: break-word;
}

.editor-rendered-content h1,
.editor-rendered-content h2,
.editor-rendered-content h3,
.editor-rendered-content h4,
.editor-rendered-content h5,
.editor-rendered-content h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-top: 1.8rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.editor-rendered-content h1 { font-size: 1.65rem; border-bottom: 2px solid var(--border-gold); padding-bottom: 8px; }
.editor-rendered-content h2 { font-size: 1.45rem; border-bottom: 1px solid var(--border-light); padding-bottom: 6px; }
.editor-rendered-content h3 { font-size: 1.28rem; color: var(--primary-light); }
.editor-rendered-content h4 { font-size: 1.15rem; }

.editor-rendered-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #334155;
}

.editor-rendered-content ul,
.editor-rendered-content ol {
    margin: 1rem 0 1.5rem 1.8rem;
    padding-left: 0.5rem;
}

.editor-rendered-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: #334155;
}

.editor-rendered-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.editor-rendered-content th {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 13px 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.editor-rendered-content td {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    font-size: 0.93rem;
    color: #334155;
}

.editor-rendered-content tr:nth-child(even) {
    background-color: #f8fafc;
}

.editor-rendered-content tr:hover {
    background-color: #f1f5f9;
}

.editor-rendered-content blockquote {
    border-left: 5px solid var(--secondary);
    background: linear-gradient(135deg, var(--cream-bg), #fff);
    padding: 18px 24px;
    margin: 1.8rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--primary-dark);
}

.editor-rendered-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.editor-rendered-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.editor-rendered-content a:hover {
    color: var(--secondary-dark);
}

/* Fallback box when description is empty */
.no-content-box {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border-light);
    color: var(--text-muted);
}

.no-content-box h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.no-content-box p {
    font-size: 0.96rem;
    max-width: 540px;
    margin: 0 auto 10px;
}

/* Action Buttons Bar at bottom of details */
.program-actions-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-back {
    background: #f1f5f9;
    color: var(--text-main);
    border: 2px solid #e2e8f0;
}

.btn-back:hover {
    background: #e2e8f0;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Sidebar Styling */
.program-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 3px solid var(--secondary);
}

.sidebar-card-header i {
    font-size: 1.25rem;
    color: var(--secondary-light);
}

.sidebar-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0;
}

.sidebar-card-body {
    padding: 20px;
}

.sidebar-menu-list {
    display: flex;
    flex-direction: column;
}

.sidebar-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.94rem;
    transition: all 0.25s ease;
}

.sidebar-nav-item i {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.sidebar-nav-item:hover {
    background: var(--light-bg);
    color: var(--primary);
    padding-left: 24px;
}

.sidebar-nav-item:hover i {
    transform: translateX(3px);
    color: var(--secondary);
}

.sidebar-nav-item.active {
    background: linear-gradient(90deg, rgba(30, 66, 145, 0.08), rgba(245, 152, 55, 0.08));
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    font-weight: 700;
}

.sidebar-nav-item.active i {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .program-detail-layout {
        grid-template-columns: 1fr;
    }
    .program-detail-card {
        padding: 24px;
    }
}

/* =========================================================
   ABOUT WRAP SECTION - GOVERNOR, VC & VC MESSAGE
   (3-Part Single Row Equal Height Design System)
   ========================================================= */
.about_wrap {
    padding: 30px 0;
    background-color: var(--cream-bg);
}

.about_wrap .row-equal-height {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

@media (min-width: 768px) {
    .about_wrap .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .about_wrap .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


/* Person Card (Governor & VC) */
.person-card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.person-card:hover {
    box-shadow: 0 6px 16px rgba(30, 66, 145, 0.12);
}

.person-photo-wrapper {
    width: 100%;
    height: 310px;
    background: #fafafa;
    border: 1px solid #eaeaea;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 2px;
}

.person-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 2px;
}

.person-info {
    margin-top: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.person-name {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.person-designation {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0;
    line-height: 1.3;
}

/* VC Message Card */
.vc-message-card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    height: 430px;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.vc-message-header {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vc-message-header .vc-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vc-message-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    overflow-y: auto;
}

.vc-msg-heading {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.vc-msg-salutation {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.vc-msg-greeting {
    font-family: var(--font-serif);
    font-style: italic;
    color: #475569;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.vc-msg-snippet {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
}

.vc-read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vc-read-more-btn:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* VC Message Modal Popup Styling */
body.modal-open {
    overflow: hidden !important;
}

.vc-modal-backdrop,
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.vc-modal-backdrop.show,
.modal-backdrop.show {
    opacity: 1;
}

.modal.vc-modal,
#vcMessageModal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    padding: 20px;
    box-sizing: border-box;
}

.modal.vc-modal.show,
#vcMessageModal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.vc-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: auto;
    pointer-events: auto;
    transform: scale(0.95);
    transition: transform 0.25s ease-out;
}

#vcMessageModal.show .vc-modal-dialog {
    transform: scale(1);
}

.vc-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1);
    outline: 0;
    overflow: hidden;
    max-height: 85vh;
}

.vc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.vc-modal-header .vc-modal-title,
.vc-modal-header .modal-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.vc-modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vc-modal-close-btn:hover {
    color: #0f172a;
    background-color: #f1f5f9;
}

.vc-modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 24px 28px;
    font-size: 0.96rem;
    line-height: 1.75;
    color: #334155;
    overflow-y: auto;
}

.vc-modal-body h4,
.vc-modal-body h5,
.vc-modal-body strong,
.vc-modal-body b {
    color: #1e293b;
}

.vc-modal-body p {
    margin-bottom: 14px;
}


