/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Poppins",sans-serif;
    background:#fff;
    color:#1f2937;
}

html, body {
    -webkit-overscroll-behavior: none;
    overscroll-behavior: none;
}

img{
    max-width:100%;
}

a{
    text-decoration:none;
}

/* =========================
   NAVIGATION
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 8%;

    background: rgba(255,255,255,.95);

    box-shadow: 0 2px 12px rgba(0,0,0,.05);

    z-index: 1000;

    transform: translateY(-100%);
    opacity: 0;
    transition: all .35s ease;
}

.navbar.show {
    transform: translateY(0);
    opacity: 1;
}


/* LOGO */

.logo a {
    font-size: 1.5rem;
    font-weight: 700;

    color: #0f172a;
    text-decoration: none;
}


/* DESKTOP NAV LINKS */

.nav-links {
    display: flex;
    gap: 35px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {

    position: relative;

    color: #374151;
    font-weight: 500;

    text-decoration: none;
}


/* underline animation */

.nav-links a::after {

    content:"";

    position:absolute;

    left:0;
    bottom:-5px;

    width:0;
    height:2px;

    background:currentColor;

    transition:width .3s ease;
}

.nav-links a:hover::after {
    width:100%;
}


/* BUTTONS */

.menu-btn,
.close-btn {
    display:none;
}


/* =========================
   MOBILE MENU
========================= */

.mobile-menu {

    display:none;

}


/* =========================
   MOBILE VERSION
========================= */

@media (max-width:768px) {


    /* hide desktop links */
    .navbar .nav-links {
        display:none;
    }


    /* hamburger */

    .menu-btn {

        display:block;

        background:none;
        border:none;

        font-size:2rem;

        cursor:pointer;

        color:#0f172a;
    }


    /* fullscreen menu */

    .mobile-menu {

        position:fixed;

        inset:0;

        background:white;

        display:flex;

        justify-content:center;
        align-items:center;

        transform:translateX(100%);

        transition:transform .35s ease;

        z-index:2000;
    }


    .mobile-menu.open {

        transform:translateX(0);

    }


    /* mobile links */

    .mobile-menu .nav-links {

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:35px;

        list-style:none;

        padding:0;
        margin:0;

    }


    .mobile-menu .nav-links a {

        font-size:2rem;

        color:#0f172a;

    }


    /* close button */

    .close-btn {

        display:block;

        position:absolute;

        top:25px;
        right:30px;

        background:none;

        border:none;

        font-size:2rem;

        cursor:pointer;

        color:#0f172a;
    }

}


/* MAIN */
main{
    min-height:100vh;
}
/* FOOTER */
footer{
    text-align:center;
    padding:40px;
    background:#0f172a;
    color:white;
}

footer a {
    color: #DEEAFF;
}

/* HOME PAGE  */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/hero-image.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.hero-content h1{
    font-size: 4rem;
    color: #1f2937;
}

.hero-content p{
    font-size: 1.5rem;
}
.hero-content a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #DEEAFF;
    color: #1f2937;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.hero-content a:hover {
    background-color: #1f2937;
    color: #DEEAFF;
}
@media (max-width: 600px) {
    .hero::before {
        background-size: auto 100%;
        background-position: center;
    }

    .hero-content h1{
    font-size: 2.5rem;
}
    .hero-content p{
    font-size: 1rem;
}
}





/* ===========================
   ABOUT SECTION
=========================== */

.about {

    min-height:100vh;

    display:flex;
    align-items:center;

    padding:80px 8%;

    background: #DEEAFF;

}


.about-container {

    max-width:1200px;

    width:100%;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}


/* LEFT */

.about-image img {

    width:100%;
    max-width:400px;

    border-radius:25px;

    display:block;

    margin:auto;

}


.about-image p {

    max-width:400px;

    margin:25px auto 0;

    text-align:center;

    color:#4b5563;

    line-height:1.7;

}



/* RIGHT */

.about-content h2 {

    font-size:3rem;

    margin-bottom:25px;

    color:#111827;

}

.about-intro {

    font-size:1.15rem;

    line-height:1.7;

    color:#4b5563;

    margin-bottom:35px;

}


.about-facts {

    list-style:none;

    padding:0;

}


.about-facts li {
    display:flex;
    align-items:center;
    gap:15px;

    margin-bottom:20px;
    font-size:1.3rem;
}


.about-facts svg {

    width:32px;
    height:32px;

    color:#0f172a;

    flex-shrink:0;

}

.about-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas:
        "image content";
    gap:80px;
    align-items:center;
}

.about-image{
    grid-area:image;
}

.about-content{
    grid-area:content;
}



/* MOBILE */

@media(max-width:800px){   
    .about {
        padding:60px 8%;
    }
    .about-container {
        grid-template-columns:1fr;
        gap:35px;
        text-align:center;
        grid-template-areas:
            "content"
            "image";
    }
    .about-content h2 {
        font-size:2.2rem;
    }
    .about-facts {
        text-align:left;
    }
}



/* ===========================
   SERVICES SECTION
=========================== */

.services {

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:80px 8%;

    color:white;

    position:relative;

}

.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/directions-image.PNG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
}


.services-container {

    width:100%;
    max-width:700px;

    text-align:center;

}


.services h2 {

    font-size:3rem;

    margin-bottom:50px;

}



/* BUTTONS */

.service-buttons {

    display:flex;

    flex-direction:column;

    gap:18px;

}


.service-btn {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px 30px;
    border-radius:15px;
    background:white;
    color:#0F172A;
    font-size:1.2rem;
    font-weight:600;
    transition:.3s;
}


.service-btn svg {

    width:22px;

}

.service-btn.main {
    background:#DEEAFF;
}

.service-btn:hover {
    transform:translateX(10px);
    background:#DEEAFF;
}



/* MOBILE */

@media(max-width:600px){

    .services h2 {

        font-size:2.2rem;

    }


    .service-btn {

        font-size:1rem;

        padding:18px 22px;

    }

}