/* Reset & Base Variables */
:root {
    /* Color Palette */
    --primary-blue: #0A2540;
    --secondary-blue: #1A5F7A;
    --accent-blue: #00B4D8;
    --primary-green: #2E7D32;
    --accent-green: #32CD32;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Sizes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary-blue);
    line-height: 1.2;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Layout Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
}

.section-padding {
    padding: 5rem 0;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--light-bg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(50, 205, 50, 0.3);
}

.btn-primary:hover {
    background-color: #28a728;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.4);
}

.btn-secondary {
    background-color: rgba(10, 37, 64, 0.05);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: rgba(10, 37, 64, 0.1);
}

.btn-outline {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

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

/* Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

#logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 6rem;
    background-color: var(--light-bg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 180, 216, 0.2);
}

.blob-2 {
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(50, 205, 50, 0.15);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(50, 205, 50, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent-blue);
    position: relative;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.trust-item i {
    color: var(--accent-green);
    font-size: 1.25rem;
}

/* Hero Image Wrapper with Glassmorphism */
.hero-image-wrapper {
    position: relative;
}

.glass-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
    backdrop-filter: blur(10px);
}

.hero-img {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.fb-1 { top: 10%; left: -10%; }
.fb-2 { bottom: 15%; right: -5%; animation-delay: 2s; }

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.icon-box.green { background: rgba(50, 205, 50, 0.1); color: var(--accent-green); }
.icon-box.blue { background: rgba(0, 180, 216, 0.1); color: var(--accent-blue); }

.fb-text {
    display: flex;
    flex-direction: column;
}

.fb-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fb-text strong {
    font-size: 0.875rem;
    color: var(--primary-blue);
}

/* Sections Global */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.badge-accent {
    display: inline-block;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.feature-box h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--accent-blue);
}

.srv-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mx-blue { color: var(--accent-blue); }
.mx-green { color: var(--accent-green); }

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.srv-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.srv-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.srv-list li i {
    color: var(--accent-green);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.method:hover {
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.m-icon {
    width: 50px;
    height: 50px;
    background: rgba(10, 37, 64, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.m-icon.whatsapp-color {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.method span {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.method strong {
    color: var(--primary-blue);
    font-size: 1.125rem;
}

/* Form Styles */
.glass-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.glass-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.875rem;
}

input, textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-bg);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.form-note {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding-top: 5rem;
}

.logo-footer {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.logo-footer i { color: var(--accent-green); }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul a {
    color: rgba(255,255,255,0.7);
}

.footer ul a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover { color: var(--primary-blue); }

.modal-body p { margin-bottom: 1rem; }
.modal-body ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: disc; }
.modal-body li { margin-bottom: 0.5rem; color: var(--text-muted); }

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

/* Utility Classes for JS Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container, .contact-container, .services-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero { padding-top: 120px; text-align: center; }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-actions, .trust-indicators { justify-content: center; }
    .fb-1 { left: 0; top: 0; }
    .fb-2 { right: 0; bottom: 0; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand p { margin: 0 auto; }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    .form-row { grid-template-columns: 1fr; }
    .glass-form { padding: 2rem 1.5rem; }
}
