:root {
    /* Color Palette */
    --color-primary: #0066CC;
    /* Strong Blue */
    --color-primary-light: #3399FF;
    /* Light Blue */
    --color-primary-dark: #004C99;
    /* Darker Blue for hover */
    --color-accent: #E0F2FE;
    /* Very light blue for backgrounds */
    --color-text: #1E293B;
    /* Dark Blue-Grey */
    --color-text-light: #64748B;
    /* Lighter Blue-Grey */
    --color-white: #FFFFFF;
    --color-bg: #FAFAFA;
    /* Almost white background */
    --color-border: #E2E8F0;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    transition: padding 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--color-accent) 100%);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content p {
    font-size: 1.25rem;
    margin: 24px 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 102, 204, 0.1), 0 10px 10px -5px rgba(0, 102, 204, 0.04);
    border-color: rgba(51, 153, 255, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover::before {
    opacity: 1;
}

.card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 15px rgba(0, 102, 204, 0.2));
    transition: transform 0.4s ease;
    border-radius: 20px;
}

.card:hover img {
    transform: scale(1.05) rotate(2deg);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Scope */
.bg-light {
    position: relative;
    background-color: transparent;
}

.bg-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(51, 153, 255, 0.05) 0%, rgba(250, 250, 250, 0) 70%);
    z-index: -1;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.scope-item {
    padding: 50px 30px;
    background: var(--color-white);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.scope-item:hover {
    border-color: var(--color-primary-light);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.1);
    transform: translateY(-5px);
}

.scope-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
    border-radius: 20px;
}

.scope-item:hover img {
    transform: scale(1.1);
}

.scope-item h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.scope-item p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Advantages */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.advantage {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check {
    width: 32px;
    height: 32px;
    background-color: var(--color-primary-light);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Contact */
.contact-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 100px 0;
    margin-top: 50px;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.contact-box h2,
.contact-box p {
    color: var(--color-white);
}

.contact-box p {
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-form {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--color-white);
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a:hover {
    color: var(--color-primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .scope-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    margin: 15% auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.3s ease;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.modal h2 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close-modal:hover {
    color: var(--color-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Error Message */
.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 15px;
    display: none;
    text-align: center;
    font-weight: 500;
}

/* Legal Text */
.recaptcha-legal {
    font-size: 0.75rem;
    color: #4b5563;
    text-align: center;
    margin-top: 25px;
    line-height: 1.4;
}

.recaptcha-legal a {
    text-decoration: underline;
    color: #4b5563;
}

.recaptcha-legal a:hover {
    color: #2563eb;
}
/* FORCE VISIBILITY */
.contact-box .contact-form .recaptcha-legal {
    color: #4b5563 !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 30px !important;
}
.contact-box .contact-form .recaptcha-legal a {
    color: #4b5563 !important;
}


/* ANIMATIONS */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Staggered delays for grids */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
