/* =========================================
   POS PAUD NADA HARAPAN
   STYLE.CSS
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #fffaff;
    color: #40334b;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 250, 255, 0.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #eee3f4;
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    padding: 13px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* BAGIAN LOGO */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #633b83;
    flex-shrink: 0;
}

/* UKURAN LOGO DIPAKSA */
header.navbar .nav-inner .brand img.logo-image {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 7px;
    flex-shrink: 0;
}

/* NAMA DI SAMPING LOGO */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-family: "Baloo 2", cursive;
    font-size: 18px;
}

.brand-text span {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #9a7cad;
}

/* MENU */
nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav a {
    position: relative;
    color: #6d5b77;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #75439a;
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #9d68c2;
    border-radius: 50%;
}

.nav-button {
    padding: 9px 17px;
    background: #74459a;
    color: white !important;
    border-radius: 30px;
    font-size: 12px !important;
    box-shadow: 0 7px 18px rgba(116, 69, 154, 0.2);
    transition: 0.3s;
}

.nav-button:hover {
    background: #633982;
    transform: translateY(-2px);
}

.section {
    padding: 90px 7%;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 15px;
    background: #eee2f7;
    color: #79509a;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.section-header h2 {
    margin-top: 13px;
    font-family: "Baloo 2", cursive;
    font-size: 42px;
    line-height: 1.15;
    color: #4e3261;
}

.section-header h2 span {
    color: #955dc0;
}

.section-header p {
    margin-top: 12px;
    color: #8a7c91;
    font-size: 14px;
}


/* =========================================
   HERO / BERANDA
========================================= */

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    padding: 70px 8% 100px;
    background:
        linear-gradient(
            135deg,
            rgba(246, 236, 252, 0.94),
            rgba(255, 249, 255, 0.94)
        );
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-one {
    width: 350px;
    height: 350px;
    background: #ead6f7;
    right: -120px;
    top: -100px;
    opacity: 0.55;
}

.shape-two {
    width: 180px;
    height: 180px;
    background: #f8dced;
    left: -70px;
    bottom: 40px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 570px;
}

.hero-label {
    display: inline-block;
    padding: 8px 17px;
    margin-bottom: 17px;
    background: white;
    color: #8050a0;
    border-radius: 30px;
    font-size: 12px;
    box-shadow: 0 7px 25px rgba(105, 66, 130, 0.08);
}

.hero h1 {
    font-family: "Baloo 2", cursive;
    color: #4b2e5d;
    font-size: 64px;
    line-height: 0.98;
    margin-bottom: 22px;
}

.hero h1 span {
    display: block;
    color: #945abd;
}

.hero p {
    max-width: 500px;
    color: #75677e;
    font-size: 15px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    background: #75459a;
    color: white;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(117, 69, 154, 0.22);
    transition: 0.3s;
}

.button-primary:hover {
    transform: translateY(-3px);
    background: #633982;
}

.button-secondary {
    padding: 12px 20px;
    color: #724794;
    border: 1px solid #d9c1e7;
    background: white;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.button-secondary:hover {
    background: #f7edfb;
}


/* =========================================
   HERO PHOTO
========================================= */

.hero-photo {
    position: relative;
    z-index: 2;
    width: min(470px, 100%);
    margin: auto;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 45% 45% 25% 25%;
    border: 9px solid white;
    box-shadow: 0 25px 55px rgba(87, 46, 113, 0.18);
    transform: rotate(2deg);
}

.hero-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transform: rotate(-2deg) scale(1.02);
}

.photo-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px dashed #c29ddd;
    border-radius: 45% 45% 25% 25%;
    right: -17px;
    top: 17px;
    z-index: -1;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(85, 48, 108, 0.13);
    color: #68477c;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

.card-top {
    top: 40px;
    left: -25px;
}

.card-bottom {
    right: -25px;
    bottom: 40px;
}

.hero-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 65px;
    background: #fffaff;
    clip-path: ellipse(70% 60% at 50% 100%);
}


/* =========================================
   QUICK INFO
========================================= */

.quick-info {
    position: relative;
    margin-top: -20px;
    z-index: 10;
    padding: 0 7% 30px;
    background: #fffaff;
}

.quick-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(83, 50, 103, 0.07);
}

.quick-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 18px;
    flex-shrink: 0;
}

.quick-icon.purple {
    background: #eadcfa;
}

.quick-icon.pink {
    background: #f8dce9;
}

.quick-icon.yellow {
    background: #fff0c8;
}

.quick-icon.blue {
    background: #dfeafd;
}

.quick-card small {
    display: block;
    color: #9b8da2;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-card strong {
    display: block;
    color: #594063;
    font-size: 12px;
}


/* =========================================
   PROFIL
========================================= */

.profil {
    background: #fffaff;
}

.profil-layout {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.profil-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hello-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: #f4e8fb;
    border-radius: 25px;
}

.hello-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 15px;
    font-size: 23px;
}

.hello-card h3 {
    font-family: "Baloo 2", cursive;
    color: #5b3770;
    font-size: 23px;
}

.hello-card p {
    margin-top: 5px;
    color: #776981;
    font-size: 13px;
}

.quote-card {
    padding: 30px;
    background: white;
    border: 1px solid #eee4f3;
    border-radius: 25px;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 60px;
    color: #d8b7eb;
    line-height: 0;
}

.quote-card p {
    margin-top: 10px;
    color: #6c5b74;
    font-size: 14px;
    font-style: italic;
}

.identity-card {
    padding: 30px;
    background: white;
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(85, 50, 106, 0.08);
    border: 1px solid #f0e7f4;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee6f2;
}

.title-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee1f8;
    border-radius: 14px;
}

.card-title small {
    display: block;
    color: #a185ae;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.card-title h3 {
    font-family: "Baloo 2", cursive;
    color: #543365;
    font-size: 23px;
}

.identity-item {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px dashed #eee5f2;
}

.identity-item:last-child {
    border-bottom: none;
}

.identity-item span {
    color: #a08fa6;
    font-size: 11px;
}

.identity-item strong {
    color: #594362;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================
   GURU
========================================= */

.guru {
    background:
        radial-gradient(
            circle at 10% 20%,
            #f1defa,
            transparent 25%
        ),
        #fdf7ff;
}

.guru-layout {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.guru-photo-area {
    position: relative;
    max-width: 390px;
    width: 100%;
    margin: auto;
}

.guru-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 30px;
    border: 8px solid white;
    box-shadow: 0 25px 50px rgba(83, 44, 106, 0.18);
}

.guru-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.guru-photo-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #e6c9f4;
    transform: rotate(-6deg);
    left: -15px;
    top: 15px;
}

.guru-caption {
    position: absolute;
    z-index: 5;
    bottom: 25px;
    right: -25px;
    padding: 12px 18px;
    background: white;
    border-radius: 16px;
    color: #644374;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(85, 45, 105, 0.13);
}

.guru-caption span {
    margin-right: 5px;
}

.guru-heading small {
    color: #9c70b4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.guru-heading h3 {
    font-family: "Baloo 2", cursive;
    color: #543265;
    font-size: 32px;
    line-height: 1.15;
    margin: 5px 0 22px;
}

.teacher-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.teacher {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 13px;
    background: white;
    border: 1px solid #eee4f3;
    border-radius: 15px;
    transition: 0.3s;
}

.teacher:hover {
    transform: translateX(6px);
    border-color: #d8b9e8;
}

.teacher-number {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f0e1f8;
    color: #82509f;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 700;
}

.teacher-info strong {
    display: block;
    color: #50365c;
    font-size: 13px;
}

.teacher-info span {
    display: block;
    color: #a08ba9;
    font-size: 10px;
}


/* =========================================
   VISI MISI
========================================= */

.visi-misi {
    background: white;
}

.vision-card {
    max-width: 1000px;
    margin: auto auto 60px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(
        135deg,
        #eee0f8,
        #faf5fd
    );
    border-radius: 30px;
    border: 1px solid #eadcf1;
}

.vision-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 20px;
    font-size: 28px;
}

.vision-card small {
    color: #9565b0;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.vision-card h3 {
    font-family: "Baloo 2", cursive;
    color: #58366a;
    font-size: 28px;
}

.vision-card p {
    color: #6f6076;
    font-size: 13px;
    font-style: italic;
}

.subsection-title {
    max-width: 1050px;
    margin: 0 auto 25px;
    text-align: center;
}

.subsection-title span {
    color: #9161ae;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.mission-grid {
    max-width: 1050px;
    margin: auto auto 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mission-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    background: #fcf9fd;
    border: 1px solid #eee4f2;
    border-radius: 20px;
}

.mission-card b {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ead9f5;
    color: #754592;
    border-radius: 11px;
    font-size: 10px;
}

.mission-card p {
    color: #706274;
    font-size: 12px;
}

.goals {
    max-width: 1050px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.goal {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: #fdf9ff;
    border: 1px solid #eee4f3;
    border-radius: 18px;
}

.goal > div {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7d2f3;
    color: #744691;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.goal p {
    color: #706274;
    font-size: 12px;
}


/* =========================================
   GALERI KEGIATAN
========================================= */

.kegiatan {
    background: #f8f0fc;
}

.gallery {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 22px;
    background: #e9d9ef;
    box-shadow: 0 10px 25px rgba(87, 48, 108, 0.08);
}

.gallery-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.07);
}


/* =========================================
   CONTACT
========================================= */

.contact {
    background: white;
}

.contact-box {
    max-width: 1050px;
    margin: auto;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(
        135deg,
        #5f3b76,
        #8b58a7
    );
    border-radius: 35px;
    color: white;
    overflow: hidden;
    position: relative;
}

.contact-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.contact-text {
    position: relative;
    z-index: 2;
}

.contact-text .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.contact-text h2 {
    font-family: "Baloo 2", cursive;
    font-size: 42px;
    line-height: 1.1;
    margin: 15px 0;
}

.contact-text h2 span {
    color: #efd8fa;
}

.contact-text p {
    color: #eadff0;
    font-size: 13px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 13px;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    color: white;
    transition: 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
}

.contact-item > div {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-item small {
    display: block;
    color: #d8c7df;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.contact-item p {
    color: white;
    font-size: 11px;
}

.contact-link {
    display: inline-block;
    margin-top: 3px;
    color: #ead5f5;
    font-size: 9px;
    font-weight: 600;
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 45px 20px;
    background: #432753;
    color: white;
    text-align: center;
}

.footer-brand {
    font-family: "Baloo 2", cursive;
    font-size: 22px;
    margin-bottom: 8px;
}

.footer-content p {
    color: #cdbed4;
    font-size: 12px;
}

.footer-line {
    width: 50px;
    height: 2px;
    margin: 20px auto;
    background: #a77ac0;
}

.footer-content small {
    color: #9f8ba7;
    font-size: 10px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .nav-button {
        display: none;
    }

    nav {
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero h1 {
        font-size: 52px;
    }

    .quick-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .guru-layout {
        gap: 35px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-box {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

    .nav-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    /* LOGO DI HP */
    .brand .logo-image {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    nav a {
        font-size: 11px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 55px 6% 100px;
    }

    .hero-content {
        margin: auto;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-photo {
        width: min(360px, 90%);
    }

    .hero-image-wrap img {
        height: 370px;
    }

    .quick-container {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 70px 5%;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .profil-layout {
        grid-template-columns: 1fr;
    }

    .guru-layout {
        grid-template-columns: 1fr;
    }

    .guru-photo-area {
        max-width: 340px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
    }

    .gallery-item.big {
        grid-column: span 2;
        grid-row: span 1;
    }

    .contact-box {
        padding: 30px 22px;
    }

    .contact-text h2 {
        font-size: 34px;
    }
}


/* =========================================
   SMALL PHONE
========================================= */

@media (max-width: 480px) {

    .quick-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
        justify-content: center;
    }

    .identity-item {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .guru-caption {
        right: 5px;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 230px;
    }

    .gallery-item.big {
        grid-column: span 1;
    }

    .vision-card {
        flex-direction: column;
        align-items: flex-start;
    }
}