/* ===== ROOT VARIABLES ===== */
:root {
    --color-emerald: #047857;
    --color-emerald-dark: #064e3b;
    --color-gold: #d4af37;
    --color-white: #ffffff;
    --color-light-gray: #f3f4f6;
    --color-gray: #6b7280;
    --color-dark-gray: #1f2937;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ===== TYPOGRAPHY ===== */
.text-white { color: white; }
.text-emerald-900 { color: var(--color-emerald-dark); }
.text-emerald-700 { color: var(--color-emerald); }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-600 { color: var(--color-gray); }
.text-emerald-100 { color: #d1fae5; }
.text-emerald-600 { color: #059669; }
.text-gold { color: var(--color-gold); }

/* ===== COLOR UTILITIES ===== */
.bg-white { background-color: white; }
.bg-emerald-50 { background-color: #f0fdf4; }
.bg-emerald-900 { background-color: var(--color-emerald-dark); }
.bg-gold { background-color: var(--color-gold); }
.bg-gradient-to-br {
    background-image: linear-gradient(135deg, var(--tw-gradient-stops));
}
.from-emerald-900 { --tw-gradient-from: var(--color-emerald-dark); }
.via-slate-900 { --tw-gradient-via: #0f172a; }
.to-emerald-800 { --tw-gradient-to: #115e59; }
.from-emerald-50 { --tw-gradient-from: #f0fdf4; }
.to-white { --tw-gradient-to: white; }
.from-white { --tw-gradient-from: white; }
.to-emerald-50 { --tw-gradient-to: #f0fdf4; }

/* ===== NAVBAR STYLING ===== */
header {
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--color-emerald-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-emerald));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-gold);
}

.logo-hover {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-hover:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(212, 175, 55, 0.3));
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.hidden {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 50%, #115e59 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%23064e3b"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-image img {
    filter: drop-shadow(0 20px 40px rgba(212, 175, 55, 0.2));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

/* ===== COUNTERS ===== */
.counter {
    font-size: 2.25rem;
    font-weight: 700;
}

/* ===== CTA BUTTONS ===== */
a[class*="px-8"] {
    transition: all 0.3s ease;
    cursor: pointer;
}

a[class*="px-8"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== ABOUT SECTION ===== */
.fade-in-left,
.fade-in-right {
    animation: fadeInUp 0.8s ease-out;
}

.about-highlight {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.8), rgba(240, 253, 244, 0.4));
    border-left: 4px solid var(--color-gold);
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.about-highlight:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    transform: translateX(5px);
}

.value-card {
    background: rgba(240, 253, 244, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(4, 120, 87, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    background: var(--color-white);
    border-color: var(--color-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

/* ===== FOUNDERS SECTION ===== */
.founder-card {
    transition: transform 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-10px);
}

.founder-card img {
    transition: transform 0.3s ease;
}

.founder-card:hover img {
    transform: scale(1.05);
}

.founder-card > div:last-child {
    transition: all 0.3s ease;
}

.founder-card:hover > div:last-child {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.25);
}

/* ===== PRODUCTS SECTION ===== */
.product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    transform: translateY(-10px);
}

/* ===== MARKET CARDS ===== */
.market-card {
    background: rgba(240, 253, 244, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(4, 120, 87, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.market-card:hover {
    background: white;
    border-color: var(--color-gold);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

/* ===== FEATURE BOXES ===== */
.feature-box {
    background: white;
    border: 2px solid #f0fdf4;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--color-gold);
    background: rgba(240, 253, 244, 0.8);
    transform: translateY(-5px);
}

/* ===== INFRASTRUCTURE SECTION ===== */
.infrastructure-item {
    transition: transform 0.3s ease;
}

.infrastructure-item:hover {
    transform: translateY(-10px);
}

.process-step {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.8), rgba(240, 253, 244, 0.4));
    border: 1px solid rgba(4, 120, 87, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    background: white;
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-emerald-dark));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* ===== CERTIFICATION CARDS ===== */
.cert-card {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    background: rgba(240, 253, 244, 0.5);
    transform: translateY(-5px);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(4, 120, 87, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: white;
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    transform: translateY(-10px);
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    transform: translateY(-10px);
}

/* ===== FAQ SECTION ===== */
.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: left;
}

.faq-header:hover {
    background: rgba(240, 253, 244, 0.5);
}

.faq-item.active .faq-header {
    background: rgba(240, 253, 244, 0.8);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    color: var(--color-emerald);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.faq-content.show {
    max-height: 500px;
}

/* ===== CONTACT SECTION ===== */
.contact-box {
    background: white;
    border: 2px solid #f0fdf4;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-box:hover {
    border-color: var(--color-gold);
    background: rgba(240, 253, 244, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

form {
    animation: fadeInUp 0.8s ease-out;
}

input, select, textarea {
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    background-color: rgba(240, 253, 244, 0.8) !important;
}

input:valid, select:valid, textarea:valid {
    background-image: linear-gradient(to right, white, rgba(212, 175, 55, 0.05));
}

button[type="submit"] {
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(4, 120, 87, 0.3);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #20c95a);
    border-radius: 50%;
    color: white;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 40px rgba(37, 211, 102, 0.8);
    }
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--color-emerald-dark), var(--color-emerald-dark));
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-gold);
}

/* ===== GENERAL ANIMATIONS ===== */
.hidden {
    display: none !important;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        padding: 1rem;
    }

    .value-card,
    .market-card,
    .founder-card {
        padding: 1.5rem;
    }

    .contact-box {
        padding: 1.5rem;
    }

    .faq-header {
        padding: 1rem;
    }

    .faq-content {
        padding: 0 1rem 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 0.75rem;
    }

    .value-card {
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ===== UTILITY CLASSES ===== */
.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-2xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border { border: 1px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.transition { transition: all 0.3s ease; }

.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }

.inline-block { display: inline-block; }
.block { display: block; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:bg-emerald-50:hover { background-color: #f0fdf4; }
.hover\:bg-emerald-800:hover { background-color: #115e59; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:text-emerald-900:hover { color: var(--color-emerald-dark); }
.hover\:text-emerald-800:hover { color: #115e59; }
.hover\:text-gold:hover { color: var(--color-gold); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* Sticky positioning for header */
.sticky { position: sticky; }
.top-0 { top: 0; }

/* Backdrop blur effect */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}

/* Text balance for better typography */
.text-pretty {
    text-wrap: pretty;
}

.text-balance {
    text-wrap: balance;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
}
