nav {
    display: flex;
    justify-content: space-between;
    margin: 30px 150px 120px 150px;
}
.cart {
    display: flex;
    align-items: center;
}

.feather-shopping-cart {
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.item-nav {
    display: flex;
    gap: 48px;
    align-items: center;
}

.black-color {
    color: #000000;
}

.red-color {
    color: #E95A08;
}

.bannar {
    display: flex;
}
section > div > h1 {
    font-size: 65px;
}

.Plants-section-title {
    text-align: center;
}

.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.button {
    background-color: #E95A08;
    color: #FFFFFF;
    width: 270px;
    height: 50px;
    font-size: 16px;
    padding: 19px 53.5px;
    border: none;
    cursor: pointer;
}

.flowers {
    margin-bottom: 30px;
}

.Plants-Lover-Section-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 150px;
    margin-left: 60px;
}

.margin {
    margin: 120px 150px;
}

.plants-lover-image-container {
    position: relative;
    width: 540px;
    height: 597px;
    flex-shrink: 0;
}

.plants-lover-image-container img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.plants-lover-image-container img:last-child {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 180px;
    height: auto;
    z-index: 3;
}

.Plants-Lover {
    max-width: 500px;
}

.Plants-Lover h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.info-list {
    list-style-type: disc;
    padding-left: 20px;
}

.info-list li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.Join-Section {
    text-align: center;
    background-image: url('../assets/news-letter-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 200px 300px; 
}

.Join-Section-h1 {
    color: #FFFFFF;
    font-size: 50px;
    font-weight: bold;
}

.Subscribe-email {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.email {
    padding: 15.5px 540px 15.5px 20px; 
    font-size: 13px;
    color: #000000;
    border: none;
    outline: none;
    border-radius: 5px;
    flex-grow: 1; 
    min-width: 100px;
}

footer {
    background-color: #F8F9FA;
    padding: 50px 160px;
}

.main-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 110px;}
.footer-info {
    max-width: 300px;
    min-width: 250px;
    padding-bottom: 56px;
}

.footer-info p {
    color: #8987A1;
    font-size: 16px;
    line-height: 1.6;
}

.footer-list {
    width: 128px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 32px;
}

.footer-list a {
    text-decoration: none;
    color: #8987A1;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.Latest-Deals-container {
    display: grid;
    grid-template-rows: repeat(2, minmax(180px, 1fr));
    grid-template-columns: minmax(300px, 367px) minmax(500px, 753px);
    gap: 20px;
    margin: 120px auto;
    max-width: 1140px;
    justify-content: center;
    align-items: center;
}

.deal-card {
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1.8;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.deal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1;
}

.deal-card p {
    z-index: 2;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.deal-card p:first-child {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
}

.deal-card .deal-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 5px;
    color: #fff;
}

.cart1 {
    background-image: url('../assets/deal-bloom.png');
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.cart2 {
    background-image: url('../assets/deal-ana.png');
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.cart3 {
    background-image: url('../assets/news-letter-bg.png');
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.deal-card p, .deal-card .deal-text {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
/* Mobile Responsiveness (max-width: 768px) */
@media (max-width: 768px) {
  
    nav {
        margin: 20px 0; 
        padding: 0; 
        width: 100%; 
        box-sizing: border-box; 
    }

    .bannar img {
        width: 100%;
        height: auto;
        margin: 0; 
        display: block;
    }
    
    .Join-Section {
        padding: 80px 0; 
        width: 100%; 
        box-sizing: border-box; 
    }

    footer {
        padding: 30px 0; 
        margin: 0; 
        width: 100%; 
        box-sizing: border-box; 
    }
.margin {
        margin: 50px 16px; 
        box-sizing: border-box; 
    }
    
 
    .bannar {
        flex-direction: column-reverse;
        text-align: left;
        margin-top: 50px;
        margin-left: 16px; 
        margin-right: 16px; 
        box-sizing: border-box;
    }

   
    .bannar > div:first-child {
        width: 100%; 
        box-sizing: border-box;
        word-wrap: break-word; 
        overflow-wrap: break-word; 
    }

    section > div > h1 {
        font-size: 40px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .Plants-section-title {
        text-align: center;
        margin-left: 16px; 
        margin-right: 16px; 
        box-sizing: border-box;
    }

    .Plants-section-title h1 {
        font-size: 36px;
    }

    .Plants-section-title p {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 16px; 
        box-sizing: border-box;
    }

    .button {
        width: 100%;
        padding: 15px 0;
        box-sizing: border-box;
    }

    .Plants-Lover-Section-container {
        flex-direction: column;
        text-align: left;
        margin-top: 50px;
        margin-left: 16px; 
        margin-right: 16px; 
        padding: 20px 0; 
        box-sizing: border-box;
    }

    .plants-lover-image-container {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .plants-lover-image-container img:last-child {
        display: none;
    }

    .Plants-Lover h2 {
        font-size: 28px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .info-list {
        padding-left: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .info-list li {
        font-size: 14px;
    }
     
    .Latest-Deals-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin: 50px 16px; 
        box-sizing: border-box;
    }

    .cart1, .cart2, .cart3 {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16/9;
        min-height: 180px;
    }
    
    .deal-card p:first-child {
        font-size: 24px;
    }
    .deal-card .deal-text {
        font-size: 14px;
    }

    .Join-Section-h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .Subscribe-email {
        flex-direction: row; 
        flex-wrap: wrap;
        gap: 10px;
        width: 90%; 
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
.email {
        padding: 12px 15px;
        font-size: 14px;
        flex-grow: 1;
        min-width: unset;
        width: auto;
        box-sizing: border-box;
    }

    .Subscribe-email .button {
        width: auto;
        padding: 12px 25px;
        height: auto;
        font-size: 14px;
        flex-shrink: 0;
        box-sizing: border-box;
    }
 
    .main-footer {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        min-width: unset;
        width: 100%;
        padding-bottom: 20px;
    }

    .footer-list {
        width: 100%;
        text-align: center;
    }
    .footer-list li {
        margin-bottom: 15px;
    }
    .social-icons {
        justify-content: center;
    } 
}