/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
}

/* ===== NAVBAR (GLOBAL) ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px); /* 🔥 glass effect */
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header h1 {
    color: white;
    font-size: 22px;
    letter-spacing: 1px;
}

nav a {
    color: #4da6ff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34") no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
    max-width: 600px;
}

.hero h2 {
    font-size: 50px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* ===== BUTTON ===== */
.btn {
    padding: 12px 25px;
    background: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 50px;
    text-align: center;
}

/* ===== CARDS ===== */
.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.card {
    width: 250px;
    padding: 20px;
    border-radius: 10px;
    background: #f4f4f4;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* ===== FOOTER ===== */
footer {
    background: #222;
    color: white;
    padding: 20px;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ===================================== */
/* ===== CONTACT PAGE ONLY (SCOPED) ===== */
/* ===================================== */

.contact-header {
    background: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}

.contact-page {
    background: #f4f8ff;
}

.contact-page .container {
    padding: 50px;
    text-align: center;
}

.contact-page .contact-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-page p {
    margin: 10px 0;
    font-size: 18px;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        padding: 10px 20px;
    }

    header h1 {
        margin-bottom: 10px;
        font-size: 18px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px 10px;
        font-size: 13px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-content {
        padding: 0 20px;
    }

    section {
        padding: 50px 20px;
    }

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

    .card {
        width: 90%;
    }

    .container {
        padding: 30px 20px;
    }

    .contact-box {
        width: 100%;
    }

    footer {
        font-size: 14px;
    }
}

/* ===== DROPDOWN MENU ===== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 12px;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background: #f0f0f0;
}

/* SHOW ON HOVER */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}