/* =======================================================
   ABOUT SPECIFIC STYLES
   (Global styles for Nav, Footer, etc. are in style.css)
========================================================== */

/* --- HERO SECTION --- */
/* Base .hero-header in style.css */

.hero-text {
    margin-top: 30px;
    /* Reduced from 75px */
    padding-left: 28px;
}

.hero-text .small-title {
    color: #2e8c43;
    font-size: 60px;
    font-weight: 700;
    margin-bottom:40px;
}

.hero-text p {
    font-size: 70px;
    margin-top: -15px;
    font-weight: 500;
}

/* RESPONSIVE HERO */
@media (max-width: 991px) {
    .hero-text {
        padding-left: 0;
        text-align: center;
        margin-top: 10px;
        /* Reduced */
    }
}


/* IMAGE ROW */
.hero-images {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

/* IMAGE BOX */
.img-box {
    width: 192px;
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    background: #f5f0d5;
    transition: transform 0.3s ease;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Effect for Hero Images - Premium Touch */
.img-box:hover {
    transform: translateY(-10px);
}

@media (max-width: 991px) {
    .hero-images {
        justify-content: center;
    }
}


/* ---------------- About Section ---------------- */

.contact-btn {
    padding: 10px 40px;
    background: #e0ddce;
    border-radius: 10px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.contact-btn:hover {
    background: #d4cfb9;
    transform: translateY(-3px);
}


/* ================= INFO CARD ================= */
/* WRAPPER: Cards side by side */
.cards-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Reduced from 30px */
    flex-wrap: wrap;
    margin-top: 20px;
    /* Reset top spacing */
}

/* MAIN CARD */
.info-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 240px;

    background-image: url('img/Mealbox_bg1.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 20px;

    padding-top: 130px;
    /* Slightly reduced */
    overflow: visible;
    margin-top: 50px;
    /* Reduced from 90px to prevent huge gap above */
    transition: transform 0.3s ease;
}

/* TOP IMAGE */
.info-img {
    position: absolute;
    top: -60px;
    /* Adjusted shallower */
    left: 50%;
    transform: translateX(-50%);

    width: 80%;
    height: 140px;
    object-fit: cover;
    border-radius: 25px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* TEXT AREA */
.card-body {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    margin-top: -40px;
    /* Adjusted */
    text-align: center;
}

/* TITLE */
.title {
    font-size: 26px;
    font-weight: 700;
    color: #3d5328;
    margin-bottom: 10px;
}

.green {
    color: #036928;
}

/* PARAGRAPH */
.info-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0 auto;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* MOBILE RESPONSIVE */
@media (max-width: 991px) {
    .cards-wrap {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .cards-wrap {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .info-card {
        max-width: 100%;
        padding: 100px 20px 30px;
        margin-top: 40px;
    }

    .info-img {
        width: 90%;
        height: 120px;
        top: -50px;
    }

    .card-body {
        padding: 15px;
        margin-top: -20px;
    }
}


/* ================= JOIN WITH US ================= */
.title-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    /* Reduced from 50px */
}

.title-with-lines span {
    font-size: 26px;
    font-weight: 700;
    color: #2e7d32;
    padding: 0 20px;
}

.title-with-lines::before,
.title-with-lines::after {
    content: "";
    flex: 1;
    max-width: 455px;
    height: 2px;
    background-color: #2e7d32;
}

/* SOCIAL CARDS */
.social-follow-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 20px auto 50px;
    /* Reduced from 50px auto 100px */
    width: 100%;
    padding: 0 20px;
}

/* Each Card */
.social-card {
    position: relative;
    width: 380px;
    /* Slightly compact */
    height: 390px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #ffffff3a;
    transition: transform 0.3s ease;
}

.social-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    border-radius: 25px;
    transform: scale(1.05);
    transition: filter 0.3s ease;
}

.follow-badge {
    position: absolute;
    right: -10px;
    bottom: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #2e8c43;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.12);
    transition: background 0.3s;
}

.social-card:hover {
    transform: translateY(-8px);
}

.social-card:hover .social-img {
    filter: blur(0);
}

.social-card:hover .follow-badge {
    background: #2e8c43;
    color: white;
}

.hero-text .small-title {
    color: #2e8c43;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 22px;
    margin-top: -15px;
    font-weight: 500;
}

/* RESPONSIVE HERO */
@media (max-width: 991px) {
    .hero-text {
        padding-left: 0;
        text-align: center;
        margin-bottom: 40px;
    }
}


/* IMAGE ROW */
.hero-images {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

/* IMAGE BOX */
.img-box {
    width: 192px;
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    background: #f5f0d5;
    transition: transform 0.3s ease;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Effect for Hero Images - Premium Touch */
.img-box:hover {
    transform: translateY(-10px);
}

@media (max-width: 991px) {
    .hero-images {
        justify-content: center;
    }
}


/* ---------------- About Section ---------------- */

.contact-btn {
    padding: 10px 40px;
    background: #e0ddce;
    border-radius: 10px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.contact-btn:hover {
    background: #d4cfb9;
    transform: translateY(-3px);
}


/* ================= INFO CARD ================= */
/* WRAPPER: Cards side by side */
.cards-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* MAIN CARD */
.info-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 240px;

    background-image: url('img/Mealbox_bg1.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 20px;

    padding-top: 140px;
    overflow: visible;
    margin-top: 90px;
    transition: transform 0.3s ease;
}

/* TOP IMAGE */
.info-img {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);

    width: 80%;
    height: 140px;
    object-fit: cover;
    border-radius: 25px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* TEXT AREA */
.card-body {
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
    margin-top: -50px;
    text-align: center;
}

/* TITLE */
.title {
    font-size: 28px;
    font-weight: 700;
    color: #3d5328;
    margin-bottom: 15px;
}

.green {
    color: #036928;
}

/* PARAGRAPH */
.info-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* MOBILE RESPONSIVE */
@media (max-width: 991px) {
    .cards-wrap {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .cards-wrap {
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }

    .info-card {
        max-width: 100%;
        padding: 100px 20px 30px;
    }

    .info-img {
        width: 90%;
        height: 120px;
        top: -60px;
    }

    .card-body {
        padding: 15px;
        margin-top: -20px;
    }
}


/* ================= JOIN WITH US ================= */
.title-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

.title-with-lines span {
    font-size: 28px;
    font-weight: 700;
    color: #2e7d32;
    padding: 0 20px;
}

.title-with-lines::before,
.title-with-lines::after {
    content: "";
    flex: 1;
    max-width: 455px;
    height: 2px;
    background-color: #2e7d32;
}

/* SOCIAL CARDS */
.social-follow-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    margin: 50px auto 100px;
    /* added bottom margin */
    width: 100%;
    padding: 0 20px;
}

/* Each Card */
.social-card {
    position: relative;
    width: 400px;
    height: 410px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #ffffff3a;
    transition: transform 0.3s ease;
}

.social-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    border-radius: 25px;
    transform: scale(1.05);
    transition: filter 0.3s ease;
}

.follow-badge {
    position: absolute;
    right: -10px;
    bottom: -20px;
    background: white;
    padding: 25px 35px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 600;
    color: #2e8c43;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.12);
    transition: background 0.3s;
}

.social-card:hover {
    transform: translateY(-10px);
}

.social-card:hover .social-img {
    filter: blur(0);
}

.social-card:hover .follow-badge {
    background: #2e8c43;
    color: white;
}