@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
    --primary: #0066cc;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --topbar-bg: #0066cc;
    --navbar-bg: #f5f7fa;
}
body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #f8f9fa;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #0066cc !important;
    font-size: 2.2rem;
}
.section-title-welcome:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
/* .section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
} */
.section-subtitle {
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}
.divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 30px auto;
    border-radius: 2px;
}
.top-bar {
    font-size: 1rem;
    background: #0066cc;
    border-bottom: 1px solid #79acea;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(13,110,253,0.04);
    padding: 0.2rem 0;
}
.top-bar .contact-info span,
.top-bar .contact-info a {
    color: #ffffff;
    font-weight: 300;
    font-size: 0.9rem;
}
.top-bar .contact-info i {
    color: #fafafa;
}
.top-bar .social-icons a {
    color: #495057;
    background: #e9eef5;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.2rem;
    transition: background 0.2s, color 0.2s;
    font-size: 0.9rem;
}
.top-bar .social-icons a:hover {
    background: #72ade8;
    color: #fff;
}
.navbar {
    padding: 10px 0;
    transition: all 0.3s;
    background: #fff;
}
.navbar.custom-navbar {
    background: var(--navbar-bg) !important;
    border-bottom: 2px solid #0066cc;
    box-shadow: 0 4px 24px rgba(13,110,253,0.10);
    padding: 0px;
}
.navbar .navbar-brand img {
    height: 54px;
    filter: drop-shadow(0 2px 8px rgba(13,110,253,0.08));
}
/* --- Navbar underline effect for menu --- */
.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    padding: 0.75rem 1.1rem;
    border-radius: 2rem;
    transition: color 0.18s, background 0.18s;
    position: relative;
    text-decoration: none;
    background: none !important;
}

.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover {
    background: none !important;
    color: #0066cc;
}

.navbar .btn-primary {
    background: linear-gradient(90deg, #0066cc 60%, #0066cc 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.5rem 1.7rem;
    box-shadow: 0 2px 8px rgba(32,201,151,0.10);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.navbar .btn-primary:hover,
.navbar .btn-primary:focus {
    background: #fff;
    color: #0066cc;
    border: 1px solid #0066cc;
    box-shadow: 0 4px 16px rgba(13,110,253,0.12);
}
.navbar-toggler {
    border: none;
    background: linear-gradient(90deg, #0066cc 60%, #0066cc 100%);
    border-radius: 0.4rem;
    padding: 0.1rem 0.2rem;
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
    font-size: 1.0rem;
}
.navbar-toggler:focus,
.navbar-toggler:hover {
    background: linear-gradient(90deg, #0066cc 60%, #0066cc 100%);
}
.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Custom dropdown menu style: remove radius, remove background, add divider --- */
.navbar .dropdown-menu {
    border-radius: 0 !important;
    background: #0066cc !important;
    min-width: 200px;
    padding: 0.5rem 0;
    margin-top: 9px;
}
.navbar .dropdown-menu .dropdown-item {
    padding: 0.6rem 1.5rem;
    color: #ffffff;
    background: none;
    border-radius: 0;
    transition: background 0.18s, color 0.18s;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background: #f5f7fa;
    color: #0066cc;
}
.navbar .dropdown-menu .dropdown-divider {
    height: 0.5px;
    margin: 0.25rem 0;
    overflow: hidden;
    background-color: #59a1fa;
    border: none;
}
/* Submenus: add background color (now same as navbar) */
.navbar .dropdown-menu .dropdown-menu {
    border-radius: 0 !important;
    background: var(--navbar-bg) !important;
    box-shadow: 0 8px 24px rgba(13,110,253,0.08);
    border: 1px solid #e3e8ee;
    min-width: 200px;
    padding: 0.5rem 0;
}
.navbar .dropdown-menu .dropdown-menu .dropdown-item {
    color: #fff;
}
.navbar .dropdown-menu .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-menu .dropdown-item:focus {
    background: #0b5ed7;
    color: #fff;
}

/* Updated Hero Section - Zanvarsity Style */
.hero-section {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
}
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 15%;
    text-align: center;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 1.4s ease;
}
.hero-btns .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}
.hero-btns .btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}
.hero-btns .btn-outline-light {
    border-width: 2px;
}
.hero-btns .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}
.slider-dots {
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.slider-dot.active {
    background-color: #0066cc;
    transform: scale(1.2);
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}
.slider-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.slider-nav-btn:hover {
    background-color: #0066cc;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-links .icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.about-section {
    background: linear-gradient(120deg, #f8fafc 60%, #e3f2fd 100%);
    background-size: contain, cover;
}
.staff-section {
    background: linear-gradient(120deg, #e3f2fd 0%, #f8fafc 100%);
}
.staff-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(13, 110, 253, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}
.staff-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.15);
}
.staff-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0066cc;
    margin-top: -60px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.10);
}
.staff-title {
    font-size: 1.1rem;
    color: #0066cc;
    font-weight: 600;
}
.staff-social a {
    color: #0066cc;
    margin: 0 0.25rem;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.staff-social a:hover {
    color: #0066cc;
}
.programs-section {
    background: linear-gradient(120deg, #f8fafc 60%, #e3f2fd 100%);
    position: relative;
    z-index: 1;
}
.programs-section .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0066cc;
    text-shadow: 0 2px 12px rgba(13,110,253,0.08);
}
.program-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.10);
    background: rgba(255,255,255,0.97);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.program-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 16px 48px rgba(32, 201, 151, 0.18);
}
.program-card .card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 50%;
    margin: 24px auto 0 auto;
    box-shadow: 0 4px 16px rgba(13,110,253,0.10);
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    background: inherit;
}
.program-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0066cc;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}
.program-card .card-text {
    color: #495057;
    font-size: 1rem;
    min-height: 60px;
}
.program-card .program-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(90deg, #0066cc 60%, #0066cc 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(13,110,253,0.10);
    z-index: 3;
    letter-spacing: 0.5px;
}
.program-card .btn {
    margin-top: 1rem;
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 2px 8px rgba(13,110,253,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.program-card .btn-outline-primary:hover { background: #0066cc; color: #fff !important; }
.program-card .btn-outline-success:hover { background: #0066cc; color: #fff !important; }
.program-card .btn-outline-info:hover { background: #0dcaf0; color: #fff !important; }
.program-card .btn-outline-warning:hover { background: #ffc107; color: #fff !important; }
.stat-item .stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}
.stat-item .stat-label {
    font-size: 18px;
    opacity: 0.9;
}
.news-card {
    transition: all 0.3s;
    border-radius: 10px;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
.news-img {
    position: relative;
}
.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    line-height: 1;
}
.news-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
}
.news-date .month {
    font-size: 14px;
    text-transform: uppercase;
}
.news-category .badge {
    font-weight: 500;
    padding: 5px 10px;
}
.gallery-section {
    background: linear-gradient(120deg, #e3f2fd 0%, #f8fafc 100%);
}
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}
.gallery-item img {
    transition: all 0.3s;
    width: 100%;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.stats-section{
    background: rgba(7, 75, 177, 0.9);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 75, 177, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}
.gallery-overlay i {
    color: white;
    font-size: 30px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
/* --- Custom arrows for gallery slideshow --- */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(7, 75, 177, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.5rem;
}
.gallery-arrow:hover {
    background: #0066cc;
}
.gallery-arrow.left {
    left: -20px;
}
.gallery-arrow.right {
    right: -20px;
}
.gallery-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 75, 177, 0.9);
    color: #fff;
    padding: 0.4rem 0.7rem;
    font-size: 1rem;
    font-weight: 500;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: center;
    opacity: 0.95;
    z-index: 5;
}
.cta-section {
    background: linear-gradient(rgba(7, 75, 177, 0.9), rgba(7, 75, 177, 0.9));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.footer {
    background: #1a1a1a;
}
.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}
.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}
.footer a:hover {
    color: white;
    padding-left: 5px;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}
.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: none;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    .navbar-collapse {
        padding: 20px 0;
    }
    .navbar .navbar-nav .nav-link {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }
    .program-card .card-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
        margin-top: 18px;
    }
}
@media (max-width: 767.98px) {
    .hero-section, .hero-slider {
        min-height: 70vh;
        height: 70vh;
    }
    .hero-content {
        padding: 0 10%;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .stat-item .stat-number {
        font-size: 36px;
    }
    .stat-item .stat-label {
        font-size: 16px;
    }
    .top-bar .contact-info {
        text-align: center;
        margin-bottom: 0.3rem;
    }
    .top-bar .social-icons {
        text-align: center;
    }
    .navbar .navbar-nav .nav-link {
        padding: 0.7rem 0.9rem;
    }
    .programs-section .section-header .section-title {
        font-size: 2rem;
    }
    .program-card .card-title {
        font-size: 1.1rem;
    }
    .program-card .card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-top: 12px;
    }
    .gallery-arrow.left {
        left: 0;
    }
    .gallery-arrow.right {
        right: 0;
    }
}
.fancybox-container {
    z-index: 2000 !important;
}
.container-fluid {
    max-width: 1400px;
}