/* -------------------------------------- */
/* GLOBAL RESET */
/* -------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* -------------------------------------- */
/* BACKGROUND */
/* -------------------------------------- */
body {
    background: linear-gradient(135deg, #e8f3ff, #ffffff);
    padding-bottom: 80px;
    overflow-x: hidden;
}

/* -------------------------------------- */
/* FLOATING DECORATIONS */
/* -------------------------------------- */
.decoration {
    position: absolute;
    width: 140px;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

.top-left { top: 20px; left: 20px; }
.bottom-right { bottom: 20px; right: 20px; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* -------------------------------------- */
/* HEADER */
/* -------------------------------------- */
.header {
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #2a2a2a;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.header p {
    font-size: 18px;
    color: #555;
}

/* -------------------------------------- */
/* ABOUT BOX (MATCHED WITH CONTACT BOX) */
/* -------------------------------------- */
.about-box {
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.7s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-box h2 {
    color: #2f8f3a;
    margin-top: 20px;
}

.about-box p {
    margin-top: 10px;
    line-height: 1.6;
    color: #444;
}

/* -------------------------------------- */
/* TEACHER CARD */
/* -------------------------------------- */
.teacher-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    background: #f1faff;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #d0eaff;
    transition: 0.3s ease;
}

.teacher-card:hover {
    background: #dff3ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.teacher-card h3 {
    color: #2f8f3a;
    margin-bottom: 5px;
}

.teacher-card p {
    margin: 3px 0;
    font-size: 14px;
}

.teacher-img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
}

/* -------------------------------------- */
/* WHATSAPP BUTTON */
/* -------------------------------------- */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s ease;
    z-index: 100;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.whatsapp-btn img {
    width: 40px;
}

/* -------------------------------------- */
/* RESPONSIVE DESIGN */
/* -------------------------------------- */
@media (max-width: 768px) {
    .decoration {
        width: 90px;
        opacity: 0.4;
    }

    .header h1 {
        font-size: 1.9rem;
    }

    .header p {
        font-size: 1rem;
    }

    .teacher-card {
        flex-direction: column;
        text-align: center;
    }

    .teacher-img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 10px;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .about-box {
        width: 95%;
        padding: 22px;
    }

    .teacher-img {
        width: 130px;
        height: 130px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }

    .whatsapp-btn img {
        width: 32px;
    }
}
