/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #263238;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}


/* ==================================================
   VARIABLES
================================================== */

:root {
    --primary: #477a6f;
    --primary-dark: #315d54;
    --secondary: #dcece7;
    --accent: #e8b76d;

    --text: #263238;
    --muted: #6b7775;

    --light: #f5f9f7;
    --white: #ffffff;

    --border: #e2ebe7;

    --shadow:
        0 15px 40px rgba(35, 75, 65, 0.08);
}


/* ==================================================
   HEADER
================================================== */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(226, 235, 231, 0.7);
}

.navbar {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 43px;
    height: 43px;

    border-radius: 13px;

    background: var(--secondary);
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
}

.logo strong {
    display: block;

    color: var(--primary-dark);

    font-size: 14px;
    line-height: 1.2;
}

.logo span {
    display: block;

    color: var(--muted);

    font-size: 11px;
}

.nav-menu {
    display: flex;
    gap: 27px;
    align-items: center;
}

.nav-link {
    position: relative;

    color: #596764;

    font-size: 13px;
    font-weight: 500;

    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: "";

    position: absolute;

    width: 100%;
    height: 2px;

    left: 0;
    bottom: -8px;

    background: var(--primary);
}

.menu-toggle {
    display: none;

    border: none;
    background: none;

    font-size: 23px;
    color: var(--primary);
}


/* ==================================================
   BUTTON
================================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 19px;

    border-radius: 10px;

    border: 1px solid transparent;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;

    box-shadow: 0 8px 20px rgba(71, 122, 111, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}

.btn-outline {
    background: white;
    color: var(--primary);

    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--secondary);
}

.full-button {
    width: 100%;
}


/* ==================================================
   HERO
================================================== */

.hero {
    min-height: 720px;

    padding-top: 150px;
    padding-bottom: 80px;

    background:
        radial-gradient(
            circle at 85% 25%,
            #e5f0ec 0,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f8fbfa,
            #eef6f3
        );

    overflow: hidden;
}

.hero-content {
    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;
}

.hero-label {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 7px 13px;

    border-radius: 50px;

    background: var(--secondary);
    color: var(--primary-dark);

    font-size: 11px;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero-text h1 {
    max-width: 650px;

    font-size: clamp(39px, 5vw, 64px);

    line-height: 1.12;

    letter-spacing: -1.8px;

    color: #263b37;

    margin-bottom: 22px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text > p {
    max-width: 590px;

    color: var(--muted);

    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 30px;
}

.hero-stat {
    display: flex;
    gap: 38px;

    margin-top: 40px;
}

.hero-stat div {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    color: var(--primary-dark);

    font-size: 22px;
}

.hero-stat span {
    color: var(--muted);

    font-size: 11px;
}


/* ==================================================
   HERO CARD
================================================== */

.hero-card {
    position: relative;

    height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background: var(--secondary);

    box-shadow:
        0 30px 70px rgba(48, 94, 83, 0.12);
}

.counsel-card {
    position: relative;
    z-index: 2;

    width: 310px;

    background: white;

    padding: 20px;

    border-radius: 18px;

    box-shadow: var(--shadow);

    display: flex;
    align-items: center;

    gap: 14px;

    transform: translateY(-40px);
}

.counsel-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 14px;

    background: var(--secondary);
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
}

.counsel-card span {
    display: block;

    font-size: 11px;
    color: var(--muted);
}

.counsel-card strong {
    display: block;

    color: var(--primary-dark);

    font-size: 14px;
}

.quote-card {
    position: absolute;

    z-index: 3;

    right: 0;
    bottom: 65px;

    width: 245px;

    padding: 20px;

    border-radius: 17px;

    background: white;

    box-shadow: var(--shadow);
}

.quote-card i {
    color: var(--accent);

    font-size: 20px;

    margin-bottom: 7px;
}

.quote-card p {
    color: #53615e;

    font-size: 12px;
}


/* ==================================================
   SECTION
================================================== */

.section {
    padding: 95px 0;
}

.section-heading {
    text-align: center;

    max-width: 650px;

    margin: 0 auto 55px;
}

.section-label {
    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.section-heading h2,
.intro h2,
.counseling-info h2,
.aspiration-wrapper h2 {
    color: #263b37;

    font-size: clamp(29px, 4vw, 42px);

    line-height: 1.2;

    margin-top: 9px;
}

.section-heading h2 span,
.intro h2 span,
.counseling-info h2 span,
.aspiration-wrapper h2 span {
    color: var(--primary);
}

.section-heading p {
    color: var(--muted);

    font-size: 14px;

    margin-top: 13px;
}


/* ==================================================
   INTRO
================================================== */

.intro {
    background: white;
}

.intro-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: center;
}

.intro h2 {
    font-size: 38px;
}

.intro-grid p {
    color: var(--muted);

    font-size: 14px;

    margin-bottom: 15px;
}


/* ==================================================
   PROFILE
================================================== */

.profile-section {
    background: var(--light);
}

.profile-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.profile-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
}

    border-radius: 24px;

    background: var(--secondary);

    color: var(--primary);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 15px;

    font-size: 13px;
}

.image-placeholder i {
    font-size: 55px;
}

.profile-content {
    width: 100%;
    max-width: 850px;
    text-align: center;
}

.profile-content h3 {
    color: var(--primary-dark);
    font-size: 27px;
    margin-bottom: 15px;
}

.profile-content > p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.profile-list {
    margin: 25px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
    max-width: 650px;
}

.profile-list div {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
}

.profile-list i {
    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: var(--secondary);
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
}


/* ==================================================
   SERVICES
================================================== */

.services-section {
    background: white;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    padding: 27px 22px;

    border: 1px solid var(--border);

    border-radius: 17px;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);

    border-color: transparent;
}

.service-icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    background: var(--secondary);
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 21px;
}

.service-card h3 {
    color: var(--primary-dark);

    font-size: 17px;

    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);

    font-size: 12px;

    min-height: 115px;
}

.service-detail,
.read-material {
    border: none;
    background: none;

    color: var(--primary);

    font-size: 12px;
    font-weight: 600;
}

.service-detail i {
    margin-left: 4px;
}


/* ==================================================
   COUNSELING
================================================== */

.counseling-section {
    background: var(--light);
}

.counseling-wrapper {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 70px;

    align-items: center;
}

.counseling-info h2 {
    margin-bottom: 20px;
}

.counseling-info > p {
    color: var(--muted);

    font-size: 14px;

    margin-bottom: 25px;
}

.privacy-note {
    display: flex;

    gap: 13px;

    padding: 17px;

    border-radius: 13px;

    background: white;

    border: 1px solid var(--border);
}

.privacy-note > i {
    color: var(--primary);

    margin-top: 3px;
}

.privacy-note strong,
.privacy-note span {
    display: block;
}

.privacy-note strong {
    color: var(--primary-dark);

    font-size: 12px;
}

.privacy-note span {
    color: var(--muted);

    font-size: 11px;
}


/* ==================================================
   FORM
================================================== */

.counseling-form {
    background: white;

    padding: 32px;

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.form-title {
    margin-bottom: 25px;
}

.form-title h3 {
    color: var(--primary-dark);

    font-size: 20px;
}

.form-title span {
    color: var(--muted);

    font-size: 11px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;

    color: #43534f;

    font-size: 11px;
    font-weight: 600;

    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea,
#aspirationForm input,
#aspirationForm textarea {
    width: 100%;

    border: 1px solid var(--border);

    border-radius: 9px;

    padding: 12px 13px;

    outline: none;

    color: var(--text);

    font-size: 12px;

    transition: 0.3s;

    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
#aspirationForm input:focus,
#aspirationForm textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(71, 122, 111, 0.08);
}

textarea {
    resize: vertical;
}


/* ==================================================
   MATERIAL
================================================== */

.material-section {
    background: white;
}

.search-box {
    max-width: 550px;

    margin: 0 auto 35px;

    position: relative;
}

.search-box i {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--muted);
}

.search-box input {
    width: 100%;

    border: 1px solid var(--border);

    border-radius: 50px;

    padding: 14px 18px 14px 45px;

    outline: none;

    font-size: 12px;
}

.material-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.material-card {
    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 25px;

    transition: 0.3s;
}

.material-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.material-category {
    color: var(--primary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.material-card h3 {
    color: var(--primary-dark);

    font-size: 16px;

    margin: 13px 0 10px;
}

.material-card p {
    color: var(--muted);

    font-size: 12px;

    margin-bottom: 20px;
}


/* ==================================================
   ACTIVITY
================================================== */

.activity-section {
    background: var(--light);
}

.activity-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.activity-card {
    padding: 30px;

    background: white;

    border-radius: 17px;

    border: 1px solid var(--border);
}

.activity-number {
    color: var(--accent);

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 25px;
}

.activity-card h3 {
    color: var(--primary-dark);

    font-size: 18px;

    margin-bottom: 10px;
}

.activity-card p {
    color: var(--muted);

    font-size: 12px;
}


/* ==================================================
   ASPIRATION
================================================== */

.aspiration-section {
    background: var(--primary);

    color: white;
}

.aspiration-wrapper {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;

    align-items: center;
}

.aspiration-wrapper .section-label {
    color: #d9eee8;
}

.aspiration-wrapper h2 {
    color: white;
}

.aspiration-wrapper h2 span {
    color: #d7eee8;
}

.aspiration-wrapper p {
    color: rgba(255,255,255,0.8);

    font-size: 13px;

    margin-top: 15px;
}

#aspirationForm {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

#aspirationForm input,
#aspirationForm textarea {
    border: none;

    background: rgba(255,255,255,0.96);
}

#aspirationForm button {
    align-self: flex-start;
}


/* ==================================================
   CONTACT
================================================== */

.contact-section {
    background: white;
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.contact-card {
    text-align: center;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 17px;
}

.contact-icon {
    width: 52px;
    height: 52px;

    border-radius: 15px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--secondary);
    color: var(--primary);

    font-size: 19px;
}

.contact-card h3 {
    color: var(--primary-dark);

    font-size: 16px;
}

.contact-card p,
.contact-card small {
    color: var(--muted);

    font-size: 12px;
}

.contact-link {
    display: inline-block;

    margin-top: 10px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 600;
}


/* ==================================================
   FOOTER
================================================== */

.footer {
    background: #203d37;

    color: white;

    padding-top: 60px;
}

.footer-content {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 50px;
}

.footer-logo strong {
    color: white;
}

.footer-logo span {
    color: rgba(255,255,255,0.6);
}

.footer-brand p {
    max-width: 270px;

    color: rgba(255,255,255,0.65);

    font-size: 12px;

    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer-links h4 {
    font-size: 13px;

    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);

    font-size: 11px;

    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 20px;

    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);

    font-size: 10px;
}


/* ==================================================
   MODAL
================================================== */

.modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(20, 40, 35, 0.55);

    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 2;

    max-width: 550px;
    width: 100%;

    background: white;

    border-radius: 20px;

    padding: 35px;

    box-shadow: 0 30px 80px rgba(0,0,0,0.2);

    animation: modalIn 0.25s ease;
}

@keyframes modalIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.modal-close {
    position: absolute;

    top: 17px;
    right: 17px;

    border: none;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: var(--light);

    color: var(--muted);
}

.modal-content h2 {
    color: var(--primary-dark);

    font-size: 25px;

    margin: 8px 0 15px;
}

.modal-content p {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 25px;
}


/* ==================================================
   TOAST
================================================== */

.toast {
    position: fixed;

    z-index: 3000;

    right: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 14px 18px;

    border-radius: 12px;

    background: #203d37;

    color: white;

    font-size: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    transform: translateY(100px);

    opacity: 0;

    transition: 0.35s;
}

.toast.show {
    transform: translateY(0);

    opacity: 1;
}

.toast i {
    color: #9bd2c4;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 950px) {

    .nav-menu {
        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        background: white;

        padding: 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        border-bottom: 1px solid var(--border);

        transform: translateY(-150%);

        transition: 0.3s;
    }

    .nav-menu.show {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .hero-content,
    .intro-grid,
    .profile-grid,
    .counseling-wrapper,
    .aspiration-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-card {
        height: 390px;
    }

    .service-grid,
    .material-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .hero {
        padding-top: 120px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stat {
        gap: 20px;
    }

    .hero-card {
        height: 330px;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .counsel-card {
        width: 250px;
    }

    .quote-card {
        right: 5px;
        bottom: 25px;
    }

    .section {
        padding: 70px 0;
    }

    .service-grid,
    .material-grid {
        grid-template-columns: 1fr;
    }

    .profile-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .counseling-form {
        padding: 23px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-content {
        padding: 27px;
    }

}