/* =============================================
   NEERA SUGAR™ — Premium Corporate Stylesheet
   Design: Minimalist, Apple-standard luxury
   Palette: White, Deep Charcoal, Golden Brown
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --border: #E8E8E8;
    --mid-gray: #999999;
    --charcoal: #1D1D1F;
    --dark: #111111;
    --gold: #B8860B;
    --gold-light: #D4A847;
    --gold-dark: #8B6508;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --max-width: 1200px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section Base ---------- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--mid-gray);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}

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

.btn-full { width: 100%; text-align: center; }

/* ---------- Fade-in Animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================
   NAVIGATION
   ========================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
    transition: color var(--transition);
}

.nav-logo span { color: var(--gold); }

#navbar.scrolled .nav-logo { color: var(--charcoal); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.8);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

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

.nav-links a:hover { color: var(--white); }

#navbar.scrolled .nav-links a { color: var(--mid-gray); }
#navbar.scrolled .nav-links a:hover { color: var(--charcoal); }

.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--gold-dark) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

#navbar.scrolled .nav-toggle span { background: var(--charcoal); }

/* ==========================================
   1. HERO SECTION
   ========================================== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1510797215324-95aa89f43c33?w=1600&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

#hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ==========================================
   2. DIFFERENCE SECTION
   ========================================== */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.diff-card {
    text-align: center;
    padding: 48px 32px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition);
    background: var(--white);
}

.diff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: var(--gold);
}

.diff-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    overflow: hidden;
}

.diff-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diff-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.diff-card p {
    font-size: 0.95rem;
    color: var(--mid-gray);
    line-height: 1.7;
}

/* ==========================================
   3. ABOUT SECTION
   ========================================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img { transform: scale(1.03); }

.about-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Vision & Mission */
.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    padding: 48px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--border);
}

.vm-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 6px 16px;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    margin-bottom: 24px;
}

.vm-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
}

.vm-card ol {
    list-style: decimal;
    padding-left: 20px;
}

.vm-card ol li {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.vm-card ol li strong { color: var(--charcoal); }

/* ==========================================
   4. PRODUCTS SECTION
   ========================================== */
.cert-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.cert-badge img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.cert-badge:hover {
    transform: translateY(-2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition);
    position: relative;
}

.product-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-badge.organic {
    background: #2D6A4F;
    color: var(--white);
}

.product-badge.premium {
    background: var(--gold);
    color: var(--white);
}

.product-img {
    height: 260px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 36px;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.product-desc {
    font-size: 0.92rem;
    color: var(--mid-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--light-gray);
}

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

.spec-table td {
    padding: 12px 0;
    font-size: 0.85rem;
}

.spec-table td:first-child {
    font-weight: 400;
    color: var(--mid-gray);
    width: 45%;
}

.spec-table td:last-child {
    color: var(--charcoal);
    font-weight: 600;
    text-align: right;
}

/* ==========================================
   4B. CERTIFICATIONS SECTION
   ========================================== */
.certifications-section {
    background: var(--white);
    padding: 100px 0;
}

.certifications-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap;
}

.certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all var(--transition);
}

.certification-item:hover {
    transform: translateY(-6px);
}

.certification-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
    padding: 16px;
    transition: all var(--transition);
}

.certification-item:hover .certification-logo {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.certification-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certification-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--mid-gray);
    text-align: center;
    max-width: 180px;
    line-height: 1.5;
}

/* ==========================================
   5. LOGISTICS SECTION
   ========================================== */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.log-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition);
}

.log-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

.log-card i {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.log-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.log-card p {
    font-size: 0.9rem;
    color: var(--mid-gray);
    line-height: 1.7;
}

.payment-terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-terms-list li {
    font-size: 0.9rem;
    color: var(--mid-gray);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.payment-terms-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

/* ==========================================
   6. SUSTAINABILITY SECTION
   ========================================== */
.sustain-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sustain-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.sustain-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.sustain-stat {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--mid-gray);
    letter-spacing: 0.5px;
}

.sustain-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.sustain-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sustain-image:hover img { transform: scale(1.03); }

/* ==========================================
   7. CONTACT SECTION — Redesigned
   ========================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* -- Left Column -- */
.contact-left {
    text-align: left;
}

.contact-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.contact-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.5px;
    margin-bottom: 28px;
    text-align: left;
}

/* Highlight Box */
.contact-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #F9F6F0;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 36px;
}

.contact-highlight i {
    font-size: 1.1rem;
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-highlight p {
    font-size: 0.88rem;
    color: #6B5A3E;
    line-height: 1.7;
}

.contact-highlight strong {
    color: #5A4A30;
}

/* Contact Details List */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid-gray);
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.5;
}

.detail-link {
    color: var(--gold) !important;
    transition: color var(--transition);
}

.detail-link:hover {
    color: var(--gold-dark) !important;
}

/* -- Right Column: Form Card -- */
.contact-form {
    padding: 44px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--charcoal);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ==========================================
   FOOTER
   ========================================== */
#footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.footer-logo span { color: var(--gold); }

#footer p {
    font-size: 0.8rem;
    color: var(--mid-gray);
    line-height: 1.7;
}

/* ==========================================
   8. FLOATING WHATSAPP
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 36px rgba(37,211,102,0.5);
}

/* ==========================================
   RESPONSIVE — Tablet
   ========================================== */
@media (max-width: 1024px) {
    .section { padding: 80px 0; }
    .certifications-section { padding: 80px 0; }
    .diff-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-image { aspect-ratio: 16/9; }
    .vision-mission { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .certifications-row { gap: 48px; }
    .logistics-grid { grid-template-columns: repeat(2, 1fr); }
    .sustain-layout { grid-template-columns: 1fr; gap: 40px; }
    .sustain-image { aspect-ratio: 16/9; order: -1; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ==========================================
   RESPONSIVE — Mobile
   ========================================== */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 48px; }

    /* Nav Mobile */
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        color: var(--charcoal) !important;
        font-size: 1rem;
    }

    .nav-cta {
        margin-top: 16px;
    }

    /* Hero */
    #hero { min-height: 600px; }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn { width: 100%; max-width: 280px; text-align: center; }

    /* Certifications */
    .certifications-section { padding: 60px 0; }
    .certifications-row { gap: 40px; }
    .certification-logo { width: 100px; height: 100px; border-radius: 16px; padding: 14px; }

    /* Logistics */
    .logistics-grid { grid-template-columns: 1fr; }

    /* Stats */
    .sustain-stat { gap: 32px; }

    /* Contact Form */
    .contact-form { padding: 32px 24px; }

    /* WhatsApp */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        bottom: 24px;
        right: 24px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .cert-row { gap: 12px; }
    .cert-badge { padding: 10px 18px; font-size: 0.78rem; }
    .product-info { padding: 24px; }
    .vm-card { padding: 32px 24px; }
    .log-card { padding: 28px 24px; }
    .certifications-row { gap: 32px; }
    .certification-logo { width: 88px; height: 88px; padding: 12px; }
    .certification-label { font-size: 0.6rem; letter-spacing: 2px; }
}
