/*Global CSS */
:root {
    --primary: #5b1fb4;
    --deep-blue: #3d1578;
    --light-blue: #f3e8ff;
    --charcoal: #2a2a2a;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --border-gray: #e0e0e0;
    --accent-gray: #6b7280;
    --shadow: rgba(0, 0, 0, 0.1);
    --heading-font: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --body-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-xsm: 3px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 50px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 85%;
}

body {
    font-family: var(--body-font);
    color: var(--charcoal);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

h1 {
    font-size: 2.3rem;
    margin-bottom: 1.1rem;
}

h2 {
    font-size: 1.7rem;
    margin-bottom: 0.9rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding-left: 4px;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 56px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    padding: 20px 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 32px);
}

/* Dropdown Menu */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links .dropdown>a i {
    font-size: 0.65rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
}

.nav-links .dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(31, 111, 74, 0.15);
    display: none;
    z-index: 1000;
    list-style: none;
    padding: 12px 0;
    margin: 0;
    animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(31, 111, 74, 0.08);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 24px;
    font-size: 0.875rem;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
}

.dropdown-menu a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, var(--light-blue) 0%, transparent 100%);
    color: var(--primary);
    padding-left: 28px;
}

.dropdown-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-menu:hover {
    display: block;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: var(--light-gray);
        border-radius: var(--radius-sm);
        margin-top: 8px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(91, 31, 180, 0.85) 0%,
            rgba(61, 21, 120, 0.75) 50%,
            rgba(91, 31, 180, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2.5rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-primary-blue {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary-blue:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}


.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-see {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-see:hover {
    background: var(--primary);
    color: var(--white);
}


/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 1.5rem;
    position: relative;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-family: var(--heading-font);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section styling */
.section {
    padding: 4rem 1.5rem;
    scroll-margin-top: 80px;
}

.light-background {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}


.section-header p {
    color: var(--accent-gray);
    max-width: 600px;
    margin: 1.25rem auto 0;
    font-size: 0.95rem;
}

/* Profile Section */
.profile-section {
    background: var(--white);
}

.profile-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-section .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.profile-section .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xsm);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.profile-section .image-wrapper:hover {
    transform: translateY(-8px);
}

.profile-section .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xsm);
}

.profile-section .content {
    flex: 1;
}

.profile-section .content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.profile-section .content h5 {
    font-size: 1.1rem;
    color: var(--accent-gray);
    font-weight: 500;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.profile-section .features-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.profile-section .feature-item {
    padding: 1.25rem;
    background: var(--light-blue);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.profile-section .feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background: var(--white);
    border: 2px solid var(--light-blue);
}

.profile-section .feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.profile-section .feature-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--charcoal);
}

.profile-section .feature-item p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--accent-gray);
}

/* News & Events Section */
.news-section {
    background: var(--light-gray);
}

/* Bootstrap grid handles layout */
.news-card {
    background: var(--white);
    border-radius: var(--radius-xsm);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--accent-gray);
}

.news-category {
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
}

.news-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--accent-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.read-more:hover {
    gap: 0.75rem;
    color: var(--deep-blue);
}

/* Facilities Section */
.facilities-section {
    background: var(--white);
}

/* Bootstrap grid handles layout */
.facility-item {
    background: var(--white);
    border-radius: var(--radius-xsm);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(31, 111, 74, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: var(--charcoal);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.facility-info {
    padding: 1.75rem;
}

.facility-info h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .facility-info {
        padding: 1.5rem;
    }

    .facility-info h3 {
        font-size: 1.1rem;
    }
}

/* Programs Section */
.programs-section {
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%231f6f4a" opacity="0.05"/></svg>');
    pointer-events: none;
}

.programs-section .section-subtitle {
    text-align: center;
    color: var(--accent-gray);
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Bootstrap grid will handle layout, we just style the cards */
.program-card {
    background: var(--white);
    border-radius: var(--radius-xsm);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(31, 111, 74, 0.2);
}

/* Program Image */
.program-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(91, 31, 180, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.program-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.program-badge i {
    font-size: 1rem;
}

/* Program Content */
.program-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.program-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--deep-blue));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(31, 111, 74, 0.3);
}

.program-header h3 {
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.program-subtitle {
    color: var(--accent-gray);
    font-size: 0.8rem;
    margin: 0;
    font-weight: 500;
}

.program-description {
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}


/* Program Button */
.btn-program {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--deep-blue));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 111, 74, 0.3);
    margin-top: auto;
}

.btn-program:hover {
    background: linear-gradient(135deg, var(--deep-blue), var(--primary));
    box-shadow: 0 6px 25px rgba(31, 111, 74, 0.4);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-program i {
    transition: transform 0.3s ease;
}

.btn-program:hover i {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery-section {
    background: var(--light-gray);
}

/* Bootstrap grid handles layout */
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-xsm);
    height: 220px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(91, 31, 180, 0.95), transparent);
    padding: 1.5rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.gallery-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--deep-blue));
    color: var(--white);
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Page Header Section */
.page-header-section {
    background: linear-gradient(135deg, var(--primary), var(--deep-blue));
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.page-header-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    nav {
        padding: 8px 0;
    }

    .nav-container {
        margin-left: 8px;
        margin-right: 8px;
        padding: 8px 12px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 12px 12px;
        font-size: 0.85rem;
    }

    .logo-img {
        height: 38px;
    }
}

/* ============================================
   VISI MISI PAGE STYLES
   ============================================ */

/* Page Hero Banner */
.page-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--deep-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
    /* Height navbar untuk fixed positioning */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 111, 74, 0.2);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* Visi Section */
.visi-section {
    background: var(--white);
}

.visi-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.visi-icon-wrapper {
    flex-shrink: 0;
}

.visi-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(31, 111, 74, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(31, 111, 74, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(31, 111, 74, 0.4);
    }
}

.visi-icon i {
    font-size: 3.5rem;
    color: var(--white);
}

.visi-content .section-title {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.visi-text {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: var(--radius-sm);
    border-left: 5px solid var(--primary);
    position: relative;
}

.visi-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.visi-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--charcoal);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Misi Section */
.misi-section {
    background: var(--light-gray);
}

/* Bootstrap grid handles layout */
.misi-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.misi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--deep-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.misi-card:hover::before {
    transform: scaleX(1);
}

.misi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(31, 111, 74, 0.15);
}

.misi-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-blue);
    line-height: 1;
}

.misi-card h3,
.misi-card h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.misi-card p {
    color: var(--accent-gray);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Tujuan Section */
.tujuan-section {
    background: var(--white);
}

.tujuan-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.tujuan-image {
    position: relative;
    border-radius: var(--radius-xsm);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tujuan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tujuan-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tujuan-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tujuan-badge span {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.tujuan-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tujuan-item {
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.tujuan-item:hover {
    transform: translateX(10px);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(31, 111, 74, 0.15);
}

.tujuan-content h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tujuan-content p {
    color: var(--accent-gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   STRUKTUR ORGANISASI PAGE STYLES
   ============================================ */

/* Struktur Cards */
.struktur-section {
    background: var(--white);
}

.struktur-card {
    background: var(--white);
    border-radius: var(--radius-xsm);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: left;
    border: 1px solid var(--border-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.struktur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(91, 31, 180, 0.15);
    border-color: var(--primary);
}

.struktur-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: var(--light-gray);
}

.struktur-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.struktur-card:hover .struktur-photo img {
    transform: scale(1.05);
}

.struktur-content {
    padding: 1.5rem 1rem;
}

.struktur-content h4 {
    color: var(--charcoal);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.struktur-jabatan {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

/* Struktur Category Section */
.struktur-category-section {
    margin-bottom: 3rem;
}

.category-header {
    text-align: left;
    margin-bottom: 2rem;
}

.category-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Program Detail Pages */
.program-overview-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xsm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.program-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.program-overview-image:hover img {
    transform: scale(1.05);
}

.program-overview-content {
    padding: 2rem 0;
}

.program-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--deep-blue));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(31, 111, 74, 0.3);
}

.program-badge-large i {
    font-size: 1.2rem;
}

.program-overview-content h2 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.program-overview-content .lead {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.program-stats-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.stat-detail-item:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.stat-detail-item i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 40px;
    text-align: center;
}

.stat-detail-item div {
    flex: 1;
}

.stat-detail-item strong {
    display: block;
    color: var(--charcoal);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.stat-detail-item span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .profile-section .row {
        flex-direction: column;
    }

    .profile-section .features-list {
        grid-template-columns: 1fr;
    }

    /* Bootstrap grid handles program responsive layout */
    .program-image {
        height: 200px;
    }

    /* Visi Misi Responsive Tablet */
    .tujuan-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Program Detail Responsive */
    .program-overview-content {
        padding: 1rem 0;
    }

    .program-badge-large {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }

    .program-overview-content .lead {
        font-size: 1.1rem;
    }

    /* Struktur Organisasi Responsive - Tablet */
    .org-chart {
        padding: 1.5rem;
    }

    .org-box {
        min-width: 180px;
        padding: 1.25rem;
    }

    .org-row {
        gap: 1.5rem;
    }

    .org-row-mini {
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: var(--light-gray);
        border-radius: var(--radius-xsm);
        margin-top: 8px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item::after {
        display: none;
    }

    /* Bootstrap handles grid responsive, we just adjust card internals */
    .program-image {
        height: 180px;
    }

    .program-stats {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .stat-item {
        flex-direction: row;
        justify-content: center;
        gap: 0.6rem;
    }

    .program-content {
        padding: 1.5rem;
    }

    /* Visi Misi Responsive */
    .page-hero {
        height: 250px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .visi-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .visi-icon {
        width: 90px;
        height: 90px;
    }

    .visi-icon i {
        font-size: 2.5rem;
    }

    .tujuan-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Program Detail Responsive - Mobile */
    .program-overview-image {
        margin-bottom: 1.5rem;
    }

    .stat-detail-item {
        padding: 1rem;
    }

    .stat-detail-item i {
        font-size: 1.5rem;
    }

    .program-badge-large {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    /* Struktur Organisasi Responsive - Mobile */
    .org-chart {
        padding: 0.5rem;
    }

    .org-box {
        font-size: 0.8rem;
        padding: 0.75rem;
        min-height: 80px;
        min-width: auto;
    }

    .org-box i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .org-box strong {
        font-size: 0.85rem;
    }

    .org-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .org-row>div {
        width: 100%;
        max-width: 300px;
    }

    .org-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin: 0;
    }

    .org-row-mini {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .org-row-mini>div {
        width: 100%;
        max-width: 300px;
    }

    .org-connector {
        display: none;
    }

    .struktur-card {
        font-size: 0.9rem;
    }

    .struktur-photo {
        width: 100px;
        height: 100px;
    }

    .struktur-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Empty State for Public Pages */
.empty-state-public {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 2px dashed var(--border-gray);
}

.empty-state-public i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 14px;
    display: block;
}

.empty-state-public h3 {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.empty-state-public p {
    font-size: 0.9rem;
    color: var(--accent-gray);
    margin: 0;
    max-width: 350px;
    margin: 0 auto;
}

/* Documents Section */
.documents-section {
    padding: 4rem 0;
}

.documents-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.documents-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
}

.documents-table thead {
    background: linear-gradient(135deg, var(--primary), var(--deep-blue));
    color: white;
}

.documents-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.documents-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.documents-table tbody tr:hover {
    background-color: #f8f9fa;
}

.documents-table td {
    padding: 16px;
    font-size: 0.9rem;
}

.doc-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.doc-icon {
    font-size: 1.5rem;
    color: #dc3545;
    margin-top: 3px;
}

.doc-title {
    display: block;
    color: #212529;
    font-size: 1rem;
    margin-bottom: 4px;
}

.doc-desc {
    margin: 0;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.doc-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e7f5ec;
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-download:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 71, 42, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .documents-table {
        font-size: 0.85rem;
    }

    .documents-table th,
    .documents-table td {
        padding: 12px 8px;
    }

    .doc-title {
        font-size: 0.9rem;
    }

    .doc-desc {
        font-size: 0.8rem;
    }

    .btn-download {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}