@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    overflow-x:hidden;
}

/* ===== TOP BAR ===== */

.topbar{
    background:#82d63f;
    color:#fff;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

.topbar-container{
    width:95%;
    max-width:1600px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.top-left,
.top-right{
    display:flex;
    align-items:center;
    gap:25px;
}

.top-left a{
    color:#000;
    font-size:22px;
}

.top-item{
    border-left:1px solid rgba(255,255,255,.4);
    padding-left:25px;
}

/* ===== HEADER ===== */

.header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.navbar{
    width:95%;
    max-width:1600px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:140px;
}

.logo img{
    height:110px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:60px;
}

.nav-links li{
    list-style:none;
    position:relative;
}

.nav-links a{
    text-decoration:none;
    color:#0f2747;
    font-size:16px;
    font-weight:700;
}

.nav-links li:hover .dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown{
    position:absolute;
    top:50px;
    left:0;
    min-width:220px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.3s;
}

.dropdown a{
    display:block;
    padding:15px 20px;
    font-size:15px;
}

.dropdown a:hover{
    background:#f5f5f5;
}

/* allow dropdowns to be opened via JS toggle */
.dropdown.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.cta-btn{
    background:#e8c446;
    color:#000;
    padding:18px 40px;
    border-radius:40px;
    text-decoration:none;
    font-size:20px;
    font-weight:700;
}

.cta-btn i{
    margin-right:10px;
}

/* ===== MOBILE TOGGLE ===== */

.mobile-toggle{
    display:none;
    font-size:25px;
    cursor:pointer;
    color:#0f2747;
}

/* ===== MOBILE MENU ===== */

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
}

.overlay.active{
    opacity:1;
    visibility:visible;
}

.mobile-menu{
    position:fixed;
    top:0;
    left:-320px;
    width:300px;
    height:100vh;
    background:#fff;
    z-index:1000;
    transition:.4s;
    overflow-y:auto;
}

.mobile-menu.active{
    left:0;
}

.mobile-header{
    padding:18px;
    background:#f4f4f4;
}

.close-btn{
    font-size:22px;
    cursor:pointer;
}

.mobile-nav{
    padding:20px;
}

.mobile-nav li{
    list-style:none;
    border-bottom:1px solid #eee;
}

.mobile-nav a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
    text-decoration:none;
    color:#0f2747;
    font-weight:700;
}

.mobile-btn{
    display:block;
    margin-top:20px;
    background:#e8c446;
    text-align:center;
    padding:15px;
    border-radius:40px;
    text-decoration:none;
    color:#000;
    font-weight:700;
}

.login-btn{
    background:#82d63f;
    color:#fff;
}

.signup-btn{
    margin-top:15px;
    display:block;
    text-decoration:none;
    color:#000;
    font-weight:700;
}

/* ===== MOBILE DROPDOWN ===== */

.mobile-nav li .mobile-dropdown{
    max-height:0;
    overflow:hidden;
    transition:.3s ease;
    list-style:none;
    background:#f9f9f9;
}

.mobile-nav li .mobile-dropdown.active{
    max-height:300px;
}

.mobile-nav li .mobile-dropdown li a{
    padding:12px 0 12px 20px;
    font-size:14px;
    font-weight:400;
}

/* ===== HERO ===== */


.hero-content{
    position:absolute;
    left:60px;
    bottom:100px;
    color:#fff;
}

.hero-content h1{
    font-size:48px;
    font-weight:400;
}

/* ===== RESPONSIVE ===== */

@media(max-width:1200px){

    .nav-links{
        gap:30px;
    }

    .nav-links a{
        font-size:14px;
    }
}

@media(max-width:992px){

    .topbar{
        display:none;
    }

    .navbar{
        min-height:95px;
    }

    .nav-links,
    .cta-btn{
        display:none;
    }

    .mobile-toggle{
        display:block;
    }

    .logo img{
        height:70px;
    }

    .hero{
        height:350px;
    }

    .hero-content{
        left:30px;
        bottom:50px;
    }

    .hero-content h1{
        font-size:40px;
    }
}

@media(max-width:576px){

    .hero{
        height:250px;
    }

    .hero-content h1{
        font-size:32px;
    }

    .mobile-menu{
        width:280px;
    }
}


.footer{
    background: linear-gradient(90deg,#0d0d0f,#111317);
    padding:70px 0;
    color:#fff;
    font-family:'Poppins',sans-serif;
}

.footer-container{
    width:90%;
    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:
    1.2fr
    1fr
    1fr
    1.1fr;

    gap:80px;
}

/* ===== Logo Column ===== */

.footer-logo{
    width:180px;
    height:auto;
    display:block;
    margin-bottom:25px;
}

.footer-about p{
    color:#fff;
    font-size:18px;
    line-height:1.7;
    margin-bottom:25px;
    max-width:350px;
}

.social-icons{
    display:flex;
    gap:22px;
}

.social-icons a{
    color:#fff;
    font-size:28px;
    transition:.3s;
}

.social-icons a:hover{
    color:#84d840;
    transform:translateY(-3px);
}

/* ===== Headings ===== */

.footer h3{
    font-size:24px;
    font-weight:600;
    margin-bottom:28px;
}

.footer h4{
    font-size:20px;
    font-weight:600;
    margin-bottom:15px;
}

/* ===== Links ===== */

.footer-links ul{
    list-style:none;
}

.footer-links li{
    margin-bottom:18px;
}

.footer-links a,
.footer-contact a{
    text-decoration:none;
    color:#fff;
    font-size:18px;
    transition:.3s;
}

.footer-links a:hover,
.footer-contact a:hover{
    color:#84d840;
}

/* ===== Contact ===== */

.footer-contact{
    display:flex;
    flex-direction:column;
}

.footer-contact a{
    margin-bottom:20px;
}

.office-hours{
    margin-top:25px;
}

.office-hours p{
    font-size:18px;
    margin-bottom:10px;
}

.office-hours span{
    font-size:17px;
}

/* ===== Tablet ===== */

@media(max-width:991px){

    .footer-container{
        grid-template-columns:
        repeat(2,1fr);

        gap:50px;
    }

    .footer h3{
        font-size:28px;
    }
}

/* ===== Mobile ===== */

@media(max-width:768px){

    .footer{
        padding:60px 0;
    }

    .footer-container{
        grid-template-columns:1fr;
        gap:45px;
    }

    .footer-logo{
        width:150px;
    }

    .footer h3{
        font-size:24px;
    }

    .footer-about p,
    .footer-links a,
    .footer-contact a{
        font-size:16px;
    }

    .social-icons a{
        font-size:22px;
    }
}