/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    --primary-blue: #002855; /* Deep Navy Blue */
    --primary-blue-light: #003f88;
    --primary-green: #4CAF50; /* Energetic Green */
    --primary-green-hover: #45a049;
    --text-dark: #1a1a2e;
    --text-gray: #4a4a4a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography & Titles */
.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    margin: 0 auto;
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-blue);
}

.btn-whatsapp {
    background: var(--primary-green);
    color: #fff;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp-large {
    background: var(--primary-green);
    color: #fff;
    padding: 15px 32px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp-large:hover {
    background: var(--primary-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.3);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--primary-blue);
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* ==========================================================================
   Hero Section (Light)
   ========================================================================== */
.hero-light {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    background-image: radial-gradient(rgba(76, 175, 80, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero-light-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-gray);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-image {
    width: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero-light-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 40px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-lead {
    margin-bottom: 30px !important;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.usp-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.usp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.usp-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.usp-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* ==========================================================================
   Global Export Animation Section
   ========================================================================== */
.map-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
}

.trade-map {
    width: 100%;
    height: auto;
    display: block;
}

.trade-route {
    fill: none;
    stroke: var(--primary-green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawRoute 3s ease-in-out infinite;
}

.trade-route.delay-1 { animation-delay: 0.5s; }
.trade-route.delay-2 { animation-delay: 1s; }
.trade-route.delay-3 { animation-delay: 1.5s; }

@keyframes drawRoute {
    0% { stroke-dashoffset: 600; opacity: 1; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    80% { stroke-dashoffset: 0; opacity: 0; }
    100% { stroke-dashoffset: 600; opacity: 0; }
}

.india-node {
    animation: pulseNode 1.5s infinite;
}

.dest-node {
    animation: pulseNode 1.5s infinite;
    animation-delay: 1s;
}

@keyframes pulseNode {
    0% { r: 5; opacity: 1; }
    50% { r: 10; opacity: 0.5; }
    100% { r: 5; opacity: 1; }
}

.india-node {
    animation: pulseIndia 2s infinite;
}

@keyframes pulseIndia {
    0% { r: 10; opacity: 1; }
    50% { r: 16; opacity: 0.7; }
    100% { r: 10; opacity: 1; }
}


/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients {
    background: var(--bg-white);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    opacity: 0.7;
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.client-logo:hover {
    color: var(--primary-blue);
    opacity: 1;
    transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary-blue);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    max-width: 300px;
}

.footer h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-list a {
    color: rgba(255,255,255,0.7);
}

.contact-list a:hover {
    color: #fff;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   Modals & Dynamic Elements
   ========================================================================== */
.show-products-btn {
    margin-top: 15px;
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-content {
    max-width: 800px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: var(--text-dark);
}

.modal-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
}
.modal-list li:last-child {
    border-bottom: none;
}

.admin-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.admin-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.admin-cat-btn {
    padding: 10px 15px;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    transition: var(--transition);
}

.admin-cat-btn:hover, .admin-cat-btn.active {
    background: var(--primary-blue);
    color: #fff;
}

.admin-editor {
    display: flex;
    flex-direction: column;
}

.add-product-form {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.add-product-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}
.add-product-form input:focus {
    border-color: var(--primary-green);
}

.admin-list {
    list-style: none;
}

.admin-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.delete-btn {
    background: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}
.delete-btn:hover {
    background: #d9363e;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    background: #1ebe57;
    transform: scale(1.1);
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

@media (max-width: 992px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-light {
        padding-top: 130px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .nav-links, .navbar .btn-whatsapp {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch; /* Make buttons full width on mobile */
    }

    .hero-actions .btn {
        width: 100%;
    }
    
    .usp-grid {
        grid-template-columns: 1fr;
    }

    .usp-card {
        padding: 20px;
    }

    .product-grid {
        gap: 25px;
    }

    .product-img {
        height: 180px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 1.25rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
    }

    .client-logos {
        gap: 30px;
    }

    .client-logo {
        font-size: 1.2rem;
    }

    .footer {
        padding-top: 50px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-categories {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 15px;
        flex-direction: row;
        flex-wrap: wrap;
    }
}
