:root {
    --color-primary: #1a2e1a;
    --color-secondary: #004d00;
    --color-accent: #8b0000;
    --color-light: #f4f8f4;
    --color-pearl: #fcf5f5;
    --color-dark: #111;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Work Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80px;
    height: 2px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
}

.accent {
    color: var(--color-accent);
}

.highlight {
    color: var(--color-accent);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-pearl);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-pearl);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text {
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 0;
    color: var(--color-primary);
    position: relative;
}

.nav-item a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-item a:hover {
    color: var(--color-accent);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-divider {
    margin-left: 10px;
    color: var(--color-accent);
    font-size: 0.8rem;
}

.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(26, 46, 26, 0.05) 0%, rgba(0, 77, 0, 0.1) 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    flex: 0 0 48%;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 0 0 48%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid var(--color-accent);
    z-index: -1;
    opacity: 0.5;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.hero-flourish {
    margin: 2rem 0;
    width: 100%;
    height: 20px;
}

.hero-flourish svg {
    width: 100%;
    height: 100%;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-fill {
    fill: var(--color-pearl);
}

.wave-divider.inverted {
    transform: rotate(180deg);
    top: 0;
    bottom: auto;
}

.wave-fill-alt {
    fill: var(--color-light);
}

.about {
    padding: 100px 0;
    background-color: var(--color-pearl);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 0 0 55%;
}

.about-image {
    flex: 0 0 40%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.about-image::after {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80%;
    height: 80%;
    border: 2px solid var(--color-accent);
    z-index: -1;
}

.benefits {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
}

.benefit-item {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.zigzag-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.zigzag-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}

.programs {
    padding: 100px 0;
    background-color: var(--color-light);
    position: relative;
}

.program-content {
    text-align: center;
    margin-bottom: 50px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.program-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-image {
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-details {
    padding: 25px;
    text-align: left;
}

.program-details h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.program-features {
    margin-top: 15px;
    padding-left: 20px;
}

.program-features li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.program-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.instructors {
    padding: 100px 0;
    background-color: var(--color-pearl);
    position: relative;
}

.instructors-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.instructor-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.instructor-image {
    height: 280px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.05);
}

.instructor-details {
    padding: 25px;
    text-align: center;
}

.instructor-position {
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 15px;
}

.results {
    padding: 100px 0;
    background-color: var(--color-light);
    position: relative;
}

.results-content {
    text-align: center;
}

.results-text {
    max-width: 800px;
    margin: 0 auto 50px;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-item {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: white;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial-image {
    flex: 0 0 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-accent);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-accent);
}

.results-gallery h3 {
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: 5px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.partners {
    padding: 100px 0;
    background-color: var(--color-pearl);
    position: relative;
}

.partners-content {
    text-align: center;
}

.partners-text {
    max-width: 800px;
    margin: 0 auto 50px;
}

.partners-map {
    margin-bottom: 50px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.partner-item {
    background-color: white;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: left;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-item h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact {
    padding: 100px 0;
    background-color: var(--color-light);
}

.contact-content {
    text-align: center;
}

.contact-text {
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto 60px;
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    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(--color-accent);
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

.form-consent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-consent input {
    width: auto;
}

.form-consent label {
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.contact-email,
.contact-hours {
    text-align: left;
}

.contact-email h3,
.contact-hours h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.footer {
    padding: 80px 0 30px;
    background-color: var(--color-primary);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 40px;
}

.footer-item {
    padding: 0 15px;
}

.footer-logo {
    grid-column: 1;
    grid-row: 1;
}

.footer-nav {
    grid-column: 2;
    grid-row: 1;
}

.footer-nav-2 {
    grid-column: 1;
    grid-row: 2;
}

.footer-policies {
    grid-column: 2;
    grid-row: 2;
}

.footer-logo .logo-text {
    color: white;
}

.footer h3 {
    color: var(--color-pearl);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .programs-grid,
    .instructors-grid {
        gap: 30px;
    }
    
    .program-image {
        height: 200px;
    }
    
    .instructor-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-container {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .hero-content,
    .hero-image {
        flex: 0 0 100%;
    }
    
    .hero-image {
        max-height: 400px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text,
    .about-image {
        flex: 0 0 100%;
    }
    
    .benefits {
        flex-direction: column;
    }
    
    .programs-grid,
    .instructors-grid,
    .partners-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-item {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    
    .footer-logo,
    .footer-nav,
    .footer-nav-2,
    .footer-policies {
        grid-column: 1;
    }
    
    .footer-logo {
        grid-row: 1;
    }
    
    .footer-nav {
        grid-row: 2;
    }
    
    .footer-nav-2 {
        grid-row: 3;
    }
    
    .footer-policies {
        grid-row: 4;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        margin: 5px;
    }
    
    .nav-divider {
        display: none;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-title::after {
        width: 60px;
    }
    
    .nav-item a {
        font-size: 0.9rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .program-details,
    .instructor-details {
        padding: 15px;
    }
}