/* Global Variables */
:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --dark: #292F36;
    --light: #F7FFF7;
    --text: #333333;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 230, 109, 0.3);
}

.btn-accent:hover {
    background-color: #ffdf40;
    box-shadow: 0 6px 20px rgba(255, 230, 109, 0.4);
}

/* Section Title Styles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 18px;
}

/* Header Styles */
header {
    background-color: var(--dark);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
    border: 3px solid var(--accent);
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent);
}

.logo-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
}

nav ul li a:hover {
    color: var(--accent);
    background-color: rgba(255, 230, 109, 0.1);
}


/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5); /* Darkens the image for text readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    background-color: #ff9800;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e68900;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 20px;
}

.buy-now {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.buy-now:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.buy-now i {
    font-size: 14px;
}

:root {
    --light: #fff;
    --dark: #222;
    --primary: #4ecdc4;
    --secondary: #ff6b6b;
}

/* ----------  Testimonials Section  ---------- */

.testimonials {
    padding: 100px 0;
    background-color: #ffffff;               /* or var(--light) if you have it */
}

/* ----------  Grid  ---------- */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3-up on large screens   */
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ----------  Card  ---------- */

.testimonial-card {
    background-color: var(--light, #fafafa);
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .05);
    transition: transform .3s ease;

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 260px;   /* grows with content (no clipping) */
    height: auto;
}

.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(78, 205, 196, .2);
    font-family: serif;
    line-height: 1;
}

/* ----------  Text  ---------- */

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    padding: 0 10px 0 34px;

    /* prevent clipping / overflow on mobile */
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

/* ----------  Author  ---------- */

.testimonial-author {
    margin-top: 20px;
    padding-left: 34px;
    border-top: 1px solid #eee;
}

.author-info h4 {
    font-size: 17px;
    margin: 8px 0 2px;
    color: var(--dark, #222);
}

.author-info p {
    font-size: 14px;
    color: var(--primary, #4ecdd4);
    font-weight: 500;
}

.author-image { display: none; }

/* ----------  Breakpoints  ---------- */

/* ≥ 1200 px → 3 columns (default)           */
/* 992–1199 px → 2 columns                   */
@media (max-width: 1200px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≤ 768 px  → 1 column, mobile friendly     */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .testimonial-card   { padding: 20px 24px; }
    .testimonial-card::before { font-size: 40px; top: 6px; left: 14px; }

    .testimonial-text  { font-size: 14px; padding-left: 28px; }
    .testimonial-author{ padding-left: 28px; }

    .author-info h4    { font-size: 16px; }
    .author-info p     { font-size: 13px; }
}

/* ≤ 480 px  → tighter padding & type scale  */
@media (max-width: 480px) {
    .testimonial-grid  { padding: 0 15px; }

    .testimonial-card  { padding: 18px 20px; }
    .testimonial-card::before { font-size: 34px; left: 12px; }

    .testimonial-text  { font-size: 13.5px; line-height: 1.55; padding-left: 26px; }
}

.fssai {
    text-align: center;
    margin: 50px auto;
    padding: 0 20px;
}

.fssai img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Optional: reduce spacing on smaller screens */
@media (max-width: 768px) {
    .fssai {
        margin: 30px auto;
        padding: 0 15px;
    }

    .fssai img {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .fssai {
        margin: 20px auto;
    }

    .fssai img {
        border-radius: 6px;
    }
}


.promo-popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #fff;
  padding: 25px 35px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 90%;
  width: 400px;
  font-family: sans-serif;
  font-size: 16px;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
  font-weight: bold;
}

@media (max-width: 480px) {
  .popup-content {
    padding: 20px 25px;
    font-size: 14px;
  }

  .close-popup {
    font-size: 20px;
  }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.contact-details i {
    margin-right: 15px;
    color: var(--secondary);
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer Styles */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--accent);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-column p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-column ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
}

.newsletter-form button {
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #ffdf40;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

.hamburger.active .hamburger-inner {
    background-color: transparent;
}

.hamburger.active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-menu {
    transition: all 0.3s ease;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 70vh;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        margin-top: 30px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form {
        margin-top: 40px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark);
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu ul li {
        margin: 15px 0;
    }

    .nav-menu ul li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .product-info {
        padding: 15px;
    }

    .product-info h3 {
        font-size: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title h2:after {
        width: 40px;
        height: 3px;
        bottom: -8px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 30px;
        padding: 12px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
}

@media (max-width: 400px) {
    .logo {
        flex-direction: column;
        text-align: center;
    }

    .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .btn,
    .buy-now {
        padding: 10px 20px;
        font-size: 14px;
    }

    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .buy-now {
        width: 100%;
        justify-content: center;
    }
}
