/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#222;
    line-height:1.6;
}

/* =========================
   HEADER
========================= */

.main-header{
    background:#0d47a1;

    padding:2px 18px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:sticky;
    top:0;

    z-index:1000;

    overflow:visible;

    box-shadow:0 2px 10px rgba(0,0,0,0.10);
}

/* =========================
   LOGO
========================= */

.logo{
    color:#fff;
    font-size:22px;
    font-weight:700;
    letter-spacing:0.5px;
}

/* =========================
   NAVBAR
========================= */

.nav{
    display:flex;
    align-items:center;
    gap:6px;

    overflow:visible;
}

.nav a{
    text-decoration:none;
    color:#fff;

    padding:10px 16px;

    display:block;

    transition:0.3s ease;

    border-radius:6px;

    font-size:15px;
    font-weight:500;
}

.nav a:hover{
    background:rgba(255,255,255,0.15);
}

/* =========================
   DROPDOWN
========================= */

.dropdown{
    position:relative;
    display:inline-block;
}

.dropbtn{
    cursor:pointer;
}

/* =========================
   DROPDOWN MENU
========================= */

.dropdown-content{
    position:absolute;

    top:100%;
    left:0;

    background:#fff;

    min-width:240px;

    display:none;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);

    z-index:9999;
}

/* SHOW DROPDOWN */

.dropdown:hover .dropdown-content{
    display:block;
}

/* DROPDOWN LINKS */

.dropdown-content a{
    color:#333;
    padding:12px 18px;
    background:#fff;
    display:block;
    transition:0.3s ease;
}

.dropdown-content a:hover{
    background:#f1f5ff;
    color:#0d47a1;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:80vh;

    background:
    linear-gradient(rgba(0,0,0,0.60),rgba(0,0,0,0.60)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=1200&auto=format&fit=crop');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:60px 20px;

    overflow-x:auto;
}

/* =========================
   HERO CONTENT
========================= */

.hero-content{
    width:100%;
    max-width:1700px;
}

/* =========================
   HERO TEXT
========================= */

.hero-text{
    margin-bottom:50px;
}

.hero h1{
    font-size:38px;
    margin-bottom:0px;
    color:#fff;
    font-weight:700;
}

.hero p{
    font-size:20px;
    margin-bottom:20px;
    color:#f1f1f1;
    line-height:1.8;
}

/* =========================
   BUTTONS
========================= */

.hero-buttons{
    margin-top:20px;
}

.btn-outline{
    display:inline-block;

    margin:10px;

    padding:12px 28px;

    border:2px solid #fff;

    border-radius:40px;

    color:#fff;

    text-decoration:none;

    transition:0.3s ease;

    font-weight:600;
}

.btn-outline:hover{
    background:#fff;
    color:#0d47a1;
}

/* =========================
   CONTACT FORM
========================= */

.contact-box{
    width:100%;
    max-width:550px;
    margin:auto;

    background:rgba(255,255,255,0.12);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,0.20);

    padding:32px;

    border-radius:22px;

    box-shadow:0 10px 35px rgba(0,0,0,0.25);
}

/* INPUTS */

.contact-box input,
.contact-box textarea{
    width:100%;

    padding:15px 16px;

    margin-top:14px;

    border:1px solid rgba(255,255,255,0.20);

    border-radius:12px;

    font-size:16px;

    outline:none;

    background:rgba(255,255,255,0.15);

    color:#fff;

    transition:0.3s ease;
}

/* PLACEHOLDER */

.contact-box input::placeholder,
.contact-box textarea::placeholder{
    color:#e0e0e0;
}

/* FOCUS */

.contact-box input:focus,
.contact-box textarea:focus{
    border-color:#ffffff;

    background:rgba(255,255,255,0.20);

    box-shadow:0 0 10px rgba(255,255,255,0.25);
}

/* TEXTAREA */

.contact-box textarea{
    resize:none;
    line-height:1.6;
}

/* BUTTON */

.contact-box button{
    width:100%;

    padding:15px;

    margin-top:18px;

    background:linear-gradient(135deg,#1565c0,#1976d2);

    color:white;

    border:none;

    border-radius:12px;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s ease;
}

/* BUTTON HOVER */

.contact-box button:hover{
    transform:translateY(-2px);

    box-shadow:0 10px 18px rgba(0,0,0,0.18);
}

/* MESSAGE */

.msg{
    text-align:center;

    margin-bottom:12px;

    font-weight:600;

    padding:12px;

    border-radius:10px;

    font-size:15px;

    background:rgba(255,255,255,0.18);

    color:#fff;
}

/* =========================
   HERO SERVICES GRID
========================= */

.hero-services-grid{
    width:100%;
    max-width:1700px;

    margin:40px auto 0 auto;

    display:flex;

    justify-content:center;

    align-items:stretch;

    gap:18px;

    flex-wrap:nowrap;
}

/* =========================
   SERVICE CARD
========================= */

.service-card{
    width:230px;

    background:rgba(255,255,255,0.12);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,0.20);

    border-radius:20px;

    padding:22px;

    text-align:left;

    box-shadow:0 8px 25px rgba(0,0,0,0.20);

    transition:0.3s ease;

    min-height:390px;
}

/* HOVER EFFECT */

.service-card:hover{
    transform:translateY(-6px);

    box-shadow:0 12px 30px rgba(0,0,0,0.25);
}

/* =========================
   CARD TITLE
========================= */

.service-card h3{
    color:#ffffff;

    font-size:22px;

    font-weight:700;

    margin-bottom:18px;

    line-height:1.5;
}

/* =========================
   CARD TEXT
========================= */

.service-card p{
    color:#f1f1f1;

    margin:8px 0;

    font-size:14px;

    line-height:1.6;

    font-weight:500;
}

/* =========================
   SERVICES SECTION
========================= */

.services{
    padding:80px 40px;
}

.services h2{
    text-align:center;
    margin-bottom:45px;
    color:#0d47a1;
    font-size:40px;
    font-weight:700;
}

.grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:28px;
}

.card{
    background:#fff;

    padding:28px;

    border-radius:16px;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);

    transition:0.3s ease;
}

.card:hover{
    transform:translateY(-6px);
}

.card h3{
    margin-bottom:18px;
    color:#0d47a1;
    font-size:22px;
}

.card p{
    margin:8px 0;
    color:#555;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    background:#25d366;

    color:#fff;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:32px;

    text-decoration:none;

    box-shadow:0 5px 15px rgba(0,0,0,0.3);

    z-index:9999;

    transition:0.3s ease;
}

.whatsapp:hover{
    transform:scale(1.08);
}

/* =========================
   FOOTER
========================= */

footer{
    background:#0d47a1;

    color:#fff;

    text-align:center;

    padding:28px;

    font-size:15px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:1200px){

    .hero-services-grid{
        flex-wrap:wrap;
    }
}

@media(max-width:768px){

    .main-header{
        flex-direction:column;
        gap:15px;
        padding:15px 20px;
    }

    .nav{
        flex-direction:column;
        width:100%;
    }

    .nav a{
        width:100%;
        text-align:center;
    }

    .hero{
        padding:40px 15px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:16px;
    }

    .dropdown-content{
        position:static;
        width:100%;
    }

    .contact-box{
        padding:22px;
    }

    .services{
        padding:60px 20px;
    }

    .services h2{
        font-size:32px;
    }

    .contact h2{
        font-size:30px;
    }

    .hero-services-grid{
        flex-direction:column;
        align-items:center;
    }

    .service-card{
        width:100%;
        max-width:350px;
        min-height:auto;
    }
}