/* CSS VARIABLES FOR EASY THEMING */
:root {
    --primary: #003366;
    --secondary: #ffffff;
    --accent: #3399cc;
    --accent-dark: #333366;
    --accent-soft: #99ccff;
    --text-dark: #102a44;
    --text-light: #627897;
    --surface: #ffffff;
    --surface-soft: #f2f8ff;
    --white:#ffffff;
    --shadow: 0 24px 80px rgba(0, 51, 102, 0.16);
    --font-main: 'Inter', sans-serif;
}

html {
    font-size: 100%;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- FIBER (SHOOTING LINES) ANIMATIONS --- */
#fibers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.fiber {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform-origin: left center;
    transform: rotate(var(--angle)) translateX(-100vw);
    animation: shoot linear infinite;
}

@keyframes shoot {
    0% {
        transform: rotate(var(--angle)) translateX(-100vw);
    }

    100% {
        transform: rotate(var(--angle)) translateX(150vw);
    }
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 6.25rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.9375rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3.75rem;
    font-size: 1.1rem;
}

/* HEADER & NAVIGATION */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(51, 51, 102, 0.12);
    backdrop-filter: blur(14px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.0625rem;
}

.menu-icon {
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img:hover,
.menu-icon:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 1.875rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

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

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-dark);
    color: var(--white);
    box-shadow: 0 1.125rem 2.125rem rgba(51, 153, 204, 0.24);
}

.btn-primary:hover {
    transform: translateY(-0.0625rem);
    background-color: #2b87b8;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.28);
}

.btn-whatsapp,
.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

/* HERO SECTION */
.hero {
    margin-top: 5rem;
    position: relative;
    background: linear-gradient(135deg, #6aaeeb, #3e82c9);
    color: var(--white);
    padding: 7.5rem 0 5rem;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy {
    max-width: 40rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.125rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    margin-bottom: 1.625rem;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.02;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.hero h1 span {
    color: var(--accent-dark);
}

.hero p {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 37.5rem;
    margin-bottom: 2.375rem;
}

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

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(10rem, 1fr));
    gap: 1rem;
    justify-items: center;
}

.trust-badges span {
    background: rgba(255, 255, 255, 0.14);
    padding: 1rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.94);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 32.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-img {
    width: 100%;
    display: block;
    min-height: 26.25rem;
    object-fit: cover;
}

.hero-card-info {
    padding: 1.75rem;
}

.hero-card-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.875rem;
    color: var(--white);
}

.hero-card-info p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

/* SERVICES SECTION */
.services {
    background-color: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.875rem;
}

.service-card {
    background: var(--surface);
    padding: 2.375rem;
    border-radius: 1.625rem;
    border: 1px solid rgba(51, 153, 204, 0.18);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-0.375rem);
    box-shadow: 0 1.75rem 3.75rem rgba(0, 51, 102, 0.12);
}

.service-icon {
    width: 4.5rem;
    height: 4.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.375rem;
    background: rgba(51, 153, 204, 0.14);
    color: var(--accent-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.8;
}

/* CONTACT SECTION */
.contact {
    background-color: #edf7f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.75rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.contact-info p {
    margin-bottom: 1.875rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.12);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d4e8db;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    background: var(--surface-soft);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(34, 197, 94, 0.12);
}

textarea.form-control {
    min-height: 8.75rem;
    resize: vertical;
}

.btn-submit {
    background-color: var(--accent);
    color: var(--white);
    padding: 0.875rem 1.125rem;
    border-radius: 999px;
}

.form-buttons {
    display: flex;
    gap: 0.9375rem;
    margin-top: 0.625rem;
}

.form-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-status {
    margin-top: 1rem;
    min-height: 1.5rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.form-status.error {
    color: #b91c1c;
}

.form-status.success {
    color: #166534;
}

/* FOOTER */
footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.95rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-badges {
        grid-template-columns: repeat(2, minmax(9rem, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 5.625rem 0 3.75rem;
    }

    section {
        padding: 4.375rem 0;
    }

    .section-title {
        font-size: 2.3rem;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .form-buttons {
        flex-direction: column;
    }
}
