/* =========================================
   Google fonts
========================================= */
@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');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

/* =========================================
   CSS Variables
========================================= */
:root{
   /* ========== Main colors (HSL - hue, saturation, and lightness) ========== */

   /* Blue - hsl(217, 85%, 74%); */
   /* Purple - hsl(245, 54%, 74%); */
   /* Teal - hsl(181, 47%, 49%); */
   /* Yellow - hsl(65, 60%, 70%); */
   /* Green - hsl(162, 60%, 65%); */
   /* Red - hsl(356, 67%, 70%); */
   /* Pink - hsl(330, 73%, 72%); */

   /* --hue: 217;
   --sat: 85%;
   --light: 65%; */

   --hue: 217;
   --sat: 80%;
   --light: 65%;

   --primary-color: hsl(var(--hue) var(--sat) var(--light)); /* primary */
   --primary-color-light: hsl(var(--hue) var(--sat) 95%); /* primary */
   --white-color: hsl(var(--hue) 45% 100%); /* white */

   --text-color-01: hsl(var(--hue) 26% 12%);
   /* --text-color-02: hsl(var(--hue), 0%, 45%); */
   --text-color-02: hsl(var(--hue), 0%, 38%);
   /* --text-color-03: hsl(var(--hue), 16%, 53%); */
   --text-color-03: hsl(var(--hue), 16%, 48%);

   --card-bg: hsl(var(--hue) 45% 100%);
   --card-border: none;
   --box-border: 1px solid hsl(var(--hue), 16%, 90%);

   --icon-bg-color: hsl(var(--hue) var(--sat) 95%);

   --card-border-radius: 7px;
   
   --input-bg-color: hsl(var(--hue) 35% 97%);
   --input-bg-lighter-color: hsl(var(--hue) 35% 99%);
   --select-bg-color: hsl(var(--hue) 35% 97%);

   --selectbox-arrow: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');

   --input-bg-color-readonly: hsl(var(--hue), 20%, 97%);
   --input-focus-outline: 2.5px solid var(--primary-color);
   
   --transparent-white-color: rgb(254, 254, 254, .1);
   
   --line-color: hsl(var(--hue), 20%, 85%);
   --border-color: hsl(var(--hue), 20%, 67%);
   --header-border: 1px solid hsl(var(--hue), 20%, 85%);
   --header-shrink-border: 1px solid hsl(var(--hue), 20%, 85%);
   --footer-border: none;
   --table-border: 1px solid hsl(var(--hue), 20%, 67%);

   --element-transition: .2s ease;

   --box-shadow-hard: 0 5px 25px rgb(0, 0, 0, .1);
   --box-shadow-light: 0 5px 25px rgb(0, 0, 0, .05);
   --box-shadow-extra-light: 0 5px 25px rgb(0, 0, 0, .025);

   /* ======= Changeable colors for dark/light themes ======= */
   --color-01: hsl(var(--hue) var(--sat) var(--light)); /* primary to dark */
   --color-02: hsl(var(--hue) 45% 98%); /* white to dark */
   --color-03: hsl(var(--hue) 26% 12%); /* dark to white */
   --color-04: hsl(var(--hue) 0% 62%); /* light-graygray to dark-gray */
   --color-05: hsl(var(--hue) 26% 12%); /* dark to primary */

   --body-color: hsl(225, 40%, 98%); /* dark to white */
   --hover-color: hsl(var(--hue) var(--sat) calc(var(--light) - 7%));

   --swiper-bullet-inactive-color: hsl(var(--hue) var(--sat) var(--light));

   /* ======= Background colors ======= */
   --bottom-nav-bg: hsl(var(--hue) 32% 25% / .65);
   --modal-backdrop-bg: hsl(var(--hue) 54% 74% / .1);
   --footer-bg: linear-gradient(360deg, hsl(var(--hue) 54% 74% / .15), hsl(var(--hue) 54% 74% / .1));

   --scrollbar-color: hsl(var(--hue) 0% 98%);
   --scrollbar-thumb: hsl(var(--hue) 0% 75%);
   --scrollbar-thumb-hover: hsl(var(--hue) 0% 35%);

   /* ======= Font and typography ======= */
   --body-font-family: "Inter", sans-serif;
   
   /* ======= Font sizes ======= */
   --h1-font-size: 2.85rem;
   --h2-font-size: 2.25rem;  
   --h3-font-size: 1.97rem;
   --h4-font-size: 1.43rem;
   --h5-font-size: 1.13rem;

   --xlarge-font-size: 1.48rem;
   --large-font-size: 1.23rem;
   --medium-font-size: 1.18rem;
   --base-font-size: 1.1rem;
   --small-font-size: 1.07rem;
   --tiny-font-size: .98rem;
   
   /* ======= Font weights ======= */
   --font-light: 300;
   --font-regular: 400;
   --font-medium: 500;
   --font-semi-bold: 600;
   --font-bold: 700;

   /* ======= Layering order(z-index) ======= */
   --z-minus: -1;
   --z-base: 0;
   --z-low: 1;
   --z-high: 10;
   --z-content: 100;
   --z-tooltip: 1000;
   --z-fixed: 1100;
   --z-overlay: 1110;
   --z-modal: 1990;
   --z-max: 9999;
}

/* =========================================
   Light theme
========================================= */
:root[data-theme="dark"] {
   /* ======= Changeable colors for dark/light themes ======= */
   --color-01: hsl(var(--hue) var(--sat) var(--light)); /* primary to dark */
   --color-02: hsl(var(--hue) 45% 98%); /* white to dark */
   --color-03: hsl(var(--hue) 26% 12%); /* dark to white */
   --color-04: hsl(var(--hue) 0% 62%); /* light-graygray to dark-gray */
   --color-05: hsl(var(--hue) 26% 12%); /* dark to primary */

   --body-color: hsl(250 26% 12%); /* dark to white */
   --hover-color: hsl(var(--hue) var(--sat) calc(var(--light) - 7%));

   --text-color-01: hsl(var(--hue) 45% 98%);
   /* --text-color-02: hsl(var(--hue) 0% 62%); */
   --text-color-02: hsl(var(--hue) 0% 75%);
   /* --text-color-03: hsl(var(--hue) 0% 52%); */
   --text-color-03: hsl(var(--hue) 0% 65%);

   --input-bg-color: hsl(250 26% 16%);
   --input-bg-lighter-color: hsl(250 26% 12%);
   --select-bg-color: hsl(250 26% 16%);

   --selectbox-arrow: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');

   --dark-color: hsl(var(--hue) var(--sat) var(--light));
   --card-bg: hsl(250 26% 12%);
   --card-border: 1px solid hsl(var(--hue) 25% 25%);
   --box-border: 1px solid hsl(var(--hue) 25% 25%);
   /* --header-border: 1px solid hsl(var(--hue) 25% 25%); */
   --header-border: none;
   --header-shrink-border: 1px solid hsl(var(--hue) 25% 25%);
   --footer-border: 1px solid hsl(var(--hue) 25% 25%);
   --table-border: 1px solid hsl(var(--hue), 25%, 25%);
   --line-color: hsl(var(--hue), 25%, 20%);
   --icon-bg-color: hsl(var(--hue) 30% 20%);

   --scrollbar-color: hsl(var(--hue) 26% 16%);
   --scrollbar-thumb: hsl(var(--hue) 26% 40%);
   --scrollbar-thumb-hover: hsl(var(--hue) var(--sat) calc(var(--light) - 7%));
}

/* =========================================
   Main CSS
========================================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Poppins', sans-serif; */
    /* font-family: "Inter", sans-serif; */
    /* font-family: "Lexend", sans-serif; */
    /* font-family: "Outfit", sans-serif; */
    /* font-family: "Exo 2", sans-serif; */
    /* font-family: "Jost", sans-serif; */
    /* font-family: "Maven Pro", sans-serif; */
    font-family: "Google Sans Flex", sans-serif;
}

body{
    min-height: 100vh;
    /* background: #f8f8f8;#f8f9fc */
    background: var(--body-color);
}

html{
   scroll-behavior: smooth;
}

::-webkit-scrollbar{
    width: 8px;
    background: var(--scrollbar-color);
}

::-webkit-scrollbar-thumb{
  background: var(--scrollbar-thumb);
  border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover{
  background: var(--scrollbar-thumb-hover); 
}

/* =========================================
   Header
========================================= */
.header{
    z-index: 999;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
}

.header-body{
    /* max-width: 1100px; */
    width: 100%;
    background: var(--card-bg);
    border-bottom: var(--header-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 120px;
    transition: .3s ease;
    transition-property: padding, backdrop-filter, box-shadow;
}

.header-body.shrink{
    padding: 15px 120px;
    background: none;
    /* background: var(--white-color); */
    backdrop-filter: blur(15px);
    border-bottom: var(--header-shrink-border);
    /* box-shadow: 0 5px 25px rgb(0, 0, 0, .05); */
}

.header-menu-area{
    display: flex;
    gap: 25px;
}

.header .unit-logo a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--text-color-01);
    font-size: 1.25em;
    font-weight: 750;
}

.unit-logo-heder-img{
    width: 22px;
}

.wide-screen-header-nav{
    display: flex;
}

.nav-items{
    display: flex;
    list-style: none;
    gap: 25px;
    margin-right: 50px;
}

.nav-item a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-color-01);
    font-size: .9em;
    font-weight: 450;
    transition: var(--element-transition);
}

.nav-item a:hover{
    color: var(--primary-color);
}

/* .wide-screen-header-nav .nav-item svg{
    width: 16px;
    color: var(--primary-color);
} */

/* =========================================
   Mobile header
========================================= */
.mobile-header-menu-icon{
    display: none;
    cursor: pointer;
    transition: var(--element-transition);
}

.mobile-header-menu-icon:hover{
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-header-nav{
    display: none;
    position: absolute;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: var(--transparent-white-color);
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
}

.mobile-nav-body{
    position: relative;
}

.mobile-header-nav .mobile-nav-body{
    position: relative;
    width: 450px;
    height: fit-content;
    background: var(--card-bg);
    padding: 80px 25px 35px 25px;
    margin: 0 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow-hard);
}

.mobile-nav-body .mobile-nav-close-btn{
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    margin: 20px;
    color: var(--text-color-01);
    /* font-size: 1.35em; */
    cursor: pointer;
    transition: var(--element-transition);
}

.mobile-nav-body .mobile-nav-close-btn:hover{
    color: var(--primary-color);
}

.mobile-header-nav .nav-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    list-style: none;
    text-decoration: none;
}

.mobile-header-nav .nav-list a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--text-color-02);
    font-size: .975em;
    font-weight: 450;
    transition: var(--element-transition);;
}

.mobile-header-nav .nav-list a svg{
    width: 18px;
    color: var(--primary-color);
}

.mobile-header-nav .nav-list a:hover{
    color: var(--primary-color);
}

.mobile-menu-copy-right{
    font-size: .875em;
    color: var(--text-color-03);
    text-align: center;
    margin-top: 70px;
}

.mobile-menu-copy-right a{
    text-decoration: none;
    color: var(--text-color-03);
    font-weight: 500;
    transition: var(--element-transition);
}

.mobile-menu-copy-right a:hover{
    color: var(--primary-color);
}

/* ========== Dark/Light theme buttons ========== */
.theme-btn{
   position: relative;
   display: flex;
   justify-content: end;
   align-items: center;
   width: 17px;
   height: 17px;
   cursor: pointer;
}

.theme-btn .theme-icon{
   position: absolute;
   color: var(--text-color-01);
   /* font-size: 1.1em; */
   cursor: pointer;
   transition: .3s;
}

.theme-btn:hover .theme-icon{
   color: var(--primary-color);
   transform: rotate(-15deg);
}

/* .theme-btn .moon-icon{
   display: none;
} */

.theme-btn.active-sun-icon .sun-icon,
.theme-btn .moon-icon{
   opacity: 1;
   transition: .3s;
}

.theme-btn.active-sun-icon .moon-icon,
.theme-btn .sun-icon{
   opacity: 0;
   transition: .3s;
}

/* =========================================
   Footer
========================================= */
.footer{
    width: 100%;
    padding: 35px 140px;
    margin-top: 100px;
    background: var(--card-bg);
    box-shadow: var(--box-shadow-light);
    border-top: var(--footer-border);
}

.footer-body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-body .footer-row-one{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 50px;
}

.group-menu{
    list-style: none;
}

.footer-body .unit-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-body .unit-logo a{
    text-decoration: none;
    color: var(--text-color-01);
    font-size: 1.2em;
    font-weight: 650;
}

.unit-logo-img img{
    width: 45px;
}

.unit-logo-text{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 3px;
}

.footer-group .group-title{
    color: var(--text-color-01);
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-group .group-menu{
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.footer-group .group-menu .menu-item a{
    text-decoration: none;
    font-size: .9em;
    color: var(--text-color-03);
    transition: var(--element-transition);
    display: flex;
    justify-content: start;
    align-items: center;
}

.footer-group .group-menu .menu-item a:hover{
    color: var(--primary-color);
}

.footer-group .menu-item svg{
    width: 17px;
    color: var(--primary-color);
    margin-right: 5px;
}

.footer-body .unit-logo p{
    /* margin-top: 7px; */
    font-size: .9em;
    color: var(--text-color-03);
    max-width: 350px;
}

.footer-column-two{
    display: flex;
    gap: 150px;
}

.copy-right{
    font-size: .9em;
    color: var(--text-color-03);
}

.copy-right a{
    text-decoration: none;
    color: var(--text-color-03);
    font-weight: 500;
    transition: var(--element-transition);
}

.copy-right a:hover{
    color: var(--primary-color);
}

/* ========== To top button with scroll indicator bar ========== */
.to-top-btn{
   /* z-index: var(--z-fixed); */
   position: fixed;
   /* background: hsl(var(--hue) 54% 74% / .2); */
   /* height: 100px; */
   /* width: 2px; */
   bottom: 25px;
   right: -35px;
   cursor: pointer;
   transition: all .3s ease;
}

.to-top-btn.active{
   right: 10px;
}

.to-top-btn a{
   background: var(--text-color-02);
   transition: .3s;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 3px;
   width: 32px;
   height: 32px;
   opacity: .5;
}

.to-top-btn a svg{
    width: 22px;
    color: #fff;  
}

.to-top-btn a:hover{
   /* color: var(--hover-color); */
   background: var(--primary-color);
   opacity: 1;
}

/*======= Media queries (max-width: 1250px) =======*/
@media screen and (max-width: 1250px) {
    .footer {
        padding: 35px 50px;
    }

    .footer-column-one{
        margin-right: 50px;
    }

    .footer-column-two {
        display: flex;
        gap: 85px;
    }
}

/*======= Media queries (max-width: 1010px) =======*/
@media screen and (max-width: 1010px) {
    .header-body {
        /* max-width: 800px; */
    }

    .header-body{
        padding: 25px;
    }

    .header-body.shrink{
        padding: 15px 25px;
    }
}

/*======= Media queries (max-width: 850px) =======*/
@media screen and (max-width: 850px) {
    .footer-body .footer-row-one {
        flex-direction: column;
        gap: 35px;
    }

    .footer-body .footer-row-one{
        align-items: start;
    }

    .footer-column-two {
        gap: 35px;
        flex-direction: column;
    }

    .footer {
        padding: 25px;
    }

    .footer-row-two{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

/*======= Media queries (max-width: 650px) =======*/
@media screen and (max-width: 650px) {
    .header-body.shrink{
        background: var(--card-bg);
        backdrop-filter: none;    
    }

    .mobile-header-menu-icon{
        display: block;
        color: var(--text-color-01);
        width: 19px;
        height: 19px;
    }

    .mobile-header-nav.active{
        display: flex;
    }
    
    .wide-screen-header-nav{
        display: none;
    }
}

/*======= Media queries (max-width: 550px) =======*/
@media screen and (max-width: 550px) {
    .mobile-header-nav .nav-list{
        width: 100%;
    }
}

/*======= Media queries (max-width: 475px) =======*/
@media screen and (max-width: 475px) {
    
}

/*======= Media queries (max-width: 425px) =======*/
@media screen and (max-width: 425px) {
    
}