* {
    margin: 0;
    padding: 0;
    font-family: var(--defFontFamily);
    line-height: 1.5;
}

.main1 {
    width: 100%;
    height: 380px;
    background-color: rgb(0, 134, 91);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 20px;
}

.main1-img {
    background-color: white;
    border-radius: 50%;
    padding: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

.main1-img img {
    margin-top: 5px;
    width: 35px;
}

.main1 h1 {
    font-size: var(--defXXXLFont);
    font-weight: 400;
}

.main1 h4 {
    font-size: var(--defMFont);
    font-weight: var(--defHdSFontWeight);
    width: 50%;
    text-align: center;
}

/* --------------------------------------------------------------------------------------------- */

.main2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding-top: 70px;
    padding-bottom: 70px;
}

/* --------------------------------------------------------------------------------------------- */

.main2-topic1 {
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-item h1 {
    font-size: 2.2rem;
    color: rgb(20, 173, 123);
    font-weight: 400;
}

.stat-item p {
    font-size: 16px;
    color: var(--defTextColor);
}

/* --------------------------------------------------------------------------------------------- */

.main2-topic2 {
    width: 60%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.calendar-header-text {
    text-align: center;
}

.calendar-header-text h1 {
    font-size: var(--defXXLFont);
    font-weight: 400;
    color: #111;
    margin-bottom: 10px;
}

.calendar-header-text p {
    font-size: var(--defSFont);
    color: #666;
}

.calendar-wrapper {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    box-sizing: border-box;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.calendar-controls h2 {
    font-size: var(--defXLFont);
    font-weight: 400;
    color: var(--defTextColor);
}

.nav-arrows {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Grid Layout */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.day-name {
    text-align: center;
    color: #888;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.calendar-day {
    min-height: 100px;
    border: 1px solid #d4d4d4;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    background-color: #fff;
}

.calendar-day.empty {
    border: none;
    background-color: transparent;
}

/* Major Events (Full Green Box) */
.calendar-day.major {
    background-color: rgb(20, 173, 123);
    color: white;
    border: none;
}

.calendar-day.major .date {
    color: white;
    font-weight: bold;
}

.calendar-day.major .event-text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.date {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

/* Event Pills */
.event-pill {
    font-size: 0.8rem;
    padding: 4px 6px;
    border-radius: 4px;
    margin-top: auto;
    /* Push to bottom if needed, or just flow */
    line-height: 1.2;
}

.event-pill.workshop {
    color: #333;
}

.event-pill.meeting {
    color: #1e40af;
}

.event-pill.workshop-alt {
    color: #6b21a8;
}

/* Legend */
.calendar-legend {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.dot.major {
    background-color: rgba(20, 173, 122, 0.695);
}

.dot.workshop {
    background-color: #d8b4fea7;
    border: 2px solid #d8b4fe;
}

.dot.meeting {
    background-color: #93c4fdaf;
    border: 2px solid #93c5fd;
}

.dot.recurring {
    background-color: #e5e7eba4;
    border: 2px solid #e5e7eb;
}


/* --------------------------------------------------------------------------------------------- */
/* Yoga Sessions Section */

.main3 {
    width: 100%;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    background-color: rgb(247, 255, 251);
}

.main3-header {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}

.main3-header h1 {
    font-size: var(--defXLLFont);
    font-weight: 400;
    color: #111;
}

.main3-header p {
    font-size: var(--defSFont);
    color: #666;
}

.yoga-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    margin: 0 auto;
}

.yoga-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.yoga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 220px;
    position: relative;
}

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

.level-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    background-color: rgba(220, 252, 231, 0.9);
    color: #26904f;
}



.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.card-content h3 {
    font-size: var(--defSFont);
    font-weight: 400;
}

.time-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.time-info img {
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.learn-more {
    text-decoration: none;
    color: rgb(20, 173, 123);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.learn-more:hover {
    gap: 14px;
}

.learn-more span {
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .yoga-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main3-header h1 {
        font-size: 2.2rem;
    }

    .yoga-container {
        grid-template-columns: 1fr;
    }

    .yoga-card {
        max-width: 100%;
    }
}

/* --------------------------------------------------------------------------------------------- */
/* Fitness Routines Section */

.main4 {
    width: 100%;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    background-color: var(--defBackColor);
}

.main4-header {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}

.main4-header h1 {
    font-size: var(--defXLLFont);
    font-weight: 400;
    color: #111;
}

.main4-header p {
    font-size: var(--defSFont);
    color: #666;
}

.fitness-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 90%;
    margin: 0 auto;
}

.fitness-card {
    background-color: #F0FDFA;
    /* Light mint/cyan background */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.fitness-card:hover {
    transform: translateY(-5px);
}

.fitness-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin: 15px;
    width: calc(100% - 30px);
    /* Adjust width to account for margin */
}

.fitness-content {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.fitness-content h3 {
    font-size: 1.25rem;
    font-weight: 400;
}

.fitness-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.info-row img {
    width: 16px;
    height: 16px;
}

.view-details {
    text-decoration: none;
    color: rgb(20, 173, 123);
    font-weight: 400;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.view-details:hover {
    gap: 14px;
}

.view-details span {
    font-size: 1.1rem;
}

/* Responsiveness for Main4 */
@media (max-width: 1100px) {
    .fitness-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fitness-container {
        grid-template-columns: 1fr;
    }

    .main4-header h1 {
        font-size: 2.2rem;
    }

}

/* --------------------------------------------------------------------------------------------- */
/* Meditation Programs Section */

.main5 {
    width: 100%;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    background-color: rgb(247, 254, 250);
}

.main5-header {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}

.main5-header h1 {
    font-size: var(--defXLLFont);
    font-weight: 400;
    color: #111;
}

.main5-header p {
    font-size: var(--defSFont);
    color: #666;
}

.meditation-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    margin: 0 auto;
}

.meditation-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.meditation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.med-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    padding: 15px 15px 0 15px;
    box-sizing: border-box;
    /* Fix overflow */
}

.med-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.meditation-content {
    padding: 20px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.meditation-content h3 {
    font-size: 1.25rem;
    font-weight: 400;
}

.meditation-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.info-row img {
    width: 18px;
    height: 18px;
}

.explore-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9333ea;
    /* Purple color */
    text-decoration: none;
    font-weight: 400;
    transition: gap 0.2s ease;
}

.explore-link:hover {
    gap: 14px;
}

/* Responsiveness for Main5 */
@media (max-width: 900px) {
    .meditation-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .meditation-container {
        grid-template-columns: 1fr;
    }

    .main5-header h1 {
        font-size: 2.2rem;
    }
}

/* --------------------------------------------------------------------------------------------- */
/* Active Challenges Section */

.main6 {
    width: 100%;
    padding: 70px 0;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    background-color: var(--defBackColor);
}

.main6-header {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}

.main6-header h1 {
    font-size: var(--defXLLFont);
    font-weight: 400;
    color: #111;
}

.main6-header p {
    font-size: var(--defSFont);
    color: #666;
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    margin: 0 auto;
}

.challenge-card {
    background-color: #FFF7ED;
    /* Light orange/cream background */
    border-radius: 16px;
    overflow: hidden;
    /* No shadow initially or soft shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #ffedd5;
    cursor: pointer;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow on hover */
}

.challenge-img-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
    padding: 15px 15px 0 15px;
    box-sizing: border-box;
}

.challenge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    /* No scale transition as requested */
}

.trophy-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.trophy-icon img {
    width: 25px;
    height: 25px;
}

.challenge-content {
    padding: 20px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
}

.challenge-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
}

.challenge-goal {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
}

.participants-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #ea580c;
    /* Orange text for participants count if desired, or grey. Let's use orange to match theme? Or grey with orange icon. Let's use darker orange/brown. */
    color: #7c2d12;
}

.participants-info img {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    filter: invert(47%) sepia(55%) saturate(2250%) hue-rotate(1deg) brightness(99%) contrast(92%);
    /* Orange filter */
}

.join-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ea580c;
    /* Orange color */
    text-decoration: none;
    font-weight: 400;
    padding-top: 10px;
    transition: gap 0.2s ease;
}

.join-link:hover {
    gap: 8px;
}

/* Responsiveness for Main6 */
@media (max-width: 900px) {
    .challenges-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .challenges-container {
        grid-template-columns: 1fr;
    }

    .main6-header h1 {
        font-size: 2.2rem;
    }
}

/* --------------------------------------------------------------------------------------------- */
/* Upcoming Events Section */

.main7 {
    width: 100%;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    background-color: #F0FDFA;
    /* Light mint background */
}

.main7-header {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}

.main7-header h1 {
    font-size: var(--defXLLFont);
    font-weight: 400;
    color: #111;
}

.main7-header p {
    font-size: var(--defSFont);
    color: #666;
}

.events-list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 90%;
    max-width: 1100px;
    /* Slightly narrower than full width for list look */
    margin: 0 auto;
}

.event-card-horizontal {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2ff;
    cursor: pointer;
}

.event-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-img-wrapper {
    width: 35%;
    position: relative;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card-horizontal:hover .event-img {
    transform: scale(1.05);
    /* Optional: slight zoom on hover for event images */
}

.event-content {
    width: 65%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.event-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

.event-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}

.info-item img {
    width: 18px;
    height: 18px;
}

.view-event-btn {
    align-self: flex-start;
    /* Align button to start */
    display: flex;
    align-items: center;
    gap: 5px;
    color: #0d9488;
    /* Teal color */
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: gap 0.2s ease-out;
    margin-top: 10px;
}

.view-event-btn:hover {
    gap: 14px;
}

/* Responsiveness for Main7 */
@media (max-width: 900px) {
    .event-card-horizontal {
        flex-direction: column;
    }

    .event-img-wrapper {
        width: 100%;
        height: 250px;
    }

    .event-content {
        width: 100%;
        padding: 25px;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .event-info-grid {
        grid-template-columns: 1fr;
        /* Stack info items on mobile */
    }

    .main7-header h1 {
        font-size: 2.2rem;
    }
}

/* --------------------------------------------------------------------------------------------- */
/* Registration Section (main4) */

.main8 {
    width: 100%;
    padding: 80px 0;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: white;
}

.topic8-header {
    text-align: center;
}

.topic8-header h1 {
    font-size: var(--defXXLFont);
    font-weight: 400;
    color: #111;
    margin-bottom: 10px;
}

.topic8-header p {
    font-size: var(--defSFont);
    color: #666;
}

.registration-container {
    width: 90%;
    max-width: 900px;
    background-color: #f0fdf4;
    /* Light Green Background */
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.form-frame {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e5e7eb;
}


.form-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 1700px;
}

.registration-footer p {
    font-size: 0.95rem;
    color: #4b5563;
}

.registration-footer a {
    color: rgb(20, 173, 123);
    text-decoration: underline;
    font-weight: 500;
}

.registration-footer a:hover {
    color: rgb(16, 145, 102);
}


/* --------------------------------------------------------------------------------------------- */
/* CTA Section (main9) */

.main9 {
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 144, 97);
    /* Dark Green / Example color from image */
    color: white;
    text-align: center;
}

.cta-content {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-icon img {
    width: 65px;
    height: 65px;
    filter: brightness(0) invert(1);
    /* Make icon white */
}

.cta-content h1 {
    font-size: var(--defXLLFont);
    font-weight: 400;
}

.cta-content p {
    font-size:var(--defSFont);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-white {
    background-color: white;
    color: #0f766e;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-transparent {
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid white;
    transition: background-color 0.2s ease;
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .cta-content h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-white,
    .btn-transparent {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}