/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #2c5530;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 
.logo-img {
    height: 40px; /* You can adjust this value */
    width: auto;
    vertical-align: middle; /* Aligns the logo nicely with the nav links */
    border-radius: 50%;
    opacity: 1 !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: #4a7c59;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-top: 15px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */

.hero {
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
              url('./assets/nutrily-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #1f2937; /* dark gray */
  padding: 150px 0 100px;
  text-align: center;
  margin-top: 70px;
}


.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    font-size: 1rem;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Introduction Section */
.introduction {
    padding: 60px 0;
    background: #f8f9fa;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Pure Ingredients Section */
.pure-ingredients {
    padding: 80px 0;
    background: white;
}

.pure-ingredients h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.ingredients-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ingredients-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.ingredients-content .highlight {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    margin-top: 2rem;
}

/* Tradition Section */
.tradition {
    padding: 80px 0;
    background: #f8f9fa;
}

.tradition h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.tradition-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tradition-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

/* Advantage Section */
.advantage {
    padding: 80px 0;
    background: white;
}

.advantage h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #4a7c59;
    background: white;
}

.advantage-card i {
    font-size: 3rem;
    color: #4a7c59;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* How to Use Section */
.how-to-use {
    padding: 80px 0;
    background: #f8f9fa;
}

.how-to-use h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step h3 {
    margin: 1rem 0;
    color: #2c5530;
    font-size: 1.3rem;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Manufacturing Section */
.manufacturing {
    padding: 80px 0;
    background: white;
}

.manufacturing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.manufacturing-content {
    max-width: 1000px;
    margin: 0 auto;
}

.manufacturing-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    color: #555;
}

.process-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-feature {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.process-feature i {
    font-size: 2.5rem;
    color: #4a7c59;
    margin-bottom: 1rem;
}

.process-feature h3 {
    margin-bottom: 1rem;
    color: #2c5530;
    font-size: 1.2rem;
}

.process-feature p {
    color: #666;
    line-height: 1.6;
}

.manufacturing-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #4a7c59;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.highlight-item i {
    font-size: 1.2rem;
}

/* Healthy Lifestyle Section */
.healthy-lifestyle {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
}

.healthy-lifestyle h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.lifestyle-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.lifestyle-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.lifestyle-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Products Section */
.featured-products,
.products-gallery {
    padding: 80px 0;
}

.featured-products h2,
.products-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 60%;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #4a7c59;
}

.product-image {
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    font-size: 4rem;
    color: #4a7c59;
}

.product-overlay {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    /* margin-bottom: 1.5rem; */
}

.product-overlay-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.product-overlay:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #e55a2b, #d14d26);
}

.product-card:hover .product-overlay {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}


.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

.product-card p,
.product-description {
    margin-bottom: 1rem;
    color: #666;
}


.product-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: block !important;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  opacity: 1 !important;
  visibility: visible !important;
  background-color: #f8f9fa;
  border-radius: 8px;
}

/* Ensure images load properly */
.product-img:not([src]) {
  display: none;
}

.product-img[src=""] {
  display: none;
}

/* Loading state for images */
.product-img {
  transition: opacity 0.3s ease;
}

.product-img:not([src*=".jpg"]):not([src*=".png"]):not([src*=".gif"]) {
  display: none;
}



/* Detailed Product Cards */
.product-card.detailed {
    text-align: left;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.detail-item i {
    color: #4a7c59;
}

/* Product Colors */
.idly-color { color: #8bc34a !important; }
.dosa-color { color: #ff9800 !important; }
.mixed-color { color: #9c27b0 !important; }
.rava-color { color: #f44336 !important; }
.uttapam-color { color: #2196f3 !important; }
.appam-color { color: #795548 !important; }

/* Product Info Section */
.product-info-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 2.5rem;
    color: #4a7c59;
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: #2c5530;
}



/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

.contact-info > p {
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-icon {
    background: #4a7c59;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    color: #2c5530;
}

.contact-text p {
    color: #666;
    margin: 0;
}

/* WhatsApp Section */
.whatsapp-section {
    background: #25d366;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.whatsapp-section h3 {
    margin-bottom: 1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #25d366;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.whatsapp-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
    margin-bottom: 2rem;
    color: #2c5530;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c5530;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

.submit-btn {
    background: #4a7c59;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #2c5530;
    transform: translateY(-2px);
}

.contact-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 1 !important;
}

/* Map Section */
.map-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c5530;
}

.map-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-placeholder {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    margin-bottom: 1rem;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b35;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Quick Actions */
.quick-actions {
    padding: 60px 0;
}

.quick-actions h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5530;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card i {
    font-size: 3rem;
    color: #4a7c59;
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 1rem;
    color: #2c5530;
}

.action-btn {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #2c5530;
    transform: translateY(-2px);
}

.action-btn.whatsapp {
    background: #25d366;
}

.action-btn.whatsapp:hover {
    background: #1ea952;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4a7c59;
}

.footer-bottom {
    border-top: 1px solid #4a7c59;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c5530;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }

    .logo-img {
        height: 38px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0 auto;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .process-features {
        grid-template-columns: 1fr;
    }
    
    .manufacturing-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .detail-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .cta-button{
        font-size: 0.7rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 36px;
    }
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .product-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .pure-ingredients h2,
    .tradition h2,
    .advantage h2,
    .how-to-use h2,
    .manufacturing h2,
    .healthy-lifestyle h2,
    .featured-products h2 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .ingredients-content p,
    .tradition-content p,
    .lifestyle-content p {
        font-size: 1rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding: 2rem 1.5rem;
    }
    
    .advantage-card {
        padding: 2rem 1.5rem;
    }
    
    .highlight-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}