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

:root {
    --primary: #10B981;
    --primary-gradient: linear-gradient(135deg, #059669 0%, #10B981 100%);
    --accent: #F59E0B;
    --accent-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --citrus: #84CC16;
    --citrus-gradient: linear-gradient(135deg, #84CC16 0%, #10B981 100%);
    --dark: #FFFFFF;
    --dark-card: #F8FAFC;
    --dark-border: rgba(15, 23, 42, 0.08);
    --light: #F8FAFC;
    --light-card: rgba(255, 255, 255, 0.95);
    --light-border: rgba(15, 23, 42, 0.06);
    --text-white: #0F172A;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-light-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gradient);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--citrus-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--citrus-gradient);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(132, 204, 22, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
}

/* Navigation bar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 2rem;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 2rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-white);
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: url(#logo-grad);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-light-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--citrus-gradient);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(180px);
    opacity: 0.15;
    top: 10%;
    right: 15%;
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-num-container {
    display: flex;
    align-items: baseline;
    color: var(--primary);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 0.2rem;
    background: var(--citrus-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-bg {
    position: absolute;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed var(--dark-border);
    animation: rotate 60s linear infinite;
}

.hero-illustration {
    position: relative;
    z-index: 10;
    width: 90%;
    animation: float 6s ease-in-out infinite;
}

/* Category Produce Section */
.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    max-width: 600px;
    margin: 0 auto;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--text-light-muted);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-gradient);
    color: var(--dark);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.produce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.produce-card {
    background: var(--light-card);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.produce-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.produce-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: var(--shadow-lg);
}

.produce-card:hover::before {
    opacity: 1;
}

.produce-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.produce-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.produce-desc {
    color: var(--text-light-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.produce-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--dark-border);
    padding-top: 1.2rem;
    position: relative;
    z-index: 2;
}

.detail-item span:first-child {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
}

.detail-item span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

/* Cold Chain Logistics Timeline */
.process-timeline {
    position: relative;
    margin-top: 4rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--dark-border);
    transform: translateX(-50%);
}

.timeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-step:nth-child(even) {
    direction: rtl;
}

.timeline-step:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    z-index: 5;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.timeline-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
}

.timeline-step:hover .timeline-content {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.timeline-content h3 svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.timeline-content p {
    color: var(--text-light-muted);
}


/* Map Section */
.export-map-container {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.map-svg-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.map-dots {
    fill: rgba(255, 255, 255, 0.1);
}

.map-pin {
    fill: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.map-pin:hover {
    fill: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent));
}

.map-route {
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 6 4;
    fill: none;
    animation: dash 40s linear infinite;
    opacity: 0.6;
}

.route-pulse {
    animation: pulse 2s infinite;
}

/* Contact/Inquiry Section */
.contact-grid {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 3rem 2rem;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-card-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-card-details p {
    color: var(--text-muted);
}

.contact-form {
    background: linear-gradient(145deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid var(--dark-border);
    padding: 3rem;
    border-radius: 32px;
    backdrop-filter: blur(10px);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.03);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

/* Footer styling */
footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-about p {
    color: var(--text-light-muted);
    margin-top: 1rem;
    max-width: 320px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.footer-links ul li a {
    color: var(--text-light-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light-muted);
    font-size: 0.9rem;
}

/* Modal Popup */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.modal-content {
    background: var(--dark);
    border: 1px solid var(--primary);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.modal-text {
    color: var(--text-light-muted);
    margin-bottom: 2rem;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 8rem 2rem 4rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas, .hero-stats {
        justify-content: center;
    }
    .hero-illustration {
        max-width: 320px;
        margin: 0 auto;
    }
    .timeline-line {
        left: 2rem;
    }
    .timeline-step {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        direction: ltr !important;
    }
    .timeline-badge {
        left: 2rem;
    }
    .timeline-content {
        margin-left: 4rem;
    }
    .timeline-empty {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--dark);
        border-left: 1px solid var(--dark-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.active {
        right: 0;
    }
    .menu-toggle {
        display: flex;
        z-index: 1000;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .hero-stats {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: space-around;
        align-items: flex-start;
        width: 100%;
    }
    .stat-item {
        flex: 1;
        align-items: center;
        text-align: center;
        min-width: 0;
    }
    .stat-num-container {
        justify-content: center;
    }
    .stat-num {
        font-size: 1.5rem;
    }
    .stat-suffix {
        font-size: 0.8rem;
    }
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    .hero-circle-bg {
        display: block;
        width: 280px;
        height: 280px;
        position: absolute;
    }
    .hero-visual {
        margin-top: 2.5rem;
    }
    .hero-illustration {
        max-width: 260px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header, header.scrolled {
        padding: 0.8rem 1.2rem;
    }

    .section {
        padding: 4rem 1.2rem;
    }
    .hero {
        padding: 6rem 1.2rem 3rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .timeline-content {
        padding: 1.5rem;
        margin-left: 2.5rem;
    }
    .timeline-badge {
        left: 1.2rem;
    }
    .timeline-line {
        left: 1.2rem;
    }
    .contact-form {
        padding: 1.5rem;
        border-radius: 20px;
    }
}
