@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #043C86;
    --primary-dark: #032b60;
    --primary-light: #eef4fc;
    --accent-orange: #FF6908;
    --accent-orange-hover: #e55c00;
    --accent-green: #61CE70;
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --font-family: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Containers & Common Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-orange {
    background-color: var(--accent-orange);
    color: var(--bg-white);
}

.btn-orange:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.logo-text p {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-orange);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    border-radius: 6px;
}

.nav-link:hover, .nav-item.active .nav-link {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

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

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--accent-orange);
    padding-left: 24px;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 60, 134, 0.9) 0%, rgba(4, 60, 134, 0.4) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: var(--bg-white);
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 35px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 1.2s ease 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Quick Actions */
.floating-actions {
    position: fixed;
    right: 25px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.floating-btn .tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.floating-wa {
    background-color: #25D366;
}

.floating-ppdb {
    background-color: var(--accent-orange);
}

/* Welcome Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 50px;
    align-items: center;
}

.welcome-image-container {
    position: relative;
}

.welcome-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
    background-color: var(--bg-white);
    width: 100%;
}

.welcome-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff8c40 100%);
    color: var(--bg-white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.welcome-badge span {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.welcome-badge label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.welcome-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.principal-sig {
    margin-top: 30px;
}

.principal-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.principal-title {
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-weight: 600;
}

/* Academic Levels Grid */
.academics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.academic-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.academic-card.tk { border-top-color: #ffb703; }
.academic-card.sd { border-top-color: var(--accent-green); }
.academic-card.smp { border-top-color: var(--primary-color); }
.academic-card.sma { border-top-color: var(--accent-orange); }

.academic-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.academic-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tk .academic-badge { background-color: #fff9e6; color: #cc9200; }
.sd .academic-badge { background-color: #eafaf1; color: #2e8b57; }
.smp .academic-badge { background-color: #eef4fc; color: var(--primary-color); }
.sma .academic-badge { background-color: #fff0e6; color: var(--accent-orange); }

.academic-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.academic-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.academic-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.academic-link:hover {
    color: var(--accent-orange);
}

/* Statistics Counter */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #ddd;
}

.news-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, #cbdcf5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover .news-card-img {
    transform: scale(1.08);
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-orange);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.news-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card-link {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-link:hover {
    color: var(--primary-color);
}

/* Testimonial Section */
.testimonials-section {
    background-color: #f1f5f9;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-author h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}

/* Subpage Hero Banner */
.subpage-banner {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.subpage-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumbs a:hover {
    color: var(--accent-orange);
}

/* Profile Subpages Layout */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.profile-sidebar {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.sidebar-menu-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
    font-size: 1.1rem;
}

.sidebar-link {
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 6px;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.profile-content {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.profile-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    border-left: 5px solid var(--accent-orange);
    padding-left: 15px;
}

.profile-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: justify;
}

.vision-mission-box {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    border-top: 4px solid var(--accent-orange);
    box-shadow: var(--shadow-sm);
}

.vm-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.vm-card ol, .vm-card ul {
    padding-left: 20px;
    color: var(--text-muted);
}

.vm-card li {
    margin-bottom: 10px;
}

/* Facility Grid */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.facility-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.facility-img-wrapper {
    height: 180px;
    overflow: hidden;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.facility-card:hover .facility-img {
    transform: scale(1.08);
}

.facility-title {
    padding: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-align: center;
}

/* Academic Subpages Layout */
.academic-detail-container {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.academic-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.academic-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 8px;
}

.academic-header p {
    font-size: 1.1rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.academic-section {
    margin-bottom: 40px;
}

.academic-section h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.feature-bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.bullet-icon {
    color: var(--accent-green);
    font-size: 1.2rem;
}

/* Gallery Page filter & layout */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-info {
    padding: 20px;
}

.gallery-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

/* Contact layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 40px;
}

.contact-info-card {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--accent-orange);
}

.contact-detail h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

.contact-form-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 45px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-form-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(4, 60, 134, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #def7ec;
    color: #03543f;
    border: 1px solid #bcf0da;
}

.alert-danger {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

/* PPDB Registration Form layout */
.ppdb-container {
    max-width: 800px;
    margin: 0 auto;
}

.ppdb-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.ppdb-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 30px;
    text-align: center;
}

.ppdb-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.ppdb-header p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.ppdb-body {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0 15px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

/* PPDB Success Page */
.success-card {
    text-align: center;
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    max-width: 650px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.success-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reg-number-box {
    background-color: var(--primary-light);
    border: 2px dashed var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin: 20px 0;
}

.reg-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.success-instructions {
    text-align: left;
    margin: 30px 0;
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
}

.success-instructions h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.success-instructions ol {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.success-instructions li {
    margin-bottom: 8px;
}

/* News Detail Subpage */
.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.news-article {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.news-article-header {
    margin-bottom: 25px;
}

.news-article-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-article-img-wrapper {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.news-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-content {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
}

.news-article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.sidebar-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.recent-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: center;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #ddd;
}

.recent-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 4px;
}

.recent-post-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Map frame */
.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer styling */
.footer {
    background-color: #0b1a30;
    color: #94a3b8;
    padding: 70px 0 30px;
    font-size: 0.9rem;
    border-top: 5px solid var(--accent-orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-info h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.footer-info p.tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-info p.desc {
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-links-col h5, .footer-contact h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 25px;
    position: relative;
}

.footer-links-col h5::after, .footer-contact h5::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background-color: var(--accent-orange);
    margin-top: 8px;
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 6px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.pagination .active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .welcome-image-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
    }

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

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

/* Public Gallery & Filter styling */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.gallery-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f1f5f9;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: white;
    max-width: 600px;
}

.lightbox-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 5px;
}

.lightbox-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f5f9;
    font-size: 40px;
    font-weight: 300;
    transition: var(--transition-smooth);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10000;
}

.lightbox-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* Next & Prev Buttons */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    color: #f1f5f9;
    font-weight: bold;
    font-size: 24px;
    transition: var(--transition-smooth);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10000;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive styles for lightbox */
@media (max-width: 768px) {
    .lightbox-content-wrapper {
        max-width: 95%;
    }
    
    .lightbox-prev {
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .lightbox-next {
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

/* Staff Kontak Section */
.staff-kontak-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.section-title-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-center h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.staff-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.staff-img-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.staff-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.staff-card:hover .staff-img {
    transform: scale(1.05);
}

.staff-info {
    padding: 20px;
}

.staff-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.staff-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.staff-contact-item:last-child {
    margin-bottom: 0;
}

.staff-contact-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.staff-contact-item i.fa-phone-alt {
    color: var(--primary-color);
}

.staff-contact-item i.fa-whatsapp {
    color: #25D366;
}

.staff-contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.staff-contact-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}
