
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #263238;
    background: #ffffff;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}


/* =========================
   NAVBAR
========================= */
.header {
    width: 100%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.navbar {
    width: 90%;
    max-width: 1200px;
    min-height: 75px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: #087f5b;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    color: #263238;
    font-size: 15px;
    font-weight: 600;

    padding: 10px 14px;
    border-radius: 8px;

    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    background: #087f5b;
}


/* =========================
   HAMBURGER
========================= */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    border-radius: 5px;
    background: #087f5b;
}


/* =========================
   HERO
========================= */
.hero {
    min-height: 90vh;
    padding: 80px 0;

    display: flex;
    align-items: center;

    background: linear-gradient(
        135deg,
        #f0fff9,
        #ffffff
    );
}

.hero-content {
    width: 90%;
    max-width: 1150px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-small {
    color: #087f5b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero h1 {
    color: #087f5b;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero h2 {
    color: #37474f;
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 20px;
}

.hero p:not(.hero-small) {
    color: #607d8b;
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 600px;
}

.hero-image {
    order: 2;
    overflow: hidden;
    border-radius: 25px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    height: 390px;
    object-fit: cover;

    transition: 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}


/* =========================
   BUTTON
========================= */
.btn {
    display: inline-block;

    padding: 13px 25px;
    border-radius: 10px;

    background: #087f5b;
    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(8, 127, 91, 0.25);

    transition: 0.3s ease;
}

.btn:hover {
    background: #056b4c;
    transform: translateY(-3px);
}


/* =========================
   GENERAL SECTION
========================= */
.section {
    padding: 90px 0;
    background: #ffffff;
}

.section-light {
    background: #f5fbf8;
}

.section-title {
    text-align: center;
    color: #087f5b;

    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 55px;

    position: relative;
}

.section-title::after {
    content: "";
    display: block;

    width: 55px;
    height: 4px;

    margin: 12px auto 0;

    border-radius: 10px;
    background: #f4b942;
}


/* =========================
   PROFIL
========================= */
.profil-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.profil-info,
.visi,
.misi {
    background: #ffffff;
    padding: 30px;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    border: 1px solid #e7f2ed;
}

.profil-info h3,
.visi h3,
.misi h3 {
    color: #087f5b;
    font-size: 23px;
    margin-bottom: 15px;
}

.profil-info p {
    color: #607d8b;
    margin-bottom: 15px;
}

.profil-info strong {
    color: #263238;
}

.visi-misi {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.misi ol {
    padding-left: 22px;
    color: #607d8b;
}

.misi li {
    margin-bottom: 12px;
    padding-left: 5px;
}


/* =========================
   PROGRAM / JURUSAN
========================= */
.program-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.program-card {
    overflow: hidden;
    background: #ffffff;

    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transition: 0.35s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.13);
}

.program-card img {
    height: 250px;
    object-fit: cover;
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    color: #087f5b;
    font-size: 22px;
    margin-bottom: 10px;
}

.program-content p {
    color: #607d8b;
}


/* =========================
   GURU
========================= */
.guru-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.guru-card {
    text-align: center;

    background: #ffffff;
    padding-bottom: 25px;

    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    transition: 0.35s ease;
}

.guru-card:hover {
    transform: translateY(-7px);
}

.guru-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
     border-radius: 50%;
    margin: 25px auto 0;
    border: 5px solid #e7f2ed;
}


.guru-card h3 {
    color: #087f5b;
    font-size: 19px;
    margin: 20px 15px 5px;
}

.guru-card p {
    color: #78909c;
    font-size: 14px;
}


/* =========================
   GALERI
========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

    background: #ffffff;
}

.gallery-item img {
    height: 230px;
    object-fit: cover;

    transition: 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}


/* =========================
   KONTAK
========================= */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 35px;
    align-items: stretch;
}

.contact-info,
.contact-form {
    background: #ffffff;

    padding: 30px;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    border: 1px solid #e7f2ed;
}

.contact-info h3 {
    color: #087f5b;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #607d8b;
    margin-bottom: 18px;
}


/* =========================
   FORM
========================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d5e5df;
    border-radius: 10px;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #087f5b;
    box-shadow: 0 0 0 3px rgba(8, 127, 91, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    border: none;
    cursor: pointer;

    padding: 14px;

    border-radius: 10px;

    background: #087f5b;
    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #056b4c;
    transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */
footer {
    background: #075c43;
    color: #ffffff;

    text-align: center;

    padding: 25px 15px;

    font-size: 14px;
}


/* =========================
   TABLET
========================= */
@media (max-width: 900px) {

    .nav-menu {
        gap: 2px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 9px 10px;
    }

    .hero-content {
        gap: 35px;
    }

    .profil-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .guru-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   MOBILE
========================= */
@media (max-width: 700px) {

    .navbar {
        min-height: 68px;
    }

    .logo {
        font-size: 17px;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: absolute;

        top: 68px;
        left: -100%;

        width: 100%;

        padding: 20px;

        flex-direction: column;
        align-items: stretch;

        background: #ffffff;

        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);

        transition: 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        text-align: center;
        padding: 12px;
    }

    /* HERO */
    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 280px;
    }

    .hero p:not(.hero-small) {
        margin-left: auto;
        margin-right: auto;
    }

    /* SECTION */
    .section {
        padding: 65px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

    /* PROGRAM */
    .program-container {
        grid-template-columns: 1fr;
    }

    .program-card img {
        height: 220px;
    }

    /* GURU */
    .guru-container {
        grid-template-columns: 1fr;
    }

.guru-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px auto 0;
}
    

    /* GALERI */
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 250px;
    }

    /* KONTAK */
    .contact-container {
        grid-template-columns: 1fr;
    }
}


/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 400px) {

    .container,
    .navbar,
    .hero-content {
        width: 92%;
    }

    .logo {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero h2 {
        font-size: 19px;
    }

    .hero-image img {
        height: 230px;
    }

    .profil-info,
    .visi,
    .misi,
    .contact-info,
    .contact-form {
        padding: 22px;
    }

    .guru-card img {
        height: 260px;
    }
}