:root {
    /* Color Palette */
    --clr-primary-dark: #00362c;
    --clr-primary: #004d40;
    --clr-primary-light: #00695c;
    --clr-accent: #fbbf24;
    /* Gold */
    --clr-accent-hover: #f59e0b;
    --clr-text-main: #1e293b;
    --clr-text-muted: #475569;
    --clr-bg-light: #f8fafc;
    --clr-bg-white: #ffffff;
    --clr-border: #e2e8f0;
    --clr-whatsapp: #25D366;
    --clr-whatsapp-hover: #128C7E;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --section-spacing: 5rem;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    line-height: 1.6;
    background-color: var(--clr-bg-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--clr-bg-white) !important;
}

.bg-light {
    background-color: var(--clr-bg-light);
}

.bg-dark {
    background-color: var(--clr-primary-dark);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #1e1e1e;
    /* Dark text for contrast against gold */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-bg-white);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    background-color: var(--clr-primary);
    overflow: hidden;
    color: var(--clr-bg-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 77, 64, 0.95), rgba(0, 54, 44, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--clr-bg-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Benefits Section */
.benefit-card {
    background: var(--clr-bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--clr-primary);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-card {
    background: var(--clr-bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid var(--clr-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--clr-primary-light);
}

.tier-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--clr-accent);
    color: #000;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.pricing-card .target {
    font-size: 0.9rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.pricing-card .desc {
    flex-grow: 1;
    font-size: 0.95rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-primary-dark);
    margin: 1.5rem 0;
    font-family: var(--font-heading);
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 400;
    font-family: var(--font-body);
}

/* Tutor Intro Section */
.tutor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tutor-image {
    position: relative;
    width: 80%;
}

.tutor-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.tutor-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--clr-accent);
    border-radius: var(--border-radius);
    z-index: -1;
}

.philosophy-box {
    background: var(--clr-bg-light);
    padding: 2rem;
    border-left: 4px solid var(--clr-accent);
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.philosophy-box h3 {
    margin-bottom: 0.5rem;
}

.philosophy-box p {
    margin-bottom: 0;
}

/* Testimonials Carousel Section */
.testimonials {
    overflow: hidden;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 3rem;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 2rem;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1.33rem);
        min-width: calc(33.333% - 1.33rem);
    }
}

.stars {
    color: var(--clr-accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.quote-title {
    color: var(--clr-bg-white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.quote {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    flex-grow: 1;
}

.author {
    color: var(--clr-accent);
    font-weight: 600;
    margin-top: 1.5rem;
}

.carousel-btn {
    background: var(--clr-bg-white);
    color: var(--clr-primary-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: var(--clr-accent);
    color: #1e1e1e;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--clr-accent);
    transform: scale(1.2);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: var(--clr-bg-white);
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--clr-bg-light);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

.accordion-content {
    background: var(--clr-bg-white);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    border-top: 1px solid var(--clr-border);
}

.accordion-item.active .accordion-content p {
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Fixed WhatsApp Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* As requested: bottom left */
    background-color: var(--clr-whatsapp);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-fixed:hover {
    background-color: var(--clr-whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .tutor-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tutor-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-btn {
        display: none;
        /* Hide buttons on mobile, allow swipe */
    }
}