/* ========================================
   GOOGLE FONT
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;

    color: #0f172a;

    line-height: 1.6;
}


/* ========================================
   NAVBAR
======================================== */

nav {
    width: 100%;

    min-height: 82px;

    padding: 15px 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #0f172a;

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15);
}


/* LOGO */

.logo {
    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #2563eb;

    color: #ffffff;

    border-radius: 10px;

    font-size: 20px;

    font-weight: 800;

    box-shadow:
        0 5px 15px rgba(37, 99, 235, 0.3);
}


/* NAVIGATION */

nav ul {
    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;
}

nav ul li a {
    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #60a5fa;
}


/* ACTIVE LINK */

nav ul li a.active {
    color: #60a5fa;
}

nav ul li a.active::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 100%;

    height: 2px;

    background: #2563eb;

    border-radius: 5px;
}


/* ========================================
   CONTACT SECTION
======================================== */

.contact {
    width: 100%;

    min-height: calc(100vh - 82px);

    padding: 90px 8%;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f1f5f9 100%
        );
}


/* ========================================
   SECTION TITLE
======================================== */

.section-title {
    max-width: 750px;

    margin: 0 auto 60px;

    text-align: center;
}


.section-title span {
    display: inline-block;

    margin-bottom: 10px;

    color: #2563eb;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;
}


.section-title h1 {
    color: #0f172a;

    font-size: clamp(38px, 5vw, 52px);

    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 15px;
}


.section-title p {
    color: #64748b;

    font-size: 15px;

    line-height: 1.8;
}


/* ========================================
   CONTACT CONTAINER
======================================== */

.contact-container {
    width: 100%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 35px;

    align-items: stretch;
}


/* ========================================
   CONTACT INFO CARD
======================================== */

.contact-info {
    background: #ffffff;

    padding: 35px;

    border-radius: 20px;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.07);
}


/* ========================================
   INFO BOX
======================================== */

.info-box {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 18px 0;

    border-bottom: 1px solid #e2e8f0;
}


.info-box:first-child {
    padding-top: 0;
}


.info-box:last-of-type {
    border-bottom: none;
}


/* ICON */

.info-box .icon {
    flex-shrink: 0;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eff6ff;

    color: #2563eb;

    border-radius: 12px;

    font-size: 19px;
}


/* INFO HEADING */

.info-box h3 {
    color: #0f172a;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 4px;
}


/* INFO TEXT */

.info-box p,
.info-box a {
    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


.info-box a {
    text-decoration: none;

    transition: 0.3s;
}


.info-box a:hover {
    color: #2563eb;
}


/* ========================================
   GOOGLE MAP BUTTON
======================================== */

.map-btn {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 25px;

    padding: 14px 20px;

    background: #2563eb;

    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s ease;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.2);
}


.map-btn:hover {
    background: #1d4ed8;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.3);
}


/* ========================================
   QR CARD
======================================== */

.qr-card {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.07);
}


/* QR ICON */

.qr-icon {
    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;

    background: #eff6ff;

    color: #2563eb;

    border-radius: 12px;

    font-size: 22px;
}


/* QR TITLE */

.qr-card h2 {
    color: #0f172a;

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 8px;
}


/* QR DESCRIPTION */

.qr-card > p {
    max-width: 300px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 22px;
}


/* QR IMAGE */

.qr-image {
    padding: 10px;

    background: #ffffff;

    border: 2px solid #2563eb;

    border-radius: 14px;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.12);
}


.qr-image img {
    display: block;

    width: 220px;

    height: 220px;

    object-fit: contain;

    border-radius: 5px;
}


/* QR TEXT */

.qr-card h4 {
    margin-top: 18px;

    color: #0f172a;

    font-size: 14px;

    font-weight: 600;
}


/* ========================================
   FOOTER
======================================== */

footer {
    padding: 35px 20px;

    text-align: center;

    background: #0f172a;

    color: #ffffff;
}


footer h3 {
    color: #60a5fa;

    font-size: 20px;

    margin-bottom: 5px;
}


footer p {
    color: #cbd5e1;

    font-size: 13px;

    margin-bottom: 8px;
}


footer span {
    color: #94a3b8;

    font-size: 12px;
}


/* ========================================
   WHATSAPP FLOAT
======================================== */

.whatsapp-float {
    position: fixed;

    right: 20px;

    bottom: 20px;

    z-index: 99999;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    background: #25D366;

    color: #ffffff;

    border-radius: 50px;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2);

    transition: 0.3s ease;

    animation: whatsappPulse 2s infinite;
}


.whatsapp-float i {
    font-size: 23px;
}


.whatsapp-float:hover {
    background: #111827;

    color: #ffffff;

    transform: translateY(-4px);

    animation: none;
}


/* WHATSAPP ANIMATION */

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.55);
    }

    70% {
        box-shadow:
            0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0);
    }

}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    nav {
        padding-left: 5%;
        padding-right: 5%;
    }


    nav ul {
        gap: 18px;
    }


    .contact {
        padding-left: 5%;
        padding-right: 5%;
    }


    .contact-container {
        grid-template-columns: 1fr 1fr;

        gap: 25px;
    }


    .contact-info,
    .qr-card {
        padding: 28px;
    }


    .qr-image img {
        width: 190px;
        height: 190px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    /* NAVBAR */

    nav {
        min-height: auto;

        padding: 15px 20px;

        flex-direction: column;

        gap: 15px;
    }


    nav ul {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 10px 16px;
    }


    nav ul li a {
        font-size: 12px;
    }


    /* CONTACT */

    .contact {
        padding: 55px 18px;
    }


    /* TITLE */

    .section-title {
        margin-bottom: 40px;
    }


    .section-title span {
        font-size: 10px;

        letter-spacing: 2px;
    }


    .section-title h1 {
        font-size: 34px;
    }


    .section-title p {
        font-size: 14px;
    }


    /* CONTAINER */

    .contact-container {
        display: flex;

        flex-direction: column;

        gap: 20px;
    }


    /* INFO */

    .contact-info {
        width: 100%;

        padding: 25px 20px;

        border-radius: 16px;
    }


    .info-box {
        gap: 12px;

        padding: 16px 0;
    }


    .info-box .icon {
        width: 42px;

        height: 42px;

        font-size: 17px;
    }


    .info-box h3 {
        font-size: 17px;
    }


    .info-box p,
    .info-box a {
        font-size: 13px;

        word-break: break-word;
    }


    .map-btn {
        font-size: 13px;

        padding: 13px 15px;
    }


    /* QR */

    .qr-card {
        width: 100%;

        padding: 28px 20px;

        border-radius: 16px;
    }


    .qr-card h2 {
        font-size: 22px;
    }


    .qr-card > p {
        font-size: 13px;
    }


    .qr-image img {
        width: 190px;

        height: 190px;
    }


    /* FOOTER */

    footer {
        padding: 28px 15px;
    }


    footer h3 {
        font-size: 17px;
    }


    /* WHATSAPP */

    .whatsapp-float {
        right: 15px;

        bottom: 15px;

        width: 56px;

        height: 56px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }


    .whatsapp-float i {
        font-size: 27px;
    }


    .whatsapp-float span {
        display: none;
    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 400px) {

    .contact {
        padding: 45px 14px;
    }


    nav ul {
        gap: 8px 12px;
    }


    nav ul li a {
        font-size: 11px;
    }


    .section-title h1 {
        font-size: 30px;
    }


    .contact-info {
        padding: 22px 16px;
    }


    .info-box .icon {
        width: 38px;

        height: 38px;

        font-size: 15px;
    }


    .info-box h3 {
        font-size: 16px;
    }


    .info-box p,
    .info-box a {
        font-size: 12px;
    }


    .qr-image img {
        width: 170px;

        height: 170px;
    }

}