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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #0ea5e9 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    align-items: center;
    color: white;
}

.logo-image {
    height: 80px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8) 0%, rgba(22, 163, 74, 0.7) 50%, rgba(14, 165, 233, 0.6) 100%);
    z-index: -1;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    position: relative;
    margin: 0.5rem 0;
    color: white;
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.feature-card .icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-card .content {
    flex: 1;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Student Images */
.student-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.student-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.student-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .student-image {
        width: 150px;
        height: 150px;
    }
    
    .student-images {
        gap: 0.5rem;
    }
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #16a34a;
}

.section-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #4b5563;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #16a34a;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #16a34a;
}

.card p {
    color: #64748b;
    line-height: 1.6;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.image-placeholder {
    background: #e2e8f0;
    border-radius: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
    border: 2px dashed #cbd5e1;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #0ea5e9 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #16a34a;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border-left: 4px solid #22c55e;
}

.testimonial .quote {
    font-style: italic;
    margin-bottom: 1rem;
    color: #4b5563;
}

.testimonial .author {
    font-weight: 600;
    color: #16a34a;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.stat .number {
    font-size: 3rem;
    font-weight: bold;
    color: #eab308;
    display: block;
}

.stat .label {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.submit-btn {
    background: #22c55e;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #16a34a;
}

/* Google Reviews Styles */
.reviews-section {
    background: white;
}

.google-reviews-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.google-reviews-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    min-height: 400px;
}

.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #64748b;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.google-rating-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    text-align: center;
    border: 2px solid #22c55e;
}

.rating-display {
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.star {
    color: #fbbf24;
    font-size: 1.5rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: bold;
    color: #16a34a;
    display: block;
}

.rating-text {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.google-link {
    display: inline-block;
    background: #4285f4;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.google-link:hover {
    background: #3367d6;
}

/* Location & Map Styles */
.map-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
}

.service-area {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    text-align: center;
    margin-top: 2rem;
    border-left: 4px solid #22c55e;
}

.service-area h3 {
    margin-bottom: 1rem;
}

.service-area p {
    color: #4b5563;
    line-height: 1.6;
}

.service-area strong {
    color: #16a34a;
    font-weight: 700;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #22c55e;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #22c55e;
}

.hours-list {
    margin-top: 0.5rem;
    line-height: 1.8;
}

.hours-list div {
    padding: 2px 0;
    font-size: 0.9rem;
    color: #d1d5db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #16a34a;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero .features {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .service-area {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .google-reviews-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .google-rating-summary {
        order: -1;
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 3px solid #22c55e;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e5e7eb;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

#accept-cookies {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

#accept-cookies:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-1px);
}

#reject-cookies {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #4b5563;
}

#reject-cookies:hover {
    background: #374151;
    color: white;
    border-color: #6b7280;
}

.cookie-buttons a {
    color: #22c55e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
}

.cookie-buttons a:hover {
    color: #16a34a;
    text-decoration: underline;
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 1rem 0.75rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: left;
        gap: 1rem;
        align-items: stretch;
    }
    
    .cookie-banner-content p {
        min-width: auto;
        font-size: 0.85rem;
        margin-bottom: 0;
        text-align: left;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .cookie-buttons button {
        flex: none;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-buttons a {
        text-align: center;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    #cookie-banner {
        padding: 0.75rem 0.5rem;
    }
    
    .cookie-banner-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .cookie-buttons button {
        padding: 0.65rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Cookie Blocked Content Styles */
.cookie-blocked-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #d1d5db;
}

.cookie-message {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 500px;
}

.cookie-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.cookie-message h3 {
    color: #374151;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cookie-message p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.contact-alternative,
.location-alternative {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-alternative h4,
.location-alternative h4 {
    color: #22c55e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-alternative ul {
    list-style: none;
    padding: 0;
}

.contact-alternative li {
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.location-alternative p {
    margin-bottom: 1rem;
    color: #4b5563;
}

/* Responsive cookie blocked content */
@media (max-width: 768px) {
    .cookie-blocked-content {
        min-height: 250px;
    }
    
    .cookie-message {
        padding: 2rem 1rem;
    }
    
    .cookie-icon {
        font-size: 3rem;
    }
    
    .cookie-message h3 {
        font-size: 1.3rem;
    }
    
    .contact-alternative,
    .location-alternative {
        margin-top: 1.5rem;
        padding: 1rem;
    }
}