html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}
h1, h2, h3 {
    font-family: 'Mulish', sans-serif;
}
body::-webkit-scrollbar {
    display: none;
}
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

/* Navbar section */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #32cd32, #99cc33);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-weight: bold;
    font-size: 2rem;
    color: #fff;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.3s;
}
.navbar a{
    font-family: 'Georgia', sans-serif;
}

.navbar-nav .nav-link:hover {
    color: #ffcc00;
}

/* General section styles */
section {
    margin-bottom: 50px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

section h2 {
    color: #228B22;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

/* Hero Section */
.hero {
    margin-top: 60px;
    position: relative;
    width: 100%;
    min-height: 60vh;
    background: url('../photos/banner.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Dark Overlay for Better Readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.26);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 90%;
}

.hero-text {
    background: rgba(255, 255, 255, 0.616);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-in-out forwards;
    transition: transform 0.3s ease;
}

.hero-text:hover {
    transform: scale(1.05);
}

.hero-text h1 {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #228B22;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
}

.hero-text i {
    font-size: 2rem;
    color: #228B22;
    margin-bottom: 10px;
}

/* 🔹 Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔹 Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .navbar {
        padding: 12px 20px;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navbar-nav .nav-link {
        margin: 8px 0;
    }

    .hero-content {
        grid-template-columns: repeat(1, 1fr);
        width: 85%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        width: 85%;
        margin: 15px 0;
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .hero {
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        width: 90%;
        margin: 15px auto;
        padding: 18px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-text i {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.6rem;
    }

    .navbar-toggler {
        padding: 8px 12px;
    }

    .hero {
        min-height: 85vh;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-text {
        width: 95%;
        padding: 15px;
        margin: 10px 0;
    }

    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .hero-text i {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 12px;
    }

    .hero {
        min-height: 90vh;
        padding: 15px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-text {
        width: 95%;
        padding: 12px;
        margin-bottom: 15px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .hero-text i {
        font-size: 1.5rem;
    }
}
@media (max-width: 380px) {
    .navbar {
        padding: 8px 10px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    .hero {
        padding-top: 70px !important;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 92%;
        align-items: center;
        justify-content: center;
    }
    .hero-text {
        width: 90%;
        padding: 8px;
        margin: 5px auto;
        text-align: center;
        border-radius: 6px;
    }
}

/* About Us Section */
#about {
    background: linear-gradient(to bottom right, #fdfd96, #d9f99d);
    position: relative;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    overflow: hidden;
}
#about-page {
    background: linear-gradient(to bottom right, #fdfd96, #d9f99d);
    position: relative;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 100px;
}

#about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 30px;
}

.about-text {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Flexbox for layout */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.text-container {
    flex: 1;
    min-width: 300px;
}

.image-container {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 20px;
}

.about-image {
    width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Icon Section */
.icons-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #32cd32, #9acd32);
    padding: 20px;
    border-radius: 15px;
    width: 200px;
    height: 200px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    animation: bounce 1.5s infinite;
}

.icon-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

/* Bounce Animation for Icons */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    #about h2 {
        font-size: 2rem;
    }

    .about-text {
        font-size: .8rem;
        text-align: justify;
        padding: 0 15px;
    }

    .image-container {
        justify-content: center;
        align-items: center;
        padding-bottom: 10px;
    }

    .icons-container {
        gap: 30px;
    }

    .icon-card {
        width: 160px;
        height: 160px;
    }

    .icon {
        font-size: 2.2rem;
    }

    .icon-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 20px;
    }

    #about h2 {
        font-size: 1.8rem;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: justify;
        padding: 0 10px;
    }

    .flex-container {
        flex-direction: column;
        text-align: center;
    }

    .image-container {
        order: -1;
        padding-bottom: 15px;
    }

    .about-image {
        width: 120px;
    }

    .icons-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .icon-card {
        width: 110px;
        height: 110px;
        padding: 10px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        position: relative;
    }

    .icon {
        font-size: 1.5rem;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        top: 12px;
    }

    .icon-text {
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.6;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    #about h2 {
        font-size: 1.6rem;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
        padding: 0 10px;
    }

    .about-image {
        width: 100px;
    }

    .icons-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }

    .icon-card {
        width: 95px;
        height: 95px;
        padding: 8px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        position: relative;
    }

    .icon {
        font-size: 1.2rem;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        top: 12px;
    }

    .icon-text {
        font-size: 0.6rem;
        text-align: center;
        line-height: 1.5;
        margin-top: 12px;
    }
}

@media (max-width: 375px) {
    #about h2 {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
        padding: 0 10px;
    }

    .about-image {
        width: 80px;
    }

    .icons-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
        margin-top: 10px;
    }

    .icon-card {
        width: 85px;
        height: 85px;
        padding: 8px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        position: relative;
    }

    .icon {
        font-size: 1rem;
        margin-bottom: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        top: 10px;
    }

    .icon-text {
        font-size: 0.5rem;
        text-align: center;
        line-height: 1.4;
        margin-top: 15px;
    }
}
/* Offer Slider Styles */
#home-offer-slider {
    padding: 20px;
    background: linear-gradient(to bottom right, #fdfd96, #d9f99d);
    border-radius: 15px;
}

/* Center header with button below heading */
.offer-header-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.offer-header-wrapper h2 {
    margin: 0;
    font-size: 2.4rem;
    color: #228B22;
}

/* Absolutely position the See All button */
.see-all-btn {
    position: absolute;
    top: 0;
    right: 10px;
    white-space: nowrap;
    padding: 6px 16px;
    font-size: 0.95rem;
    border: 1px solid #228B22;
    color: #228B22;
    border-radius: 5px;
    transition: 0.3s ease;
}

.see-all-btn:hover {
    background-color: #d9f99d;
    text-decoration: none;
}

/* Swiper Slide */
.offer-swiper .swiper-slide {
    max-width: 220px;
    width: 100%;
}

/* Card Styling */
.offer-swiper .offer-card {
    height: 330px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.offer-swiper .offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.offer-swiper .offer-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
}

/* Content Styling */
.offer-swiper .offer-content {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.offer-swiper .offer-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: #228B22;
    margin-top: 5px;
    font-family: 'Arial', sans-serif;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 2;        /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    min-height: 2.4em;
}

.offer-swiper .offer-name:hover {
    color: #ffcc00;
}

.offer-swiper .mrp,
.offer-swiper .krp-price {
    margin: 5px 0 0;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    line-height: 1.2;
}

/* Swiper Arrows */
#home-offer-slider .swiper-button-next,
#home-offer-slider .swiper-button-prev {
    color: #228B22;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

#home-offer-slider .swiper-button-next:hover,
#home-offer-slider .swiper-button-prev:hover {
    background: #d9f99d;
}

#home-offer-slider .swiper-button-next::after,
#home-offer-slider .swiper-button-prev::after {
    font-size: 14px !important;
}

/* Responsive */
/* ✅ General Large Screens (default styles already good, but widen cards slightly) */
@media (min-width: 1200px) {
    .offer-swiper .swiper-slide {
        max-width: 240px;
    }

    .offer-swiper .offer-card {
        height: 360px;
    }

    .offer-swiper .offer-image {
        height: 200px;
    }

    .offer-swiper .offer-name {
        font-size: 1rem;
    }
}

/* ✅ Tablets (768px to 1024px) */
@media (max-width: 1024px) {
    #home-offer-slider {
        padding: 16px;
    }

    .offer-swiper .swiper-slide {
        max-width: 200px;
    }

    .offer-swiper .offer-card {
        margin: 8px;
        height: 320px;
    }

    .offer-swiper .offer-image {
        height: 160px;
    }

    .offer-swiper .offer-name {
        font-size: 0.95rem;
    }

    .offer-swiper .mrp,
    .offer-swiper .krp-price {
        font-size: 0.95rem;
    }
}

/* ✅ Phones (481px to 767px) */
@media (max-width: 767px) {
    #home-offer-slider {
        padding: 14px;
    }

    .offer-swiper .swiper-slide {
        max-width: 180px;
    }

    .offer-swiper .offer-card {
        margin: 6px;
        height: 300px;
    }

    .offer-swiper .offer-image {
        height: 140px;
    }

    .offer-swiper .offer-name {
        font-size: 0.9rem;
    }

    .see-all-btn {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
}
/* ✅ Small Phones (≤480px) */
@media (max-width: 480px) {
    #home-offer-slider {
        padding: 10px;
    }

    .offer-header-wrapper {
        padding: 0 5px;
    }

    .offer-swiper .swiper-slide {
        max-width: 160px;
    }

    .offer-swiper .offer-card {
        margin: 5px;
        height: 280px;
    }

    .offer-swiper .offer-image {
        height: 130px;
    }

    .offer-swiper .offer-name {
        font-size: 0.85rem;
    }

    .offer-swiper .mrp,
    .offer-swiper .krp-price {
        font-size: 0.85rem;
    }

    .see-all-btn {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    #home-offer-slider h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
  .offer-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    position: relative;
  }

  .see-all-btn {
    position: static;
    align-self: center;
    font-size: 0.85rem;
    padding: 4px 10px;
  }

  .offer-header-wrapper h2 {
    font-size: 1.4rem;
  }

  .offer-swiper .swiper-slide {
    width: 160px !important; /* Fixed width for mobile */
    flex-shrink: 0;
    margin-right: 10px; /* spacing between cards */
  }

  .offer-swiper .offer-card {
    height: 270px;
  }

  .offer-swiper .offer-image {
    height: 120px;
  }

  .offer-swiper .offer-name {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }

  .offer-swiper .mrp,
  .offer-swiper .krp-price {
    font-size: 0.85rem;
  }
}

/* Categories Section */
#categories {
    padding: 20px;
    background: linear-gradient(to bottom right, #e6f7d4, #d4f2c6);
    border-radius: 15px;
}

#categories h2 {
    text-align: center;
    margin-bottom: 20px;
}
.category-slider .card {
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}
.category-slider .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.category-slider img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-bottom: 2px solid #ddd;
}
.category-slider .subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    color: #228B22;
    margin-top: 10px;
    text-transform: capitalize;
    font-family: 'Arial', sans-serif;
    text-decoration: none;
}

.category-slider .subtitle:hover {
    color: #ffcc00;
}

a.card {
    text-decoration: none;
}
/* Responsive Styling */
@media (max-width: 1024px) {
    .category-slider .card {
        margin: 8px;
    }
}

@media (max-width: 768px) {
    #categories {
        padding: 15px;
    }

    .category-slider .card {
        margin: 6px;
    }

    .category-slider .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #categories {
        padding: 10px;
    }
    #categories h2
    {
        font-size: 1.6rem;
    }

    .category-slider .card {
        border-radius: 10px;
        margin: 5px;
    }

    .category-slider img {
        border-bottom: 1px solid #ddd;
    }

    .category-slider .subtitle {
        font-size: 0.9rem;
    }
}
/*Product Page*/
#product-page {
    padding: 20px;
    background-color: #fcfcf8;
    color: #333;
    flex-grow: 1;
    margin: 0 auto;
    max-width: 1200px;
    box-sizing: border-box;
    margin-top: 100px;
}

#product-page h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #228B22;
    margin-bottom: 20px;
}

.search-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
}

#product-search {
    padding: 10px;
    width: 250px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
    box-sizing: border-box;
}
/*category filter*/
.custom-dropdown {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    padding: 10px;
    min-width: 150px;

    box-sizing: border-box;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}

.dropdown-option {
    padding: 10px;
    cursor: pointer;
}

.dropdown-option:hover {
    background: #f0f0f0;
}

/* Autocomplete Suggestions */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-top: none;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.no-suggestions {
    padding: 10px;
    color: #888;
    font-size: 14px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

/*Align Category Filter to the Right of Search Bar on Large Screens */
@media (min-width: 768px) {
    .search-filter {
        flex-wrap: nowrap;
        justify-content: center;
    }
    #product-search {
        width: 300px;
    }
    .custom-dropdown {
        width: 200px;
    }
    #search-form {
        display: flex;
        align-items: center;
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .search-filter {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    #product-search {
        width: 120px; /* Reduce input box size */
        font-size: 12px; /* Reduce font size */
        padding: 4px;
    }

    .custom-dropdown {
        width: 60px; /* Reduce dropdown size */
        font-size: 12px; /* Reduce font size */
        padding: 4px;
    }

    #search-form {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}




/* Responsive Grid for Different Screen Sizes */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
        gap: 12px !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr)) !important;
        gap: 10px !important;
    }
    #product-page{
        margin-top: 120px;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    #product-page{
        margin-top: 120px;
    }
}

.product-item {
    position: relative;
    background:  #fdffcd;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-wrap: break-word;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
}

.product-item h3 {
    font-size: 16px;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

.product-item p {
    margin: 5px 0;
    color: #666;
}
.product-price {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.product-price strong {
    font-weight: bold;
}

.product-price span {
    font-size: 16px;
}


/* Out of Stock Badge */
.out-of-stock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}
/*offer page*/
.krp-price {
    color: #2cc52c;
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'Arial Black', Arial, sans-serif;
}
.no-offers-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: #555;
}

/* Pagination*/
.pagination-wrapper {
    margin: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #228B22;
    color: white;
    border-color: #228B22;
}

.pagination .active .page-link {
    background-color: #99cc33;
    color: white;
    border-color: #99cc33;
    pointer-events: none;
}

.pagination .disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background-color: #f9f9f9;
    border-color: #ddd;
}

.pagination-wrapper .pagination-summary {
    font-size: 14px;
    color: #666;
}


/* Gallery Section */
#gallery {
    padding: 20px;
    background: linear-gradient(to bottom right, #fdfd96, #d9f99d);
    text-align: center;
}

.gallery-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 10px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;

}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Slick slider overrides */
.slick-slide {
    display: flex;
    justify-content: center;
}

.slick-track {
    display: flex !important;
    gap: 30px;
}

/*For Gallery page */

#gallery-page {
    padding: 20px;
    background-color: #ffffff;
    color: #333;
    text-align: center;
    animation: none;
    box-shadow: none;
    flex-grow: 1;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 100px;

}

#gallery-page h2{
    font-size: 2.5rem;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 20px;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 10px 0;
    flex-grow: 1;
}
/*Responsive*/
@media screen and (max-width: 1024px) {
    .lightbox .lb-nav a.lb-prev,
    .lightbox .lb-nav a.lb-next {
        display: block !important;
        opacity: 1 !important;
        width: 15% !important;
    }
}

@media screen and (max-width: 480px) {
    .lightbox .lb-nav a.lb-prev,
    .lightbox .lb-nav a.lb-next {
        display: block !important;
        opacity: 1 !important;
        width: 20% !important;
    }
}

@media screen and (max-width: 375px) {
    .lightbox .lb-nav a.lb-prev,
    .lightbox .lb-nav a.lb-next {
        display: block !important;
        opacity: 1 !important;
        width: 25% !important;
    }
}
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
    }
}

@media (max-width:992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
}

@media (max-width: 480px) {
    #gallery h2{
        font-size: 1.7rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    #gallery-page{
        margin-top: 120px;
    }
}

/*Review Section*/
#reviews {
    background: linear-gradient(to bottom right, #e6f7d4, #d4f2c6);
    padding: 60px 10px;
    height: auto;
    overflow: hidden;
}

.review-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#reviews h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

#reviews p {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    #reviews h2 {
        font-size: 30px;
    }

    #reviews p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    #reviews {
        padding: 40px 10px;
    }

    #reviews h2 {
        font-size: 28px;
    }

    #reviews p {
        font-size: 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    #reviews {
        padding: 30px 5px;
    }

    #reviews h2 {
        font-size: 24px;
    }

    #reviews p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .iframe-container {
        width: 100%;
        height: 500px; /* Fixed height for mobile screens */
        overflow: hidden;
    }

    .iframe-container iframe {
        width: 100%;
        height: 100%;
        border: none;
        overflow: hidden;
    }
}

@media (max-width: 380px) {
    #reviews {
        padding: 20px 5px;
    }

    #reviews h2 {
        font-size: 22px;
    }

    #reviews p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .iframe-container {
        height: 550px;
    }

    .iframe-container iframe {
        height: 100%;
    }
}

/* Contact Section in Home*/
#contact {
    background: linear-gradient(to bottom right, #fdfd96, #d9f99d);
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 20px;
}
.contact-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}
.responsive-map {
    width: 100%;
    max-width: 750px;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0 auto 20px;
    display: block;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.contact-card {
    flex: 1 1 300px;
    max-width: 240px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(to bottom right, #a5ce54, #60fa60);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8);
    animation: bounceIn 1.5s forwards ease-out;
}

.contact-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 20px;
}

/* Bounce animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.contact-icon {
    font-size: 30px;
    color: white;
}
.contact-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}
.contact-info {
    font-size: 1rem;
    color: #555;
}
/* Message Section  in contact page*/
#review-section {
    margin-top: 30px;
    text-align: center;
}

#review-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 10px;
}

#review-form textarea {
    font-size: 1rem;
}
/* Contact Page Specific Styling */
#contact-page {
    background-color: #fdffcd;
    padding: 20px;
    text-align: center;
    animation: none;
    box-shadow: none;
    flex-grow: 1;
    margin-top: 90px;
}
#contact-page h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 20px;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .map-container {
        width: 100%;
    }

   .contact-details {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 20px;
    }

    .contact-card {
        flex: 1 1 30%;
        max-width: 300px;
        padding: 15px;
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .map-container {
        width: 100%;
    }

    .contact-details {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .contact-card {
        flex: 1 1 30%;
        max-width: 300px;
        padding: 15px;
        min-height: 120px;
    }

    #review-form input,
    #review-form textarea {
        width: 90%;
    }
}

@media (max-width: 480px) {
    #contact h2 {
        font-size: 1.6rem;
    }
    #contact-page h2{
        font-size: 1.8rem;
    }
    #contact-page{
        margin-top: 120px;
    }
    .contact-text{
        font-size: 1rem;
    }

    .contact-details {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 10px;
    }

    .contact-card {
        flex: 1 1 180px;
        max-width: 200px;
        padding: 8px;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .contact-title {
        font-size: 1rem;
    }

    .contact-info {
        font-size: 0.85rem;
    }

    .contact-icon {
        font-size: 24px;
    }

    .responsive-map {
        height: 250px;
    }

    #review-form input,
    #review-form textarea {
        font-size: 0.8rem;
        padding: 6px;
        width: 85%;
    }

    .btn-success {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Success Popup Notification Styling */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #333;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.popup-container.show {
    display: block;
    opacity: 1;
}

.popup-message {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Checkmark styling */
.checkmark-container {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4CAF50;
    border-radius: 50%;
    padding: 10px;
}

.checkmark {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: draw-check 0.6s ease-out forwards;
}

/* OK Button */
.ok-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 18px;
    margin-top: 12px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.ok-btn:hover {
    background: #388E3C;
}

/* Checkmark Animation */
@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}

/*Offer Popup*/
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6); /* Slightly lighter overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
    z-index: 9999;

}

.popup.show {
    visibility: visible;
    opacity: 1;
    animation: popup-bounce-in 1s ease-out;
    pointer-events: auto;
}

/* Popup Content */
.popup-content {
    background: linear-gradient(to bottom right, #f7f9fc, #e0f7fa);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    width: 90%;
    max-width: 450px;
    border: 2px solid #03a9f4;
}

.popup-header h2 {
    background: linear-gradient(to right, #00bcd4, #03a9f4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.close-btn:hover {
    color: #d32f2f;
}

.close-btn i {
    font-size: 1.5rem;
}


.popup-body .product-image {
    max-width: 80%;
    border: 3px solid #80deea; /* Teal border */
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.popup-body .product-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #212121;
    margin-bottom: 15px;
}

.popup-body .mrp {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #757575;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.popup-body .mrp del {
    color: #f44336;
    font-size: 1.2rem;
}

/* Bounce-In Animation */
@keyframes popup-bounce-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}


/* Footer section */
footer {
    background: linear-gradient(to right, #32cd32, #99cc33);
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

footer p {
    font-size: 1rem;
    font-weight: 400;
}

footer a {
    color: rgb(251, 255, 1);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}
.footer-left, .footer-right {
    display: inline-block;
}
