@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,200&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

:root {
    --gradient: linear-gradient(rgb(235, 223, 223),rgb(207, 207, 207));
    --brand-color:  #004B93;
    --brand-hover-color: #0f67aa;
    --primary-heading-color:black;
    --secondary-heading-color: #C9002B;
    --header-backround-color: #d9d9d9;
    --footer-backround-color: #353535;
    --primary-text-color: #444;
    --secondary-text-color: #ccc;
    --secondary2-text-color: #fff;
    --table-baground-color:#1a1a1a;
}
/*Custom Scroll Bar*/
html::-webkit-scrollbar{
    width: 0.5rem;

}
html::-webkit-scrollbar-thumb{
    background: var(--brand-hover-color);
    border-radius: 5rem;

}
section{
    padding: 50px 100px;
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--header-backround-color);
   padding: 5px 80px;
}
.logo img{
    width: 50px;
}
.navbar{
    display: flex;
}
.navbar li{
    position: relative;
}
.navbar i{
    font-size: 22px;
}
.navbar a{
    size: 1rem;
    padding: 10px 20px;
    color: var(--brand-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.2rem;
}
.navbar a:hover{
    color: var(--brand-hover-color);
}

.dropdown-menu-1 {
    display: none;
  }
  
  header ul li:hover .dropdown-menu-1 {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    background: var(--header-backround-color);
  }
  
  header ul li:hover .dropdown-menu-1 ul {
    display: block;
    margin: 10px;
  }
  
  header ul li:hover .dropdown-menu-1 ul li {
    width: 190px;
    padding: 10px;
  }

  .dropdown-menu-2 {
    display: none;
  }
  
  header ul li:hover .dropdown-menu-2 {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    background: var(--header-backround-color);
  }
  
  header ul li:hover .dropdown-menu-2 ul {
    display: block;
    margin: 10px;
  }
  
  header ul li:hover .dropdown-menu-2 ul li {
    width: 190px;
    padding: 10px;
  }

/* End of the drop down menu bar*/
#menu-icon{
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

/*Making Responsive*/
@media (max-width: 991px){
    header{
        padding: 5px 20px;
    }
    section{
        padding: 50px 25px;
    }   
}

@media (max-width: 871px){
    header{
         padding: 5px 15px;
    }
    #menu-icon{
        display: initial;
    }
    .sign-up{
        display: none;
    }
    header .navbar{
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #ccc;
        transition: 0.2s ease;
        text-align: left;
    }
    .navbar.active{
        top: 100%;
    }
    .navbar a{
        padding: 1rem;
        display: block;
    }
    /*Responsive for drop down menu*/
     header .navbar .dropdown-menu-1{
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #ccc;
        transition: 0.2s ease;
        text-align: left;
    }
    .navbar .dropdown-menu-1 a{
        padding: 0.6rem;
        display: block;

    }
    .navbar .dropdown-menu-1 {
        margin-top: 180px;   
    }

    header .navbar .dropdown-menu-2{
        position: absolute;
        top: -1600px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #ccc;
        transition: 0.2s ease;
        text-align: left;
    }
    .navbar .dropdown-menu-2 a{
        padding: 0.6rem;
        display: block;

    }
    .navbar .dropdown-menu-2 {
        margin-top: 120px;   
    }
    
}

@media(max-width:350px){
    .logo img{
        width: 30px;
    }
    section{
        padding: 50px 14px;
    }
    .header-btn .sign-in{
        padding: 7px 10px;
        font-size: 14px;
        font-weight: 400;
    }
}





/* Footer Styles */
.footer {
    background-color: var(--footer-backround-color);
    color: var(--secondary2-text-color);
    padding: 40px 0;
}

.footer .container {
    margin: auto;
    padding: 0 20px;
    max-width: 1800px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo,
.footer-links,
.footer-newsletter,
.footer-social {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-logo h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    color: var(--secondary-text-color);
}

.footer-links h3,
.footer-newsletter h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary2-text-color);
    text-decoration: underline;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links ul li a span{
    color: var(--secondary2-text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--secondary2-text-color);
}

.newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form input {
    padding: 10px;
    width: 70%;
    border: none;
    border-radius: 3px;
    margin-right: 10px;
}

.newsletter-form button {
    padding: 10px 15px;
    border: none;
    background-color: var(--brand-color);
    color: var(--secondary2-text-color);
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--brand-hover-color);
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    text-align: center;
}
.footer-social {
    justify-content: center;
    text-align: center;
}
.footer-social .social-icons a {
    color: var(--brand-color);
    font-size: 1.8rem;
    transition: color 0.3s;
}

.footer-social .social-icons a:hover {
    color: var(--brand-hover-color);
}

.footer-bottom {
    border-top: 1px solid var(--primary-text-color);
    padding-top: 10px;
    text-align: center;
}

.footer-bottom p {
    color: var(--secondary-text-color);
    font-size: 14px;
    margin: 0;
}
.footer-bottom  a {
    color: var(--secondary-text-color);
    font-size: 14px;
    margin: 0;
}


#loadingScreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #004B93; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#mainContent {
    display: none; /* Initially hidden */
}
