/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #f59e0b;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

/* Ensure no horizontal overflow */
.container,
.hero-content,
.nav-container,
.about-content,
.contact-content,
.footer-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Global mobile width fixes */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    .hero,
    .stats-section,
    .products-section,
    .about-section,
    .testimonials-section,
    .partners-section,
    .contact-section,
    .footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .section-header,
    .product-categories,
    .stats-grid,
    .products-grid,
    .about-content,
    .testimonials-slider,
    .partners-slider,
    .contact-content,
    .footer-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 90%;
    animation: scalePulse 2s ease-in-out infinite;
}

.loading-logo img {
    width: 100px;
    height: auto;
    margin-bottom: var(--space-lg);
    animation: pulse 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.loading-spinner {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.spinner {
    display: flex;
    gap: 12px;
}

.spinner::before,
.spinner::after,
.spinner {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.spinner::before {
    animation-delay: -0.32s;
}

.spinner::after {
    animation-delay: -0.16s;
}

.loading-text {
    font-size: 1.25rem;
    font-weight: 600; 
    animation: fadeInOut 2s infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes scalePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.4);
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-normal);
    padding: var(--space-xs) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
        position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
        cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.1));
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 8s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-duration: 10s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-duration: 7s;
}

.floating-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-duration: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--secondary-color);
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.card-image {
    width: 300px;
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
        transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.scroll-arrow:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--gray-50);
    padding: var(--space-3xl) 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.stats-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.category-btn {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
        position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content {
    padding: var(--space-lg);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.product-description {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.about-content {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text .section-tag {
    margin-bottom: var(--space-md);
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 300px;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.about-card ul {
    list-style: none;
}

.about-card li {
    padding: var(--space-xs) 0;
    color: var(--gray-600);
    position: relative;
    padding-left: var(--space-lg);
}

.about-card li::before {
    content: '✓';
        position: absolute;
        left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
        text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.author-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.author-rating {
        display: flex;
    gap: 2px;
}

.author-rating i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.testimonial-controls {
        display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--gray-600);
}

.testimonial-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-sm);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.partners-slider {
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: var(--space-xl);
    animation: scroll 30s linear infinite;
    width: calc(200% + var(--space-xl));
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info .section-tag {
    margin-bottom: var(--space-md);
}

.contact-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.contact-text p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.contact-text a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== FORM STYLES ===== */
.form {
    background: var(--gray-50);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

/* ===== FOOTER ===== */
.footer { 
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
        text-decoration: none; 
    transition: all var(--transition-normal);
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: var(--gray-300);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-contact i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--gray-400);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
        height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
        display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    /* Fix mobile width issues */
    html, body {
    width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        width: 100%;
        max-width: 100vw;
        padding: 0 var(--space-md);
        margin: 0;
    }
    
    .nav-container {
        padding: 0 var(--space-md);
        width: 100%;
        max-width: 100vw;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
    left: -100%;
    width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-2xl);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: var(--z-modal);
    }
    
    .nav-menu.active {
        left: 0;
}

    .nav-link {
        font-size: 1.1rem;
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 100vh;
        padding: var(--space-xl) 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
        padding: 0 var(--space-md);
        width: 100%;
        max-width: 100vw;
        margin: 0;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-description {
    font-size: 1.1rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: var(--space-md);
    width: 100%;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
    justify-content: center;
    }
    
    .hero-card {
        transform: none;
        margin: 0 auto;
    }
    
    .card-image {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 var(--space-sm);
    }
    
    .products-grid {
        display: flex;
        overflow-x: auto;
        gap: var(--space-lg);
        padding: 0 var(--space-md);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .products-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .products-grid::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 2px;
    }
    
    .products-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .product-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
        margin: 0;
    }
    
    .product-categories {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .category-btn {
    width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .stat-item {
        padding: var(--space-md);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .about-card {
        position: static;
        margin-top: var(--space-lg);
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: var(--space-lg);
        margin: 0 var(--space-sm);
    }
    
    .testimonial-text {
    font-size: 1.1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .testimonial-controls {
        gap: var(--space-md);
    }
    
    .testimonial-btn {
        width: 45px;
        height: 45px;
    }
    
    .partners-track {
        gap: var(--space-lg);
    }
    
    .partner-logo {
        width: 120px;
        height: 60px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 var(--space-sm);
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 0 var(--space-sm);
    }
    
    .form {
        padding: var(--space-lg);
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
        width: 100%;
        max-width: 100%;
    }
    
    .contact-details {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-item {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .footer-social {
    justify-content: center;
}

    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    /* Fix small mobile width issues */
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 var(--space-sm);
    width: 100%;
        max-width: 100vw;
        margin: 0;
    }
    
    /* Ensure all sections don't overflow */
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 0 var(--space-sm);
        height: 70px;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    .hero {
        min-height: 100vh;
        padding: var(--space-lg) 0;
    }
    
    .hero-content {
        padding: 0 var(--space-sm);
        gap: var(--space-xl);
        width: 100%;
        max-width: 100vw;
        margin: 0;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-card {
    width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-actions {
        flex-direction: column;
    align-items: center;
        gap: var(--space-sm);
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
    width: 100%;
        max-width: 280px;
        padding: var(--space-sm) var(--space-md);
        font-size: 1rem;
    }
    
    .card-image {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .section-description {
    font-size: 0.95rem;
        padding: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .stat-item {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .product-categories {
        flex-direction: column;
    align-items: center;
        gap: var(--space-xs);
    }
    
    .category-btn {
        width: 100%;
        max-width: 200px;
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
    
    .products-grid {
        display: flex;
        overflow-x: auto;
        gap: var(--space-md);
        padding: 0 var(--space-sm);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .products-grid::-webkit-scrollbar {
        height: 3px;
    }
    
    .products-grid::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 2px;
    }
    
    .products-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .product-card {
        flex: 0 0 250px;
        scroll-snap-align: start;
        margin: 0;
        width: auto;
        max-width: none;
    }
    
    .product-content {
        padding: var(--space-md);
    }
    
    .product-title {
    font-size: 1.1rem;
}

    .product-description {
        font-size: 0.9rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .feature-item {
        padding: var(--space-sm);
        text-align: center;
    }
    
    .testimonial-card {
        padding: var(--space-md);
        margin: 0;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .testimonial-controls {
        gap: var(--space-sm);
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
    }
    
    .partner-logo {
        width: 100px;
        height: 50px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
        width: 100%;
        max-width: 100%;
        margin: 0 auto var(--space-md);
        padding: 0;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto;
    }
    
    .contact-text {
    width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .contact-text h4 {
        text-align: center;
        margin-bottom: var(--space-xs);
    }
    
    .contact-text p {
        text-align: center;
    }
    
    .form {
        padding: var(--space-md);
    width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .form-input {
        padding: var(--space-sm);
        font-size: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group {
        width: 100%;
        max-width: 100%;
        margin: 0 0 var(--space-md);
    }
    
    .social-links {
    justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        gap: var(--space-sm);
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .form-input {
        padding: var(--space-sm);
        font-size: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Additional mobile contact section fixes */
    .contact-section {
        padding: var(--space-2xl) 0;
    }
    
    .contact-section .section-header {
        margin-bottom: var(--space-xl);
        padding: 0 var(--space-sm);
    }
    
    .contact-section .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .contact-section .section-description {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .contact-details {
        margin-bottom: var(--space-lg);
    width: 100%;
        max-width: 100%;
    }
    
    .contact-info .section-tag {
        margin-bottom: var(--space-sm);
    }
    
    .contact-info .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-sm);
    }
    
    .contact-info .section-description {
    font-size: 0.95rem;
        margin-bottom: var(--space-lg);
    }
    
    .social-links {
    justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer {
        padding: var(--space-2xl) 0 var(--space-md);
    }
    
    .footer-content {
        gap: var(--space-lg);
    }
    
    .footer-section h3 {
    font-size: 1.1rem;
}

    .footer-links {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .back-to-top {
        bottom: var(--space-sm);
        right: var(--space-sm);
        width: 40px;
        height: 40px;
    }
    
    .floating-element {
        width: 60px;
        height: 60px;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
    opacity: 0;
    transform: scale(0.8);
}
    to {
    opacity: 1;
    transform: scale(1);
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
