/* ============================================
   CONCEPT OF MATHS - Professional Website CSS
   ============================================ */

/* CSS Variables for consistent theming */
:root {
    /* Colors */
    --primary: #2c3e50;
    --secondary: #2980b9;
    /* Updated to match logo Blue */
    --accent: #FF8C00;
    /* Updated to match logo Orange */
    --light: #f8f9fa;
    --dark: #1a252f;
    --gray: #5a6472;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --whatsapp: #25D366;
    /* Added for WhatsApp */

    /* Typography */
    --font-heading: 'Roboto Slab', serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}


/* Image fallbacks */
.logo-img:before,
.story-img:before,
.tutor-img:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 50%;
}

.story-img,
.tutor-img {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 50%;
    position: relative;
}



h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 6px rgba(41, 128, 185, 0.3);
}

.btn-secondary:hover {
    background-color: #2471a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41, 128, 185, 0.4);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.btn-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--accent);
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Header Styles */
.main-header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* .logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--primary);
} */

/* Logo text styling updated */
.logo-text {
    display: flex;
    flex-direction: column;
}

/* Logo text heading (div version for inner pages to fix heading hierarchy) */
.logo-text-heading {
    font-size: 2.2rem;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    line-height: 1;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: baseline;
    white-space: nowrap;
    font-weight: 600;
}

.logo-text h1 {
    font-size: 2.2rem;
    /* Base size */
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    /* Responsive scaling */
    line-height: 1;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: baseline;
    white-space: nowrap;
    /* Keep on one line if possible */
}

.logo-part1 {
    font-weight: 800;
    color: #004488;
    /* Dark Blue */
    letter-spacing: -0.5px;
}

.logo-part2 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-style: italic;
    color: #FF8C00;
    /* Dark Orange */
    font-size: 0.8em;
    /* Slightly smaller */
    margin: 0 6px;
}

.logo-part3 {
    font-weight: 700;
    color: #FF8C00;
    /* Dark Orange */
}

.logo-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2980b9;
    /* Medium Blue */
    margin: 2px 0 0 0;
    text-align: right;
    /* Align tagline to the right */
    letter-spacing: 0.5px;
}

/* Mobile responsive adjustments for logo */
@media (max-width: 480px) {
    .logo {
        gap: 10px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    /* Font size is handled by clamp(), but we can finesse line-height or margins */
    .logo-text p {
        font-size: 0.7rem;
    }
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary);
}

.main-nav a.active {
    color: var(--accent);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section - Clean Design */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5276 100%);
    color: white;
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Math symbols background */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.sym%7Bfill:%23ffffff;fill-opacity:0.05;font-family:sans-serif;font-weight:bold;font-size:20px;%7D%3C/style%3E%3Ctext x='10' y='30' class='sym'%3E+%3C/text%3E%3Ctext x='60' y='20' class='sym'%3E-%3C/text%3E%3Ctext x='30' y='70' class='sym'%3E%C3%97%3C/text%3E%3Ctext x='80' y='80' class='sym'%3E%C3%B7%3C/text%3E%3Ctext x='10' y='80' class='sym'%3E%3D%3C/text%3E%3Ctext x='50' y='50' class='sym' style='font-size:24px'%3E%E2%88%91%3C/text%3E%3Ctext x='85' y='40' class='sym'%3E%CF%80%3C/text%3E%3Ctext x='30' y='15' class='sym'%3E%E2%88%9A%3C/text%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.4;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
}

.feature i {
    color: var(--success);
}

/* Services Preview */
.services-preview {
    padding: var(--space-xl) 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: var(--space-lg);
}

.service-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
    text-align: center;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Why Choose Us */
.why-choose-us {
    padding: var(--space-xl) 0;
    background-color: var(--light);
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    will-change: transform;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

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

.feature-item p {
    color: var(--gray);
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--space-xl) 0;
    background-color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--light-gray);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Mobile form improvements */
@media (max-width: 768px) {
    .form-container {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    /* Improve select dropdown on mobile */
    .form-group select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 16px;
        padding-right: 40px;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 480px) {
    .btn {
        padding: 14px 24px;
        min-height: 48px;
        /* Better touch target */
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        /* Better touch target */
    }
}

.form-submit {
    margin-top: 30px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    margin-top: 15px;
}

/* Location Section */
.location-section {
    padding: var(--space-xl) 0;
    background-color: var(--light);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: var(--primary);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 5px;
}

.landmark,
.timing {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-details a {
    color: var(--secondary);
}

.contact-details a:hover {
    color: var(--accent);
}

.map-container h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.map-wrapper {
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Testimonials */
.testimonials-section {
    padding: var(--space-xl) 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark);
}

.testimonial-author h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-xl) 0;
    background-color: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: white;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
}

/* Call to Action */
.cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Adjusted min-width */
    gap: 30px;
    margin-bottom: var(--space-xl);
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary);
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 5px;
}

.contact-card p a {
    color: var(--secondary);
    font-weight: 500;
    word-break: break-all;
    /* Fixes email overflow specifically */
}

.contact-card .btn,
.contact-card .btn-link {
    margin-top: 15px;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Footer */
.main-footer {
    background-color: var(--dark);
    color: white;
    padding: var(--space-xl) 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.footer-logo .logo-part1 {
    font-weight: 800;
    color: white;
    /* Adapted for dark footer */
    letter-spacing: -0.5px;
}

.footer-logo .logo-part2 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-style: italic;
    color: #FF8C00;
    /* Orange */
    font-size: 0.8em;
    margin: 0 5px;
}

.footer-logo .logo-part3 {
    font-weight: 700;
    color: #FF8C00;
    /* Orange */
}

.footer-logo-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 2px 0 0 0;
    letter-spacing: 0.5px;
}

/* Improve tagline visibility on dark footer */
.footer-logo-text p {
    color: #3498db;
    /* Lighter blue than secondary (#2980b9) for better contrast */
}



.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 5px;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .location-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow-md);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .service-card,
    .feature-item,
    .testimonial-card {
        padding: 20px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Improve map on mobile */
    .map-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* ============================================
   BLOG & ADDITIONAL STYLES
   ============================================ */

/* About page: home tuition on request note */
.about-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e6;
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 20px;
    font-size: 0.92rem;
    color: #5a3e00;
}

.about-note i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.about-note a {
    color: var(--secondary);
    font-weight: 600;
}

/* Services grid: 4-column on wide screens */
@media (min-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}