/* Base styles and variables */
:root {
    --primary-color: #486683;
    --secondary-color: #9BAEC2;
    --accent-color: #D4B483;
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #FFFFFF;
    --light-background: #F5F7F9;
    --border-color: #E1E7ED;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239baec2' fill-opacity='0.05'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-padding {
    padding: 8rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.6rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.primary-btn:hover {
    background-color: #3A5570;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(72, 102, 131, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(72, 102, 131, 0.2);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-icon {
    font-size: 3rem;
    margin-right: 1rem;
}

.logo h1 {
    margin-bottom: 0;
    font-size: 2.8rem;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('img/4.png') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-content h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.benefit-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
}

.benefit-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.benefit-card p {
    margin-bottom: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-image {
    height: 200px;
    background-position: center;
    background-size: cover;
}

.service-content {
    padding: 3rem;
}

.service-details {
    margin: 2rem 0;
}

.service-details li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

.service-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.service-price {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Classes Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.class-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.class-card h3 {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.class-details ul {
    margin: 2rem 0;
}

.class-details li {
    margin-bottom: 1rem;
}

.class-price {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0;
    margin-top: 2rem;
}

/* Practitioners Section */
.practitioners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.practitioner-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.practitioner-image {
    flex: 0 0 200px;
    background-position: center;
    background-size: cover;
}

.practitioner-details {
    padding: 3rem;
}

.practitioner-title {
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Testimonials Section */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.testimonial {
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 2rem;
    color: var(--border-color);
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author p {
    margin-bottom: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    flex: 0 0 4rem;
    margin-right: 2rem;
}

.contact-icon img {
    width: 2.4rem;
    height: 2.4rem;
}

.contact-detail h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-detail p {
    margin-bottom: 0.5rem;
}

.contact-detail p:last-child {
    margin-bottom: 0;
}

.contact-form-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(72, 102, 131, 0.1);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
}

.form-group.checkbox input {
    margin-right: 1rem;
    width: auto;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: #fff;
    margin-bottom: 0;
}

.footer-info p {
    margin-bottom: 0;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: #fff;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 1.4rem;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .about-grid,
    .services-grid,
    .classes-grid,
    .testimonials-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .practitioner-card {
        flex-direction: column;
    }
    
    .practitioner-image {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 60%;
    }
    
    .container {
        width: 100%;
        padding: 0 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 2rem;
        box-shadow: var(--shadow);
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    nav ul li:last-child {
        margin-bottom: 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .about-grid,
    .contact-grid {
        gap: 4rem;
    }
    
    .section-padding {
        padding: 6rem 0;
    }
    
    .benefit-card,
    .class-card,
    .contact-form-container {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 3.2rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}