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

:root {
    --primary-color: #1a5fb4;     /* Deep blue - primary brand color */
    --secondary-color: #f9ca24;   /* Bright yellow - accent color */
    --tertiary-color: #3498db;    /* Light blue - supporting color */
    --dark-color: #2c3e50;        /* Dark blue-gray - text and headings */
    --light-color: #f0f8ff;       /* Very light blue - backgrounds */
    --text-color: #333333;        /* Dark gray - body text */
    --success-color: #2ecc71;     /* Green - success messages */
    --warning-color: #e67e22;     /* Orange - warnings */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

h2 {
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: var(--tertiary-color);
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--tertiary-color);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    z-index: 99;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 50%;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 95, 180, 0.7), rgba(52, 152, 219, 0.7)), url('https://images.pexels.com/photos/3769981/pexels-photo-3769981.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background-color: white;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Why Us Section */
.why-us {
    background-color: var(--light-color);
    text-align: center;
}

.why-us-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-us-text {
    margin-bottom: 40px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 50%;
}

.why-us-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* Courses Section */
.courses {
    background-color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.grade-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.grade-group {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s;
}

.grade-group:hover {
    transform: translateY(-5px);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.grade-group h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.grade-group ul {
    text-align: left;
    padding-left: 20px;
}

.grade-group ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.grade-group ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}


/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.quote:before {
    content: """;
    font-size: 50px;
    color: var(--primary-color);
    line-height: 0;
    display: block;
    margin-bottom: 20px;
}

.author {
    color: var(--primary-color);
    font-weight: bold;
}

/* Free Assessment Section */
.free-assessment {
    background-color: white;
    text-align: center;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.booking-container-full {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

#google-calendar-container {
    width: 100%;
    max-height: 700px;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
}

#google-calendar-container::-webkit-scrollbar {
    width: 8px;
}

#google-calendar-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#google-calendar-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

#google-calendar-container::-webkit-scrollbar-thumb:hover {
    background: var(--tertiary-color);
}

#google-calendar-container iframe {
    max-width: 100%;
    height: 600px;
    border-radius: 4px;
}

/* Contact Note */
.contact-note {
    margin-top: 30px;
    font-size: 16px;
}

.contact-note a {
    color: var(--primary-color);
}

.contact-note a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}

.whatsapp-svg {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .grade-levels {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    nav ul {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-svg {
        width: 25px;
        height: 25px;
    }
}

/* Desktop Navigation Overrides */
@media screen and (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    nav ul {
        display: flex !important;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none !important; /* Hide by default */
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important; /* Only show on mobile */
    }

    nav ul {
        display: none;
    }

    nav.mobile-nav-open ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Desktop Navigation Styles */
@media screen and (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    nav ul {
        display: flex !important;
    }
}
/* Promotional Banner */
.promo-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
    color: white;
    text-align: center;
    padding: 15px 20px;
    position: relative;
    z-index: 1000;
    animation: 
        glow 2s infinite alternate,
        slideDown 0.5s ease-out,
        backgroundShift 5s infinite;
}

.promo-banner p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.promo-banner strong {
    color: var(--secondary-color);
    animation: highlight 1.5s infinite;
    padding: 0 5px;
}

.promo-banner .btn-light {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 5px;
    margin-left: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: bounce 1s infinite;
}

.promo-banner .btn-light:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

/* Animation Keyframes */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(26, 95, 180, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(26, 95, 180, 0.6);
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes highlight {
    0% {
        color: var(--secondary-color);
    }
    50% {
        color: white;
    }
    100% {
        color: var(--secondary-color);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes backgroundShift {
    0% {
        background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
    }
    50% {
        background: linear-gradient(45deg, var(--tertiary-color), var(--primary-color));
    }
    100% {
        background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .promo-banner {
        padding: 12px 15px;
    }
    
    .promo-banner p {
        font-size: 16px;
    }
    
    .promo-banner .btn-light {
        display: block;
        margin: 10px auto 0;
        max-width: 200px;
    }
}
