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

body {
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Section - White Background */
.main-section {
    background: #ffffff;
    min-height: 70vh;
    position: relative;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-start;
    width: 100%;
    padding: 20px 40px;
    gap: 20px;
}

.logo {
    justify-self: start;
}

.logo img {
    width: 200px;
    height: auto;
}

.tagline-container {
    display: contents;
}

.main-heading {
    justify-self: center;
    text-align: center;
    margin-top: 10px;
}

.main-heading img {
    height: 50px;
    width: auto;
    display: block;
}

.tagline-right {
    justify-self: end;
    font-size: 1.8rem;
    color: #E74C3C;
    font-weight: bold;
    line-height: 1.3;
    text-align: right;
    margin-top: 15px;
}

/* Hero Section with Vegetables */
.hero-section {
    width: 100%;
    padding: 0;
    position: relative;
    min-height: 750px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vegetables-container {
    position: relative;
    width: 100%;
    min-height: 750px;
    flex: 1;
    background-image: url('images/center_background_image_cut.jpeg');
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Green Badges */
.badge {
    position: absolute;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge-top {
    left: 67%;
    top: 51%;
}

.badge-bottom {
    left: 60%;
    top: 67%;
}

/* Footer Section - Red Background */
.footer-section {
    background-image: url('images/footer_bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 40px 50px 40px;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
}

.smiley-icon img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.footer-text {
    flex: 1;
}

.footer-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 400;
    color: rgb(226, 225, 225);
}
 
.highlight-text {
    font-weight: 700;
    color: white;
    /* font-family: Arial, Helvetica, sans-serif; */
}

 
.highlight-text {
    font-weight: 700;
    color: white;
    /* font-family: Arial, Helvetica, sans-serif; */
}
.terms-link {
    color: white;
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    font-family: Arial, Helvetica, sans-serif;
}

.terms-link:hover {
    opacity: 0.9;
}

.footer-right {
    text-align: center;
}

.download-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.download-heading br {
    display: none;
}

.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.app-button img {
    height: 60px;
    width: auto;
    transition: transform 0.3s;
}

.app-button:hover img {
    transform: scale(1.05);
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .main-heading img {
        height: 42px;
    }

    .tagline-right {
        font-size: 1.5rem;
    }

    .tagline-container {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .main-section {
        padding: 0;
    }

    .header {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 12px 15px;
        gap: 10px;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo img {
        width: 100px;
        max-width: 100px;
    }

    .tagline-container {
        display: flex;
        flex-direction: column;
        gap: 3px;
        align-items: flex-end;
        justify-content: flex-start;
        flex: 1;
    }

    .main-heading {
        justify-self: auto;
        text-align: right;
        margin-top: 0;
        width: 100%;
    }

    .main-heading img {
        height: 30px;
        max-width: 100%;
        margin-left: auto;
    }

    .tagline-right {
        justify-self: auto;
        font-size: 0.95rem;
        text-align: right;
        margin-top: 0;
        line-height: 1.2;
        width: 100%;
    }

    .tagline-right br {
        display: none;
    }

    /* Hero section mobile */
    .hero-section {
        padding: 0;
        min-height: auto;
    }

    /* Adjust background image for mobile */
    .vegetables-container {
        min-height: 500px;
        background-size: cover;
        background-position: center center;
    }

    .badge {
        width: 90px;
        height: 90px;
    }

    .badge-top {
        left: 67%;
        top: 62%;
        transform: translateX(-50%);
    }

    .badge-bottom {
        left: 52%;
        top: 77%;
        transform: translateX(-50%);
    }

    /* Footer Mobile */
    .footer-section {
        padding: 60px 15px 20px 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-left {
        flex-direction: row;
        gap: 12px;
        text-align: left;
        width: 100%;
        align-items: flex-start;
    }

    .smiley-icon {
        flex-shrink: 0;
    }

    .smiley-icon img {
        width: 70px;
        height: 70px;
    }

    .footer-description {
        font-size: 0.85rem;
        text-align: left;
        line-height: 1.4;
    }

    .terms-link {
        font-size: 0.75rem;
        display: inline-block;
        margin-top: 5px;
    }

    .footer-right {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 15px 10px 0 10px;
    }

    .download-heading {
        font-size: 0.9rem;
        margin-bottom: 0;
        text-align: left;
        white-space: nowrap;
    }

    .download-heading br {
        display: block;
    }

    .app-buttons {
        justify-content: center;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .app-button img {
        height: 38px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
        gap: 8px;
    }

    .logo img {
        width: 80px;
        max-width: 80px;
    }

    .main-heading img {
        height: 26px;
        max-width: 100%;
    }

    .tagline-right {
        font-size: 0.85rem;
    }

    .tagline-right br {
        display: none;
    }

    .hero-section {
        padding: 0;
    }

    .vegetables-container {
        min-height: 420px;
    }

    .badge {
        width: 75px;
        height: 75px;
    }

    .badge-top {
        top: 62%;
    }

    .badge-bottom {
        top: 77%;
    }

    .footer-section {
        padding: 50px 12px 18px 12px;
    }

    .smiley-icon img {
        width: 60px;
        height: 60px;
    }

    .footer-description {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .terms-link {
        font-size: 0.7rem;
    }

    .download-heading {
        font-size: 0.8rem;
    }

    .app-button img {
        height: 35px;
        max-width: 100%;
    }

    .footer-right {
        padding: 15px 5px 0 5px;
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .header {
        padding: 8px 10px;
        gap: 6px;
    }

    .logo img {
        width: 70px;
        max-width: 70px;
    }

    .main-heading img {
        height: 22px;
        max-width: 100%;
    }

    .tagline-right {
        font-size: 0.75rem;
    }

    .tagline-right br {
        display: none;
    }

    .vegetables-container {
        min-height: 380px;
    }

    .badge {
        width: 65px;
        height: 65px;
    }

    .footer-section {
        padding: 45px 10px 15px 10px;
    }

    .smiley-icon img {
        width: 50px;
        height: 50px;
    }

    .footer-description {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .terms-link {
        font-size: 0.65rem;
    }

    .download-heading {
        font-size: 0.75rem;
    }

    .app-button img {
        height: 32px;
        max-width: 100%;
    }

    .footer-right {
        padding: 15px 3px 0 3px;
        gap: 6px;
    }

    .footer-left {
        gap: 10px;
    }
}
