/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding-top: 70px; /* Account for fixed navbar */
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(102, 126, 234, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: fangsong;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
    padding: 5px 10px;
}

.navbar-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-menu li a:hover {
    color: #ff6b6b;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%), url('media/P1540260.JPG') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid white;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff5252;
}

/* About Section */
#about, #about-supervision, .section-light {
    padding: 80px 0;
    background-color: white;
}

.section-dark, #services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

#about h2, #about-supervision h2, #qualifications h2, #membership h2, .section-light h2, .section-dark h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

#qualifications ul, #membership ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 600px;
    text-align: center;
}

#qualifications li, #membership li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #444;
}
#about p, #about-supervision p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
}

.about-image {
    display: block;
    margin: 0 auto;
    width: 25%;
    height: auto;
    border-radius: 10px;
}

/* Services Section */
#services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

#services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #667eea;
}

/* Pricing Section */
#pricing {
    padding: 80px 0;
    background-color: white;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#pricing h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

.pricing-policy {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.pricing-card {
    width: 392px;
    height: 175px;
    margin: 0;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #667eea;
}

.pricing-card h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.pricing-amount {
    color: #667eea;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

/* Testimonials Section */
#testimonials {
    padding: 80px 0;
    background-color: #f9f9f9;
}

#testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

.testimonial {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #667eea;
}

/* Contact Section */
#contact {
    padding: 80px 0;
    background-color: white;
}

#contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    padding: 15px;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #5a67d8;
}

/* GDPR modal */
.privacy-link {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
}
.privacy-link a {
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal.open {
    display: flex;
}
.modal-content {
    background: #fff;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
}
.modal-close {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-body h3 {
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.side-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1100;
}

.side-menu-overlay.open {
    visibility: visible;
    opacity: 1;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(280px, 80vw);
    background: #fff;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1150;
    padding: 20px;
    overflow-y: auto;
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu-close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    margin-bottom: 20px;
}

.side-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    row-gap: 12px;
}

.side-menu-links li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.side-menu-links li a:hover {
    color: #667eea;
}

.navbar.compact .navbar-menu {
    display: none;
}

.navbar.compact .navbar-toggle {
    display: block;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Adjust for smaller navbar */
    }

    .navbar .container {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-image {
        width: 150px;
        height: 150px;
    }

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

    .service-card {
        padding: 20px;
    }
}