/* Navbar styles */
.navbar {
    padding: 10px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; 
   
}

.edit-toggeler{
    filter: invert(100%);
}

.dropdown-menu {
    min-width:2.25rem;
}

.dropdown-item {
    padding: 0px;
    text-align: center;
}
.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    padding-left: 15px;
    padding-right: 15px;
}

.nav-link{
    color: #030410 !important;
}


#themeToggle{
    background-color: transparent;
}

#languageDropdown{
    background-color: #EDEDED;
    color: black;
}

.navbar-nav .dropdown-menu {
   
    border: none;
    border-radius: 0;
}

.navbar-nav .dropdown-item {
    color: black;
}

.navbar-nav .dropdown-item:hover {
    background-color: #4a4a4a;
   
}

.contact-btn {
    background-color: #336D94;
    color: white;
    border: none;
    padding: 7px 38px;
    border-radius: 7px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    

}


.navbar-gradient-bg {
    background-size: cover;
    background-position: center;
}

.nav-item .nav-link{
    
    font-weight: 500;
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: center;
}

.nav-link{
    white-space: nowrap;
}

.navbar-scrolled {
    background-color: #121212; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .navbar-toggler{
    border: none;
  }
  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }
  

@media (max-width: 1200px) and (min-width: 992px) {
    .navbar-nav .nav-link {
      padding-left: 8px;
      padding-right: 8px;
      font-size: 14px;
    }
    
    .contact-btn {
      padding: 7px 20px;
    }
  }
  
  
  @media (max-width: 991px) and (min-width: 768px) {
    .navbar-nav .nav-link {
      padding-left: 5px;
      padding-right: 5px;
      font-size: 12px;
    }
    
    .contact-btn {
      padding: 5px 15px;
      font-size: 14px;
    }
  }


  /* -------------footer styles--------- */

.footer .container{
    
    padding: 27px 20px 5px 20px;
}

.footer-form {
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.footer-form .form-control {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px; /* Make room for the arrow */
    border: 1px solid #C6C9CE;
    border-radius: 6px;
    font-size: 14px;
}

.arrow-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-button img {
    width: 20px;
    height: 20px;
}

.arrow-button:hover {
    opacity: 0.8;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; /* Changed from baseline to better align items */
    gap: 30px;
    margin-bottom: 40px;
}

/* Company Info Section */
.footer-info {
    flex: 1;
    min-width: 200px; /* Reduced from 280px */
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    font-size: 14px;
    color: #707070;
    line-height: 1.6;
    word-wrap: break-word; /* Added to ensure text wraps properly */
}

/* Contact Form Section */
.footer-contact {
    flex: 1;
    min-width: 200px; /* Reduced from 250px */
    max-width: 400px;
}

.footer-contact h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #254B72;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-form {
    display: flex;
    gap: 10px;
}

.footer-form .form-control {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #C6C9CE;
    border-radius: 6px;
    font-size: 14px;
}

.footer-form .contact-btn {
    padding: 7px 20px;
}

.footer-social{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social h3{
    font-size: 18px;
    color: #254B72;
    margin-bottom: 15px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #32A3E5;
    border-radius: 50%;
}

.social-icon img {
    width: 18px;
    height: 18px;
}

/* Copyright Section */
.footer-copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #707070;
}

.footer-copyright a {
    color: #3FC5E8;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px; /* Reduced gap for mobile */
    }
    
    .footer-info, .footer-contact, .footer-social {
        max-width: 100%;
        min-width: 100%; /* Force full width on mobile */
    }
    
    .footer-description {
        max-width: 100%; /* Ensure text doesn't overflow container */
        font-size: 13px; /* Slightly smaller text on mobile */
    }
    
    .footer-social {
        align-items: flex-start; /* Align with other sections on mobile */
    }
    
    .footer .container {
        padding: 20px 15px 5px 15px; /* Slightly reduced padding */
    }
}

/* Add additional breakpoint for smaller phones */
@media (max-width: 480px) {
    .footer-info, .footer-contact, .footer-social {
        padding: 0 5px; /* Add some padding inside each section */
    }
}



.navbar-scrolled-white {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
 
  .navbar-nav .nav-link.text-dark {
    color: #212529 !important;
  }
  
  
  
  /* Update the contact button to ensure it looks good on white background */
  .navbar-scrolled-white .contact-btn {
    background-color: #336D94;
    color: white;
  }
  
  /* Style for navbar toggler (hamburger menu) */
  .navbar-toggler-icon {
    transition: background-image 0.3s ease;
  }
  
  
  body.dark-mode .footer-form .form-control{

    border: 1px solid var(--gradient, #32A3E5);
    background-color: transparent;
   
}


body.dark-mode .footer-contact h3 ,
body.dark-mode .footer-social h3
{
    color: white;
}

 
body.dark-mode .contact-heading{
    color: white;
}

body.dark-mode .footer-copyright p
, body.dark-mode .footer-description{
    color:white;
    opacity: 70%;
}

.form-control::placeholder {
    color: #AFAFAF;
}

body.dark-mode .navbar-scrolled-white{
    background-color: #010A16 !important;
    box-shadow: 0 2px 10px rgba(145, 145, 145, 0.1);
    transition: all 0.3s ease;
    
}

body.dark-mode .navbar-nav .nav-link{
    color: white !important;
    opacity: 80%;
}

body.dark-mode .edit-toggeler{
    filter: none;
}

@media(max-width:991px){
    .custom-nav-section-styles{
        justify-content: center ;
    }
}

