* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

body {
    position: absolute;
    width: 100%;
    background-image: url("/assets/vectorized_pattern.svg");
    background-repeat: repeat;
    background-size: auto; 
}

/* Preloader styles */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.preloader-logo {
    width: 250px;
    height: auto;
    margin-bottom: 5px;
}

.progress-container {
    width: 300px;
    height: 8px;
    background-color: #EBEEF1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #07A550, #4be36a, #07A550);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progress-glow 2s ease-in-out infinite;
}

@keyframes progress-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(7, 165, 80, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(7, 165, 80, 0.6);
    }
}




/* NavBar styling */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 200px;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    z-index: 999;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #07A550;
}



.nav,
.nav .nav-links {
    display: flex;
    align-items: center;
}
.nav {
    justify-content: space-between;
}
a {
    color: #131313;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.nav-links a:hover{
    color: #07A550;
    text-decoration: underline;
}

.logo img {
    width: 150px;
}

.nav .nav-links {
    column-gap: 20px;
    list-style: none;
}
.nav .nav-links a {
    transition: all 0.2s linear;
}

.apply{
    display: none;
}


.btn {
    width: 156px;
    height: 48px;
    padding: 13px 16px;
    background-color: #07A550;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: bold;  
    cursor: pointer;
}

.btn:hover{
    background: #131313;
    color: #fff;
}

  
.nav .navOpenBtn,
.nav .navCloseBtn {
    display: none;
}

/* Dropdown Styling */
.nav .dropdown {
    position: relative;
}

.nav .dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    /* background-color: #EBEEF1; */
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 10px 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.nav .dropdown-menu li {
    list-style: none;
}

.nav .dropdown-menu a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #131313;
    white-space: nowrap;
}

.nav .dropdown-menu a:hover {
    color: #07A550;
    text-decoration: underline;
}

/* Show Dropdown */
.nav .dropdown:hover .dropdown-menu {
    display: flex;
}


/* Newsletter*/
.section-four{
    padding: 80px 240px;
}
  
.newsletter-bg {
    background-color: #EBEEF1;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}
  
.newsletter-content {
    text-align: center;
    color: #131313;
    max-width: 800px;
}
  
.newsletter-content h2 {
    font-size: 36px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}
  
.newsletter-content p {
    font-size: 16px;
    margin-bottom: 20px;
    font-family: "DM Sans", serif;
}
  
.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
  
.newsletter-form div {
    padding: 15px 25px;
    background-color: #07A550;
    color: white;
    font-size: 16px;
    font-family: "DM Sans", serif;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}
  
.newsletter-form div:hover {
    background: #131313;
    color: #fff;
}



/* Footer */
.footer {
    /* background: #fff; */
    border-top: 1px solid #07A550;
}
  
.footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    padding: 60px 150px;
}
  
.footer-logo {
    display: flex;
    align-items: center;
}
  
.footer-logo h1{
    font-size: 48px;
    font-weight: 300px;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #131313;
}
  
.fund-reg{
    width: 163px;
    margin-top: 10px;
}
  
.fund-reg img{
    width: 100%;
}
  

.footer-row .footer-col h4 {
    color: #131313;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;

}

.footer-col .links {
    margin-top: 20px;
}

.footer-col .links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-col .links li a {
    text-decoration: none;
    color: #727272;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
}

.footer-col .links li a::selection {
    background-color: #727272;
    color: #131313;
}

.footer-col .links li a:hover {
    color: #07A550;
}

.copy-right {
    margin: 5px 0;
    color: #07A550;
}

.copy-right span {
    color: #07A550;
}


.footer-col .icons {
    display: flex;
    margin-top: 20px;
    gap: 20px;
    cursor: pointer;
}

.footer-col .icons i {
    color: #fff;
    background-color: #07A550;
    padding: 9px 10px;
    border-radius: 50%;
}

.footer-col .icons i:hover {
    color: #07A550;
    background-color: #fff;
}

.links li{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.links li:nth-child(3){
    align-items: start;
}

.links li span{
    color: #727272;
}

.links li span:hover{
    color: #07A550;
}

.footer-col .links li span::selection {
    background-color: #727272;
    color: #131313;
}

.footer-col .links i {
    color: #07A550;
}


/* -------------------------------------------- */
/* --------------Responsive styling------------ */
/* -------------------------------------------- */


/* Navbar */
@media screen and (max-width: 1232px) {
    .nav {
      padding: 15px 100px;
    }  
}

@media screen and (max-width: 950px) {
    .nav {
      padding: 15px 100px;
    }
   
}

@media screen and (max-width: 1025px) {
    .logo img {
        width: 125px;
    }

    .apply{
        display: block;
    }

    .apply-btn{
        display: none;
    }

    .nav .navOpenBtn,
    .nav .navCloseBtn {
      display: block;
    }
    .nav {
      padding: 15px 20px;
    }
    .nav .nav-links {
      position: fixed;
      top: 0;
      left: -100%;
      height: 100vh;
      max-width: 280px;
      width: 100%;
      padding-top: 100px;
      row-gap: 30px;
      flex-direction: column;
      background-color: #EBEEF1;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transition: all 0.4s ease;
      z-index: 100;
    }

    .nav .nav-links a:hover{
        color: #07A550;
        text-decoration: underline;
    }

    .nav.openNav .nav-links {
      left: auto;
      right: 0px;
    }
    .nav .navOpenBtn {
      color: #131313;
      font-size: 20px;
      cursor: pointer;
     
    }
    .nav .navCloseBtn {
      position: absolute;
      top: 20px;
      left: 20px;
      color: #131313;
      font-size: 20px;
      cursor: pointer;
    }

    
}


/* ----------Newsletter--------- */
@media (max-width: 1024px) {
    .section-four{
        padding: 40px 120px;
    }    
}
  
@media (max-width: 768px) {
    .section-four{
        padding: 40px 60px;
    }
}
  
@media (max-width: 500px) {
    .section-four{
        padding: 40px 20px;
    }
}
  
@media (max-width: 768px) {
  
    .newsletter-form {
        flex-direction: column;
    }
  
    .newsletter-form input {
        width: 100%;
    }
}
  

/* Footer */
@media (max-width: 768px) {
    .footer {
      position: relative;
      bottom: 0;
      left: 0;
      transform: none;
      width: 100%;
      border-radius: 0;
    }
  
    .footer .footer-row {
      padding: 20px;
      gap: 1rem;
    }
  
    .footer-col form {
      display: block;
    }
  
    .footer-col form :where(input, button) {
      width: 100%;
    }
  
    .footer-col form button {
      margin: 10px 0 0 0;
    }
}

@media (max-width: 1300px) {
    .hero-content{
        width: 100%;
    }
}
