:root {
    --primary-color: #2e638b;
    --secondary-color: #07699f;
    --accent-color: #f0f7e6;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition: all .3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, .1);
    --border-radius: 8px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Poppins, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray)
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Cinzel, serif;
    margin-bottom: .5rem
}

h1 {
    font-size: 3rem
}

h2 {
    font-size: 2.5rem
}

h3 {
    font-size: 1.5rem
}

a {
    text-decoration: none;
    color: inherit
}

p {
    margin-bottom: 1rem
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto
}

.section-padding {
    padding: 5rem 0
}

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

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem
}

.section-header p {
    max-width: 600px;
    margin: 0 auto 1rem;
    color: var(--medium-gray)
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto
}

.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white)
}

.btn-primary:hover {
    background-color: #9c2e2e
}

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

.btn-secondary:hover {
    background-color: var(--white)
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white)
}

.btn-full {
    width: 100%
}

#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.2rem 0;
    background-color: transparent
}

#navbar.scrolled {
    background-color: var(--white);
    padding: .8rem 0;
    box-shadow: var(--shadow)
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-family: Cinzel, serif;
    font-weight: 700;
    font-size: 1.2rem
}

#navbar.scrolled .logo {
    color: var(--primary-color)
}

.logo i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--secondary-color)
}

.nav-menu {
    display: flex;
    align-items: center
}

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

.nav-link {
    margin: 0 1.2rem;
    color: var(--white);
    font-weight: 500;
    position: relative
}

#navbar.scrolled .nav-link {
    color: var(--dark-gray)
}

.nav-link:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition)
}

.nav-link:hover:after {
    width: 100%
}

.enroll-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: .6rem 1.5rem;
    border-radius: var(--border-radius);
    margin-left: 1.2rem;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition)
}

.enroll-btn:hover {
    background-color: #12355e
}

.hamburger {
    display: none;
    cursor: pointer
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition)
}

#navbar.scrolled .bar {
    background-color: var(--dark-gray)
}

.hero {
    position: relative;
    height: 100vh;
    color: var(--white);
    background: url('yoga.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #2e638bb3, #07699fb3)
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .2)
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .2)
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.about-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2e638b33;
    z-index: 1
}

.about-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem
}

.stat-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: .5rem
}

.stat-label {
    color: var(--medium-gray)
}

.courses {
    background-color: var(--light-gray)
}

.filter-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: .5rem
}

.filter-btn {
    background: var(--white);
    border: none;
    padding: .5rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    transition: var(--transition)
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white)
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem
}

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition)
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px #0000001a
}

.course-header {
    padding: 1.5rem;
    color: var(--white);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.physical-header {
    background-color: var(--secondary-color)
}

.wellness-header {
    background-color: var(--primary-color)
}

.academic-header {
    background-color: #1b3f5e
}

.course-header i {
    font-size: 1.5rem
}

.course-body {
    padding: 1.5rem
}

.course-body p {
    margin-bottom: 1.5rem;
    color: var(--medium-gray)
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem
}

.instructor-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition)
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px #0000001a
}

.instructor-img {
    width: 100%;
    height: 250px;
    overflow: hidden
}

.instructor-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: var(--transition)
}

.instructor-card:hover .instructor-img img {
    transform: scale(1.05)
}

.instructor-info {
    padding: 1.5rem;
    text-align: center
}

.instructor-info h3 {
    color: var(--primary-color)
}

.instructor-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: .75rem
}

.instructor-bio {
    font-size: .9rem;
    color: var(--medium-gray)
}

.contact {
    background-color: var(--light-gray)
}

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

.contact-form,
.info-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow)
}

.contact-form h3,
.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem
}

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

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

.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 500
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: Poppins, sans-serif
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color)
}

.info-item,
.event-item {
    display: flex;
    margin-bottom: 1.5rem
}

.info-item i,
.event-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    margin-top: .25rem
}

.info-item h4,
.event-item h4 {
    color: var(--primary-color);
    margin-bottom: .25rem
}

.info-item p,
.event-item p {
    color: var(--medium-gray);
    margin-bottom: 0
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem
}

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

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

.footer-logo i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 10px
}

.footer-logo span {
    font-family: Cinzel, serif;
    font-weight: 700;
    font-size: 1.2rem
}

.footer-column p {
    color: #ffffffb3;
    margin-bottom: 1.5rem
}

.social-links {
    display: flex;
    gap: 1rem
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff1a;
    border-radius: 50%;
    transition: var(--transition)
}

.social-links a:hover {
    background-color: var(--secondary-color)
}

.footer h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: .75rem
}

.footer h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color)
}

.footer-links {
    list-style: none
}

.footer-links li {
    margin-bottom: .75rem
}

.footer-links a {
    color: #ffffffb3;
    transition: var(--transition)
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px
}

.newsletter-form {
    display: flex
}

.newsletter-form input {
    flex: 1;
    padding: .75rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: Poppins, sans-serif
}

.newsletter-form input:focus {
    outline: none
}

.btn-newsletter {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition)
}

.btn-newsletter:hover {
    background-color: #3d8c40
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem
}

.footer-legal {
    display: flex;
    gap: 1.5rem
}

.footer-legal a {
    color: #ffffffb3;
    font-size: .9rem;
    transition: var(--transition)
}

.footer-legal a:hover {
    color: var(--white)
}

@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem
    }

    h2 {
        font-size: 2rem
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr
    }

    .about-image {
        height: 300px
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        box-shadow: 0 10px 15px #0000001a;
        transition: var(--transition);
        padding: 2rem 0
    }

    .nav-menu.active {
        left: 0
    }

    .nav-list {
        flex-direction: column
    }

    .nav-link {
        margin: 1rem 0;
        color: var(--dark-gray)
    }

    .enroll-btn {
        margin: 1rem 0 0;
        width: 80%
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero p {
        font-size: 1rem
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }

    .footer-legal {
        justify-content: center
    }
}

@media screen and (max-width: 576px) {
    .section-padding {
        padding: 3rem 0
    }

    .courses-grid,
    .instructors-grid {
        grid-template-columns: 1fr
    }
}

.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out, transform .6s ease-out
}

.animate.visible {
    opacity: 1;
    transform: translateY(0)
}