/* 
 * Mother Teresa Public School - Core Styling
 * Brand Colors: Royal Blue (#0B3C8A), Gold (#D4AF37)
 * Fonts: Poppins, Plus Jakarta Sans, Outfit
 */

:root {
    --primary-color: #0B3C8A;
    --primary-dark: #051c3e;
    --primary-light: #1e5fc2;
    --accent-color: #fbbf24;
    --accent-hover: #d97706;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-alt: 'Poppins', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-pill: 50px;
    
    --shadow-sm: 0 4px 6px -1px rgba(11, 60, 138, 0.05), 0 2px 4px -2px rgba(11, 60, 138, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(11, 60, 138, 0.08), 0 4px 6px -4px rgba(11, 60, 138, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(11, 60, 138, 0.12), 0 8px 10px -6px rgba(11, 60, 138, 0.12);
    --shadow-glow: 0 0 20px rgba(30, 95, 194, 0.15);
    --shadow-gold-glow: 0 0 20px rgba(251, 191, 36, 0.35);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* General Layout Rules */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--bg-white);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-primary .section-title span {
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-primary .section-title {
    color: var(--bg-white);
}
.section-primary .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    transition: var(--transition-normal);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(11, 60, 138, 0.15);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(11, 60, 138, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border: none;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}
.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-glow);
    color: var(--primary-dark);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(11, 60, 138, 0.2);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-dark);
    border-bottom: 2px solid var(--accent-color);
    font-size: 0.85rem;
    padding: 8px 0;
}
.ticker-text {
    font-weight: 600;
}
.hover-gold:hover {
    color: var(--accent-color) !important;
}

/* Navigation Header */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-normal);
    padding: 15px 0;
}

.logo-wrapper {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 2.5px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
}

.footer-logo-container {
    width: 75px;
    height: 75px;
    transition: var(--transition-normal);
}

@media (max-width: 991.98px) {
    .logo-wrapper {
        width: 55px;
        height: 55px;
    }
    .footer-logo-container {
        width: 60px;
        height: 60px;
    }
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fallback-logo-icon {
    width: 48px;
    height: 48px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--primary-color);
    font-weight: 800;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--accent-hover);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

/* Responsive Media & Video Player Rules */
.video-player {
    width: 100%;
    height: 580px;
    max-height: 70vh;
    object-fit: cover;
    object-position: center 30%;
}

.welcome-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.section-fit-img, .card-fit-img {
    object-fit: contain !important;
    max-height: 100%;
    width: 100%;
}

.video-player-no-crop {
    width: 100% !important;
    height: auto !important;
    max-height: 620px;
    object-fit: contain !important;
    display: block !important;
    background-color: #0f172a;
}

.video-hover-controls-container {
    position: relative;
    width: 100%;
    background-color: #0f172a;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: var(--transition-fast);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.nav-cta-btn {
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 24px;
}

/* Mobile Toggler Custom */
.navbar-toggler-icon-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}
.navbar-toggler-icon-custom span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #0f172a;
    z-index: 1050;
    transition: var(--transition-slow);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
}
.mobile-drawer.open {
    right: 0;
}
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1040;
    display: none;
}
.drawer-overlay.show {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 750px;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    animation: zoomHero 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 28, 62, 0.96) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    color: var(--bg-white);
    max-width: 820px;
    padding: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 3.8rem;
    color: var(--bg-white);
    line-height: 1.15;
    margin-bottom: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 44px;
    font-family: var(--font-body);
    font-weight: 400;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 35px;
}

.hero-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Premium Card System */
.card-premium {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-normal);
}
.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 95, 194, 0.2);
}
.card-premium:hover::before {
    transform: scaleY(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(11, 60, 138, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 28px;
    transition: var(--transition-normal);
}
.card-premium:hover .card-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    box-shadow: 0 8px 16px rgba(11, 60, 138, 0.2);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Welcome Messages / About Blocks */
.quote-card {
    background-color: rgba(11, 60, 138, 0.02);
    border-left: 4px solid var(--accent-color);
    padding: 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-family: var(--font-alt);
    margin: 24px 0;
    font-size: 1.05rem;
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -27px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}
.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.timeline-desc {
    font-size: 1rem;
    color: var(--text-color);
}

/* Tabs & Accordions styling */
.nav-pills-custom .nav-link {
    color: var(--primary-color);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 10px 26px;
    transition: var(--transition-normal);
}
.nav-pills-custom .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(11, 60, 138, 0.15);
}

.accordion-custom .accordion-item {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-white);
}
.accordion-custom .accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    padding: 20px;
}
.accordion-custom .accordion-button:not(.collapsed) {
    background-color: rgba(11, 60, 138, 0.03);
    color: var(--primary-color);
    box-shadow: none;
}

/* Faculty Grid */
.faculty-card {
    border-radius: var(--radius-lg);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-slow);
}
.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 95, 194, 0.2);
}
.faculty-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f1f5f9;
}
.faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.faculty-card:hover .faculty-img {
    transform: scale(1.08);
}
.faculty-info {
    padding: 24px;
}
.faculty-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--primary-dark);
}
.faculty-role {
    font-size: 0.88rem;
    color: var(--accent-hover);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.faculty-subject {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Gallery Masonry and Lightbox */
.gallery-grid {
    column-count: 3;
    column-gap: 24px;
}
@media (max-width: 991px) {
    .gallery-grid { column-count: 2; }
}
@media (max-width: 575px) {
    .gallery-grid { column-count: 1; }
}
.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-white);
    transition: var(--transition-slow);
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: var(--transition-slow);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 28, 62, 0.9) 0%, rgba(15, 23, 42, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-normal);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-caption {
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1rem;
}
.gallery-cat {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Lightbox elements */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-modal.show {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--bg-white);
    font-size: 2.2rem;
    cursor: pointer;
    background: none;
    border: none;
}
.lightbox-caption {
    color: var(--bg-white);
    text-align: center;
    margin-top: 15px;
    font-size: 1.15rem;
}

/* Documents / Compliance Cards */
.document-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}
.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.2);
}
.doc-icon-wrap {
    width: 52px;
    height: 52px;
    background-color: rgba(220, 38, 38, 0.06);
    color: #DC2626;
    font-size: 1.6rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* News List */
.news-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 95, 194, 0.2);
}
.news-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.news-card:hover .news-img {
    transform: scale(1.06);
}
.news-body {
    padding: 28px;
}
.news-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
}

/* Testimonials Carousel Custom styling */
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 45px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.testimonial-text {
    font-family: var(--font-alt);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 28px;
    position: relative;
}
.testimonial-author {
    font-weight: 800;
    color: var(--text-color);
    font-size: 1.05rem;
}
.testimonial-role {
    font-size: 0.88rem;
    color: var(--accent-hover);
    font-weight: 700;
    text-transform: uppercase;
}

/* Animations */
@keyframes zoomHero {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Reveal on scroll base */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Query Rules */
@media (max-width: 991.98px) {
    /* Navbar Single Line on Tablet and Mobile */
    .main-header .navbar {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .main-header .navbar-brand {
        min-width: 0;
        flex-shrink: 1;
        margin-right: 0.5rem;
    }
    .logo-wrapper {
        width: 48px;
        height: 48px;
        min-width: 48px;
        flex-shrink: 0;
    }
    .brand-text {
        min-width: 0;
        overflow: hidden;
    }
    .brand-name {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand-tagline {
        font-size: 0.62rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .navbar-toggler {
        flex-shrink: 0;
        margin-left: auto;
        padding: 6px 10px;
    }

    /* Video & Welcome Image Section Responsiveness for Tablet */
    .video-player {
        height: 380px;
        max-height: 50vh;
    }
    .welcome-img {
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 576px) {
    /* Navbar Single Line on Mobile */
    .main-header .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .logo-wrapper {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    .brand-name {
        font-size: 0.92rem;
        line-height: 1.15;
    }
    .brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 0.2px;
    }
    .navbar-brand {
        gap: 0.5rem !important;
    }

    /* Video & Welcome Image Section Responsiveness for Mobile */
    .video-player {
        height: 240px;
        max-height: 40vh;
    }
    .welcome-img {
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        width: 100% !important;
    }
}

@media (max-width: 380px) {
    .brand-name {
        font-size: 0.85rem;
    }
    .brand-tagline {
        font-size: 0.5rem;
    }
    .logo-wrapper {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
}

/* PREMIUM REDESIGN UTILITIES */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(11, 60, 138, 0.1);
}

.premium-shadow {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(11, 60, 138, 0.15);
}

.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}
@media (max-width: 992px) {
    .masonry-grid { column-count: 2; }
}
@media (max-width: 576px) {
    .masonry-grid { column-count: 1; }
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
}
.rounded-premium {
    border-radius: var(--radius-lg);
}

/* Page Banner gradient and background image */
.page-banner {
    background: linear-gradient(to right, rgba(5, 28, 62, 0.95) 0%, rgba(11, 60, 138, 0.6) 100%), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* PREMIUM REDESIGN UTILITIES */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(11, 60, 138, 0.1);
}

.premium-shadow {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(11, 60, 138, 0.15);
}

.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}
@media (max-width: 992px) {
    .masonry-grid { column-count: 2; }
}
@media (max-width: 576px) {
    .masonry-grid { column-count: 1; }
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
}
.rounded-premium {
    border-radius: var(--radius-lg);
}

/* Page Banner gradient and background image */
.page-banner {
    background: linear-gradient(to right, rgba(5, 28, 62, 0.95) 0%, rgba(11, 60, 138, 0.6) 100%), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Lightbox Navigation */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 1100;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* Premium Page Banner & Breadcrumbs Styling */
.page-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-bottom: 3.5px solid #fbbf24 !important;
    padding: 3.5rem 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.page-banner h1 {
    color: #ffffff !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.page-banner .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-banner .breadcrumb-item a {
    color: #fbbf24 !important; /* Gold links! */
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: opacity 0.25s ease !important;
}

.page-banner .breadcrumb-item a:hover {
    opacity: 0.8 !important;
}

.page-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500 !important;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3) !important;
    content: "/" !important;
}
