/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5e41;
    --secondary-color: #072718;
    --light-color: #f5f9f7;
    --accent-color: #4caf50;
    --text-color: #333333;
    --background-light: #e9f4ef;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Abhaya Libre', serif;
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    position: relative;
    padding: 80px 0;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Wave Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider.inverted {
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 94, 65, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    z-index: 101;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    position: relative;
    font-weight: 500;
    padding: 5px 0;
}

.main-nav a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover:before {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(233, 244, 239, 0.8));
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: transform var(--transition-speed);
}

.hero-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    transform: rotate(-2deg);
    top: 15px;
    left: -15px;
    z-index: -1;
}

.hero-image img:hover {
    transform: rotate(0);
}

/* About Section */
.about-section {
    background-color: var(--light-color);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

/* Benefits Section */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* Courses Section */
.courses-section {
    background-color: var(--background-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin-bottom: 15px;
}

.course-content p {
    margin-bottom: 20px;
}

/* Chakras Section */
.chakras-section {
    background: white;
}

.chakras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.chakra-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform var(--transition-speed);
}

.chakra-card:hover {
    transform: translateY(-10px);
}

.chakra-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

/* Instructors Section */
.instructors-section {
    background-color: var(--background-light);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.instructor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.instructor-card:hover {
    transform: translateY(-10px);
}

.instructor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.instructor-info {
    padding: 25px;
}

.instructor-title {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 15px;
}

/* Schedule Section */
.schedule-section {
    background: white;
}

.schedule-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.schedule-tab {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.schedule-list {
    margin-top: 20px;
}

.schedule-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.schedule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.schedule-class {
    padding-left: 30px;
}

/* Mandala Section */
.mandala-section {
    background-color: var(--background-light);
}

.mandala-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mandala-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mandala-text {
    flex: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-icon {
    margin-bottom: 20px;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 500;
    color: var(--primary-color);
    text-align: right;
}

/* Contact Section */
.contact-section {
    background-color: var(--background-light);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.contact-form {
    flex: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.main-footer h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.main-footer h3:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 10px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-item {
    flex-basis: calc(25% - 50px);
}

.footer-logo p {
    margin-top: 20px;
}

.footer-links ul li,
.footer-policy ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-policy a {
    color: white;
    transition: color var(--transition-speed);
}

.footer-links a:hover,
.footer-policy a:hover {
    color: var(--accent-color);
}

.footer-newsletter form {
    margin-top: 20px;
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
}

.footer-newsletter button {
    padding: 10px 20px;
    border: none;
    background: var(--accent-color);
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.footer-newsletter button:hover {
    background-color: #3d8b40;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-content,
    .mandala-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-item {
        flex-basis: calc(50% - 25px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image:before {
        display: none;
    }

    .footer-item {
        flex-basis: 100%;
    }

    .courses-grid,
    .instructors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 15px;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile Navigation for Smaller Screens */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--light-color);
        padding: 80px 20px 20px;
        transition: right var(--transition-speed);
    }

    .main-nav.open ul {
        right: 0;
    }

    .main-nav li {
        margin-bottom: 20px;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .nav-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        margin: 5px 0;
        background-color: var(--primary-color);
        transition: all var(--transition-speed);
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Additional Mobile Adjustments */
@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .benefit-card,
    .schedule-tab,
    .testimonial-card {
        padding: 20px;
    }

    .footer-newsletter form {
        flex-direction: column;
    }

    .footer-newsletter input {
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .footer-newsletter button {
        border-radius: 5px;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.course-card,
.chakra-card,
.instructor-card,
.testimonial-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Custom Hover Effects */
.btn-primary:hover, .btn-secondary:hover {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: translateY(-3px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(-3px);
    }
}

.course-image img:hover,
.instructor-image img:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* Favicon */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #3a9e71;
        --secondary-color: #0d432a;
        --light-color: #f7fbf9;
        --accent-color: #6eca72;
    }
}