/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* NAVIGATION BAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0077b6;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease-in-out;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #00b4d8;
    transform: scale(1.05);
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #0077b6;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(rgba(0, 183, 255, 0.3), rgba(255, 255, 255, 0.6)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #023e8a;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeIn 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease;
}

/* BUTTON */
.btn {
    padding: 0.8rem 1.5rem;
    background-color: #00b4d8;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #0077b6;
    transform: scale(1.05);
}

/* SECTIONS */
section {
    padding: 4rem 2rem;
    text-align: center;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #023e8a;
}

/* SERVICE CARDS */
.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    width: 280px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.service h3 {
    font-size: 1.5rem;
    color: #0077b6;
    margin-bottom: 0.8rem;
}

/* GALLERY */
.gallery {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery img {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* FOOTER */
footer {
    background-color: #0077b6;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
    margin-top: 2rem;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background-color: #ffffff;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .gallery img {
        width: 90%;
        height: auto;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        font-size: 0.9rem;
    }

    .service {
        width: 90%;
        padding: 1.5rem;
    }
}   