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

:root {
    --primary-color: #06b6d4;
    --primary-dark: #0891b2;
    --secondary-color: #3b82f6;
    --accent-color: #f97316;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navbar */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(255, 255, 255, 0.8);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 1rem;
}

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

.dropdown-menu li {
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 12px 20px;
    color: var(--text-dark);
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.login-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    margin-bottom: -3rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-orange {
    color: var(--accent-color);
}

.search-box {
    background-color: var(--white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 1rem;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
}

.search-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #ea580c;
}

.hero-quote {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.9;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Icon Cards Section */
.icon-cards-section {
    background-color: var(--white);
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 10;
    margin-top: -2rem;
}

.icon-cards-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 0 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.icon-cards-grid::-webkit-scrollbar {
    height: 6px;
}

.icon-cards-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.icon-cards-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.icon-cards-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 auto;
    min-width: 110px;
    text-align: center;
}

.icon-card:hover {
    transform: translateY(-5px);
}

.icon-card-img {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0e6f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.icon-card:hover .icon-card-img {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.icon-card-img i {
    font-size: 36px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.icon-card:hover .icon-card-img i {
    color: var(--white);
    transform: scale(1.1);
}

.icon-card span {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #333;
    transition: color 0.3s ease;
}

.icon-card:hover span {
    color: var(--primary-color);
}
.bg-teal { background-color: #ccfbf1; }

/* Articles Section */
.articles-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-dark);
}

.see-all {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: transparent;
}

.see-all:hover {
    color: var(--primary-color);
    background: rgba(23, 162, 184, 0.1);
    transform: translateX(5px);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Tablet: 3 kolom */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet kecil: 2 kolom */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 kolom */
@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.article-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #f0f0f0;
    display: block;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-detail {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-detail:hover {
    background-color: #ea580c;
}

/* Article Card - See All */
.article-card-see-all {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.article-card-see-all:hover {
    transform: translateY(-5px) scale(1.02);
}

.see-all-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.see-all-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.see-all-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.see-all-content .btn-detail {
    background-color: white;
    color: var(--primary-color);
    display: inline-block;
    width: auto;
    padding: 0.75rem 2rem;
}

.see-all-content .btn-detail:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Agenda Section */
.agenda-section {
    background-color: var(--white);
    padding: 3rem 0;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.agenda-card {
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    height: 250px;
    position: relative;
}

.agenda-card:hover {
    transform: scale(1.02);
}

.agenda-card-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    color: var(--white);
}

.agenda-card-1 h3 {
    font-size: 1.3rem;
    margin-bottom: auto;
}

.agenda-card-1 img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.agenda-card-2,
.agenda-card-3 {
    position: relative;
}

.agenda-card-2 img,
.agenda-card-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agenda-card-overlay h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.agenda-card-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.agenda-card-2 p,
.agenda-card-3 p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
    padding: 1rem;
    margin: 0;
}

.agenda-card-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
}

.agenda-card-3 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

/* Announcements Section */
.announcements-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.announcement-item.announcement-urgent {
    border-left-color: #ff6b6b;
}

.announcement-item.announcement-penting {
    border-left-color: #ffa94d;
}

.announcement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.announcement-item.announcement-urgent .announcement-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
}

.announcement-item.announcement-penting .announcement-icon {
    background: linear-gradient(135deg, #ffa94d 0%, #fd7e14 100%);
}

.announcement-body {
    flex: 1;
}

.announcement-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.announcement-header-row h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.announcement-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    white-space: nowrap;
}

.announcement-item.announcement-urgent .announcement-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
}

.announcement-item.announcement-penting .announcement-badge {
    background: linear-gradient(135deg, #ffa94d 0%, #fd7e14 100%);
}

.announcement-body p {
    margin: 0 0 0.75rem 0;
    color: #666;
    line-height: 1.6;
}

.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.announcement-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .announcement-item {
        flex-direction: column;
        gap: 1rem;
    }

    .announcement-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .announcement-header-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .announcement-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* Extracurricular Section */
.extracurricular-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.extracurricular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.extracurricular-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.extracurricular-card:hover {
    transform: scale(1.02);
}

.extracurricular-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.extracurricular-card:hover img {
    transform: scale(1.1);
}

.extracurricular-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--white);
}

.extracurricular-overlay p {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.btn-join {
    background-color: var(--white);
    color: var(--text-dark);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.btn-join:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background-color: #ea580c;
}

/* Teachers Section */
.teachers-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem 0;
}

.teachers-section .section-header {
    margin-bottom: 2rem;
}

.text-white {
    color: var(--white) !important;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-label {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.teacher-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.teacher-info {
    background-color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.teacher-info p {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 0.9rem;
}

.btn-info {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.btn-info:hover {
    background-color: #1d4ed8;
}

/* Achievements Section */
.achievements-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

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

.achievement-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.achievement-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.achievement-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.achievement-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1.5rem;
}

.achievement-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.achievement-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.achievement-info div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Facilities Section */
.facilities-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem 0;
}

.facilities-header {
    margin-bottom: 2rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.facility-card p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 1.5rem 1rem;
    margin: 0;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: var(--white);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-column h4 {
    font-size: 1rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.footer-column p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.app-badge {
    margin-top: 1rem;
}

.app-badge img {
    height: 50px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

.footer-column .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column .contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        width: 100%;
        text-align: left;
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 99;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 2rem;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .navbar {
        gap: 1rem;
    }

    .login-btn {
        display: none;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu li a {
        color: var(--white);
        padding: 10px 20px 10px 40px;
        font-size: 0.85rem;
    }

    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Hero Section Mobile */
    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .search-box {
        max-width: 100%;
        margin: 0 auto 1rem;
    }

    .icon-cards-grid {
        gap: 1.5rem;
        justify-content: flex-start;
        padding: 0 1rem;
    }

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

    .menu-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .quick-menu-item span {
        font-size: 0.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    .articles-section {
        padding: 2rem 0;
    }

    .teachers-grid,
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .article-card img {
        height: 150px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        gap: 0.5rem;
    }

    /* Hero Section Small Mobile */
    .hero {
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .hero-quote {
        font-size: 0.8rem;
    }

    .search-box input {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .search-btn {
        padding: 0.5rem 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .icon-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .icon-card span {
        font-size: 0.75rem;
    }

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

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

    .article-card {
        margin-bottom: 1rem;
    }

    .article-card img {
        height: 180px;
    }

    .article-title {
        font-size: 1rem;
    }
}

/* ========================
   PAGE HEADER STYLES
        width: 75px;
        height: 75px;
    }

    .icon-card-img i {
        font-size: 32px;
    }

    .teachers-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .article-card img {
        height: 120px;
    }

    .agenda-grid,
    .extracurricular-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer {
        padding: 3rem 0 0;
    }

    .footer-column h3 {
        font-size: 1.2rem;
    }
}

/* ========================
   PAGE HEADER STYLES
   ======================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ========================
   CONTENT SECTION
   ======================== */
.content-section {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}

/* Prose Styling for Dynamic Content */
.prose {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-dark);
}

.prose h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.prose p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.prose ul, .prose ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    color: var(--primary-color);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--secondary-color);
}

.prose strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* PPDB Content */
.ppdb-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Alumni Content */
.alumni-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ========================
   SAMBUTAN (GREETING) PAGE
   ======================== */
.principal-greeting {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

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

.principal-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.principal-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.principal-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.principal-info p {
    color: var(--text-light);
    font-size: 1rem;
}

.greeting-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.greeting-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    color: var(--text-dark);
}

.signature {
    margin-top: 2rem;
    text-align: right;
    font-style: italic;
}

.signature p {
    margin-bottom: 0.3rem;
}

/* ========================
   VISI MISI PAGE
   ======================== */
.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.vision-box,
.mission-box,
.goals-box {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.vision-box h2,
.mission-box h2,
.goals-box h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.main-vision {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.8;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.mission-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-list li {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mission-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mission-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.mission-list strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.goal-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.goal-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.goal-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.goal-item h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.goal-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================
   GURU (TEACHERS) PAGE
   ======================== */
.teachers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.filter-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.teacher-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    padding: 1.5rem;
}

.teacher-info h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.teacher-subject {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: block;
}

.teacher-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================
   ESKUL (EXTRACURRICULAR) PAGE
   ======================== */
.eskul-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.eskul-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.eskul-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.eskul-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.eskul-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.eskul-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.eskul-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
}

.eskul-schedule,
.eskul-pembina {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.eskul-schedule i,
.eskul-pembina i {
    color: var(--primary-color);
}

.eskul-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: var(--white);
}

.eskul-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.eskul-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ========================
   FASILITAS (FACILITIES) PAGE
   ======================== */
.facilities-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.facility-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.facility-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.facility-content {
    padding: 1.5rem;
}

.facility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 1rem;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.facility-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.facility-content p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
}

.facility-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ========================
   ARTIKEL PAGE
   ======================== */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Tablet: 3 kolom */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape: 2 kolom */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Portrait: 1 kolom */
@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.badge-prestasi {
    background: #f59e0b;
}

.badge-kegiatan {
    background: #10b981;
}

.badge-pendidikan {
    background: #3b82f6;
}

.badge-ppdb {
    background: #8b5cf6;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-content h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 1rem;
}

/* ========================
   PAGINATION STYLES
   ======================== */
.pagination-wrapper {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* Pagination navigation container */
.pagination-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-numbers {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.pagination-summary {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pagination-summary .font-medium {
    font-weight: 600;
    color: var(--text-dark);
}

/* Laravel Pagination Navigation */
nav[role="navigation"] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Pagination container */
.pagination,
nav[role="navigation"] > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Pagination buttons/links */
.page-link,
nav[role="navigation"] a,
nav[role="navigation"] span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Hover state */
.page-link:hover:not(.disabled),
nav[role="navigation"] a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Active/Current page */
.page-link.active,
nav[role="navigation"] span[aria-current="page"],
span.page-link.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    cursor: default;
    border-color: var(--primary-color);
}

/* Disabled state */
.page-link.disabled,
nav[role="navigation"] span[aria-disabled="true"],
span.page-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #d1d5db;
    color: #9ca3af;
    background: #f3f4f6;
}

.page-link.disabled:hover,
nav[role="navigation"] span[aria-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
    background: #f3f4f6;
    color: #9ca3af;
}

/* Previous/Next buttons */
nav[role="navigation"] a[rel="prev"],
nav[role="navigation"] a[rel="next"],
a.page-link[rel="prev"],
a.page-link[rel="next"] {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    min-width: 100px;
}

/* Hidden elements (Laravel generates some hidden text) */
nav[role="navigation"] .hidden {
    display: none;
}

/* Page info text (showing X to Y of Z results) */
nav[role="navigation"] > div > p,
.pagination-summary p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

/* Responsive pagination */
@media (max-width: 640px) {
    .pagination-wrapper {
        margin-top: 2rem;
    }
    
    .pagination-navigation {
        gap: 1rem;
    }
    
    .pagination-container {
        gap: 0.3rem;
    }
    
    nav[role="navigation"] {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .page-link,
    nav[role="navigation"] a,
    nav[role="navigation"] span {
        min-width: 36px;
        height: 36px;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    nav[role="navigation"] a[rel="prev"],
    nav[role="navigation"] a[rel="next"],
    a.page-link[rel="prev"],
    a.page-link[rel="next"] {
        width: 100%;
        max-width: 200px;
        min-width: auto;
    }
    
    .pagination-numbers {
        gap: 0.2rem;
    }
}

/* ========================
   HASIL PPDB PAGE
   ======================== */
.ppdb-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ppdb-info-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ppdb-info-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.ppdb-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.ppdb-info-card p {
    font-size: 1rem;
    opacity: 0.95;
}

.ppdb-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.ppdb-tab {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.ppdb-tab:hover,
.ppdb-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.ppdb-content {
    display: none;
}

.ppdb-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

.ppdb-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.stat-box h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-percent {
    font-size: 0.85rem;
    color: var(--text-light);
}

.ppdb-table-container {
    margin-bottom: 3rem;
}

.ppdb-table-container h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.ppdb-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.ppdb-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.ppdb-table th,
.ppdb-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.ppdb-table th {
    font-weight: 600;
    font-size: 0.95rem;
}

.ppdb-table tbody tr:hover {
    background: var(--bg-light);
}

.ppdb-table .text-center {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

.ppdb-info-box {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.ppdb-info-box h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ppdb-info-box ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.ppdb-info-box li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.download-section {
    margin-top: 4rem;
    text-align: center;
}

.download-section h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s;
}

.download-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.download-card i {
    font-size: 3rem;
}

.download-card span {
    font-weight: 600;
    text-align: center;
}

.ppdb-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.ppdb-cta h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ppdb-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ========================
   PENGUMUMAN PAGE
   ======================== */
.announcements-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.announcement-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid var(--primary-color);
}

.announcement-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.announcement-card.important {
    border-left-color: #ef4444;
    background: linear-gradient(to right, #fef2f2 0%, var(--white) 5%);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.announcement-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-important {
    background: #ef4444;
}

.badge-info {
    background: #3b82f6;
}

.badge-event {
    background: #8b5cf6;
}

.badge-academic {
    background: #10b981;
}

.badge-admin {
    background: #6b7280;
}

.badge-competition {
    background: #f59e0b;
}

.badge-health {
    background: #ec4899;
}

.badge-maintenance {
    background: #14b8a6;
}

.announcement-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.announcement-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.announcement-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.announcement-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.announcement-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.download-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.download-link:hover {
    gap: 1rem;
}

/* ========================
   AGENDA PAGE
   ======================== */
.month-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.month-nav {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.month-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.current-month {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
}

.agenda-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.agenda-week h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.agenda-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.agenda-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.agenda-item.upcoming {
    border-left: 5px solid #f59e0b;
}

.agenda-date {
    flex-shrink: 0;
}

.date-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.date-box .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-box .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.agenda-content {
    flex: 1;
}

.agenda-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.badge-academic {
    background: #10b981;
}

.badge-health {
    background: #ec4899;
}

.badge-event {
    background: #8b5cf6;
}

.badge-competition {
    background: #f59e0b;
}

.badge-religious {
    background: #14b8a6;
}

.badge-extracurricular {
    background: #3b82f6;
}

.badge-social {
    background: #f97316;
}

.badge-parents {
    background: #6b7280;
}

.agenda-content h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.agenda-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.agenda-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.agenda-details i {
    color: var(--primary-color);
}

.agenda-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.upcoming-summary {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.upcoming-summary h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.upcoming-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.upcoming-card:hover {
    transform: translateY(-5px);
}

.upcoming-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.upcoming-card h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.upcoming-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-calendar {
    text-align: center;
    margin-top: 4rem;
}

.download-calendar h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* ========================
   PRESTASI PAGE
   ======================== */
.prestasi-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card.gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-card.silver {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.stat-card.bronze {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.stat-card.blue {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.stat-card span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.prestasi-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.prestasi-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-year {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 15px;
    margin: 2rem 0 1rem;
}

.timeline-year h2 {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.prestasi-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.prestasi-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.prestasi-medal {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.prestasi-medal.gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.prestasi-medal.silver {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.prestasi-medal.bronze {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.prestasi-content {
    flex: 1;
}

.prestasi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.prestasi-header h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    flex: 1;
}

.prestasi-date {
    color: var(--text-light);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.prestasi-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--primary-color);
    width: 20px;
}

.prestasi-content > p {
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

.prestasi-gallery {
    margin-top: 4rem;
}

.prestasi-gallery h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
}

/* ========================
   KONTAK PAGE
   ======================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-info h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.social-media {
    margin-top: 2rem;
}

.social-media h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: transform 0.3s;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.whatsapp {
    background: #25d366;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.department-contacts {
    margin-bottom: 4rem;
}

.department-contacts h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.department-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.department-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.department-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.department-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.map-section {
    margin-bottom: 4rem;
}

.map-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

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

.direction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.direction-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.faq-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--bg-light);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e5e7eb;
}

.faq-question h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ========================
   RESPONSIVE STYLES FOR NEW PAGES
   ======================== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .principal-greeting {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .principal-photo {
        max-width: 300px;
        margin: 0 auto;
    }

    .greeting-text h2 {
        font-size: 1.5rem;
    }

    .vm-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .vision-box h2,
    .mission-box h2,
    .goals-box h2 {
        font-size: 1.6rem;
    }

    .teachers-grid,
    .eskul-grid,
    .facilities-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .ppdb-tabs {
        flex-direction: column;
    }

    .ppdb-table-container {
        overflow-x: auto;
    }

    .agenda-item {
        flex-direction: column;
        gap: 1rem;
    }

    .date-box {
        width: 60px;
        height: 60px;
    }

    .agenda-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .prestasi-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .prestasi-details {
        align-items: center;
    }

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

    .department-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   PPDB PAGE STYLES
   ======================== */
.ppdb-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.banner-content > p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.95;
}

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

.ppdb-jalur-section {
    margin-bottom: 4rem;
}

.jalur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.jalur-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.jalur-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.jalur-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.jalur-icon.zonasi {
    background: linear-gradient(135deg, #10b981, #059669);
}

.jalur-icon.afirmasi {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.jalur-icon.mutasi {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.jalur-icon.prestasi {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.jalur-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.kuota-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 auto 1rem;
    display: block;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.jalur-desc {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.jalur-requirements {
    list-style: none;
    padding: 0;
}

.jalur-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.jalur-requirements li i {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.timeline-section {
    margin-bottom: 4rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-date {
    flex-shrink: 0;
    text-align: center;
}

.date-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.timeline-date span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.requirements-section {
    margin-bottom: 4rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.requirement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.requirement-card:hover {
    transform: translateY(-10px);
}

.requirement-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.requirement-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.requirement-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.requirement-card li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.requirement-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 0.8;
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--bg-light);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e5e7eb;
}

.faq-question h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.faq-answer strong {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================
   ALUMNI PAGE STYLES
   ======================== */
.alumni-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.alumni-section {
    margin-bottom: 4rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.alumni-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.alumni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.alumni-photo {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.alumni-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.alumni-card:hover .alumni-photo img {
    transform: scale(1.1);
}

.alumni-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.alumni-card:hover .alumni-overlay {
    opacity: 1;
}

.social-alumni {
    display: flex;
    gap: 1rem;
}

.social-alumni a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.social-alumni a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.alumni-info {
    padding: 1.5rem;
}

.alumni-info h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.alumni-batch {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.alumni-profession {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.alumni-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alumni-location i {
    color: var(--primary-color);
}

.alumni-achievement {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e5e7eb;
}

.testimonials-section {
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.community-section {
    margin-bottom: 4rem;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.community-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.community-card:hover {
    transform: translateY(-10px);
}

.community-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.community-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.community-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.events-section {
    margin-bottom: 4rem;
}

.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.event-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.event-item:hover {
    transform: translateX(10px);
}

.event-date {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.event-date .year {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.event-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-location i {
    color: var(--primary-color);
}

.event-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.event-register {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.event-register:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.registration-section {
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.alumni-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for PPDB and Alumni pages */
@media (max-width: 768px) {
    .jalur-grid,
    .requirements-grid,
    .alumni-grid,
    .testimonials-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item,
    .event-item {
        flex-direction: column;
    }

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

    .banner-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}

/* ========================
   UNIVERSAL DETAIL PAGE STYLES
   ======================== */
.detail-section {
    padding: 2rem 0 4rem;
    min-height: 70vh;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb i {
    font-size: 0.7rem;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

.detail-content {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.detail-header {
    margin-bottom: 2rem;
}

.detail-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.detail-header h1 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-meta i {
    color: var(--primary-color);
}

.detail-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-body {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.detail-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.detail-body h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.detail-body h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.detail-body p {
    margin-bottom: 1.5rem;
}

.detail-body ul,
.detail-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.detail-body li {
    margin-bottom: 0.8rem;
}

.detail-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-left: 5px solid var(--primary-color);
    font-style: italic;
    color: var(--text-dark);
    border-radius: 0 10px 10px 0;
}

/* Detail Tables */
.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.detail-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.detail-table th,
.detail-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.detail-table th {
    font-weight: 600;
}

.detail-table tbody tr:hover {
    background: var(--bg-light);
}

/* Info Boxes */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
    background: #e0f2fe;
    border-left: 5px solid #0ea5e9;
}

.info-box.success {
    background: #d1fae5;
    border-left-color: #10b981;
}

.info-box.warning {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

.info-box i {
    font-size: 1.5rem;
    color: #0ea5e9;
    flex-shrink: 0;
}

.info-box.success i {
    color: #10b981;
}

.info-box.warning i {
    color: #f59e0b;
}

.info-box p {
    margin: 0;
    color: var(--text-dark);
}

/* CTA Box */
.cta-box {
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: var(--white);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.profile-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.profile-item:hover {
    transform: translateY(-5px);
}

.profile-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.profile-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.profile-item p {
    color: var(--text-light);
    margin: 0;
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.data-item strong {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.data-item span {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Facility Specs */
.facility-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.spec-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s;
}

.spec-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.spec-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.spec-item:hover i {
    color: var(--white);
}

.spec-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.spec-item p {
    margin: 0;
}

/* Prestasi Detail Grid */
.prestasi-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.prestasi-detail-item {
    text-align: center;
}

.prestasi-detail-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.prestasi-detail-item h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.prestasi-detail-item p {
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

/* Profile Card */
.profile-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    margin: 2rem 0;
}

.profile-photo {
    flex-shrink: 0;
}

.profile-photo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.profile-info p {
    margin-bottom: 0.8rem;
}

.profile-info ul {
    margin-top: 1rem;
}

/* Detail Gallery */
.detail-gallery {
    margin: 3rem 0;
}

.detail-gallery h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Detail Tags */
.detail-tags {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--bg-light);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Detail Share */
.detail-share {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--bg-light);
}

.detail-share h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0077b5;
}

/* Detail Navigation */
.detail-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back:hover {
    background: var(--secondary-color);
    transform: translateX(-5px);
}

/* Related Section */
.related-section {
    margin-top: 4rem;
}

.related-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Error Box */
.error-box {
    text-align: center;
    padding: 4rem 2rem;
}

.error-box i {
    font-size: 5rem;
    color: #ef4444;
    margin-bottom: 1.5rem;
}

.error-box h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-box p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Detail Page */
@media (max-width: 768px) {
    .detail-content {
        padding: 2rem 1.5rem;
    }
    
    .detail-header h1 {
        font-size: 1.8rem;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .detail-body {
        font-size: 1rem;
    }
    
    .detail-body .lead {
        font-size: 1.1rem;
    }
    
    .detail-body h2 {
        font-size: 1.5rem;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-photo img {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .profile-grid,
    .data-grid,
    .facility-specs,
    .prestasi-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .detail-table {
        font-size: 0.9rem;
    }
    
    .detail-table th,
    .detail-table td {
        padding: 0.7rem 0.5rem;
    }
}
