/*
Theme Name: F1 Group Theme
Description: Modern, professional WordPress theme for F1 Group - A multi-industry corporation specializing in agricultural exports (coffee & rubber), real estate, financial services, and renewable energy. Features dark theme with purple gradient accents, mobile-responsive design, and Vietnamese language support.
Author: F1 Group Development Team
Version: 1.0
Text Domain: f1-group
*/

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0b;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    will-change: transform;
}

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

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

.logo {
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
    padding: 10px;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    font-size: 1.4rem;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #a855f7, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #a855f7;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

/* Hero Section */
.hero {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0b 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero without slider */
.hero:not(.hero-slider) {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0b 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(168, 85, 247, 0.05) 50%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(168, 85, 247, 0.05) 50%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.6);
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover,
.slider-dot.active {
    background: #a855f7;
    border-color: #a855f7;
    transform: scale(1.2);
}

/* Static Hero Content */
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
    color: #fff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #a855f7;
    color: #a855f7;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.partners-title {
    text-align: center;
    color: #a0a0a0;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partners-logos:hover {
    opacity: 1;
}

.partner-logo {
    height: 40px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #a0a0a0;
    transition: all 0.3s ease;
    min-width: 120px;
}

.partner-logo:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

/* Agricultural Export Section */
.agricultural-export {
    padding: 120px 0;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    position: relative;
}

.agricultural-export::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

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

.section-badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.export-card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.export-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.7) 60%, rgba(26, 26, 26, 0.95) 100%);
    z-index: -2;
}

/* Coffee Background Image */
.export-card:nth-child(1)::before {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.7) 60%, rgba(26, 26, 26, 0.95) 100%),
        url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

/* Rubber Tree Background Image */
.export-card:nth-child(2)::before {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.7) 60%, rgba(26, 26, 26, 0.95) 100%),
        url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.export-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.export-card:hover::after {
    transform: scaleX(1);
}

.export-card:hover:nth-child(1)::before {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.6) 60%, rgba(26, 26, 26, 0.9) 100%),
        url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.export-card:hover:nth-child(2)::before {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.6) 60%, rgba(26, 26, 26, 0.9) 100%),
        url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.export-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Simple Icons */
.export-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
    position: relative;
    z-index: 2;
}

.export-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.export-card p {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.export-features {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.export-features li {
    color: #a0a0a0;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.export-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: bold;
}

/* Business Areas */
.business-areas {
    padding: 120px 0;
    background: #0a0a0b;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.business-card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.business-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.business-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.business-card p {
    color: #a0a0a0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: #111111;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #a0a0a0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 120px 0;
    background: #0a0a0b;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 600;
}

.about-visual {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    height: 500px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.visual-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.visual-icon {
    font-size: 4rem;
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.visual-text {
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0b 0%, #111111 100%);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

.footer-top {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-main {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.footer-logo .company-name {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.footer-description {
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #a0a0a0;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a855f7;
    font-size: 1.2rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
}

.footer-section p,
.footer-section a {
    color: #a0a0a0;
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.footer-section a:hover {
    color: #a855f7;
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
    transform: translateY(-2px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mobile slider adjustments */
    .slider-nav {
        padding: 0 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-dots {
        bottom: 1rem;
        gap: 0.8rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .hero-slide {
        background-attachment: scroll !important; /* Fix for mobile */
        background-size: cover !important;
        background-position: center !important;
    }
    
    /* Ensure slider images show on mobile */
    .hero-slider .hero-slide {
        background-attachment: scroll !important;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Mobile horizontal scroll for business cards */
    .business-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.5rem;
        padding: 1rem 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Prevent layout issues on mobile */
        contain: layout;
    }

    .business-card {
        min-width: 300px;
        max-width: 300px;
        scroll-snap-align: start;
        /* Prevent transform issues on mobile */
        transform: none !important;
    }

    .business-card:hover {
        transform: none !important;
    }

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

    .export-card {
        /* Prevent transform issues on mobile */
        transform: none !important;
    }

    .export-card:hover {
        transform: none !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .partners-logos {
        gap: 1.5rem;
    }

    .partner-logo {
        min-width: 100px;
        height: 35px;
        font-size: 0.9rem;
    }

    /* Additional mobile fixes */
    .main-content {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }

    /* Disable complex animations on mobile */
    .business-card, .export-card {
        animation: none !important;
    }
}

/* WordPress specific styles */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    background: #a855f7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b5cf6;
}

/* Fix stacking context and positioning issues */
.hero, .partners, .agricultural-export, .business-areas, .stats, .about, .footer {
    position: relative;
    z-index: 1;
}

.hero {
    z-index: 2;
}

.container {
    position: relative;
    z-index: 1;
}

/* Prevent elements from breaking out of containers */
.export-grid, .business-grid, .stats-grid {
    contain: layout style;
}

/* Ensure proper stacking for hover effects */
.post-card, .search-result-item, .popular-post, .contact-info-card {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.post-card:hover, .search-result-item:hover, .popular-post:hover, .contact-info-card:hover {
    z-index: 2;
}

/* Fix any transform issues */
.business-card, .export-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Ensure sections don't overlap */
section {
    position: relative;
    z-index: auto;
    clear: both;
}

/* Fix footer positioning */
.footer {
    position: relative;
    z-index: 10;
    margin-top: 0;
    clear: both;
}

/* Additional containment fixes */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Prevent pseudo-elements from causing layout issues */
.export-card::before,
.export-card::after,
.business-card::before,
.business-card::after {
    pointer-events: none;
    will-change: transform;
}

/* Ensure all animated elements are GPU accelerated */
.business-card,
.export-card,
.post-card,
.search-result-item {
    will-change: transform;
    transform: translateZ(0);
}

/* Fix any potential layout shift issues */
.hero-content,
.section-header,
.about-content {
    contain: layout style;
}

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

.business-card {
    animation: fadeInUp 0.6s ease forwards;
}

.business-card:nth-child(1) { animation-delay: 0.1s; }
.business-card:nth-child(2) { animation-delay: 0.2s; }
.business-card:nth-child(3) { animation-delay: 0.3s; }
.business-card:nth-child(4) { animation-delay: 0.4s; }
.business-card:nth-child(5) { animation-delay: 0.5s; }
.business-card:nth-child(6) { animation-delay: 0.6s; }

/* Glowing effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    }
}

.logo {
    animation: glow 3s ease-in-out infinite;
}