/* ============================================
   GPS RICE MILL - Premium Rice Brand Website
   Modern, Animated, Responsive Design
   ============================================ */

/* CSS Variables */
:root {
    --primary: #2d5a27;
    --primary-light: #4a7c43;
    --primary-dark: #1a3d17;
    --secondary: #c9a84c;
    --secondary-light: #e0c16e;
    --accent: #8b4513;
    --accent-light: #a0522d;
    --dark: #1a1a1a;
    --dark-brown: #3d2b1f;
    --light: #f8f6f0;
    --cream: #faf8f3;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-muted: #999999;
    --green: #27ae60;
    --green-light: #2ecc71;
    --red: #e74c3c;
    --red-light: #ff6b6b;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(201, 168, 76, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.rice-grain-loader {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.rice-grain-loader .grain {
    width: 24px;
    height: 28px;
    background: transparent;
    animation: grainBounce 1s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rice-grain-loader .grain::before {
    content: "\1F33E";
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(139, 69, 19, 0.18));
}

.rice-grain-loader .grain:nth-child(2) { animation-delay: 0.1s; }
.rice-grain-loader .grain:nth-child(3) { animation-delay: 0.2s; }
.rice-grain-loader .grain:nth-child(4) { animation-delay: 0.3s; }
.rice-grain-loader .grain:nth-child(5) { animation-delay: 0.4s; }

@keyframes grainBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 3px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-medium);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

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

.logo-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    
}
.logo-icon img {
    width: 200px;
    /*height: 80px;*/
    margin-bottom: -5px;
    max-width: 100%;
}

.gps-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.rice-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--secondary);
    text-transform: uppercase;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

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

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

.nav-link:hover {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   FLOATING CTA BUTTONS
   ============================================ */
.floating-cta-buttons {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition-fast);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.shopping-cart {
    background: #ffd700;
    color: #333;
}

.shopping-cart:hover {
    background: #ffed4e;
}

.phone {
    background: #dc3545;
}

.phone:hover {
    background: #e74c3c;
}

.whatsapp {
    background: #25d366;
}

.whatsapp:hover {
    background: #2ecc71;
}

.facebook {
    background: #1877f2;
}

.facebook:hover {
    background: #0a66c2;
}

.youtube {
    background: #ff0000;
}

.youtube:hover {
    background: #cc0000;
}

.instagram {
    background: #a855f7;
}

.instagram:hover {
    background: #9333ea;
}

.desktop-model-fixed {
    position: absolute;
    right: clamp(105px, 8vw, 150px);
    bottom: 0;
    width: clamp(280px, 23vw, 410px);
    height: calc(100% - 200px);
    z-index: 6;
    pointer-events: none;
    display: block;
    overflow: visible;
}

.desktop-model-fixed img {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    filter: drop-shadow(0 18px 28px rgba(26, 61, 23, 0.26));
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3d17 0%, #2d5a27 50%, #4a7c43 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./images/slide-1.svg') center/cover;
}
/*
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 61, 23, 0.85) 0%, rgba(45, 90, 39, 0.75) 50%, rgba(74, 124, 67, 0.7) 100%);
}
*/
/* Floating Rice Particles */
.floating-rice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.rice-particle {
    position: absolute;
    width: 22px;
    height: 26px;
    background: transparent;
    animation: floatRice linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rice-particle::before {
    content: "\1F33E";
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.45;
}

.rice-particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; }
.rice-particle:nth-child(2) { left: 20%; animation-duration: 18s; animation-delay: 2s; }
.rice-particle:nth-child(3) { left: 30%; animation-duration: 12s; animation-delay: 4s; }
.rice-particle:nth-child(4) { left: 40%; animation-duration: 20s; animation-delay: 1s; }
.rice-particle:nth-child(5) { left: 50%; animation-duration: 16s; animation-delay: 3s; }
.rice-particle:nth-child(6) { left: 60%; animation-duration: 14s; animation-delay: 5s; }
.rice-particle:nth-child(7) { left: 70%; animation-duration: 19s; animation-delay: 2s; }
.rice-particle:nth-child(8) { left: 80%; animation-duration: 17s; animation-delay: 4s; }
.rice-particle:nth-child(9) { left: 90%; animation-duration: 13s; animation-delay: 1s; }
.rice-particle:nth-child(10) { left: 95%; animation-duration: 21s; animation-delay: 3s; }

@keyframes floatRice {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-desktop-message {
    position: absolute;
    top: 52%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: block;
    max-width: min(460px, 34vw);
    padding: 22px 28px;
    border-left: 4px solid var(--secondary);
    color: #173413;
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 1.55vw, 1.85rem);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0;
    text-align: left;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
    background: rgba(250, 248, 243, 0.32);
    backdrop-filter: blur(2px);
    box-shadow: 0 18px 50px rgba(26, 61, 23, 0.14);
}

.hero-desktop-message span {
    display: inline-block;
    margin-top: 10px;
    color: #8b4513;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 0.9vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero-title {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.6s; }
.title-line:nth-child(3) { animation-delay: 0.9s; }

.title-line.highlight {
    color: var(--secondary);
    font-weight: 700;
    font-size: 3.2rem;
    text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInCenter {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px; /* Adjusted height for images */
    width: 100%;
    overflow: hidden; /* Hide images off-screen */
}



/* Hero Image Item Styles */
.hero-image-item {
    position: absolute;
    width: 400px; /* Increased width for larger images */
    max-width: 400px;
    height: auto;
    opacity: 0;
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(100vw, -50%); /* Start off-screen right, centered vertically */
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    z-index: 10;
}

.hero-image-item img {
    width: 100%; /* Use full width of container */
    height: 100%; /* Use full height of container */
    object-fit: contain; /* This prevents cropping - image will maintain aspect ratio */
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Animation classes controlled by JavaScript */
.hero-image-item.animate-in {
    opacity: 1;
    transform: translate(-50%, -50%); /* Move to center, remove scale */
}

.hero-image-item.animate-out {
    opacity: 0;
    transform: translate(-150%, -50%); /* Exit off-screen left, remove scale */
}

/* Responsive adjustments for hero-image-item */
@media (max-width: 1024px) {
    .desktop-model-fixed,
    .hero-desktop-message {
        display: none;
    }

    .hero-image-item {
        width: 350px; /* Increased size for tablets */
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        min-height: 300px; /* Increased container height for larger images */
    }
    .hero-image-item {
        width: 300px; /* Increased size for tablets */
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        min-height: 350px; /* Adjust container height */
    }
    .hero-image-item {
        width: 250px; /* Larger size for mobile */
        max-width: 250px;
    }
}

@media (max-width: 320px) {
    .hero-image-item {
        width: 200px; /* Minimum size for very small screens */
        max-width: 200px;
    }
}
@media (min-width: 1025px) {
    .hero-content {
        max-width: 1280px;
        padding-right: 300px;
    }

    .hero-text {
        min-width: 390px;
    }
}

/* Rice Bowl Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rice-bowl-container {
    position: relative;
    width: 340px;
    height: auto;
}

.rice-bowl {
    position: relative;
    width: 100%;
    height: auto;
    margin: 20px auto;
}

.rice-bowl img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform var(--transition-medium);
}

.rice-bowl:hover img {
    transform: scale(1.02);
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

.glow-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
}

@keyframes wheelScroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

.btn-glow {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.5), 0 4px 15px rgba(201, 168, 76, 0.3);
    animation: glowPulseBtn 2s ease-in-out infinite;
}

@keyframes glowPulseBtn {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.5), 0 4px 15px rgba(201, 168, 76, 0.3); }
    50% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.7), 0 4px 15px rgba(201, 168, 76, 0.3); }
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

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

.feature-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover .feature-shine {
    animation: shine 0.8s ease forwards;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) rotate(45deg); opacity: 0; }
}

.feature-icon {
    margin-bottom: 25px;
}

.icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
    transition: transform var(--transition-fast);
}

.feature-card:hover .icon-bg {
    transform: scale(1.1) rotate(5deg);
}

.icon-bg i {
    font-size: 2rem;
    color: var(--white);
}

.icon-bg.green {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.icon-bg.red {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.welcome::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-header {
    margin-bottom: 30px;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 2px;
    margin-top: 15px;
}

.section-header.center .title-underline {
    margin: 15px auto 0;
}

.welcome-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: justify;
}

.highlight-text {
    color: var(--primary);
    font-weight: 600;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Welcome Image */
.welcome-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.image-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    aspect-ratio: 3/4;
    max-width: 100%;
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-slow);
    background: var(--white);
}

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

.placeholder-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 15px;
}

.placeholder-img i {
    font-size: 4rem;
    opacity: 0.8;
}

.placeholder-img span {
    font-size: 1.2rem;
    font-weight: 500;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--secondary);
    border-radius: 20px;
    z-index: 1;
    animation: accentFloat 4s ease-in-out infinite;
}

@keyframes accentFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-badge i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.floating-badge span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* ============================================
   PRODUCTS PREVIEW
   ============================================ */
.products-preview {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.product-image {
    position: relative;
   /* height: 220px;*/
   width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d0 100%);
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-placeholder i {
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.product-card:hover .product-img-placeholder i {
    transform: scale(1.1);
    opacity: 1;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 61, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   PARALLAX CTA
   ============================================ */
.parallax-cta {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('./images/divback.png') center/cover fixed;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 61, 23, 0.85) 0%, rgba(45, 90, 39, 0.8) 100%);
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.parallax-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--cream);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    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); }
}

.testimonial-quote {
    margin-bottom: 25px;
}

.testimonial-quote i {
    font-size: 2.5rem;
    color: var(--secondary);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0.4;
}

.dot.active {
    background: var(--secondary);
    opacity: 1;
    transform: scale(1.2);
}

.dot:hover {
    opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-brown);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 80px 0 50px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 20px;
}

.footer-logo .gps-text {
    color: var(--white);
    font-size: 2rem;
}

.footer-logo .rice-text {
    color: var(--secondary);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
}

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

.footer-links ul li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    position: relative;
    padding-left: 0;
    white-space: nowrap;
    word-break: keep-all;
}

.footer-links ul li a::before {
    content: '->';
    margin-right: 8px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.footer-links ul li a:hover::before {
    opacity: 1;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom i {
    color: var(--red);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-fast);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 25px;
        transition: right var(--transition-medium);
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .image-main {
        aspect-ratio: 1/1;
    }

    .nav-link {
        color: var(--text-dark) !important;
        font-size: 1.1rem;
    }

    .floating-cta-buttons {
        right: 20px;
        gap: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .title-line {
        font-size: 2rem !important;
    }

    .title-line.highlight {
        font-size: 2.3rem !important;
    }

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

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

    .stats-row {
        flex-direction: column;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .parallax-content h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .title-line {
        font-size: 1.6rem !important;
    }

    .title-line.highlight {
        font-size: 1.8rem !important;
    }
}
