* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --color-orange: #ff7f00;
    --color-dark: #333;
    --color-light: #fff;
    --color-shadow: rgba(0, 0, 0, 0.5);
    --side-padding-desktop: 120px;
    --arrow-spacing: 50px;
    --card-start-offset: 70px;
    --card-start-offset-mobile: 15px;
}

/* 1. HEADER & NAVIGATION */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.logo-container {
    display: flex;
    align-items: center;
    color: var(--color-light);
    font-weight: 700;
    font-size: 1.1rem;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-light);
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--color-orange);
}

.lang-dropdown a {
    font-size: 0.9rem;
}

.arrow-down {
    font-size: 0.7rem;
}

/* 2. HERO SECTION */
.hero-section {
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-light);
    padding: 0 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(5px);
    transform: scale(1.02);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/image.jpeg');
}

.school-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px var(--color-shadow);
    z-index: 2;
}

.search-container {
    z-index: 2;
    display: flex;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 4px 10px var(--color-shadow);
    border-radius: 100px;
    overflow: hidden;
}

.search-input {
    flex-grow: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    color: var(--color-dark);
}

.search-input::placeholder {
    color: #aaa;
}

.search-button {
    background-color: var(--color-orange);
    color: var(--color-light);
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #e66900;
}

/* 3. SECTION TENTANG SEKOLAH */
.about-section {
    padding: 100px 50px;
    background-color: #f8f8f8;
}

.section-title {
    font-size: 2rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.about-content {
    margin-bottom: 80px;
}

.intro-section {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.intro-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    text-align: justify;
    flex: 1;
}

.intro-section .about-image-box {
    flex: 1;
    max-width: none;
    order: 2;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

.card-title {
    color: var(--color-orange);
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
    width: 100%;
}

.mission-box {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.Visi {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.Visi h4, .mission-box > h4 {
    color: var(--color-orange);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.mission-box ul {
    list-style: none;
    padding: 0;
}

.mission-box ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.mission-box ul li::before {
    content: '•';
    color: var(--color-orange);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

@media (max-width: 900px) {
    .intro-section {
        flex-direction: column;
        align-items: center;
    }

    .intro-section .about-image-box {
        max-width: 100%;
        order: -1;
        margin-bottom: 30px;
        flex: unset;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. SECTION PROFIL GURU & KARYAWAN */
.stats-counter-section {
    padding: 60px 0;
    margin-top: 50px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 0 var(--side-padding-desktop);
    text-align: center;
}

.stat-card {
    flex: 1;
    padding: 0 15px;
}

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

.stat-label {
    font-size: 1rem;
    color: var(--color-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-section {
    padding: 80px 0;
    background-color: var(--color-light);
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--side-padding-desktop);
    position: relative;
    margin-top: 50px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 2.2rem;
    font-weight: 400;
    background: var(--color-light);
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.nav-arrow:hover {
    background-color: var(--color-orange);
    color: var(--color-light);
    box-shadow: 0 6px 20px rgba(255, 127, 0, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.nav-arrow.left {
    left: 5px;
}

.nav-arrow.right {
    right: 5px;
}

.profile-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 0 0 20px 0;
    scroll-padding-left: var(--card-start-offset);
    scroll-padding-right: var(--card-start-offset);
    margin: 0;
}

.profile-carousel::-webkit-scrollbar {
    height: 8px;
}

.profile-carousel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.profile-carousel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.profile-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
    text-align: center;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding-bottom: 20px;
}

.profile-image-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f1f1f1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-name {
    font-size: 1.1rem;
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-title {
    font-size: 0.9rem;
    color: var(--color-orange);
    padding: 0 10px;
}

@media (max-width: 900px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .nav-arrow.left {
        left: 5px;
    }

    .nav-arrow.right {
        right: 5px;
    }

    .profile-container {
        padding: 0 40px;
    }

    .profile-carousel {
        padding: 0 0 20px 0;
        scroll-padding-left: var(--card-start-offset-mobile);
        scroll-padding-right: var(--card-start-offset-mobile);
    }

    .profile-card {
        flex: 0 0 80%;
    }
}

/* 5. SECTION KEGIATAN & PRESTASI */
.activity-section {
    padding: 80px 50px;
    background-color: #f1f1f1;
}

.activity-tabs {
    text-align: center;
    margin-bottom: 50px;
}

.tab-button {
    background: none;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    padding: 10px 30px;
    margin: 0 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.tab-button.active {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}

.tab-button:hover:not(.active) {
    background-color: #eee;
}

.activity-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

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

.activity-image-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.activity-card:hover .activity-image {
    transform: scale(1.05);
}

.activity-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-light);
    z-index: 10;
}

.activity-tag.ekskul {
    background-color: #4CAF50;
}

.activity-tag.acara {
    background-color: var(--color-orange);
}

.activity-tag.prestasi {
    background-color: #2196F3;
}

.activity-content {
    padding: 20px;
    flex-grow: 1;
}

.activity-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.activity-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    font-style: italic;
}

.activity-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more-btn:hover {
    color: #e66900;
}

@media (max-width: 768px) {
    .activity-section {
        padding: 50px 20px;
    }

    .activity-grid-container {
        grid-template-columns: 1fr;
    }

    .activity-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .tab-button {
        padding: 8px 15px;
        font-size: 0.9rem;
        margin: 0;
    }
}

/* 6. SECTION TATA TERTIB */
.rules-section {
    padding: 80px 50px;
    background-color: #fff;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.rules-intro {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.6;
}

.rules-accordion {
    margin-bottom: 60px;
    text-align: left;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--color-light);
    border-left: 5px solid var(--color-orange);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s, border-left 0.3s;
}

.accordion-header:hover {
    background-color: #fcfcfc;
}

.accordion-header.active {
    background-color: #fff8f0;
    border-left-color: var(--color-dark);
    border-bottom: 1px solid #ffefe0;
}

.rule-title {
    font-size: 1.15rem;
    color: var(--color-dark);
    font-weight: 700;
}

.icon-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-orange);
    transition: transform 0.3s;
}

.accordion-header.active .icon-toggle {
    transform: rotate(45deg);
    color: var(--color-dark);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s;
    background-color: #fff;
}

.accordion-content.open {
    max-height: 3700px;
    padding: 20px 25px 25px 25px;
}

.content-body p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.rules-section .accordion-content h4 {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
    padding-bottom: 5px;
}

.seragam-scroll-wrapper {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
}

.seragam-visual {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.seragam-visual p strong {
    color: var(--color-orange);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 5px;
}

.blueprint-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto 10px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.caption {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    font-style: italic;
}

.detail-list {
    list-style: none;
    margin-left: 0;
    color: #666;
    padding-bottom: 10px;
}

.detail-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.detail-list li::before {
    content: '→';
    color: var(--color-orange);
    font-size: 1.1rem;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

.rules-action {
    margin-top: 50px;
}

.rules-action p {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 25px;
}

.main-cta-button {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-light);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(255, 127, 0, 0.4);
}

.main-cta-button:hover {
    background-color: #e66900;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 127, 0, 0.5);
}

@media (max-width: 768px) {
    .rules-section {
        padding: 50px 20px;
    }

    .accordion-header {
        padding: 15px 20px;
    }

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

    .main-cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* 7. SECTION PUBLIKASI & BERITA */
.publication-section {
    padding: 80px 50px;
    background-color: #f8f8f8;
}

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

.featured-post-card {
    display: flex;
    background-color: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.featured-image-box {
    flex: 1;
    max-height: 400px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.news-tag.highlight {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.featured-title {
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-date {
    font-size: 0.9rem;
    color: var(--color-orange);
    margin-bottom: 20px;
}

.featured-summary {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-link {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.feature-link:hover {
    color: #e66900;
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.news-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-tag.small {
    background-color: #ddd;
    color: var(--color-dark);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-block;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
    height: 45px;
    overflow: hidden;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
}

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

@media (max-width: 900px) {
    .featured-post-card {
        flex-direction: column;
    }

    .featured-image-box {
        max-height: 300px;
    }

    .featured-content {
        padding: 25px;
    }

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

/* 8. SECTION KONTAK */
.contact-section {
    padding: 80px 50px;
    background-color: var(--color-light);
}

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

.contact-content-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    align-items: flex-start;
}

.contact-info-map {
    flex: 1;
}

.contact-details h3, .contact-form-box h3 {
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-bottom: 20px;
    border-left: 5px solid var(--color-orange);
    padding-left: 10px;
}

.contact-details p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

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

.map-container iframe {
    display: block;
}

.contact-form-box {
    flex: 1.2;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    text-align: center;
    border: none;
}

/* 9. FOOTER */
footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding-top: 60px;
    padding-bottom: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
}

.footer-col.about {
    max-width: 300px;
}

.school-name-footer {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 10px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 5px;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-orange);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--color-orange);
}

.social-links a {
    display: inline-block;
    color: var(--color-light);
    font-size: 1rem;
    margin-right: 15px;
    margin-top: 20px;
    transition: color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #aaa;
}


/* Animasi */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.45;
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
  animation: blobMove 18s ease-in-out infinite;
}

.hero-blob.blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 20% 20%, rgba(255,127,0,0.9), rgba(255,127,0,0.35) 40%, transparent 60%);
  top: -80px; left: -80px;
  animation-duration: 20s;
}
.hero-blob.blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 80% 80%, rgba(33,150,243,0.85), rgba(33,150,243,0.25) 40%, transparent 60%);
  bottom: -60px; right: -100px;
  animation-duration: 24s;
  animation-delay: 2s;
}
@keyframes blobMove {
  0% { transform: translate(0,0) scale(1); }
  25% { transform: translate(30px,-20px) scale(1.05); }
  50% { transform: translate(-20px,30px) scale(0.95); }
  75% { transform: translate(10px, -10px) scale(1.02); }
  100% { transform: translate(0,0) scale(1); }
}


.hero-section .school-name,
.hero-section .search-container { z-index: 2; position: relative; }

.search-button {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(.2,.9,.3,1), box-shadow 0.18s;
  will-change: transform;
}
.search-button:active { transform: translateY(1px) scale(0.995); }


.search-button .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 600ms linear;
  background: rgba(255,255,255,0.25);
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

.search-button:hover {
  box-shadow: 0 8px 30px rgba(255,127,0,0.18);
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: transform, opacity;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


.profile-carousel {
  scroll-behavior: smooth;
}
.profile-card {
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.profile-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}


.stat-number {
  transition: transform 450ms cubic-bezier(.2,.9,.3,1);
}
.stat-number.animate {
  transform: translateY(-6px) scale(1.02);
}


@media (max-width: 900px) {
  .hero-blob.blob-1 { width: 260px; height: 260px; top: -40px; left: -40px; opacity: 0.35; filter: blur(30px);}
  .hero-blob.blob-2 { width: 200px; height: 200px; bottom: -30px; right: -40px; opacity: 0.28; filter: blur(26px);}
}


.hero-animate {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: all 1s ease;
}
.hero-animate.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


.about-animate {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 1s ease-out;
}
.about-animate.revealed {
  opacity: 1;
  transform: translateX(0);
}


.profile-animate {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(.68,-0.55,.27,1.55);
}
.profile-animate.revealed {
  opacity: 1;
  transform: scale(1);
}


.activity-animate {
  opacity: 0;
  transform: rotateY(80deg);
  transition: all 1.1s ease;
  transform-origin: left center;
}
.activity-animate.revealed {
  opacity: 1;
  transform: rotateY(0);
}


.stats-animate {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s ease;
}
.stats-animate.revealed {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 20px rgba(255, 127, 0, 0.4);
  animation: glowPulse 1.8s infinite alternate;
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 0 rgba(255, 127, 0, 0); }
  100% { box-shadow: 0 0 25px rgba(255, 127, 0, 0.45); }
}


.footer-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}
.footer-animate.revealed {
  opacity: 1;
  transform: translateY(0);
}


.hero-search-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.hero-search-animate.revealed {
  opacity: 1;
  transform: translateY(0);
}


.about-left, .about-right {
  opacity: 0;
  transition: all 1s ease;
}
.about-left {
  transform: translateX(-80px);
}
.about-right {
  transform: translateX(80px);
}
.about-left.revealed, .about-right.revealed {
  opacity: 1;
  transform: translateX(0);
}


.visi-misi {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s;
}
.visi-misi.revealed {
  opacity: 1;
  transform: translateY(0);
}


.kegiatan-filter {
  opacity: 0;
  transform: translateY(-60px);
  transition: all 0.5s ease;
}
.kegiatan-filter.revealed {
  opacity: 1;
  transform: translateY(0);
}

.kegiatan-foto {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s cubic-bezier(.68,-0.55,.27,1.55);
}
.kegiatan-foto.revealed {
  opacity: 1;
  transform: scale(1);
}


.tata-tertib-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.tata-tertib-item.revealed {
  opacity: 1;
  transform: translateY(0);
}
