@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500;600;700&display=swap');
/*--------------------------------global css------------------------------*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
                url('Background image.jpeg') no-repeat center center fixed;
    background-size: cover;
    color: #f8f9fa;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}
/*----------------------------  2. HEADER & NAVBAR ----------------------------------*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(101, 67, 33, 0.92);          /* Warm saddle-brown */
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(101, 67, 33, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 5%;
}

.logo img {
    height: 55px;
    border-radius: 50%;
    border: 2px solid #f4a261;
    box-shadow: 0 0 12px rgba(244,162,97,0.5);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.08);
}

/* ---- Nav Links ---- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    background: #f4a261;
    color: #5d4037;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(244,162,97,0.4);
}
/* ---- Hamburger ---- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #f4a261;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) { 
    transform: rotate(45deg) translate(5px, 5px);
 }
.hamburger.active span:nth-child(2) { 
    opacity: 0; 
}
.hamburger.active span:nth-child(3) { 
    transform: rotate(-45deg) translate(7px, -6px);
 }

/* ------------------------------------------------------------- */
/*  3. HERO SECTION                                               */
/* ------------------------------------------------------------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text {
    max-width: 960px;
    padding: 2.5rem 2rem;
    background: rgba(101, 67, 33, 0.45);
    border-radius: 22px;
    border: 1px solid rgba(244,162,97,0.3);
    backdrop-filter: blur(6px);
    animation: fadeInUp 1.6s ease-out;
}

.hero-text .shine {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, #f4a261, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 4s linear infinite;
    margin-bottom: 0.5rem;
}

.hero-text .sub {
    font-size: 1.9rem;
    color: #fff;
    text-shadow: 0 0 12px rgba(0,0,0,0.5);
}

/* Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(60px); 
        }
    to   { 
        opacity: 1; 
        transform: translateY(0); 
        }
}

@keyframes shine {
    0%   { 
        background-position: -200% center; 
        }
    100% { 
        background-position: 200% center; 
        }
}
/*-----------contact button for classes we teach-------------------*/
.btn-contact {
    display: inline-block;
    background: #f4a261;
    color: #5d4037;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 14px;
    box-shadow: 0 5px 15px rgba(244,162,97,0.3);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #e07a5f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(224,122,95,0.4);
} 

/* ------------------------------------------------------------- */
/*  4. TEACHING DETAILS SECTION                                   */
/* ------------------------------------------------------------- */
.teaching-details {
    padding: 100px 20px;
    background: rgba(255, 248, 240, 0.96);
    color: #5d4037;
}

.teaching-details .container {
    max-width: 1260px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.9rem;
    margin-bottom: 1.5rem;
    color: #5d4037;
}

.section-title span {
    color: #f4a261;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    margin-top: 50px;
}
/* --------------------------------FEATURE CARD ------------------------------------------*/
.feature-card {
    background: #ffffff;
    padding: 34px 24px;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(139, 69, 19, 0.12);
    border: 1.5px solid #f9e4d2;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, 
                rgba(244, 162, 97, 0.05) 0%, 
                rgba(244, 162, 97, 0.02) 100%);
    border-radius: 20px;
    z-index: 0;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(244, 162, 97, 0.3);
    border-color: #f4a261;
    background: #fffdf9;
}

.feature-card:hover::before {
    background: linear-gradient(135deg, 
                rgba(244, 162, 97, 0.15) 0%, 
                rgba(244, 162, 97, 0.08) 100%);
}

/* Icon Styling */
.feature-card .icon {
    font-size: 3.4rem;
    margin-bottom: 18px;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(244, 162, 97, 0.3));
    transition: all 0.3s ease;
}

.feature-card:hover .icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(244, 162, 97, 0.4));
}

/* Title */
.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.48rem;
    color: #5d4037;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #5d4037, #8B4513);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Description */
.feature-card p {
    font-size: 0.97rem;
    color: #7d5a50;
    line-height: 1.65;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Subtle Notebook Lines (Handwritten Feel) */
.feature-card::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80%;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        #f4a261 0px,
        #f4a261 8px,
        transparent 8px,
        transparent 16px
    );
    transform: translate(-50%, -50%);
    opacity: 0.08;
    z-index: 0;
    border-radius: 1px;
}
/* ============================================================= */
/*  REVIEWS SECTION - CONNECTED & ANIMATED CAROUSEL             */
/* ============================================================= */
.reviews {
    padding: 100px 20px;
    background: #fffaf2;
    color: #5d4037;
    text-align: center;
    overflow: hidden;
}

.reviews .container {
    max-width: 1260px;
    margin: 0 auto;
}

.reviews .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.9rem;
    margin-bottom: 0.5rem;
    color: #5d4037;
}

.reviews .section-title span {
    color: #f4a261;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7d5a50;
    margin-bottom: 50px;
}

/* Slider */
.reviews-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.reviews-track {
    display: flex;
    transition: transform 0.6s ease;
}

.review-card {
    min-width: 100%;
    background: #fff;
    padding: 35px 28px;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(139,69,19,0.1);
    border: 1px solid #f9e4d2;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(244,162,97,0.05), rgba(244,162,97,0.02));
    border-radius: 20px;
    z-index: 0;
    transition: 0.4s ease;
}

.review-card:hover::before {
    background: linear-gradient(135deg, rgba(244,162,97,0.15), rgba(244,162,97,0.08));
}

/* Stars */
.review-stars {
    color: #f4a261;
    font-size: 1.4rem;
    margin-bottom: 16px;
    animation: starPulse 2s infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Text */
.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b4f47;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

/* Author */
.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.review-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f4a261;
    box-shadow: 0 0 10px rgba(244,162,97,0.3);
}

.review-author strong {
    font-weight: 600;
    color: #5d4037;
    font-size: 1.05rem;
}

.review-author span {
    font-size: 0.88rem;
    color: #a67c5b;
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: #f4a261;
    transform: scale(1.2);
}

/* Button */
.btn-primary {
    display: inline-block;
    background: #f4a261;
    color: #5d4037;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(244,162,97,0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e07a5f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(224,122,95,0.4);
}

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Responsive */
@media (max-width: 768px) {
    .reviews .section-title { 
        font-size: 2.4rem; 
    }
    .review-card { 
        padding: 28px 20px; 
    }
}

@media (max-width: 576px) {
    .reviews .section-title { 
        font-size: 2.1rem; 
    }
    .review-author img { 
        width: 48px; 
        height: 48px; 
    }
}

/* ------------------------------------------------------------- */
/*  5. SOCIAL SECTION                                             */
/* ------------------------------------------------------------- */
.social-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f4a261, #e07a5f);
    text-align: center;
}

.social-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.social-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    color: #fff;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #5d4037;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #5d4037;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.social-btn i {
    font-size: 1.3rem;
}

/* ------------------------------------------------------------- */
/*  6. FOOTER                                                    */
/* ------------------------------------------------------------- */
footer {
    background: #5d4037;
    color: #f4e0d0;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.94rem;
}

footer p {
    margin: 10px 0;
}

footer p span {
    color: #f4a261;
}
.address-box {
    margin-top: 50px;
    text-align: center;
    font-size: 1.05rem;
    color: #5d4037;
}

.address-box strong {
    color: #f4a261;
}

/* ------------------------------------------------------------- */
/*  7. RESPONSIVE DESIGN                                         */
/* ------------------------------------------------------------- */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(101, 67, 33, 0.98);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        transition: left 0.4s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 12px 0;
    }

    .dropdown-menu {
        position: static;
        width: 90%;
        background: rgba(101, 67, 33, 0.9);
        border-radius: 12px;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hero-text .shine { 
        font-size: 2.6rem; 
    }   
    .hero-text .sub   { 
        font-size: 1.6rem; 
    }
}

@media (max-width: 576px) {
    .hero-text .shine { 
        font-size: 2.1rem; 
    }
    .hero-text .sub   { 
        font-size: 1.3rem; 
    }
    .section-title    { 
        font-size: 2.3rem; 
    }
    .logo img { 
        height: 45px; 
    }
}


/* ------------------------------------------------------------- */
/*  8. SCROLL INDICATOR (optional fun)                           */
/* ------------------------------------------------------------- */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #f4a261;
    transition: width 0.3s ease;
}

header.scrolled::after {
    width: 100px;
}
