/* ===================================
   ROOT VARIABLES
=================================== */

:root{

    --bg-primary:#0a0f1c;
    --bg-secondary:#111827;

    --card-bg:#172033;
    --card-hover:#22304a;

    --primary:#3b82f6;
    --secondary:#06b6d4;

    --text:#f8fafc;
    --muted:#cbd5e1;

    --shadow:
    0 10px 30px rgba(0,0,0,.35);

    --glow:
    0 0 25px rgba(59,130,246,.25);

}

/* ===================================
   RESET
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg-primary);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.8;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.container{

    width:100%;
    max-width:1200px;

    margin:auto;

    padding-left:20px;
    padding-right:20px;
}

/* ===================================
   NAVBAR
=================================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 5%;

    background:rgba(10,15,28,.85);

    backdrop-filter:blur(15px);

    border-bottom:
    1px solid rgba(255,255,255,.08);

    z-index:1000;
}

.logo{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:700;
}

.logo i{

    color:var(--secondary);
}

.nav-links{

    display:flex;

    gap:30px;

    list-style:none;
}

.nav-links a{

    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{

    color:var(--secondary);
}

.menu-btn{

    display:none;

    cursor:pointer;

    font-size:1.5rem;
}

/* ===================================
   HERO
=================================== */

.contact-hero{

    min-height:75vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    position:relative;

    padding:120px 0;

    background:
    linear-gradient(
        135deg,
        #0a0f1c,
        #111827
    );
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(59,130,246,.15),
        transparent 40%
    );
}

.contact-hero .container{

    position:relative;

    z-index:2;
}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:30px;

    background:
    rgba(255,255,255,.08);

    margin-bottom:20px;
}

.contact-hero h1{

    font-size:
    clamp(2rem,5vw,4.5rem);

    line-height:1.2;

    margin-bottom:20px;
}

.contact-hero p{

    max-width:700px;

    margin:auto;

    color:var(--muted);
}

/* ===================================
   SECTION TITLE
=================================== */

.section-title{

    text-align:center;

    margin-bottom:60px;
}

.section-title span{

    color:var(--secondary);
}

.section-title h2{

    margin-top:10px;

    font-size:
    clamp(1.8rem,4vw,3rem);
}

/* ===================================
   CONTACT INFO
=================================== */

.contact-info-section{

    padding:100px 0;
}

.contact-info-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.info-card{

    background:var(--card-bg);

    padding:35px;

    border-radius:22px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.4s;
}

.info-card:hover{

    transform:translateY(-10px);

    background:var(--card-hover);

    box-shadow:var(--glow);
}

.info-card i{

    font-size:2.5rem;

    color:var(--secondary);

    margin-bottom:15px;
}

.info-btn{

    display:inline-block;

    margin-top:20px;

    padding:12px 24px;

    border-radius:50px;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    transition:.3s;
}

.info-btn:hover{

    transform:translateY(-4px);
}

/* ===================================
   CONTACT FORM
=================================== */

.contact-form-section{

    padding:100px 0;

    background:var(--bg-secondary);
}

.contact-grid{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:40px;
}

.form-wrapper,
.contact-details{

    background:var(--card-bg);

    padding:40px;

    border-radius:25px;

    box-shadow:var(--shadow);
}

.form-wrapper h2,
.contact-details h2{

    margin-bottom:25px;
}

.input-group{

    margin-bottom:20px;
}

.input-group input,
.input-group textarea{

    width:100%;

    border:none;

    outline:none;

    padding:16px;

    border-radius:12px;

    background:#0f172a;

    color:white;

    font-family:'Poppins',sans-serif;
}

.input-group textarea{

    resize:none;
}

.submit-btn{

    border:none;

    cursor:pointer;

    padding:14px 35px;

    border-radius:50px;

    color:white;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    transition:.3s;
}

.submit-btn:hover{

    transform:translateY(-4px);
}

.detail-item{

    display:flex;

    align-items:flex-start;

    gap:15px;

    margin-top:20px;
}

.detail-item i{

    color:var(--secondary);

    margin-top:5px;
}

/* ===================================
   MAP
=================================== */

.map-section{

    padding:100px 0;
}

.map-container{

    overflow:hidden;

    border-radius:25px;

    box-shadow:var(--shadow);
}

.map-container iframe{
    width:100%;
    min-height:280px;
    height:500px;
    border:0;
    display:block;
}

/* ===================================
   CTA
=================================== */

.cta-section{

    padding:100px 0;

    text-align:center;
}

.cta-section h2{

    font-size:
    clamp(2rem,4vw,3rem);
}

.cta-section p{

    max-width:700px;

    margin:20px auto 30px;
}

.cta-btn{

    display:inline-block;

    padding:15px 35px;

    border-radius:50px;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:var(--glow);

    transition:.3s;
}

.cta-btn:hover{

    transform:translateY(-5px);
}

/* ===================================
   FOOTER
=================================== */

footer{

    background:#050912;

    padding:70px 20px;

    text-align:center;
}

.footer-social{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:25px;
}

.footer-social a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--card-bg);

    transition:.3s;
}

.footer-social a:hover{

    background:var(--secondary);

    transform:translateY(-4px);
}

/* ===================================
   FLOATING BUTTONS
=================================== */

.whatsapp-float,
.call-float{

    position:fixed;

    width:60px;
    height:60px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.5rem;

    color:white;

    z-index:999;
}

.whatsapp-float{

    right:20px;
    bottom:20px;

    background:#25d366;

    box-shadow:
    0 0 20px rgba(37,211,102,.4);
}

.call-float{

    right:20px;
    bottom:95px;

    background:#3b82f6;

    box-shadow:
    0 0 20px rgba(59,130,246,.4);
}

/* ===================================
   RESPONSIVE FIXES
=================================== */

html,
body{
    width:100%;
    overflow-x:hidden;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

img,
iframe{
    max-width:100%;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding-left:20px;
    padding-right:20px;
}

/* ===================================
   LARGE TABLETS
=================================== */

@media screen and (max-width:992px){

    .contact-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .contact-info-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .contact-hero h1{
        font-size:3rem;
    }

}

/* ===================================
   MOBILE
=================================== */

@media screen and (max-width:768px){

    .navbar{
        padding:15px 20px;
    }

    .desktop-logo{
        display:none;
    }

    .menu-btn{
        display:block;
        z-index:1001;
    }

    .nav-links{

        position:fixed;

        top:0;
        right:-100%;

        width:280px;

        max-width:80%;

        height:100vh;

        background:#111827;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:25px;

        transition:.4s ease;

        z-index:1000;
    }

    .nav-links.active{
        right:0;
    }

    .contact-info-grid{
        grid-template-columns:1fr;
    }

    .contact-hero{

        min-height:60vh;

        padding:120px 0 80px;
    }

    .contact-hero h1{

        font-size:2rem;

        line-height:1.3;
    }

    .contact-hero p{

        font-size:15px;
    }

    .section-title h2{

        font-size:2rem;
    }

    .form-wrapper,
    .contact-details{

        padding:30px;
    }

    .contact-info-section,
    .contact-form-section,
    .map-section,
    .cta-section{

        padding:70px 0;
    }

    .map-container iframe{

        height:350px;
    }

    .cta-btn{

        width:100%;

        max-width:300px;

        text-align:center;
    }

    .submit-btn{

        width:100%;
    }

}

/* ===================================
   SMALL MOBILE
=================================== */

@media screen and (max-width:480px){

    .container{

        padding-left:15px;
        padding-right:15px;
    }

    .contact-hero h1{

        font-size:1.7rem;
    }

    .section-title h2{

        font-size:1.6rem;
    }

    .hero-badge{

        font-size:12px;
        padding:8px 14px;
    }

    .form-wrapper,
    .contact-details,
    .info-card{

        padding:20px;
    }

    .input-group input,
    .input-group textarea{

        padding:14px;
        font-size:14px;
    }

    .detail-item{

        gap:10px;
    }

    .map-container iframe{

        height:280px;
    }

    .whatsapp-float,
    .call-float{

        width:52px;
        height:52px;

        font-size:1.2rem;
    }

    .whatsapp-float{

        right:15px;
        bottom:15px;
    }

    .call-float{

        right:15px;
        bottom:80px;
    }

}

/* ===================================
   EXTRA SMALL DEVICES
=================================== */

@media screen and (max-width:360px){

    .contact-hero h1{
        font-size:1.5rem;
    }

    .section-title h2{
        font-size:1.4rem;
    }

    .info-btn,
    .submit-btn,
    .cta-btn{

        width:100%;
    }

}

/* ===================================
   POPUP MESSAGE
=================================== */

.custom-popup{

    position:fixed;

    top:30px;
    right:30px;

    z-index:9999;

    opacity:0;

    transform:translateY(-20px);

    transition:.3s;
}

.custom-popup.show{

    opacity:1;

    transform:translateY(0);
}

.popup-content{

    padding:15px 25px;

    border-radius:12px;

    color:white;

    font-weight:500;

    box-shadow:
    0 10px 25px rgba(0,0,0,.35);
}

.popup-content.success{

    background:#16a34a;
}

.popup-content.error{

    background:#dc2626;
}

@media(max-width:480px){

    .custom-popup{

        left:15px;
        right:15px;
        top:15px;
    }

}

h1,h2,h3,h4,h5,h6,p,a,span{
    word-wrap:break-word;
    overflow-wrap:break-word;
}

.info-btn,
.submit-btn,
.cta-btn{

    display:inline-flex;

    justify-content:center;
    align-items:center;

    max-width:100%;
}