/*Landing
/* ========================================
    HERO SECTION
    ======================================== */
.hero {
    /*background: /*linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),*/
    /*url('/img/landing/Group 61.png') center/cover;*/
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 600px;
    margin: 0 0 0 20rem;
    padding: 0 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
    font-family: 'EB Garamond', serif;
    color: #e8e1d9;
}

.btn-hero {
    background-color: #561332;
    color: #e8e1d9;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;

}

.btn-hero:hover {
    background-color: var(--button-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom {
    background-color: var(--button-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.spacer {
    height: 80px;
}

.btn-primary-custom:hover {
    background-color: var(--button-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
    MISSION SECTION
    ======================================== */
.mission {
    text-align: center;
    padding: 4rem 2rem 2rem 2rem;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission h2 {
    font-size: 1.7rem;
    font-weight: bold;
    color: #443931;
    max-width: 1200px;
    margin: 0 0;
    line-height: 1.1;
    font-family: 'EB Garamond', serif;
    background-color: #e8e1d9;
    padding: .7rem 4rem .7rem 4rem;
    border-radius: .5rem;
}

.mission:last-of-type h2 {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 5rem;
    margin-bottom: 7rem;
}

/* ========================================
    ABOUT SECTION
    ======================================== */
.about {
    padding: 2rem 2rem 2rem;
    background-color: var(--bg-color);
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-family: 'EB Garamond', serif;
    font-weight: bold;
}

.about-content p {
    color: #443931;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

/* ========================================
           PLANS SECTION
           ======================================== */
.plans {
    padding: 3rem 2rem;
    background-color: var(--bg-color);
}

.plans h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    font-family: 'EB Garamond', serif;
    color: #443931;
    font-weight: bold;
}

.plan-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.plan-card {
    position: relative;
    border-radius: 15px;
    padding: 2rem;
    color: white;
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden;
    width: 392px;
    height: 644px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.3s;
}

.plan-card:hover::before {
    transform: scale(1.05);
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.plan-card h4,
.plan-card p,
.plan-card .btn-plan {
    position: relative;
    z-index: 3;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card h4 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    font-family: 'EB Garamond', serif;
    color: #e8e1d9;
}

.plan-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-family: 'Poppins', sans-serif;

}

.btn-plan {
    background-color: #e8e1d9;
    color: #443931;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

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

.plan-card:nth-child(1)::before {
    background-image: url('/img/landing/Component 55.png');
}

.plan-card:nth-child(2)::before {
    background-image: url('/img/landing/Component 54.png');
}

.plan-card:nth-child(3)::before {
    background-image: url('/img/landing/Component 53.png');
}

.plan-card img {
    display: none;
}

/* ========================================
        QUIZ MODAL POPUP ORIGINAL
        ========================================
        .quiz-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            gap: 2rem;
        }  */

.quiz-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    gap: 2rem;
    background-color: #ac9c8d;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
}

.quiz-box {
    /*background-color: var(--light-color);*/
    background-color: var(--bg-quiz-color);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.quiz-content {
    flex: 1;
}

.quiz-content h3 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: #443931;
    font-family: 'EB Garamond', serif;

}

.quiz-content p {
    font-size: 1.3rem;
    color: #443931;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;

}

.btn-quiz {
    background-color: #e8e1d9;
    color: #443931;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;

}

.btn-quiz:hover {
    background-color: var(--button-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.quiz-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.quiz-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-modal-content {
    background-color: #FAF8F5;
    border-radius: 20px;
    padding: 3rem 4rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #C8BAAB;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    z-index: 10;
    /*maybe */
}

.quiz-modal-close:hover {
    background: var(--button-hover);
    transform: rotate(90deg);
}

.quiz-step {
    /*animation: fadeIn 0.4s ease; */
    /*pointer-events: auto;   Ensure clicks work during animation */
    opacity: 1;
    /* â† Add this */
    visibility: visible;
    pointer-events: auto;

}

.quiz-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.quiz-modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
}

/* Quiz Options */
.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.quiz-option {
    background-color: var(--button-color);
    color: var(--dark-color);
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1.5;
    text-align: center;
}

.quiz-option:hover {
    background-color: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quiz-option:active {
    transform: translateY(-1px);
}

/* Form Styles */

.quiz-modal-form {
    max-width: 400px;
    margin: 0 auto;
}

.quiz-input-group {
    margin-bottom: 1rem;
}

.quiz-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.quiz-input {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark-color);
}

.quiz-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.quiz-input:focus {
    outline: none;
    border-bottom: 1px solid var(--dark-color);
}

.quiz-input.error {
    border-bottom: 1px solid #dc3545;
}

.quiz-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.quiz-btn {
    width: 100%;
    max-width: 280px;
    background-color: var(--button-color);
    color: var(--dark-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}

.quiz-btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}

.quiz-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Error message */
.quiz-error {
    color: #dc3545;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.5rem;
    display: none;
}

.quiz-error.show {
    display: block;
}

/* Loading Animation */
.quiz-loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--button-color);
    border-top: 4px solid var(--dark-color);
    border-radius: 50%;
    margin: 2rem auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Result Screen */
.quiz-result-intro {
    font-size: 1.5rem;
    font-weight: 400;
}

.quiz-result-plan {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-style: italic;
    color: var(--dark-color);
    text-align: center;
    margin: 1rem 0 2rem;
}

.quiz-result-btn {
    margin-top: 1rem;
}

/* Progress Indicator */
.quiz-progress {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.quiz-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--button-color);
    opacity: 0.3;
    transition: all 0.3s;
}

.quiz-progress-dot.active {
    opacity: 1;
    background-color: var(--dark-color);
}

.quiz-progress-dot.completed {
    opacity: 1;
    background-color: var(--button-color);
}

/* ========================================
           SUPPLEMENTS SECTION
           ======================================== */
.supplements {
    padding: 5rem 2rem 0;
    background-color: var(--bg-color);
    overflow: hidden;
    margin-top: 5rem;
}

.supplements-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.supplements h3 {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    font-family: 'EB Garamond', serif;
    color: #443931;
    font-weight: bold;
}

.supplements p {
    text-align: left;
    color: #443931;
    margin-bottom: 5rem;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;

}

.supplements-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.supplements-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 75s linear infinite;
    width: max-content;
}

.supplements-track:hover {
    animation-play-state: paused;
}

.supplement-card {
    flex: 0 0 auto;
    width: 280px;
    min-height: 420px;
    text-align: center;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s;
    background-color: #e8e1d9;
    display: flex;
    flex-direction: column;
}

.supplement-card .btn-add-cart {
    margin-top: auto;
}

.supplement-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.supplement-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.supplement-card h4 {
    margin-bottom: 0.5rem;
    font-family: 'EB Garamond', serif;
    color: #443931;
}

.supplement-card .price {
    color: #ac9c8d;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn-add-cart {
    background-color: #443931;
    color: #e8e1d9;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

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


/* Responsive */
@media (max-width: 768px) {
    .quiz-modal-content {
        padding: 3rem 1.5rem 2rem;
        width: 95%;
    }

    .quiz-modal-close {
        top: 1rem;
        /* â† Move up slightly */
        right: 1rem;
        /* â† Move in slightly */
        width: 28px;
        /* â† Smaller button */
        height: 28px;
        /* â† Smaller button */
        font-size: 1.25rem;
        /* â† Smaller X */
    }

    .quiz-modal-title {
        font-size: 1.5rem;
    }

    .quiz-modal-subtitle {
        font-size: 0.9rem;
    }

    .quiz-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quiz-option {
        padding: 1.25rem 1.5rem;
        font-size: 0.9rem;
    }

    .quiz-btn {
        font-size: 1.1rem;
        padding: 0.875rem 1.5rem;
    }

    .quiz-result-plan {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    .hero {
        align-items: flex-end;
        /* â† Add this line */
        padding-bottom: 0.5rem;
        /* â† Add this for spacing from bottom */
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .about {
        padding: 0 1rem 2rem;
        /* â† Changed: removed top/bottom padding (was 5rem 2rem) */
    }

    .about-content {
        padding-top: 1.5rem;
        /* â† Add this: adds space above the text content */
    }

    .about-image {
        width: 250px;
        height: 250px;
    }

    .quiz-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        /* â† Changed from 1.5rem 4rem (base) to reduce side width */
        width: 90%;
        /* â† Added to reduce overall container width */
        margin: 0 auto;
        background-color: var(--bg-quiz-color);
    }

    .quiz-content h3 {
        font-size: 1.5rem;
    }

    .quiz-content p {
        font-size: 1.1rem;
    }

    .btn-quiz {
        width: 100%;
        padding: 15px 30px;
    }

    .plan-grid {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        width: 100%;
        max-width: 392px;
        height: auto;
        min-height: 500px;
    }



    .supplements {
        padding: 3rem 1rem 0;
    }

    .supplement-card {
        width: 240px;
        padding: 1.5rem;
    }

    .supplements-track {
        animation: scroll-left 75s linear infinite;
    }

    .quiz-modal-content {
        padding: 3rem 1.5rem 2rem;
        width: 95%;
    }


    .quiz-modal-title {
        font-size: 1.5rem;
    }

    .quiz-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quiz-option {
        padding: 1.25rem 1.5rem;
        font-size: 0.9rem;
    }

    .quiz-btn {
        font-size: 1.1rem;
        padding: 0.875rem 1.5rem;
    }

    .quiz-result-plan {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
        align-items: flex-end;
        /* â† Add this line */
        padding-bottom: 0rem;
        /* â† Add this for spacing from bottom */
    }

    .history-hero {
        height: 60vh;
        align-items: flex-end;
        /* â† Add this line */
        padding-bottom: 0rem;
        /* â† Add this for spacing from bottom */
    }

    history-hero::before {
        height: 60vh;
        align-items: flex-end;
        /* â† Add this line */
        padding-bottom: 0rem;
        /* â† Add this for spacing from bottom */
    }

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

    .hero-content {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .mission h2 {
        font-size: 1.4rem;
        padding: 0 1rem;
    }

    .about {
        padding: 1rem 1rem 2rem;
    }

    .plans {
        padding: 3rem 1rem;
    }

    .plans h3 {
        font-size: 1.5rem;
    }

    .transformations {
        padding: 0rem 1rem;
    }

    .transformations h3 {
        font-size: 1.5rem;
    }

    .supplements {
        padding: 3rem 1rem 0;
    }

    .supplements h3 {
        font-size: 1.5rem;
    }

    .supplements p {
        font-size: 0.95rem;
    }

    .evidence {
        padding: 3rem 1rem;
    }

    .evidence h3 {
        font-size: 1.4rem;
    }

    .quiz-container {
        padding: 1rem;
    }

    .quiz-content h3 {
        font-size: 1.3rem;
    }

    .quiz-content p {
        font-size: 1rem;
    }

    .quiz-modal-content {
        padding: 1.5rem 1rem;
    }

    .quiz-modal-title {
        font-size: 1.3rem;
    }

    .quiz-btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .supplements-track {
        animation: scroll-left 75s linear infinite;
    }

}

.hero,
.mission,
.about,
.transformations,
.plans,
.quiz,
.supplements,
.evidence {
    animation: fadeIn 0.8s ease-out;
}

/*Aboutus
/* ========================================
HISTORY HERO SECTION
======================================== */
.history-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    /*background-image: url('/img/landing/aboutus1.png');*/
    background-size: cover;
    background-position: center;
    display: flex;
    /*margin-top: 80px;*/
}

.history-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.3);*/
    z-index: 0;
}

.history-hero .hero {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ========================================
CONTENT SECTIONS
======================================== */
.history-section {
    margin-top: 5rem;
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.section-title {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 3.5rem;
    text-align: center;
    font-weight: 500;
}

/*.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--dark-color);
    margin: 0 auto 3rem;
    text-align: left;
    font-weight: 400;
    max-width: 900px;
}*/

.intro-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #443931;
    max-width: 900px;
    margin: 0.5rem auto 2rem;
    text-align: left;
}

/* Philosophy Section */
.philosophy-section {
    padding: 0rem 0;
    margin-top: 5rem;
    background-color: var(--bg-color);
    text-align: left;
}

.philosophy-title {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    color: var(--dark-color);
    text-align: left;
    font-weight: bold;
    max-width: 900px;
    margin: 0 auto 0;

}

.philosophy-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #443931;
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: left;
}

/* Quote Section */
.quote-section {
    padding: 3rem 0;
    margin-bottom: 5rem;
    margin-top: 5rem;
    text-align: center;
    background-color: #561332;
}

.quote-text {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    font-style: bold;
    color: #e8d1d9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

.quote-author {
    font-family: 'EB Garamond', sans-serif;
    font-size: 2rem;
    color: #7C333E;
    font-style: bold;
}

/* Method Section */
.method-section {
    padding: 0rem 0 3rem;
    background-color: var(--bg-color);
}

.method-title {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin: 0 auto 3rem;
    text-align: left;
    font-weight: bold;
    max-width: 900px;
    padding-top: 1rem;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    /*Changed from 'center' to 'stretch'*/
    /*max-width: 900px;*/
    max-width: 900px;
    margin: 0 auto 2rem;
}

.method-content {
    padding-right: 2rem;
}

.method-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #443931;
    margin-bottom: 2rem;
}

.method-list {
    list-style: none;
    padding: 0;
}

.method-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.method-list li::before {
    content: 'â€¢';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.method-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* Added to fill parent height */
}

.method-image img {
    width: 100%;
    /*height: auto;*/
    /*display: block;*/
    height: 100%;
    /* Changed from 'auto' to '100%' */
    object-fit: cover;
    /* Added to maintain aspect ratio while filling container */
}

/* Commitment Section */
.commitment-section {
    padding: 0rem 0;
    background-color: var(--bg-color);
}

.commitment-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.75rem;
    color: var(--dark-color);
    margin: 0 auto 2rem;
    text-align: left;
    font-weight: 500;
    max-width: 900px;
}

.commitment-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #443931;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}




/* ========================================
TEAM SECTION (New)
======================================== */
.team-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.team-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--dark-color);
    margin: 0 auto 2rem;
    text-align: left;
    font-weight: 400;
    max-width: 900px;
}

.team-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #443931;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: left;
}

.team-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 50vh;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.team-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ========================================
COMMUNITY SECTION (New)
======================================== */
.community-section {
    /*padding: 5rem 0;*/
    background-color: var(--bg-color);
}

.community-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.75rem;
    color: var(--dark-color);
    margin: 0 auto 2rem;
    text-align: left;
    font-weight: 500;
    max-width: 900px;
}

.community-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #443931;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 2rem;
}

/* ========================================
CTA SECTION (New)
======================================== */
.cta-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content {
    padding-right: 2rem;
}

.cta-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.75rem;
    color: var(--dark-color);
    /*margin-bottom: 1.5rem;*/
    margin: 0 auto 3rem;
    text-align: left;
    font-weight: 500;
    max-width: 900px;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #443931;
    margin-bottom: 2rem;
}

.cta-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-fit: cover;
}


/* ========================================
        TRANSFORMATIONS CAROUSEL
        ======================================== */
.transformations {
    padding-top: 2rem;
    padding-bottom: 0rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background-color: var(--bg-color);
    overflow: hidden;
}

.transformations .title-wrapper {
    max-width: 900px;
    /* Same as .container */
    margin: 0 auto;
    /* Center it */
}

.transformations h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'EB Garamond', serif;
    color: #443931;
    font-weight: bold;
    /* padding-left: 1rem;  Small padding to align with cards */
}

.transformation-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 1.5rem;
    /* 48px */

}

.transformation-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 75s linear infinite;
    width: max-content;
    padding: 0 0.5rem;
    /* Added slight padding so first card isn't cut */

}

.transformation-track:hover {
    animation-play-state: paused;
}

/*.transformation-card {
            flex: 0 0 auto;
            width: 250px;
            height: 350px;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }*/

.transformation-card {
    flex: 0 0 auto;
    width: 350px;
    /* Ensures the card is always a perfect square based on width */
    aspect-ratio: 1 / 1;
    background-color: #e8e1d9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Prevents the card from shrinking below 300px */
    min-width: 300px;
}

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

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {

    .transformation-track {
        animation: scroll-left 75s linear infinite;
    }

    .transformation-card {
        width: 300px;
        aspect-ratio: 1 / 1;
        height: 300px;
    }

    .transformations {
        padding: 0rem 1rem;
    }

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

    .quote-section {
        padding: 0.75rem 0 1rem;
    }
}

@media (max-width: 576px) {
    .transformation-track {
        animation: scroll-left 75s linear infinite;
    }

    .quote-section {
        padding: 0.75rem 0 1.2rem;
    }

    .transformations {
        padding: 0rem 1rem;
    }
}



/* ========================================
RESPONSIVE DESIGN
======================================== */
@media (max-width: 992px) {

    .method-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .method-content {
        padding-right: 0;
    }

    .cta-content {
        padding-right: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .history-hero {
        /*height: 50vh;
        min-height: 350px;*/
        align-items: flex-end;
        /* â† Add this line */
        padding-bottom: 0.5rem;
        /* â† Add this for spacing from bottom */
    }

    .history-hero::before {
        /*height: 50vh;
        min-height: 350px;*/
        align-items: flex-end;
        /* â† Add this line */
        padding-bottom: 0.5rem;
        /* â† Add this for spacing from bottom */
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.4rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .quote-title {
        font-size: 1.5rem;
    }

    .method-list li {
        font-size: 0.95rem;
    }

    .method-section {
        padding: 0rem 0 1rem;
    }

    .history-section {
        padding: 1rem 0 0;
    }
}

.history-section,
.philosophy-section,
.quote-section,
.method-section,
.commitment-section {
    animation: fadeIn 0.8s ease-out;
}