:root {
    --primary-red: #E31E24;
    --navy-blue: #1A315E;
    --navy-dark: #0F1D38;
    --navy-light: #2A4B8C;
    --text-dark: #111827;
    --text-light: #4B5563;
    --bg-white: #FFFFFF;
    --bg-light: #F3F4F6;
    --accent: #E31E24;
    --container-max-width: 1200px;
    --transition: all 0.4s 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;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.text-primary {
    color: var(--primary-red);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.25rem 0;
    background: rgba(255, 255, 255, 0.98);
}

header.scrolled .logo img {
    height: 70px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    transition: var(--transition);
    mix-blend-mode: multiply;
    filter: brightness(1.1) contrast(1.1);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navy-light);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-color: #2c4664;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content {
    background: rgba(255, 255, 255, 0.6);
    padding: 4rem 2rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(26, 49, 94, 0.05);
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.target-audiences {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.audience-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    max-width: 300px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.audience-card:hover {
    transform: translateY(-8px);
    border-bottom: 4px solid var(--navy-blue);
    box-shadow: 0 20px 40px rgba(26, 49, 94, 0.1);
}

.audience-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    color: var(--primary-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
}

.section-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.img-fluid {
    width: 100%;
    height: auto;
}

.rounded {
    border-radius: 20px;
}

.shadow {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.card-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary-red);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Differentials */
.differentials {
    background-color: var(--bg-light);
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--navy-light);
    transform: translateY(-3px);
}

/* Mobile Adjustments */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .target-audiences {
        flex-direction: column;
        align-items: center;
    }

    .section-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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



    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 2rem;
        gap: 2rem;
        box-shadow: none;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background: var(--primary-blue);
        border-radius: 3px;
        transition: var(--transition);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-bubble {
    background: white;
    color: var(--primary-blue);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.whatsapp-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.whatsapp-button:hover .whatsapp-icon {
    transform: scale(1.1);
}

.whatsapp-button:hover .whatsapp-bubble {
    transform: translateX(-5px);
}

@media (max-width: 600px) {
    .whatsapp-bubble {
        display: none;
    }
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-link:hover {
    color: var(--navy-light);
}