
@import url('https://fonts.googleapis.com/css2?family=Ga+Maamli&family=Viga&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');






:root {
    --header-height: max-content;
    --first-color: #ffffff;
    --specail-color: #fe390c;
    --text-black: #131313;
    --first-color-light: hsl(220, 68%, 97%);
    --first-color-dark: hsl(220, 68%, 34%);
    --text-color: hsl(220, 48%, 28%);

    --body-font: GaMamli, sans-serif;
    --font-special-size: 1.8rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;

    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 800;
    --font-family: 'Poppins', sans-serif;
}

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


html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--first-color) !important;
    font-family: Poppins, sans-serif;
    
}
body::-webkit-scrollbar {
    width: 8px; 
}

body::-webkit-scrollbar-thumb {
    background-color: #ed7d06; 
    border-radius: 4px; 
}
body {
   
    color: var(--text-color);
    background-color: var(--first-color);
    
}

header {
    width: 100%;
    height: var(--header-height);
    background-color: #03485e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /* padding: 0 10rem; */
    z-index: 100 !important;
    transition: all 0.3s;
    transition: background-color 0.3s, box-shadow 0.3s;
   
}

.header.scroll-header {
    background-color:#ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.308);
  
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(98%, 1350px);
    padding: 0.7rem;
    color: var(--text-black);
    margin: 0 auto;
}
.login-button{
    border-radius: 50%;
    max-width: fit-content;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 20px;
    padding: 0.2rem;
    z-index: 10;
    border: none;
    border: 2px solid #03485e;
}


.login-button img{
    height: 1.6rem;
    width: 1.6rem;
    border-radius: 50%;
    z-index: 10;
    filter: drop-shadow(0 0 0.75rem #000);
}
.nav__logo {
    color: #ffffff;
    font-weight: var(--font-bold);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    transition: color 0.3s;
    text-decoration: none;
    position: relative;
    text-wrap: nowrap;
    display: flex;
    justify-content: start;
    align-items: center;
    text-transform: capitalize;
    gap: 1.1rem;
    font-family: Poppins, sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    
}



.nav__link i {
    margin-left: 1rem;
    transition: transform 0.5s;
}

/* Rotate icon back when hovering over the link or the dropdown */
.nav__link:hover i,
.dropdown:hover ~ .nav__link i {
    transform: rotate(180deg);
}





 


.header.scroll-header .nav__logo {
    color: var(--text-black);
}

.nav__menu {
    display: flex;
}

.nav__list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav__link {
    margin-left: 0.5rem;
    overflow: hidden;
    padding : 0.4rem 0.8rem;
    border-radius: 0.5rem;
    height: 100% !important;
   
}
.nav__item ul{
    display: none;
    position: absolute;
    top: 75%;
    margin-left: -10px;
    padding-top:   15px;
  
}
.header.scroll-header .nav__item ul li{
    background-color: #03485e;
    color: #ffffff !important;
}

.header.scroll-header .nav__item ul li a{
    color: #ffffff !important;
}
.nav__item ul li{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   
}
.nav__item ul li a{
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    font-weight: var(--font-medium);
    transition: color 0.3s;
    position: relative;
    z-index: 11 !important;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
    cursor: pointer;
}
.nav__item ul li a:hover{
    color: #ffffff;
    background-color: #000000;
}
.header.scroll-header .nav__item ul li a:hover{
    color: #000000 !important;
    background-color: #ffffff;
}
.nav__item:hover ul{
    display: block;
   
}
.nav__link {
    text-decoration: none;
    color: #ffffff;
    text-wrap: nowrap;
    font-size: 1rem;
    font-weight: var(--font-medium);
    transition: color 0.3s;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    text-transform: uppercase;
    cursor: pointer;
    
}

.header.scroll-header .nav__link {
    color: var(--text-black);
}

.header.scroll-header .nav__link:hover {
    color: var(--first-color-dark);
}


.nav__item:hover .nav__link {
    border-bottom: 0.2rem solid var(--first-color-light);
    padding-bottom: 0.5rem;
}
.header.scroll-header .nav__item:hover .nav__link {
    color: var(--first-color-light) !important;
    background-color: var(--first-color-dark);
}

.nav__link.active {
    border-bottom: 0.2rem solid var(--first-color-light);
    padding-bottom: 0.5rem;
}

.socaila-follow{
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
    right: 1rem;
    bottom: 1rem;
}
.socaila-follow .social{
    position: relative;
    height: 5rem;
    width: 5rem;
    padding: 0.4rem;
    border-radius: 50%;
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer;
    border: 0.3rem solid var(--first-color-dark);
   left: 50%;
   top: 50%;
    transform: translate(-50%, -50%);

}
.socail-1{
    background-color: #3b5998;
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
}

.social-icons img{
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    cursor: pointer;
}
.header.scroll-header .nav__link.active {
    border-bottom: 0.2rem solid var(--first-color-dark);
}

.nav__toggle {
    display: none;
}

/* For small screens */
@media screen and (max-width: 1080px) {

    header {
        padding: 0 1rem;
    }
    .nav__item ul{
        position: relative;
        box-shadow: none;
        left: 20px;
    }
   
    .nav__menu.show-menu {
        display: flex;
        padding: 0 3rem;
    }
    .nav__link{
        color: rgb(255, 255, 255);
        font-size: 1.4rem;
    }
    .nav__menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        right: 0;
        width: 100% !important;
        background-color: #03485e;
        flex-direction: column;
        
        gap: 0.5rem;
        top: 100%;
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        animation: slideIn 0.5s forwards;
        z-index: 10;
    }
    .nav__menu.show {
        display: flex !important;
    }
    .header.scroll-header .nav__menu {
        background-color: var(--first-color);
    }
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav__item {
        margin: 1rem 0;
        width: 100%;
    }

    .nav__toggle {
        display: block;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    .nav__logo {
        gap: 0.5rem;
        
    }
    .nav__logo h4{
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 768px) {
    .nav__logo h4 {
        font-size:18px !important;
    }
    
    .nav__link {
        font-size: 1.2rem;
    }
    .nav__toggle {
        font-size: 1.3rem;
    }
    
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}


