/* =========================================
   VARIABLES & BASE
   ========================================= */
:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --accent: #dc2626;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--gray);
    font-size: 18px;
}

.gray-bg {
    background-color: var(--light);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover i {
    transform: translateX(5px);
}

.btn-text i {
    transition: var(--transition);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--white);
    height: 70px;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-accent {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
}

.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

.btn-nav {
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-toggle {
    color: var(--dark);
}

/* =========================================
   HERO
   ========================================= */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--white);
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--secondary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.service-card p {
    color: var(--gray);
}

/* =========================================
   PRODUCTS PREVIEW
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-category-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-category-card:hover {
    box-shadow: var(--shadow-lg);
}

.category-img {
    height: 240px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-content {
    padding: 30px;
}

.category-content h3 {
    margin-bottom: 12px;
}

.category-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* =========================================
   ABOUT
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    font-size: 32px;
    font-weight: 800;
}

.experience-badge .text {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

.about-list {
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.about-list i {
    color: var(--secondary);
}

/* =========================================
   STATS
   ========================================= */
.stats {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* =========================================
   CONTACT CTA
   ========================================= */
.contact-cta {
    padding-bottom: 100px;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.cta-content {
    max-width: 600px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 20px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info .logo {
    color: var(--white);
    display: inline-block;
    margin-bottom: 24px;
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: var(--secondary);
}

.footer-links-col h4, .footer-contact h4 {
    margin-bottom: 24px;
    font-size: 20px;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col a {
    opacity: 0.7;
}

.footer-links-col a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-contact p {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 14px;
}

/* =========================================
   WHATSAPP & FLOATING
   ========================================= */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .navbar {
        background-color: var(--white);
    }
    
    .logo, .navbar.scrolled .logo {
        color: var(--dark);
    }
    
    .mobile-menu-toggle {
        display: block;
        color: var(--dark);
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        color: var(--dark) !important;
        font-size: 20px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
}
