/* === RESET DASAR === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9fafc;
    color: #333;
}

/* === NAVBAR === */

nav {
    position: sticky;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 230px 20px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: white;
    overflow: hidden;
    /* border: red solid 1px; */
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 15px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}

.hero p {
    max-width: 700px;
    font-size: 1.4rem;
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}

.hero a {
    position: absolute;
    bottom: 20%;
    background: #ffd700;
    color: #1e3a8a;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    animation: tombolUtama infinite 2s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}


@keyframes tombolUtama {
    0% {
        background-color: #ffd700;
    }

    50% {
        background-color: white;
    }

    100% {
        background-color: #ffd700;
    }
}

.hero a:hover {
    background: white;
    color: #1e3a8a;
    padding: 15px 28px;
}

.mulai-btn {
    background: none;
    outline: none;
    border: none;
    color: #1e3a8a;
    font-size: 1.2rem;
    font-weight: 600;
}

/* .guru1 {
    position: absolute;
    bottom: -2%;
    right: 0%;
    width: 100%;
    display: flex;
    transform: translate(-50%, -50%);
    border: black 1px solid;
    } */

.deco2 {
    position: absolute;
    top: -1%;
    right: 2%;
    height: 110px;
    width: auto;
    transform: rotate(90deg);
    animation: deco 10s infinite;
}

.deco1 {
    position: absolute;
    bottom: 0%;
    right: 50%;
    height: 100px;
    width: auto;
    transform: rotate(90deg);
    animation: deco 13s infinite;
}

.deco3 {
    position: absolute;
    top: -5%;
    left: 20%;
    height: 100px;
    width: auto;
    animation: deco 15s infinite;
}

@keyframes deco {
    0% {
        transform: scale(1)
    }

    33% {
        transform: scale(1.2);
    }

    66% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.fguru1 {
    position: absolute;
    bottom: 0%;
    left: 0%;
    height: 520px;
    width: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}

.fguru2 {
    position: absolute;
    bottom: -2%;
    right: 0%;
    height: 460px;
    width: auto;
    /* margin-top: auto;
    margin-left: auto; */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}


.tlc {
    position: absolute;
    top: -15%;
    left: -12%;
    height: 400px;
    width: auto;
    /* animation: deco2 25s infinite; */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}

.brc {
    position: absolute;
    bottom: -25%;
    right: -12%;
    height: 400px;
    width: auto;
    transform: rotate(225deg);
    /* animation: deco2 25s infinite; */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* @keyframes deco2 {
    0% {height: 500px;}
    50% {height: 450px;}
    100% {height: 500px;}
} */

/* === ABOUT SECTION === */
.about {
    padding: 80px 20px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    /* color: #0d47c3; */
    /* z-index: 99; */
}

.about h1 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-size: 2rem;
}

.about p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* === FEATURES SECTION === */
.features {
    background-color: #eef2ff;
    padding: 80px 20px;
    text-align: center;
}

.features h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.feature-item {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.feature-item h3 a {
    text-decoration: none;
}

.feature-item p {
    color: #555;
    line-height: 1.5;
}

.guru-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.guru-container h1 {
    margin-bottom: 25px;
}

.guru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.guru-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: transform .2s;
}

.guru-card:hover {
    transform: translateY(-5px);
}

.guru-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.guru-card h3 {
    margin: 8px 0 4px;
}

.guru-card span {
    font-size: 13px;
    color: #666;
}

.guru-card .mapel {
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
}

.guru-card a {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

/* === FOOTER === */

/* ANIMASI */

/* === RESPONSIVE === */
@media (max-width: 1400px) {
    .fguru1 {
        height: 400px;
        display: none;
    }

    .fguru2 {
        height: 360px;
        display: none;
    }
}

@media (max-width: 768px) {

    .tlc {
        height: 175px;
        width: auto;
    }

    .brc {
        height: 200px;
        width: auto;
    }

    .fguru1 {
        height: 200px;
    }

    .fguru2 {
        height: 185px;
        margin-right: -20px;
    }

    .deco1 {
        height: 50px;
    }

    .deco2 {
        height: 55px;
    }

    .deco3 {
        height: 50px;
    }

    .hero {
        /* justify-content: top; */
        /* align-items: top; */
        padding-top: 110px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 250px;
        /* padding-top: 50px; */
    }

    .hero h1 {
        /* padding-top: -50px; */
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero a {
        bottom: 30%;
    }

    .hero button {
        font-size: 0.9rem;
        font-weight: 600;
    }
}

/* Tentang */

.header {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}

.header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.8s ease forwards;
}

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECTION TENTANG */
.about-section {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
    /* background-color: #0d47c3; */
}

.about-section h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-section p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* VISI MISI */
.visi-misi {
    background: #eef2ff;
    padding: 70px 20px;
}

.visi-misi h2 {
    text-align: center;
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 40px;
}

.vm-container {
    max-width: 950px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.vm-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vm-item h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.vm-item p {
    color: #555;
    line-height: 1.6;
}

/* TEAM */
.team {
    padding: 70px 20px;
    text-align: center;
}

.team h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 35px;
}

.team-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.team-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card h3 {
    color: #1e3a8a;
    margin-bottom: 8px;
}

.team-card p {
    color: #555;
    font-size: 0.95rem;
}

/* FOOTER */
footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 20%;
        left: 5%;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        left: 20px;
        background: rgb(255, 255, 255);
        flex-direction: column;
        width: 200px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        display: none;
        /* hidden by default */
    }

    .nav-links li {
        margin-bottom: 10px;
        /* border-bottom: 1px black solid; */
        /* padding: 15px; */
        /* background-color: #2563eb; */

    }

    .nav-links a {
        color: #0d47c3;
    }

    .nav-links.show {
        display: flex;
        animation: fadeDown 0.3s ease;
    }

    .header h1 {
        font-size: 2rem;
    }
}