/* =========================================
   1. VARIABLES & RESET
   ========================================= */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #F9F7F2;
    font-family: var(--font-body);
    color: var(--text-body);
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

/* =========================================
   3. GLOBAL UTILITIES
   ========================================= */
/* -----------------------divider----------------------- */
.title-wrapper {
    text-align: center;
}

.title-inner {
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 700;
}

.divider {
    margin-bottom: 30px;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
            rgba(192, 132, 61, 0) 0%,
            #C0843D 48.56%,
            rgba(192, 132, 61, 0) 100%);
}

.btn-main {
    background-color: var(--btn-bg);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.btn-main:hover {
    background-color: #3e4b2e;
    color: #fff;
}

.btn-know-joun {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
}

.btn-main-button {
    width: 60%;
    background-color: var(--btn-bg);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.time {
    color: black;
    font-size: 1.2rem;
}

.btn-view-all-outline {
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

@media (max-width: 992px) {
    .time {
        font-size: 1rem;
        margin-left: 22px;
    }
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    padding-bottom: 50px;
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.hero-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    position: relative;
    text-align: center;
    width: 100%;
}

.hero-headings {
    position: relative;
    z-index: 1;
    margin-bottom: -60px;
}

.sub-heading {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2.5rem;
    color: var(--text-accent);
    margin-bottom: 0;
}

.main-heading {
    font-family: var(--font-heading) !important;
    font-size: 9rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 0.9;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-left: 90px;
}

.main-heading span {
    font-family: var(--font-heading) !important;
}

.hero-image-wrapper {
    position: relative;
    z-index: 999;
    margin-top: -80px;
    pointer-events: none;
}

.profile-svg-social-icon {
    width: 16px;
    height: 16px;
    filter: brightness(1) invert(0);
}

.main-hero-img {
    height: 650px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    z-index: 999 !important;
}

.hero-cards-layer {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

/* --- GRID FOR CARDS (Spacing Logic) --- */
.hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Expanded grid to push cards further apart */
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    /* Cards positioned at the top layer */
    height: 50%;
    margin-top: -500px;
}

/* --- Floating Cards Styling --- */
.floating-card {
    background: var(--bg-body);
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: -2px 3px 7px 0px #0000001A,
        -7px 11px 13px 0px #00000017,
        -16px 25px 18px 0px #0000000D,
        -28px 45px 21px 0px #00000003,
        -44px 71px 23px 0px #00000000;
    text-align: left;
    width: 260px;
    transition: transform 0.3s ease;
}

/* Left Card Adjustment */
.left-card {
    margin-top: 20px;
    /* Added extra margin to keep distance from the hand/image */
    margin-right: 50px;
}

/* Right Card Adjustment */
.right-card {
    margin-top: 60px;
    padding: 15px;
    /* Same margin added for symmetry */
    margin-left: 700px;
}

/* Inner Card Styles (Same as before) */
.card-top {
    text-align: center;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #333;
}

.card-info h3 {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 2px;
    color: #2B2B2B;
}

.card-info p {
    font-size: 13px;
    color: #2B2B2B;
}

.trust-counting {
    font-weight: 400;
    font-size: 18px;
}

.card-divider {
    height: 1px;
    background: var(--divider-bg);
    margin: 15px 0;
    width: 100%;
}

.card-bottom {
    /* display: flex;
    align-items: center;
    gap: 10px; */
    text-align: center;
}

.video-thumbnail {
    width: 100%;
    height: 120px;
    background-image: url("https://img.youtube.com/vi/j0y0CXJZJxw/maxresdefault.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.latest-img-box img {
    width: 97px;
    height: 55px;
    border-radius: 15px;
}

.play-icon {
    width: 30px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating {
    color: #D4A017;
    font-size: 14px;
}

.rating-text {
    font-size: 16px;
    font-weight: 400;
    color: #2B2B2B;
}

.badge {
    background: #D0D0D080;
    color: #000000;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 500;
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    /* bigger height for video */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-icon {
    width: 30px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-details h3 {
    font-size: 15px;
    font-weight: 700;
}

.card-details p {
    font-size: 12px;
    color: #666;
}

.watch-link {
    font-size: 12px;
    color: var(--text-yt);
    font-weight: 700;
    margin-top: 5px;
    display: block;
    border: 1px solid #CCCCCC;
    height: 21px;
    width: 120px;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* =========================================
   FIXED MOBILE VIEW (992px and below)
   ========================================= */

@media (max-width: 992px) {

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

    .hero-section {
        min-height: auto;
        padding: 40px 20px;
        overflow: hidden;
        margin-bottom: -100px;
    }

    /*  Change sequence */
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-headings {
        margin-bottom: 20px;
    }

    .main-heading {
        font-size: 3.5rem;
        margin-left: 0;
        gap: 10px;
    }

    .sub-heading {
        font-size: 1.2rem;
    }

    /* Image proper size */
    .hero-image-wrapper {
        margin-top: 0;
        max-width: 400px;
        width: 100%;
    }

    .main-hero-img {
        width: 100%;
        height: auto;
    }

    .hero-grid {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
        width: 100%;
        height: auto;
    }

    .floating-card {
        position: static;
        width: 100%;
        max-width: 320px;
        margin: 0;
    }

    .right-card {
        order: 1;
        /* Latest Recipe LEFT */
    }

    .left-card {
        order: 2;
        /* Rating RIGHT */
    }


}

/* =========================================
   5. RECIPES SECTION
   ========================================= */
.recipe-section {
    padding: 80px 0;
    position: relative;
}

.deco {
    position: absolute;
    z-index: -1;
    opacity: 0.8;
}

.deco-parsley {
    z-index: 999;
    top: 130px;
    left: 20px;
    width: 120px;
    transform: rotate(50deg);
}

.deco-oranges {
    z-index: 999;
    bottom: 10px;
    right: 40px;
    width: 100px;
    transform: rotate(-5deg);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 20px 0;
}

.recipe-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #eee;
}

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

.card-image {
    position: relative;
    height: 180px;
    background: #FDFCF8;
}

.card-image-fit {
    position: relative;
    height: 180px;
    background-image: url("../assets/images/home-page-images/food-platter.jpeg");
    background-size: cover;
}

.card-image iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.recipe-label {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-body);
    padding: 6px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    color: var(--text-primary);
    /* border-color: #bfccb9 !important; */
    border: 1px solid #ece3d1;
}

.card-content {
    padding: 25px 15px 15px;
    text-align: center;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
    padding-left: 20px;
    padding-right: 20px;
}

.view-more-card .btn-primary {
    background-color: var(--text-accent);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
}

@media (max-width: 992px) {
    .recipe-section {
        margin-top: 30px;
    }

    .recipe-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* =========================================
   6. CHEF SERVICES
   ========================================= */
.chef-services {
    padding: 100px 0;
    margin-top: -100px;
}

.title-inner {
    display: inline-block;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 400;
}

.description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.des-para {
    color: var(--text-primary);
}

.button-group {
    display: flex;
    gap: 15px;
}

/* Fix full height chain */
.slider-card .carousel,
.slider-card .carousel-inner,
.slider-card .carousel-item {
    height: 100%;
}

.carousel-item {
    position: relative;
    overflow: hidden;
    height: 100%;
}

@media (max-width: 992px) {

    .subtitle,
    .des-para,
    .description {
        margin: 0px 10px;
    }

    .slider-card {
        margin-bottom: -50px;
        margin-top: -50px;
    }

    .chef-services {
        padding: 50px 0;
    }

    .slider-video {
        height: 350px;
    }

    @media (max-width: 992px) {

        .button-group {
            display: flex;
            gap: 8px;
            margin: 0px 10px;
        }

        .btn-main,
        .btn-view-all-outline {
            flex: 1;
            white-space: nowrap;
            font-size: 14px;
            padding: 10px 8px;
            text-align: center;
            text-decoration: none;
        }

    }
}

/* =========================================
   7. STORIES SECTION (Premium Fan Effect)
   ========================================= */
.stories-section {
    padding: 100px 0;
    background-color: #E7E6DC;
    overflow: hidden;
    position: relative;
}

.card-column {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
}

.story-card {
    position: absolute;
    width: 240px;
    /* Slightly smaller for better fanning */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: #fff;
}

.story-card:hover {
    z-index: 20 !important;
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.story-card img {
    width: 100%;
    height: 320px;
    /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

/* LEFT COLUMN FANNING */
.card-left-outer {
    transform: rotate(-15deg) translateX(-30px);
    z-index: 1;
    transform-origin: bottom right;
}

.card-left-inner {
    transform: rotate(-5deg) translateX(40px) translateY(-20px);
    z-index: 5;
    transform-origin: bottom right;
}

/* RIGHT COLUMN FANNING */
.card-right-inner {
    transform: rotate(5deg) translateX(-40px) translateY(-20px);
    z-index: 5;
    transform-origin: bottom left;
}

.card-right-outer {
    transform: rotate(15deg) translateX(30px);
    z-index: 1;
    transform-origin: bottom left;
}

/* GLASSMORPHISM OVERLAY */
.card-overlay {
    position: absolute;
    inset: 15px;
    /* Equal spacing from all sides */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    opacity: 1;
}

/* MOBILE STACK (Updated) */
@media (max-width: 992px) {
    .story-description {
        margin: 0px 3px;
    }

    .mobile-card-stack {
        position: relative;
        height: 450px;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }

    .mobile-card-stack .story-card {
        width: 220px;
        position: absolute;
    }

    .m-card-1 {
        transform: rotate(-10deg) translateX(-40px);
        z-index: 1;
    }

    .m-card-2 {
        transform: rotate(0deg) translateY(-20px);
        z-index: 5;
    }

    .m-card-3 {
        transform: rotate(10deg) translateX(40px);
        z-index: 1;
    }
}

/* =========================================
   8. COLLABORATIONS
   ========================================= */
/* Container for the whole section */
.collaboration-section {
    padding: 60px 0;
    margin-bottom: -80px;
    overflow: hidden;
}

/* Logos Grid - 6 columns with specific gap */
.collab-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    padding-top: 90px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.collab-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.collab-logo img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

/* 23+ More Link at the bottom */
.more-link-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.view-more-link {
    text-decoration: none;
}

.more-logo {
    color: var(--text-primary);
    font-weight: bold;
}

.more-logo i {
    color: var(--text-primary);
    font-weight: 700;
}

/* SVG Lines Styling */
.svg-tree-container {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    /* Must match collab-grid-container max-width */
    height: 100px;
    pointer-events: none;
}

.tree-line {
    position: absolute;
    top: 0;
    height: 100px;
}

.last-logo {
    opacity: 0.5;
}

.sec-last-logo {
    opacity: 0.7;
}

.left-logo {
    margin-left: -100px;
}

.right-logo {
    margin-right: -100px;
}

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

    /* Container height and spacing */
    .collaboration-section {
        padding: 8vh 0;
        /* Vertical spacing based on screen height */
    }

    .mobile-svg-container {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        /* Fluid width */
        height: 10vh;
        /* Height relative to screen */
        pointer-events: none;
        z-index: 1;
    }

    .m-line {
        position: absolute;
        top: 0;
        height: 100%;
        /* Line stretches to fill the 10vh container */
    }

    /* Grid for 4 logos */
    .collab-grid-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        width: 90%;
        /* Use most of the screen width */
        margin: 0 auto;
        padding-top: 8vh;
        /* Match the height of SVGs */
        gap: 2%;
        /* Percentage based gap */
    }

    .collab-logo img {
        max-width: 85% !important;
        /* Scale logos based on their grid cell */
        height: auto !important;
        margin: 0 auto;
    }

    /* 23+ More Button */
    .more-link-container {
        margin-top: 5vh;
    }

    .left-logo {
        margin-left: 2px;
    }

    .right-logo {
        margin-right: 2px;
    }
}

/* =========================================
   9. HEART BEHIND KITCHEN
   ========================================= */
.kitchen-about-section {
    padding: 100px 0;
}

.kitchen-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #4D4D4D;
}

.stat-name {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
}

.stagger-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.stagger-item {
    position: absolute;
    width: 200px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: -2px 3px 9px 0px #0000001A,
        -7px 14px 15px 0px #00000017,
        -15px 31px 21px 0px #0000000D,
        -27px 56px 25px 0px #00000003,
        -42px 87px 27px 0px #00000000;
    transition: 0.3s;
    margin-left: 0px;
}

.stagger-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-left {
    transform: translate(-140px, 60px);
    z-index: 1;
}

.item-center {
    transform: translate(85px, -30px);
    z-index: 3;
}

.item-right {
    transform: translate(310px, 60px);
    z-index: 1;
}

@media (max-width: 992px) {
    .kitchen-desc {
        margin: 0px 15px;
    }

    .stagger-wrapper {
        height: 350px;
        margin-top: 40px;
    }

    .stagger-item {
        width: 160px;
        height: 240px;
    }

    .item-left {
        transform: translateX(-80px);
    }

    .item-center {
        transform: translateY(-100px);
    }

    .item-right {
        transform: translate(80px, 20px);
        z-index: 4;
    }
}

/* =========================================
   10. APP SHOWCASE (MomChefs)
   ========================================= */
.mom-chefs-container {
    padding: 0px 70px 0px 70px;
}

.app-showcase-section {
    background-color: #FAF9F6;
    /* Matches the image background */
    overflow: hidden;
}

/* --- Visual Stack (Phone + Cards) --- */
.visual-stack-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.phone-mockup {
    z-index: 2;
    margin: 0;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.phone-mockup img {
    width: 9000px;
    max-width: 1000px;
}

.floating-info-card {
    position: absolute;
    background: #F6F3EC;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 3;
    width: 220px;
}

/* Rating Card Position */
.rating-badge {
    bottom: 25%;
    left: 0;
    transform: translateX(-8%);
    border: 1px solid #D0D0D0;
    text-align: center;
}

.rating-header {
    font-size: 20px;
    font-weight: 500;
}

.stars {
    font-size: 20px;
    position: relative;
}

.full-star {
    color: #D4A017;
}

.half-star {
    position: relative;
    display: inline-block;
    color: white;
}

.half-star::before {
    content: "★";
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #D4A017;
}

/* Testimonial Card Position */
.chef-testimonial {
    top: 20%;
    right: 0;
    transform: translateX(28%);
    border: 1px solid #D0D0D0
}

.chef-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.chef-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.chef-meta h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.chef-meta span {
    font-size: 11px;
    color: #575757;
}

.testimonial-body {
    font-size: 13px;
    margin: 0;
    color: #575757;
}

/* --- Text Styling --- */
.brand-main-logo {
    max-width: 280px;
}

.brand-description {
    font-size: 18px;
    line-height: 1.6;
    color: #575757;
    margin-bottom: 30px;
    font-weight: 400;
}

/* --- Buttons --- */
.store-btn {
    background-color: #000000;
    /* width: 177px;
    height: 43px; */
    width: auto;
    gap: 5px;
    opacity: 1;
    border-radius: 10px;
    padding: 10px;
    color: #FFFFFF;
}

.store-btn img {
    height: 20px;
}

/* --- Responsive Layout (Mobile View) --- */
@media (max-width: 991px) {
    .app-showcase-section {
        margin-top: -60px;
    }

    .action-buttons {
        margin-top: -60px;
    }

    .brand-description {
        margin-bottom: -30px;
    }

    a.btn-main.d-block.d-lg-none {
        display: block !important;
        width: fit-content !important;
        margin: 0 auto !important;
        font-size: 0.9rem;
    }

    .brand-main-logo {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        text-align: center;
    }

    .brand-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .visual-stack-container {
        margin-top: -100px;
        transform: scale(0.9);
    }

    .chef-testimonial {
        right: -5%;
        top: 5%;
    }

    .rating-badge {
        left: -5%;
        bottom: 5%;
    }
}

@media (max-width: 576px) {
    .visual-stack-container {
        transform: scale(0.85);
    }

    .floating-info-card {
        width: 180px;
    }
}


/* =========================================
   11. CHEF AT HOME (MAGAZINES)
   ========================================= */
.published-by {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.magazine-card {
    background: #F6F3EC;
    border-radius: 15px;
    padding: 25px;
    box-shadow: -1px 2px 6px 0px #5C5C5C1A,
        -6px 8px 10px 0px #5C5C5C17,
        -13px 19px 14px 0px #5C5C5C0D,
        -24px 34px 16px 0px #5C5C5C03,
        -37px 53px 18px 0px #5C5C5C00;
    text-align: center;
    transition: 0.3s;
}

.cover-img {
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 80%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.edition-title {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.nav-arrow {
    font-size: 1.5rem;
    color: var(--text-primary);
    background: #e6e6e6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    cursor: pointer;
    transition: 0.3s;
}

/* Remove side fade overlay */
.carousel-control-prev,
.carousel-control-next {
    background: none !important;
    width: 40px;
}

/* Make arrows black */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    /* makes default white icon black */
    width: 25px;
    height: 25px;
}

/* Remove unwanted overlay gradient */
.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
}

/* =========================================
   MOBILE CAROUSEL FIX
   ========================================= */

/* Prevent shadow clipping */
#magazineCarousel,
#mobileMagazineInner {
    overflow: visible !important;
}

/* Carousel item padding for breathing room */
#magazineCarousel .carousel-item {
    padding: 10px 20px 30px;
}

/* White card on mobile */
#magazineCarousel .magazine-card {
    background: #ffffff;
    max-width: 280px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: -1px 2px 6px 0px #5C5C5C1A,
        -6px 8px 10px 0px #5C5C5C17,
        -13px 19px 14px 0px #5C5C5C0D,
        -24px 34px 16px 0px #5C5C5C03,
        -37px 53px 18px 0px #5C5C5C00;
}

/* Fix image size inside mobile card */
#magazineCarousel .cover-img {
    width: 75%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Arrow buttons for mobile carousel */
#magazineCarousel .carousel-control-prev,
#magazineCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: #e6e6e6 !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#magazineCarousel .carousel-control-prev {
    left: -5px;
}

#magazineCarousel .carousel-control-next {
    right: -5px;
}

#magazineCarousel .carousel-control-prev-icon,
#magazineCarousel .carousel-control-next-icon {
    filter: invert(1);
    width: 18px;
    height: 18px;
}

/* =========================================
   12. WELLNESS SECTION (Overlap)
   ========================================= */
.wellness-container {
    margin: 0px 100px;
}

.sub-header {
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #4F5F3A;

}

.main-wellness-card {
    background: var(--bg-body);
    padding: 20px;
    border-radius: 20px;
    box-shadow: -1px 2px 6px 0px #5C5C5C1A,
        -6px 8px 10px 0px #5C5C5C17,
        -13px 19px 14px 0px #5C5C5C0D,
        -24px 34px 16px 0px #5C5C5C03,
        -37px 53px 18px 0px #5C5C5C00;
    position: relative;
    z-index: 10;
    margin-top: -220px;
    margin-left: -180px;
}

.left-side-main-img {
    transform: translateY(-180px);
}

.img-des-container {
    /* background-color: yellowgreen; */
    transform: translate(-100px, -200px);
}

.instructor-wrapper {
    width: 70vw;
    transform: translate(-350px, -100px);
}

.hero-img-des {
    transform: translateY(-100px);
}

.right-side-content h5 {
    color: var(--text-primary);
}

.right-side-content h6 {
    color: #575757;
}

.section-heading {
    color: var(--text-primary);
}

.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #575757;
}

.highlated-font {
    font-weight: 700;
    color: #000;
}

.btn-join {
    background: var(--text-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
}

.healthy-plate-img {
    border: 2px solid black;
}

@media (max-width: 992px) {

    body,
    html {
        overflow-x: hidden;
        max-width: 100%;
    }

    .fitness-section {
        padding: 80px 0;
        margin-top: -30px;
    }

    .mobile-plate-content {
        display: block !important;
        padding: 10px;
        overflow: hidden;
        margin-top: 20px;
        margin-bottom: 60px;
    }

    .main-wellness-card {
        margin-top: -60px;
        margin-left: 10px;
    }

    .instructor-wrapper {
        transform: translate(-280px, 50px);
        width: 250vw;
    }

    .left-side-main-img img {
        height: 300px;
        width: 900px;
        margin-bottom: -130px;
        box-shadow: -2px 3px 7px 0px #5C5C5C1A,
            -7px 11px 13px 0px #5C5C5C17,
            -16px 25px 17px 0px #5C5C5C0D,
            -28px 44px 21px 0px #5C5C5C03,
            -44px 68px 23px 0px #5C5C5C00;
    }

    .healthy-plate-img {
        float: right;
        width: 130px;
        height: auto;
        margin-left: 20px;
        margin-bottom: 10px;
        border-radius: 15px;
        margin-top: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    .right-side-content h5 {
        margin-left: 0 !important;
        margin-bottom: 10px;
        font-weight: bold;
        /* margin-top: -100px; */
    }

    .right-side-content h6 {
        margin: 0;
        text-align: left;
    }
}

/* =========================================
   13. MOMENTS FROM THE KITCHEN (Gallery)
   ========================================= */
/* Image Styling */
.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 24px;
    background: var(--bg-body);
    box-shadow: -2px 3px 9px 0px #0000001A,
        -7px 14px 15px 0px #00000017,
        -15px 31px 21px 0px #0000000D,
        -27px 56px 25px 0px #00000003,
        -42px 87px 27px 0px #00000000;
    border: 3px solid #F6F3EC;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

/* Creating the Staggered Look for Desktop */
@media (min-width: 992px) {
    .stagger-down {
        margin-top: 60px;
    }

    .stagger-up {
        margin-top: -40px;
    }

    /* Custom heights to match your UI */
    .h-tall {
        height: 500px;
    }

    .h-med {
        height: 350px;
    }

    .h-short {
        height: 240px;
    }
}

/* Mobile Adjustments (matching 2nd screenshot) */
@media (max-width: 991px) {

    .h-tall,
    .h-med,
    .h-short {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .row.g-4.justify-content-center {
        display: block !important;
        column-count: 2;
        column-gap: 15px;
        padding: 0 10px;
        overflow: hidden;
        /* Scroll band */
    }

    /* Column behavior adjust karein */
    .row.g-4.justify-content-center>[class*="col-"] {
        width: 100% !important;
        display: inline-block;
        margin-bottom: 10px;
        padding: 0 !important;
    }

    .row.g-4.justify-content-center>div:nth-child(odd) {
        transform: translateY(20px);
    }

    .gallery-item {
        width: 100%;
        margin-bottom: 15px;
        border-radius: 12px;
        overflow: hidden;
        display: block;
    }

    /* Heights adjustment for mobile */
    .gallery-item.h-tall {
        height: 220px !important;
    }

    .gallery-item.h-med {
        height: 160px !important;
    }

    .gallery-item.h-short {
        height: 130px !important;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

/* Button Styling */
.btn-see-more {
    background-color: var(--text-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    display: block;
    margin: 40px auto;
    transition: 0.3s;
    text-decoration: none !important;
}

.btn-see-more:hover {
    background-color: #3e5233;
    color: #fff;
}

/* =========================================
   14. TESTIMONIALS (Slider)
   ========================================= */
.testimonial-section {
    padding: 80px 0;
    overflow: hidden;
}

.community-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.community-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.community-card-wrapper {
    flex: 0 0 33.333%;
    padding: 0 15px;
}

.testimonial-card {
    background: var(--bg-body);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;

    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 260px;
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.name-text {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.sub-text {
    font-size: 0.85rem;
    color: #888;
}

.read-more {
    font-size: 0.9rem;
    color: #575757;
    font-weight: 600;
    background: none;
    border: none;
    padding: 0;
    margin-top: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more span {
    font-size: 14px;
}

.card-body-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body-content p {
    flex-grow: 1;
    margin-bottom: 0;
}

.nav-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn:hover {
    color: #b3cb93;
}

.prev-btn {
    color: #3e3d3d;
    left: 0;
}

.next-btn {
    color: #3e3d3d;
    right: 0;
}

@media (max-width: 992px) {
    .community-card-wrapper {
        flex: 0 0 100%;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* =========================================
   15. CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 80px 0;
}

.contact-info-card,
.contact-form-card {
    border-radius: 25px;
    box-shadow: 0px 3px 7px 0px #8282821A,
        0px 13px 13px 0px #82828217,
        0px 29px 17px 0px #8282820D,
        0px 52px 21px 0px #82828203,
        0px 81px 23px 0px #82828200;
    height: 100%;
    padding: 40px;
}

.info-box {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: 0.3s;
}

.info-box:hover {
    border-color: var(--text-primary);
    background: #fdfcf8;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.info-box p a {
    font-size: 0.9rem;
    margin: 0;
    color: #555;
    word-break: break-word;
    text-decoration: none;
}

.map-container {
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 30px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--text-primary);
    box-shadow: none;
    background: #fff;
}

.btn-submit {
    background: var(--text-primary);
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #3e4b2e;
}

/* --------------------UP ARROW------------------------------- */
.up-arrow {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: none;
    /* hide by default */
}

.custom-arrow-up {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    border: none;
    border: 1px solid rgba(198, 193, 193, 0.7);
}

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

    /* Wrapper: arrows sit outside the carousel */
    .mobile-carousel-wrapper {
        display: flex;
        align-items: center;
        /* gap: 12px; */
        padding: 0 5px;
    }

    #magazineCarousel {
        flex: 1;
        overflow: hidden;
    }

    /* Remove dark gradient overlay from carousel items */
    #magazineCarousel .carousel-item::before {
        display: none !important;
    }

    /* Clean white card */
    #magazineCarousel .magazine-card {
        background: #F6F3EC;
        border-radius: 20px;
        padding: 25px 20px;
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
        box-shadow: 0px 2px 5px 0px #4545451A,
            0px 8px 8px 0px #45454517,
            0px 19px 11px 0px #4545450D,
            0px 33px 13px 0px #45454503,
            0px 52px 15px 0px #45454500;
        border: none;
    }

    /* Book cover image */
    #magazineCarousel .cover-img {
        width: 65%;
        aspect-ratio: 3/4;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 15px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

    #magazineCarousel .edition-title {
        font-size: 1rem;
        color: var(--text-primary);
        margin-bottom: 15px;
    }

    #magazineCarousel .btn-main {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }

    /* Arrows outside — static positioned */
    .mobile-carousel-wrapper .carousel-control-prev,
    .mobile-carousel-wrapper .carousel-control-next {
        position: static !important;
        width: 36px;
        min-width: 36px;
        height: 36px;
        background: transparent !important;
        box-shadow: none;
        opacity: 1;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-carousel-wrapper .carousel-control-prev-icon,
    .mobile-carousel-wrapper .carousel-control-next-icon {
        filter: invert(1) brightness(0);
        /* makes them black */
        width: 20px;
        height: 20px;
    }
}

/* ------------------------------------------------------------------------------------------- */
/* Slider card rounded container */
.slider-card {
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    height: 450px;
}

/* Video fills the card */
.slider-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark gradient from bottom */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
    z-index: 2;
}

/* Text - top left */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px;
    color: #F6F3EC;
    z-index: 3;
}

.overlay h4 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 300;
    font-family: 'Poppins';
}

.overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    max-width: 80%;
    font-weight: 100;
}

/* Container setup */
.custom-indicators {
    position: absolute;
    display: flex;
    align-items: left;
    gap: 12px;
    justify-content: left;
    /* z-index: 3; */
}

/* Base style for all dots */
.custom-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    /* Dim inactive dots */
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    position: relative;
}

/* The "Capsule" Logic */
/* When a button is active, we expand its width to "connect" to the space of a second dot */
.custom-indicators button.active {
    width: 36px !important;
    /* (12px width + 12px gap + 12px next dot) */
    border-radius: 10px !important;
    /* Makes it a pill/capsule shape */
    background-color: #fff !important;
    opacity: 1 !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient starts at 80% opacity black and goes to transparent at 25% height */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.7) 20%,
            rgba(0, 0, 0, 0) 30%);
    pointer-events: none;
    /* Allows clicks to pass through to the video */
    z-index: 2;
    /* Sits above video (z-index: 0) and below text (z-index: 2) */
}

/* Arrows - bottom right */
.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 25px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.custom-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
}

.custom-arrow:hover {
    background: #fff;
    color: #000;
}