:root {
    --primary-blue: #0052cc;
    --whatsapp-green: #25d366;
    --whatsapp-hover: #1ebd56;

    --light-blue-bg: #eaf3fc;

    --text-dark: #0f172a;
    --text-muted: #64748b;

    --border-color: #cbd5e1;
}


/* =====================================================
   GLOBAL RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-blue-bg);
    color: var(--text-dark);
    min-height: 100vh;
    padding-top: 75px;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    overflow: visible;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.70);
    box-shadow: 0 8px 30px rgba(40, 50, 90, 0.08);
    box-sizing: border-box;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.60);
    border-radius: 18px;
    box-shadow:
        0 8px 25px rgba(40, 50, 90, 0.07),
        inset 0 1px 1px rgba(255, 255, 255, 0.80);
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    display: block;
    color: #536078;
    text-decoration: none;
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 5px 15px rgba(70, 80, 120, 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.90);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.80);
    box-shadow:
        0 5px 15px rgba(70, 80, 120, 0.10),
        inset 0 1px 2px rgba(255, 255, 255, 0.90);
}

.nav-links .nav-cta {
    color: #17213b !important;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.90),
        rgba(240,243,255,0.70)
    ) !important;
    border: 1px solid rgba(255,255,255,0.90) !important;
    border-radius: 13px;
    box-shadow:
        0 6px 18px rgba(99,91,255,0.16),
        inset 0 1px 2px rgba(255,255,255,1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-links .nav-cta:hover {
    color: #17213b !important;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.98),
        rgba(238,241,255,0.90)
    ) !important;
    transform: translateY(-2px);
    box-shadow:
        0 8px 22px rgba(99,91,255,0.22),
        inset 0 1px 2px rgba(255,255,255,1);
}

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.70);
    background: rgba(255,255,255,0.85);
    color: #17213b;
    font-size: 26px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(40,50,90,0.08);
    transition: all 0.3s ease;
}

.menu-btn i {
    pointer-events: none;
}

.menu-btn:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-1px);
}


/* =====================================================
   HERO SECTION
===================================================== */

.hero-section {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.badge-pill {
    display: inline-block;
    background: rgba(0, 82, 204, 0.12);
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 800;
    padding: 8px 32px;
    border-radius: 30px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 15px;
}


/* =====================================================
   MAIN CONTAINER
===================================================== */

.main-container {
    width: 82%;
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}


/* =====================================================
   LEFT COLUMN
===================================================== */

.left-col h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.left-col > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 35px;
}


/* =====================================================
   CONTACT INFORMATION
===================================================== */

.info-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item i {
    color: var(--primary-blue);
    font-size: 18px;
    margin-top: 3px;
    min-width: 20px;
}

.info-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-item p,
.info-item a {
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.5;
    display: block;
}

.info-item a:hover {
    color: var(--primary-blue);
}


/* =====================================================
   FORM
===================================================== */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}


/* =====================================================
   BUTTONS
===================================================== */

.button-group {
    display: flex;
    gap: 15px;
}

.btn-submit {
    flex: 1;
    background: var(--primary-blue);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s ease;
}

.btn-submit:hover {
    background: #003f9e;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.btn-whatsapp {
    flex: 1;
    background: var(--whatsapp-green);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s ease;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
}


/* =====================================================
   ALERTS
===================================================== */

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    word-break: break-word;
}


/* =========================================================
   FOOTER
========================================================= */

footer.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 80px 7% 25px;
    color: white;
    background-image:
        radial-gradient(
            rgba(255,255,255,.13) 1px,
            transparent 1px
        ),
        linear-gradient(
            135deg,
            #0069c9,
            #008fe8 45%,
            #0056a8
        );
    background-size: 30px 30px, auto;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    top: -230px;
    left: -130px;
    background: rgba(0,238,255,.35);
    border-radius: 50%;
    filter: blur(55px);
    z-index: -1;
    animation: footerBlob1 8s ease-in-out infinite;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    right: -160px;
    bottom: -190px;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: footerBlob2 10s ease-in-out infinite;
}

.footer-grid {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.footer-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.19),
        rgba(255,255,255,.06)
    );
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 20px 45px rgba(0,0,0,.12),
        inset 0 1px 1px rgba(255,255,255,.35);
    transition: .4s ease;
}

.footer-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.25),
        rgba(255,255,255,.09)
    );
    box-shadow: 0 25px 60px rgba(0,0,0,.18);
}

.footer-brand img {
    height: 52px;
    width: auto;
    padding: 5px;
    margin-bottom: 15px;
    background: rgba(255,255,255,.95);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    transition: .4s ease;
}

.footer-brand img:hover {
    transform: translateY(-5px) rotate(-2deg) scale(1.05);
}

.footer-brand p {
    color: rgba(255,255,255,.82);
    line-height: 1.8;
    max-width: 330px;
    margin-top: 5px;
    font-size: 14px;
}

.site-footer h3 {
    margin-bottom: 22px;
    font-size: 17px;
    color: white;
    position: relative;
}

.site-footer h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 9px;
    border-radius: 20px;
    background: white;
    transition: .4s ease;
}

.footer-card:hover h3::after {
    width: 62px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 13px;
}

.site-footer li a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: 14px;
    transition: .3s ease;
}

.site-footer li a:hover {
    color: white;
    padding-left: 7px;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.socials a {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px);
    transition: .4s ease;
}

.socials a:hover {
    transform: translateY(-7px) rotate(5deg);
    background: white;
    color: #0074c8;
}

.copyright {
    max-width: 1250px;
    margin: 38px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.20);
    text-align: center;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    position: relative;
    z-index: 2;
}

.copyright strong {
    color: white;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes footerBlob1 {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }
    50% {
        transform: translate(50px,40px) scale(1.1);
    }
}

@keyframes footerBlob2 {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }
    50% {
        transform: translate(-40px,-30px) scale(1.08);
    }
}


/* =========================================================
   RESPONSIVE MEDIA QUERIES
========================================================= */

/* Desktop / Laptop (Max 1100px) */
@media (max-width: 1100px) {
    .nav-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding: 9px 8px;
        font-size: 12px;
    }

    .logo img {
        height: 42px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet & Mobile Menu Toggle (Max 900px) */
@media (max-width: 900px) {
    .nav-links {
        display: none !important;
    }

    .menu-btn {
        display: flex !important;
    }

    .nav-links.show {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        margin-top: 8px;
        background: #ffffff !important;
        border: 1px solid var(--border-color);
        border-radius: 18px;
        box-shadow: 0 15px 40px rgba(30,40,80,0.2);
        box-sizing: border-box;
        z-index: 999999;
    }

    .nav-links.show li {
        width: 100%;
    }

    .nav-links.show a {
        display: block;
        width: 100%;
        padding: 12px 15px;
        font-size: 15px;
        color: #17213b;
        border-radius: 11px;
        box-sizing: border-box;
    }

    .nav-links.show a:hover {
        background: var(--light-blue-bg);
    }

    .nav-links.show .nav-cta {
        text-align: center;
        margin-top: 5px;
        background: var(--primary-blue) !important;
        color: #ffffff !important;
    }

    .hero-section {
        margin-top: 80px;
        margin-bottom: 35px;
    }

    .badge-pill {
        font-size: 20px;
        padding: 8px 22px;
    }

    .hero-section h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 14px;
    }

    .main-container {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-submit,
    .btn-whatsapp {
        width: 100%;
    }

    /* Fixed Footer layout for tablet/mobile: stacks cards vertically */
    footer.site-footer {
        padding: 50px 5% 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-card {
        padding: 22px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

/* Mobile Screens (Max 600px) */
@media (max-width: 600px) {
    .nav-container {
        padding: 12px 16px;
        min-height: 65px;
    }

    .logo img {
        height: 38px;
        max-width: 155px;
    }

    .menu-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .nav-links.show {
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
        padding: 10px;
    }
}

/* Mobile Screens (Max 500px) */
@media (max-width: 500px) {
    .hero-section {
        padding: 0 15px;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .badge-pill {
        font-size: 17px;
        letter-spacing: 1px;
    }

    .main-container {
        width: 92%;
    }

    .left-col h2 {
        font-size: 24px;
    }
}

/* Small Phones (Max 380px) */
@media (max-width: 380px) {
    .nav-container {
        padding: 10px 12px;
    }

    .logo img {
        height: 34px;
        max-width: 140px;
    }

    .menu-btn {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .nav-links.show a {
        font-size: 14px;
        padding: 11px 13px;
    }

    footer.site-footer {
        padding: 40px 15px 20px;
    }

    .footer-card {
        padding: 18px 15px;
    }

    .socials {
        flex-wrap: wrap;
        gap: 8px;
    }

    .socials a {
        width: 38px;
        height: 38px;
    }
}
