* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 5%;
    height: 100px;
    overflow: visible;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

}

.logo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff9a56, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a:hover {
    color: #ff9a56;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    padding: 4rem 8%;
    background: linear-gradient(135deg, #fff5e6, #ffe6f0);
}

.hero h1 {
    font-size: 3rem;
}

.hero h1 span {
    color: #ff9a56;
}

.hero p {
    max-width: 650px;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.cta-button {
    padding: 1rem 2.5rem;
    border: 3px solid #333;
    background: #ffd700;
    font-weight: bold;
    cursor: pointer;
}

.hero-image {
    width: 500px;
    height: 500px;
    padding: 24px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
      margin-left: 200px;
}

/* Mission */
.home {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    padding: 4rem 8%;
    background: #fff;
}

.home .content {
    flex: 1 1 360px;
}

.home .content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home .content h3 span {
    color: #ff9a56;
}

.home .content p {
    line-height: 1.8;
    color: #555;
}

.home .image {
    flex: 1 1 420px;
    display: flex;
    justify-content: center;
}

.home .image img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    object-fit: cover;
}

/* Slider */
.teacher {
    padding: 4rem 8%;
    background: #fff;
}

.teacher .container {
    width: 150vmin;
    position: relative;
    top: -30px;
    left: 120px;
    overflow: hidden;
    border: 20px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.teacher .wrapper {
    display: flex;
    width: 100%;
    animation: slide 16s infinite;
}

.teacher .wrapper img {
    width: 100%;
    flex: 0 0 100%;
    object-fit: fill;
}

@keyframes slide {
    0% { transform: translateX(0); }
    50% { transform: translateX(-100%); }
    75% { transform: translateX(-200%); }
    100% { transform: translateX(-300%); }
}

/* About */
.about {
    padding: 5rem 8%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-title span {
    color: #ff9a56;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    min-width: 260px;
    padding: 16px;
}

.about-illustration img {
    max-width: 700px;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-text {
    flex: 1;
    margin-left: 50px;
}
.about-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    margin-top: 20px;
}

/* Gallery */
.gallery {
    padding: 5rem 8%;
    background: linear-gradient(135deg, #fff5e6, #f0f9ff);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 2rem;
}

.gallery-item {
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.16);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact */
.contact {
    padding: 5rem 8%;
    background: #fff;
}

.contact-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.contact-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    color: #333;
    line-height: 2;
}

.contact-form {
    background: #fff;
    padding: 1.75rem;
    border-radius: 18px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.contact-form .form-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.25rem;
}

.contact-form .form-field {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form label span {
    color: #ff9a56;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .cta-button {
    width: 100%;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #ff9a56, #ffb86b);
    color: #fff;
    padding: 3rem 8%;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.footer .box h3 {
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.footer .box p {
    line-height: 1.8;
    max-width: 520px;
}

.footer .box a {
    display: inline-block;
    margin-right: 0.75rem;
}

.footer .box a img {
    filter: invert(1);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer .box-right {
    text-align: right;
}

.footer .box-right a {
    margin-right: 0;
    margin-left: 0.75rem;
}

.footer .box a:hover img {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer .certificates {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
}

.footer .certificates img {
    height: 40px;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.35);
    display: flex;
    justify-content: center;
}

.powered-by img {
    height: 36px;
    display: block;
    border-radius: 12px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
    z-index: 1100;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero { flex-direction: column; text-align: center; }
    .about-content { flex-direction: column; }
    .home { flex-direction: column; text-align: center; }
    .hero-image { width: 320px; height: 320px; padding: 16px; margin-top: 2rem; }
    .teacher { padding: 3rem 6%; }
    .contact { padding: 4rem 6%; }
    .footer .certificates { justify-content: center; }
    .footer-bottom { justify-content: center; }
    .whatsapp-float { right: 16px; bottom: 16px; }
}
