/* Krishvana International - Custom Styles */
:root {
    --primary-green: #6B8F71;
    --secondary-gold: #D4AF37;
    --natural-brown: #8B4513;
    --off-white: #FAFAF7;
    --soft-green: #A8C090;
    --dark-green: #4A5D4F;
    --light-gold: #F5E06B;
    --cream: #F5F5DC;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-green);
}



html, body {
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 5px 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green) !important;
    text-decoration: none;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--dark-green) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    border: none;
    color: white;
    border-radius: 25px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* New Hero Section */
/*==============================
=         Hero Section         =
==============================*/

.hero-section-new {
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 100px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('../images/hero1.jpg'); /* Update path if needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3); /* Optional dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-green);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.hero-badge i {
    color: var(--secondary-gold);
}

/* Heading & Text */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark-green) !important;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-highlight {
    color: var(--secondary-gold);
    background: linear-gradient(45deg, var(--secondary-gold), #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #fff !important;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-weight: bold;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--primary-green);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(107, 143, 113, 0.3);
}

.btn-hero-primary:hover {
    background: var(--dark-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(107, 143, 113, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--primary-green);
    color: white;
}

/* Right-side Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    min-height: 400px;
}

/*==============================
=      Floating Cards Area     =
==============================*/

.floating-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
    pointer-events: none;
    z-index: 2;
}

.float-card {
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-green);
    pointer-events: auto;
    animation: float 4s ease-in-out infinite;
}

/* Icons in floating cards */
.float-card i {
    color: var(--secondary-gold);
    font-size: 1.2rem;
}

/* Add individual delays for each card */
.card-1 {
    animation-delay: 0s;
}
.card-2 {
    animation-delay: 1s;
}
.card-3 {
    animation-delay: 2s;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/*==============================
=         Main Product Card    =
==============================*/

.main-product-card {
    display: none !important;
}

/*==============================
=         Responsive Styles    =
==============================*/

/* Tablets */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
        margin-top: 2.5rem;
    }

    .hero-description {
        max-width: 100%;
    }

    .floating-cards {
        align-items: center;
    }
}

/* Small Tablets & Landscape Phones */
@media (max-width: 768px) {
    .hero-section-new {
        padding: 60px 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        margin-top: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-description {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .floating-cards {
        align-items: center;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        margin-top: 2.5rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .floating-cards {
        align-items: center;
    }
   
}

/* Old Hero Section (keeping for other pages) */
.hero-section {
    /*background: linear-gradient(135deg, rgba(107, 143, 113, 0.9), rgba(74, 93, 79, 1)),*/
    /*            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%236B8F71" width="1200" height="600"/><path fill="%23A8C090" opacity="0.3" d="M0,300 Q300,200 600,300 T1200,300 V600 H0 Z"/></svg>');*/
background: linear-gradient(135deg, rgba(101, 130, 97, 0.9), rgba(144, 125, 102, 1)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23658261" width="1200" height="600"/><path fill="%23D3BAA0" opacity="0.3" d="M0,300 Q300,200 600,300 T1200,300 V600 H0 Z"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark-green);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--cream);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-primary-custom {
    background: var(--secondary-gold);
    border: none;
    color: var(--dark-green);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
}

.btn-primary-custom:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    color: var(--dark-green);
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-green);
}

/* Hero Features */
.hero-features {
    margin-top: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-feature i {
    color: var(--secondary-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 205px;
    height: 3px;
    background: var(--secondary-gold);
    transform: translateX(-50%);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Categories */
.category-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

/* Full image background */
.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Optional: remove dot pattern */
.category-image::before {
    display: none;
}

/* Overlay icon if no image */
.category-image .icon-overlay {
    position: relative;
    z-index: 2;
}

.category-image i {
    font-size: 4rem;
    color: white;
}

.category-content {
    padding: 2rem;
}

.category-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.category-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-view-more {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view-more:hover {
    background: var(--primary-green);
    color: white;
}

/* Stats Section */
.stats-section {
    background: var(--primary-green);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-gold);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Why Choose Us */
.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--soft-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-gold);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--soft-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-weight: 600;
}

.author-info h6 {
    margin-bottom: 0.2rem;
    color: var(--dark-green);
}

.author-info small {
    color: #666;
}

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

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

.form-label {
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(107, 143, 113, 0.25);
}

.btn-submit {
    background: var(--primary-green);
    border: none;
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 143, 113, 0.3);
}

/* Contact Info */
.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--soft-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Footer */
.footer-section {
    background: var(--dark-green);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-gold);
}

.footer-description {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-gold);
    color: var(--dark-green);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-gold);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: var(--secondary-gold);
    margin-right: 1rem;
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

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

.certification-badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 1rem;
    display: inline-block;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    background: #128C7E;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--soft-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-image i {
    font-size: 3rem;
    color: white;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(107, 143, 113, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Blog Styles */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--soft-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 3rem;
    color: white;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--dark-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-top: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-certifications {
        text-align: left;
        margin-top: 1rem;
    }
    
    .certification-badge {
        margin: 0.2rem 0.5rem 0.2rem 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 2.5rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}
