/* 
   Imperial Agro Exports LLP
   Premium CSS Stylesheet - Ivory, Forest Green, Gold Design Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CUSTOM PROPERTIES --- */
:root {
    --color-ivory: #F5EFEB;
    --color-forest: #27573E;
    --color-forest-dark: #1E3B2C;
    --color-gold: #C8A261;
    --color-gold-hover: #D8B271;
    --color-charcoal: #1E2B22;
    --color-gray: #556B5C;
    --color-light-gray: #E5DDD3;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-magnetic: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-ivory);
    color: var(--color-charcoal);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: auto; /* Handled by Lenis */
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

p {
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- GLASSMORPHISM CARDS --- */
.glass-card {
    background: rgba(253, 251, 247, 0.65);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(13, 44, 30, 0.05);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 12px 40px 0 rgba(197, 160, 89, 0.1);
}

.glass-card.dark {
    background: rgba(13, 44, 30, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--color-ivory);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card.dark p {
    color: rgba(253, 251, 247, 0.7);
}

.glass-card.dark:hover {
    border-color: rgba(197, 160, 89, 0.6);
    box-shadow: 0 12px 40px 0 rgba(197, 160, 89, 0.15);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- PREMIUM BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-forest-dark);
    border: 1px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
}

.btn-outline:hover {
    background-color: var(--color-charcoal);
    color: var(--color-ivory);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-ivory);
    border: 1px solid rgba(253, 251, 247, 0.5);
}

.btn-outline-white:hover {
    background-color: var(--color-ivory);
    color: var(--color-forest);
    border-color: var(--color-ivory);
}

.magnetic-wrap {
    display: inline-block;
    position: relative;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    transition: var(--transition-smooth);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(13, 44, 30, 0.08);
}

.nav-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--color-gold);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: var(--transition-smooth);
}

/* --- HERO SECTION --- */
.hero {
    height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px 5% 0 5%;
    padding-top: 120px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 25, 17, 0.8) 0%, rgba(13, 44, 30, 0.4) 100%);
    z-index: 2;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    color: var(--color-ivory);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.premium-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    font-weight: 600;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    color: var(--color-ivory);
}

.hero-content p {
    color: rgba(253, 251, 247, 0.8);
    font-size: 1rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Feature Highlights Grid */
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-card {
    background: rgba(253, 251, 247, 0.05);
    border: 1px solid rgba(253, 251, 247, 0.1);
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    background: rgba(253, 251, 247, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.highlight-card span {
    font-size: 1.5rem;
}

.highlight-card h4 {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-ivory);
}

/* Right Column - Circular Image Slider Frame */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-slider-wrap {
    width: 440px;
    height: 440px;
    position: relative;
    transition: var(--transition-smooth);
}

.circular-slider-wrap:hover {
    transform: translateY(-8px);
}

.circular-slider-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(30, 43, 34, 0.35);
    border: 4px solid var(--color-gold);
}

.slider-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.08);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 5;
}

.frame-border-glowing {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 2px solid rgba(200, 162, 97, 0.4);
    animation: pulseGlow 4s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 10;
}

@keyframes pulseGlow {
    0% { transform: scale(0.97); opacity: 0.4; box-shadow: 0 0 15px rgba(200, 162, 97, 0.15); }
    100% { transform: scale(1.03); opacity: 0.9; box-shadow: 0 0 35px rgba(200, 162, 97, 0.45); }
}

.floating-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 15;
    animation: floatAnim 6s infinite ease-in-out alternate;
}

@keyframes floatAnim {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(15deg); }
}

/* --- SECTION DEFAULTS --- */
.section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-dark {
    max-width: 100%;
    background-color: var(--color-forest);
    color: var(--color-ivory);
}

.section-dark p {
    color: rgba(253, 251, 247, 0.7);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: inherit;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--color-gold);
}

/* --- ABOUT US --- */
.about-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 4rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content p {
    font-size: 0.95rem;
}

.promise-box {
    border-left: 3px solid var(--color-gold);
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.promise-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-forest);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.promise-author {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-gold);
}

.about-visual {
    position: relative;
}

.about-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(13, 44, 30, 0.15);
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    transition: transform 1s ease-out;
}

.about-floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    max-width: 320px;
    z-index: 10;
}

.about-floating-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.about-floating-card li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-ivory);
}

.about-floating-card li::before {
    content: '✦';
    color: var(--color-gold);
}

/* --- PRODUCTS SECTION --- */
.products-section {
    padding-left: 5%;
    padding-right: 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    width: 100%;
}

.products-controls {
    display: flex;
    gap: 1rem;
}

.slider-container {
    width: 100%;
    position: relative;
    padding: 1rem 0 2rem;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.slider-track {
    display: flex;
    gap: 2rem;
    width: max-content;
}

/* Scroll Buttons for slider header and hero circular slideshow */
.prod-scroll-btn-header, .hero-slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-forest);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(30, 43, 34, 0.2);
}

.prod-scroll-btn-header:hover, .hero-slider-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-forest-dark);
    box-shadow: 0 6px 20px rgba(200, 162, 97, 0.3);
}

/* Hero circular slider buttons absolute positions */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: transparent !important;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.hero-slider-btn:hover {
    background-color: var(--color-gold) !important;
    color: var(--color-forest-dark) !important;
}

.hero-slider-btn.prev-btn {
    left: -80px;
}

.hero-slider-btn.next-btn {
    right: -80px;
}

.product-card {
    width: 320px;
    flex-shrink: 0;
    background: var(--color-ivory);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 44, 30, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    perspective: 1000px; /* For 3D tilt */
}

.product-img-wrap {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.4rem;
    color: var(--color-forest);
}

.product-info p {
    font-size: 0.85rem;
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-btn {
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.product-card-btn span {
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-btn span {
    transform: translateX(5px);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.25);
}

/* --- WHY IMPERIAL --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    background-color: var(--color-forest) !important;
    border-color: rgba(197, 160, 89, 0.3) !important;
    box-shadow: 0 15px 40px rgba(13, 44, 30, 0.2);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold) !important;
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.why-card h3 {
    font-size: 1.25rem;
    color: var(--color-gold) !important;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--color-ivory) !important;
    opacity: 0.95;
}

/* --- PREMIUM CTA SECTION --- */
.cta-wrapper {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto 8rem;
}

.cta-card {
    background-color: var(--color-forest-dark);
    background-image: radial-gradient(circle at 10% 20%, rgba(13, 44, 30, 0.4) 0%, rgba(7, 25, 17, 0.9) 90%);
    border: 1px solid var(--color-gold);
    border-radius: 24px;
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(197, 160, 89, 0.1) inset;
}

.cta-card-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-card h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--color-ivory);
}

.cta-card p {
    color: rgba(253, 251, 247, 0.8);
    font-size: 1.1rem;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
}

.contact-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-icon-wrap {
    background: var(--color-gold);
    color: var(--color-forest-dark);
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--color-forest);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    font-weight: 500;
}

.contact-card span {
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* Address card styling spans over multiple lines */
.contact-card .address-text {
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-forest-dark);
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    padding: 6rem 5% 2rem;
    color: var(--color-ivory);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 30% 15% 25% 30%;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
}

.footer-logo {
    height: 54px;
    width: auto;
    align-self: flex-start;
}

.footer-col p {
    color: rgba(253, 251, 247, 0.7);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(253, 251, 247, 0.7);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.footer-products-grid a {
    font-size: 0.85rem;
    color: rgba(253, 251, 247, 0.7);
}

.footer-products-grid a:hover {
    color: var(--color-gold);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(253, 251, 247, 0.7);
}

.footer-contact-info a {
    transition: var(--transition-smooth);
}

.footer-contact-info a:hover {
    color: var(--color-gold);
}

.footer-contact-info i {
    color: var(--color-gold);
    margin-top: 0.2rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(253, 251, 247, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(253, 251, 247, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

/* --- DYNAMIC PRODUCT SHOWCASE PAGE --- */
.product-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0 5% 4rem;
    overflow: hidden;
}

.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.product-hero-content {
    position: relative;
    z-index: 4;
    color: var(--color-ivory);
    max-width: 800px;
}

.product-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 1rem;
}

.product-details-section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 5rem;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.product-main-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(13, 44, 30, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.product-main-img img {
    width: 100%;
    object-fit: cover;
}

.product-specifications {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.spec-block {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.spec-block h3 {
    font-size: 1.1rem;
    color: var(--color-forest);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-left: 3px solid var(--color-gold);
    padding-left: 1rem;
}

.spec-block p, .spec-block ul {
    font-size: 0.95rem;
    padding-left: 1.2rem;
}

.spec-block ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-block li {
    position: relative;
}

.spec-block li::before {
    content: '•';
    color: var(--color-gold);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.specs-table th {
    background-color: var(--color-forest);
    color: var(--color-gold);
    text-align: left;
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.specs-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    color: var(--color-charcoal);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background-color: rgba(245, 239, 235, 0.4);
}

.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 25, 17, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.quote-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.quote-modal-card {
    width: 100%;
    max-width: 550px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-gold);
    cursor: pointer;
    background: none;
    border: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--color-gold);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(253, 251, 247, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    color: var(--color-ivory);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.quote-modal-card input, .quote-modal-card textarea, .quote-modal-card select {
    background: rgba(13, 44, 30, 0.1);
    color: var(--color-charcoal);
    border-color: rgba(13, 44, 30, 0.2);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .navbar .magnetic-wrap, .products-controls {
        display: none;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(13, 44, 30, 0.1);
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero {
        height: auto;
        padding: 110px 5% 20px 5%;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-content {
        display: contents;
    }
    
    .hero-highlights {
        display: none;
    }
    
    .premium-badge {
        order: 1;
        align-self: center;
    }
    
    .hero-content h1 {
        order: 2;
    }
    
    .hero-visual {
        order: 3;
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 1rem 0;
    }
    
    .hero-content p {
        order: 4;
    }
    
    .hero-btns {
        order: 5;
        justify-content: center;
    }
    
    .circular-slider-wrap {
        width: 320px;
        height: 320px;
    }
    
    .hero-slider-btn.prev-btn {
        left: -45px;
    }
    
    .hero-slider-btn.next-btn {
        right: -45px;
    }
    
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .about-content {
        display: contents;
    }
    .about-content > .section-subtitle {
        order: 1;
    }
    .about-content > .section-title {
        order: 2;
        margin-bottom: 0.5rem !important;
    }
    .about-visual {
        order: 3;
        margin: 1rem 0 2rem;
    }
    .about-content > p {
        order: 4;
    }
    .about-content > .promise-box {
        order: 5;
    }
    .about-content > div {
        order: 6;
    }
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-floating-card {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .why-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 5%;
    }
    
    .cta-card {
        padding: 4rem 2rem;
    }
    
    .cta-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .cta-btns .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* --- CERTIFICATIONS SECTION (AUTO-SCROLLING MARQUEE) --- */
.certifications-section {
    padding: 1.8rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(200, 162, 97, 0.15);
    position: relative;
    z-index: 10;
    overflow: hidden;
    width: 100%;
}
.cert-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}
.cert-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: scrollCerts 20s linear infinite;
}
.cert-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.cert-img:hover {
    transform: scale(1.06);
}
.cert-img[src*="cert_fssai.png"] {
    height: 42px;
    margin: 6.5px 0;
}

@keyframes scrollCerts {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-680px, 0, 0);
    }
}
.cert-logo-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-forest);
    letter-spacing: 0.05em;
}
.cert-desc {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-top: 2px;
    line-height: 1.3;
}

/* --- PROCESS SECTION WITH IMAGE BANNER AND WAVY TRANSITION --- */
.process-section {
    background-color: var(--color-ivory);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.process-banner {
    position: relative;
    padding: 6rem 0 7rem;
    background-color: #0c2518;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}
.process-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 44, 30, 0.95) 0%, rgba(7, 25, 17, 0.9) 100%);
    z-index: 1;
}
.process-banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%;
}
.process-banner-header {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}
.process-banner-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    align-items: center;
    padding-bottom: 4.5rem;
}
.process-image-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}
.process-banner-img {
    max-height: 440px;
    width: 100%;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}
.process-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: 0.03em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
.process-title .title-line-1 {
    color: #ffffff;
}
.process-title .title-line-2 {
    color: var(--color-gold);
}
.process-desc-main {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    text-align: center;
    max-width: 750px;
}
.process-desc-main .highlight-gold {
    color: var(--color-gold);
    font-weight: 600;
}
.process-leaf-divider {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin: 1.2rem 0;
    align-self: flex-start;
}

/* 3 Features Panel in Dark Theme */
.process-features-panel {
    background: linear-gradient(135deg, #051a10 0%, #0b281b 100%);
    border: 1.5px solid #c5a059;
    border-radius: 40px 0 40px 40px;
    padding: 2.2rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.process-feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.feature-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #c5a059;
    color: #c5a059;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: #051a10;
}
.feature-text h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1.25;
    margin: 0;
}
.feature-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 3px 0 0 0;
}

/* Bottom Bar styled exactly like reference image */
.process-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 10;
}
.bottom-bar-line {
    flex-grow: 1;
    height: 1px;
    background: rgba(197, 160, 89, 0.35);
}
.bottom-bar-text {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.25em;
    white-space: nowrap;
}

.process-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}
.process-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

/* Timeline container */
.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 0;
}
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(39, 87, 62, 0.15);
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-line-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-gold-hover));
    box-shadow: 0 0 15px var(--color-gold);
}
.timeline-steps {
    position: relative;
    z-index: 2;
.timeline-step {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 4.5rem;
    width: 100%;
}
.timeline-step.step-right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-ivory);
    border: 3.5px solid rgba(39, 87, 62, 0.35);
    transform: translateX(-50%) scale(1);
    transition: var(--transition-smooth);
    z-index: 3;
}
.timeline-dot.active {
    background: var(--color-gold);
    border-color: var(--color-forest);
    box-shadow: 0 0 15px var(--color-gold);
    transform: translateX(-50%) scale(1.3);
}

/* Timeline Cards */
.timeline-card {
    background: #ffffff;
    border: 1px solid rgba(200, 162, 97, 0.25);
    padding: 2.2rem;
    border-radius: 20px;
    width: 85%;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 12px 35px rgba(39, 87, 62, 0.04), 0 0 20px rgba(200, 162, 97, 0.08);
    overflow: hidden;
}
.timeline-step.step-left .timeline-card {
    margin-right: 50px;
    float: right;
}
.timeline-step.step-right .timeline-card {
    margin-left: 50px;
    float: left;
}
.card-content-wrap {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.card-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-forest);
    border: 2px solid rgba(200, 162, 97, 0.3);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.card-text {
    flex-grow: 1;
}
}
.timeline-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-forest);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}
.timeline-card p {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(39, 87, 62, 0.03) 0%, transparent 60%);
    pointer-events: none;
    transition: var(--transition-smooth);
}
.timeline-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(39, 87, 62, 0.08), 0 0 25px rgba(200, 162, 97, 0.35);
}
.timeline-card:hover .card-glow {
    background: radial-gradient(circle, rgba(39, 87, 62, 0.08) 0%, transparent 60%);
}
.timeline-bg-num {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 8.5rem;
    font-weight: 900;
    color: rgba(39, 87, 62, 0.025);
    pointer-events: none;
    line-height: 1;
    transition: var(--transition-smooth);
}
.timeline-step.step-left .timeline-bg-num {
    right: 5%;
}
.timeline-step.step-right .timeline-bg-num {
    left: 5%;
}
.timeline-step.active .timeline-bg-num {
    color: rgba(39, 87, 62, 0.07);
}

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 1024px) {
}
@media (max-width: 768px) {
    .certifications-section {
        padding: 1.5rem 0;
    }
    .process-section {
        padding: 0;
    }
    .process-banner {
        height: auto;
        padding-top: 5rem;
        padding-bottom: 5.5rem;
    }
    .process-banner-container {
        padding-bottom: 2rem;
    }
    .process-banner-content-grid {
        grid-template-columns: 55% 45%;
        gap: 0.8rem;
        padding-bottom: 2.5rem;
        width: 100%;
        align-items: center;
    }
    .process-image-wrap {
        justify-content: flex-end;
        margin-top: 0;
    }
    .process-features-panel {
        margin: 0;
        text-align: left;
        width: 100%;
        max-width: 100%;
        padding: 0.8rem;
        gap: 0.8rem;
    }
    .feature-icon-circle {
        width: 32px;
        height: 32px;
        border-width: 1px;
        font-size: 0.8rem;
    }
    .feature-text h4 {
        font-size: 0.65rem;
        letter-spacing: 0.02em;
    }
    .feature-text p {
        font-size: 0.65rem;
    }
    .process-bottom-bar {
        bottom: 1.2rem;
        gap: 0.8rem;
    }
    .bottom-bar-text {
        font-size: 0.68rem;
        letter-spacing: 0.15em;
    }
    .process-banner-img {
        max-height: 200px;
        width: 100%;
        object-fit: contain;
        border-radius: 12px;
        mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
    }
    .process-title {
        font-size: 2.3rem;
    }
    .process-leaf-divider {
        align-self: center;
    }
    .timeline-container {
        padding: 3rem 1rem;
    }
    .timeline-line {
        display: none;
    }
    .timeline-dot {
        display: none;
    }
    .timeline-step {
        padding: 0 !important;
        margin-bottom: 2rem;
        width: 100%;
        justify-content: flex-start;
    }
    .timeline-step.step-right {
        padding: 0 !important;
    }
    .timeline-step.step-left .timeline-card,
    .timeline-step.step-right .timeline-card {
        width: 100% !important;
        margin: 0 !important;
        float: none;
    }
    .card-content-wrap {
        flex-direction: row;
        text-align: left;
        gap: 1.2rem;
        align-items: center;
    }
    .timeline-bg-num {
        font-size: 4.5rem;
        top: 50%;
        transform: translateY(-50%);
        right: 15px !important;
        left: auto !important;
        opacity: 0.15;
    }
}

/* Email Copy Toast Notification */
.email-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-forest);
    color: var(--color-ivory);
    border: 1px solid var(--color-gold);
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    pointer-events: none;
    animation: emailToastAnim 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes emailToastAnim {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

