@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: "Open Sans", sans-serif;
}

/* ================= TOP BAR ================= */
.top-bar {
    display: flex;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    height: 70px;
}

.top-left{
    background:#e53935;
    padding:10px 20px;
    display:flex;
    align-items:center;
    gap:10px;
}

.top-left a{
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.top-right {
    background: #1a4594;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
}

.top-info{
    display:flex;
    gap:25px;
}

.socials{
    display: flex;
    gap: 11px;
}

.socials i{
background: #1c3170;
    padding: 6px;
    border-radius: 50%;
    font-size: 15px;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-info a{
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

/* ================= HEADER ================= */
header {
    background: #fff;
    padding: 0px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
}


.logo{
    font-size:22px;
    font-weight:700;
}

.logo span{
    color:#e53935;
}

nav {
    display: flex;
gap: 30px;
}

nav .active{
    color: red;
}

nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}

.apply-btn {

}

/* Anchor Styling */
.apply-btn a {
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    transition: 0.3s ease;
    text-decoration: none;
    font-size: 16px;
    color: #000;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

/* Icon */
.apply-btn i {
    background: #e53935;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s ease;
}


.apply-btn:hover a {
    color: #fff;
    background-color: #1c3170;
    border-color: #1c3170;
}

.apply-btn:hover i {
    background-color: #fff;
    color: #1c3170;
}


/* ================= BURGER ================= */
.burger{
    display:none;
    font-size:22px;
    cursor:pointer;
}

/* ================= MOBILE ================= */
@media(max-width:960px){

    /* hide top bar */
    .top-bar{
        display:none;
    }

    header{
        padding:15px 20px;
    }

    .burger{
        display:block;
    }

    nav{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        display:none;
        border-top:1px solid #eee;
    }

    nav a{
        padding:15px 20px;
        border-bottom:1px solid #eee;
    }

    nav.active{
        display:flex;
    }

    .apply-btn{
        display:none;
    }
}




/* ===== DROPDOWN ===== */
.nav-item{
    position: relative;
}

.drop-btn{
    display:flex;
    align-items:center;
    gap:6px;
}

.dropdown-menu{
    position:absolute;
    top:130%;
    left:0;
    background:#fff;
    min-width:220px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    border-radius:8px;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
    z-index:999;
}

.dropdown-menu a{
    display:block;
    padding:12px 18px;
    font-size:15px;
    color:#111;
    border-bottom:1px solid #f1f1f1;
        text-transform: uppercase;

}

.dropdown-menu a:hover{
    background:#e53935;
    color:#fff;
}

@media only screen and (max-width :1500px) {
    nav a {
    font-size: 14px ;
}
 }

 @media only screen and  (max-width : 1400px){
    .top-bar {
    font-size: 14px;
    }
 }

 @media only screen and (max-width:1300px){
    .social-links {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

 }

 @media only screen and (max-width : 1200px){
        .logo {
        width: 180px;
    }

    .apply-btn a {
    font-size: 14px;
    }

    .socials i {
    width: 30px;
    height: 30px;
    }

    .top-info a {
    font-size: 14px;
    }

    .top-info div{
        width: 58%;
    }
 }

/* Desktop hover */
@media(min-width:960px){
    .nav-item:hover .dropdown-menu{
        opacity:1;
        visibility:visible;
        top:100%;
    }
}

@media(max-width:960px){

    .dropdown-menu{
        position:static;
        box-shadow:none;
        border-radius:0;
        opacity:1;
        visibility:visible;
        display:none;
    }

    .dropdown-menu.show{
        display:block;
    }

    .drop-btn i{
        margin-left:auto;
    }
}

@media only screen and (max-width:500px){
    .btn-submit {
    width: 100%;
    }

    .form-group {
    width: 100%;
}

}