/* ============================================
   YOG GLOBAL EXIM - MAIN STYLESHEET
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --accent-red: #D32F2F;
    --accent-blue: #1565C0;
    --accent-gold: #F9A825;
    --dark: #0f1923;
    --dark-2: #1a2633;
    --dark-3: #253341;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

/* ---------- Text Utilities ---------- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--gradient);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%);
    transition: var(--transition);
}

.btn:hover::after {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn i {
    transition: transform var(--transition);
}

.btn:hover i {
    transform: translateX(4px);
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

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

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

.preloader-logo {
    width: 100px;
    height: 100px;
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: 24px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    animation: preloaderBar 1.8s ease-in-out forwards;
}

@keyframes preloaderBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

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

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 36px;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    z-index: 10;
    margin-right: auto;
    text-decoration: none;
}

.nav-logo img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-logo img {
    width: 50px;
    height: 50px;
}

.navbar.scrolled .nav-logo span {
    font-size: 1.4rem;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    transition: var(--transition);
    letter-spacing: 0.01em;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(46, 125, 50, 0.07);
}

.nav-cta {
    padding: 10px 26px;
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 16px;
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.25);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--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);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 100px 20px 60px;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    will-change: opacity, transform;
}

.hero-slideshow .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slideshow-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(46, 125, 50, 0.15);
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-line {
    display: block;
}

.hero .text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-gold), var(--primary-light));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-scroll {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 22px; opacity: 0.3; }
}

/* ---------- Marquee Section ---------- */
.marquee-section {
    background: var(--gradient);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    padding-right: 48px;
}

.marquee-content span {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.marquee-content i {
    font-size: 0.8rem;
    opacity: 0.8;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- About Section ---------- */
.about {
    background: linear-gradient(180deg, #f0f7f1 0%, #ffffff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gradient);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
    z-index: 2;
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius);
    background: rgba(46, 125, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.about-feature:hover .feature-icon {
    background: var(--gradient);
    color: var(--white);
    transform: rotate(5deg);
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---------- Services Section ---------- */
.services {
    background: var(--off-white);
}

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

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

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

.service-card-bg {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-card-bg img {
    transform: scale(1.1);
}

.service-card-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--white), transparent);
}

.service-card-content {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-top: -54px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    transition: var(--transition);
}

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

.service-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 16px 0 10px;
    color: var(--dark);
}

.service-card-content > p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
}

.service-features li i {
    color: var(--primary);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ---------- Products Section ---------- */
.products {
    background: #f5f5f0;
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--text);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

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

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 35, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.product-info {
    padding: 18px;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

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

/* ---------- Process Section ---------- */
.process {
    background: var(--off-white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--accent-gold));
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.1);
}

.step-content {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
    transition: var(--transition);
}

.process-step:hover .step-content {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(46, 125, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.92rem;
    color: var(--text-light);
}

/* ---------- Stats Section ---------- */
.stats {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
}

.stats-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.92), rgba(27, 94, 32, 0.85));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: inline;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Why Choose Us ---------- */
.why-us {
    background: linear-gradient(180deg, #ffffff 0%, #eef3f0 50%, #ffffff 100%);
}

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

.why-card {
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

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

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 125, 50, 0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: rgba(46, 125, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-light);
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--off-white);
}

.testimonial-swiper {
    padding-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.testimonial-card > p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

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

.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.1);
    animation: floatCTA 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(249, 168, 37, 0.05);
    animation: floatCTA 10s ease-in-out infinite reverse;
}

@keyframes floatCTA {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact {
    background: #f4f6f5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--white);
    height: 100%;
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1rem;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-item p {
    font-size: 0.95rem;
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

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

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

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

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 60px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    color: var(--dark);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding: 40px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    border: none;
    background: var(--gradient);
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: whatsappPulse 2s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 33px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

/* ---------- Particle Styles ---------- */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.3;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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


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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        transition: var(--transition-slow);
        z-index: 9;
    }

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

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .timeline-line {
        left: 26px;
    }

    .step-number {
        width: 54px;
        min-width: 54px;
        height: 54px;
        font-size: 1rem;
    }

    .process-step {
        gap: 16px;
    }


    .hero {
        text-align: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

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

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

    .products-tabs {
        flex-direction: column;
    }

    .tab-btn {
        justify-content: center;
    }
}

/* ---------- Mobile Menu Overlay ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 8;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(46, 125, 50, 0.2);
    color: var(--primary-dark);
}

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

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ---------- Form Success State ---------- */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-success p {
    color: var(--text-muted);
}

/* ---------- Tilt Effect ---------- */
.tilt-element {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ---------- Image Lazy Load Blur ---------- */
img[data-src] {
    filter: blur(10px);
    transition: filter 0.5s;
}

img.loaded {
    filter: blur(0);
}
