/* Yashgreen Exports - Modern B2B Design CSS */
/* Color Palette */
:root {
    /* Color Palette */
    --primary-green: #15803D;
    --primary-green-light: #16A34A;
    --dark-base: #0F172A;
    --secondary-slate: #334155;
    --accent-green: #22C55E;
    --warm-amber: #F59E0B;
    --light-neutral: #F8FAFC;
    --lighter-neutral: #F1F5F9;
    --pure-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--secondary-slate);
    background-color: var(--pure-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--dark-base);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h4 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-body);
}

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

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

.btn-secondary {
    background-color: var(--light-neutral);
    color: var(--dark-base);
    border: 1px solid var(--secondary-slate);
}

.btn-secondary:hover {
    background-color: var(--lighter-neutral);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

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

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header & Navigation */
header {
    background-color: var(--dark-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pure-white);
}

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

.nav-links a {
    color: var(--pure-white);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

.nav-links a.active {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-trigger {
    background-color: transparent;
    border: 1px solid var(--pure-white);
    color: var(--pure-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-width: 36px;
    height: 36px;
}

.lang-trigger:hover,
.lang-trigger:focus {
    background-color: var(--pure-white);
    color: var(--dark-base);
}

.lang-trigger .lang-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.lang-trigger .lang-text {
    font-size: 0.75rem;
    font-weight: 600;
}

.lang-trigger .chevron {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lang-dropdown.open .lang-trigger .chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.375rem);
    right: 0;
    min-width: 160px;
    background-color: var(--pure-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--lighter-neutral);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    margin: 0;
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--dark-base);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.lang-menu a:hover,
.lang-menu a:focus {
    background-color: var(--light-neutral);
    color: var(--primary-green);
}

.lang-menu .lang-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--pure-white);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--dark-base);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-base) 0%, #1e293b 100%);
    color: var(--pure-white);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230f172a" fill-opacity="0.1" d="M0,128L48,138.7C96,149,192,171,288,181.3C384,192,480,192,576,181.3C672,171,768,150,864,138.7C960,128,1056,117,1152,117.3C1248,117,1344,128,1392,133.3L1440,138.7L1440,320L1392,320L1344,320L1296,320L1248,320L1200,320L1152,320L1056,320L960,320L864,320L768,320L672,320L576,320L480,320L384,320L288,320L192,320L96,320L0,320Z"></path></svg>');
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {
    0% { background-position-x: 0; }
    50% { background-position-x: 100%; }
    100% { background-position-x: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 6vw, 4.5rem);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats {
    background-color: var(--lighter-neutral);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-slate);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--pure-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-slate);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--light-neutral);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--lighter-neutral);
    position: relative;
    overflow: hidden;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--pure-white);
}

.feature-icon-oem {
    background: linear-gradient(135deg, var(--warm-amber), #D97706);
}

.feature-icon-global {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
}

.feature-icon-logistics {
    background: linear-gradient(135deg, var(--accent-green), var(--primary-green));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-base);
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--secondary-slate);
}

/* OEM Badge */
.oem-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--warm-amber);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Product Showcase */
.products {
    padding: 6rem 0;
    background-color: var(--lighter-neutral);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--lighter-neutral);
}

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

.product-image {
    height: 180px;
    background-color: var(--light-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--warm-amber);
    color: var(--pure-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-base);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 1rem;
    color: var(--secondary-slate);
    line-height: 1.6;
}

/* Warehouse/Gallery Section */
.warehouse {
    padding: 6rem 0;
    background-color: var(--pure-white);
}

.warehouse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.warehouse-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.warehouse-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.warehouse-image {
    height: 200px;
    overflow: hidden;
}

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

.warehouse-item:hover .warehouse-image img {
    transform: scale(1.05);
}

.warehouse-content {
    padding: 1.5rem;
}

.warehouse-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-base);
}

.warehouse-content p {
    font-size: 1rem;
    color: var(--secondary-slate);
    line-height: 1.6;
}

/* Country Scroller */
.countries {
    padding: 6rem 0;
    background-color: var(--lighter-neutral);
}

.country-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) var(--light-neutral);
}

.country-scroller::-webkit-scrollbar {
    height: 8px;
}

.country-scroller::-webkit-scrollbar-track {
    background: var(--light-neutral);
}

.country-scroller::-webkit-scrollbar-thumb {
    background-color: var(--primary-green);
    border-radius: 4px;
}

.country-card {
    flex: 0 0 220px;
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--lighter-neutral);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.country-flag {
    width: 60px;
    height: 40px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-base);
}

.country-port {
    font-size: 0.9rem;
    color: var(--secondary-slate);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: var(--pure-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Quote Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--lighter-neutral);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--secondary-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background-color: var(--secondary-slate);
    color: var(--pure-white);
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-base);
    font-size: 1.75rem;
}

.popup-content p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-slate);
    font-size: 1.1rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-base);
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--lighter-neutral);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    background-color: var(--pure-white);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2);
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-green);
    color: var(--pure-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-submit:disabled {
    background-color: var(--secondary-slate);
    cursor: not-allowed;
    transform: none;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--secondary-slate);
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-base);
    color: var(--pure-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
    font-weight: 600;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--lighter-neutral);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-col a:hover {
    color: var(--pure-white);
    text-decoration: underline;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 40px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pure-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--lighter-neutral);
}

.footer-bottom a {
    color: var(--accent-green);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-in-up.active {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .features-grid,
    .products-grid,
    .warehouse-grid,
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.spinner > div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-green);
    position: absolute;
    animation: spinner-bounce 1.2s ease-in-out infinite both;
}

.spinner .dot1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -0.32s;
}

.spinner .dot2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -0.16s;
}

.spinner .dot3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

@keyframes spinner-bounce {
    0%, 80%, 100% { transform: translate(-50%, -50%) scale(0); }
    40% { transform: translate(-50%, -50%) scale(1); }
}

/* Hero Slider Styles (from yashgreen.com) */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.homepage-slides-wrapper {
    width: 100%;
    position: relative;
}

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.45) 100%);
    z-index: 1;
}

.swiper-slide.slide-bg-1 {
    background-image: url(https://yashgreen.com/assets/img/spare-parts-car.jpg);
}

.swiper-slide.slide-bg-2 {
    background-image: url(https://yashgreen.com/assets/img/elitobanner.png);
}

.swiper-slide {
    height: 590px;
}

.d-table {
    display: table;
    width: 100%;
    height: 100%;
}

.d-table-cell {
    display: table-cell;
    vertical-align: middle;
}

.swiper-slide .container {
    position: relative;
    z-index: 10;
}

.swiper-slide h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.swiper-slide p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Swiper Pagination */
.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s;
    transform: translate3d(0,0,0);
    z-index: 10;
}

.swiper-pagination.swiper-pagination1 {
    bottom: 30px;
    left: 0;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: #fff;
    opacity: .3;
    margin: 0 6px;
    transition: all 0.3s ease;
}

button.swiper-pagination-bullet {
    border: none;
    padding: 0;
    box-shadow: none;
    appearance: none;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-green);
    transform: scale(1.2);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    z-index: 10;
    cursor: pointer;
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-green);
    transform: scale(1.1);
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    left: 20px;
    right: auto;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    right: 20px;
    left: auto;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none;
}

/* Swiper container sizing */
.swiper-container {
    width: 100%;
    height: 590px;
}

@media (max-width: 1024px) {
    .swiper-container {
        height: 500px;
    }
    
    .swiper-slide h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .swiper-container {
        height: 450px;
    }
    
    .swiper-slide h1 {
        font-size: 2rem;
    }
    
    .swiper-slide p {
        font-size: 1rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .swiper-button-prev {
        left: 10px;
    }
    
    .swiper-button-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .swiper-container {
        height: 400px;
    }
    
    .swiper-slide h1 {
        font-size: 1.75rem;
    }
    
    .swiper-slide p {
        font-size: 0.9rem;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--dark-base);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        color: var(--pure-white);
        font-size: 1.125rem;
    }
    
    .nav-links a:hover {
        background-color: var(--primary-green);
    }
    
    .mobile-menu {
        display: none;
    }
}

#countryDetectionPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    padding: 20px;
}

#countryDetectionPopup.active {
    display: flex;
}

.country-detection-popup {
    background-color: var(--pure-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s ease;
}

#countryDetectionPopup.active .country-detection-popup {
    transform: scale(1);
    opacity: 1;
}

.country-detection-content {
    text-align: center;
}

.detection-header {
    margin-bottom: 2rem;
}

.detection-header .globe-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.detection-header h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark-base);
}

#detectionMessage {
    color: var(--secondary-slate);
    font-size: 1.1rem;
}

.detection-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-small {
    width: 40px;
    height: 40px;
    border: 3px solid var(--lighter-neutral);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.detection-options {
    display: none;
}

.detected-country {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-neutral);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-green);
}

.detected-country .detected-flag {
    width: 80px;
    height: 53px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.detected-info strong {
    font-size: 1.5rem;
    color: var(--dark-base);
    display: block;
    margin-bottom: 0.25rem;
}

.detected-info small {
    color: var(--secondary-slate);
}

.alternative-option {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lighter-neutral);
}

.alternative-option p {
    color: var(--secondary-slate);
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.detection-error {
    display: none;
    text-align: center;
}

.detection-error p {
    color: var(--secondary-slate);
    margin-bottom: 1.5rem;
}

.detection-error .btn {
    margin: 0 0.5rem;
}

/* Responsive for popup */
@media (max-width: 480px) {
    .country-detection-popup {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .detected-country {
        padding: 1rem;
    }
    
    .detected-flag {
        width: 60px;
        height: 40px;
    }
    
    .detected-info strong {
        font-size: 1.25rem;
    }
}