/* Hide the header by moving it off-screen */
.header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }
  
  /* Add background color when scrolling */
  .header.scrolled {
    background-color: #2a013a; /* Your preferred background color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
    transition: background-color 0.3s ease, opacity 0.3s ease;
    height: 100px;
    opacity: 0.8;
  }
  
  
  /* Header initially */
  #navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
  
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  

  /* Style the navbar links */
  #navbar a {
    float: left;
    display: block;
    text-align: center;
    padding: 15px;
    text-decoration: none;
  }
  
  
  .sidebar {
    position: fixed;
    right: -250px;
    transition: right 0.3s ease;
  }
  
  


  
  /* Header Styling */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    color: #ffffff;
    background: transparent; /* Initially transparent */
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease-in-out; /* Smooth transitions */
  }
  
  /* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%; /* Initially hidden */
  width: 250px;
  height: 100%;
  background-color: #333;
  color: #fff;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar nav a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #030637;
  border-bottom: 1px solid #444;
}

.sidebar nav a:hover {
  background-color: #2a013a;
  color: #EAD0F9;
  opacity: 0.7;
}

.close-btn {
  font-size: 24px;
  padding: 15px 20px;
  cursor: pointer;
  text-align: right;
  color: #0a0a0a;
}

.menu-icon {
  display: none; /* Hidden on desktop */
  cursor: pointer;
}

/* .menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease;
} */

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color:  #ffffff;
  }

/* Media query for mobile */
@media (max-width: 768px) {
  .menu-icon {
    display: block; /* Visible on mobile */
  }
  
  .nav-links {
    display: none; /* Hide desktop navigation */
  }

  
  .sidebar {
    position: fixed;
    right: -250px;
    transition: right 0.3s ease;
  }
  
  /* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%; /* Initially hidden */
  width: 250px;
  height: 100%;
  background-color: #333;
  color: #fff;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar nav a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #030637;
  border-bottom: 1px solid #444;
}

.sidebar nav a:hover {
  background-color: #2a013a;
  color: #EAD0F9;
  opacity: 0.7;
}

.close-btn {
  font-size: 24px;
  padding: 15px 20px;
  cursor: pointer;
  text-align: right;
  color: #0a0a0a;
}

.menu-icon {
  display: none; /* Hidden on desktop */
  cursor: pointer;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color:  #ffffff;
  }

}

  
  
  .logo img {
  height: 50px;
  margin-top: 20px;
  margin-left: 20px;
  }
  .subservices {
    display: none;
  }
  
  
  
  .nav-links {
  display: flex;
  gap: 20px;
  font-family: tran sans,sans-serif;
  }
  
  .nav-links a {
  text-decoration: none;
  color:  #ffffff;
  font-size: 16px;
  font-family: tran sans,sans-serif;
  transition: color 0.3s;
  margin-top: 20px;
  margin-right: 60px;
  }
  
  .nav-links a:hover {
  color: #EAD0F9;
  text-decoration: underline !important;
  }
  
  /* Menu Icon for Mobile */
  .menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  }
  
  .menu-icon span {
  width: 25px;
  height: 3px;
  background-color:  #ffffff;
  }
  
  /* Sidebar Styling */
  .sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #EAD0F9;
  color: #030637;
  padding: 20px;
  display: flex;
  flex-direction: column; 
  gap: 20px;
  
  
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease-in-out;
  z-index: 9999;
  }
  
  .sidebar a {
  text-decoration: none;
  color: #EAD0F9;
  font-size: 18px;
  transition: color 0.3s;
  display: block; 
  margin-bottom: 30px;
  font-family: tran sans,sans-serif;
  }
  
  .sidebar a:hover {
  color: #030637;
  }
  
  /* Close button */
  .close-btn {
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 20px;
  align-self: flex-end;
  }

  .footer-logo
  {
    height: 50px;
  
  }
  






/* Media queries for responsiveness */
@media (max-width: 1024px) {
    .nav-links {
      display: none; /* Hide links in desktop header */
    }
  
    .menu-icon {
      display: flex; /* Show menu icon */
      font-family: tran sans,sans-serif;
    }
    
    .logo img {
      height: 40px; /* Adjust logo size */
      
    }
}
  
@media (max-width: 768px) {
    .header {
      padding: 20px 20px; /* Adjust header padding */
    }
  
    .menu-icon span {
      width: 20px; /* Reduce menu icon size */
      height: 2.5px;
      font-family: tran sans,sans-serif;
    }
  
    .sidebar {
      width: 200px; /* Reduce sidebar width */
      margin: auto;
    }
  
    .sidebar a {
      font-size: 16px; /* Adjust font size in sidebar */
    }
  
    .logo img {
      height: 35px;
      margin: auto; /* Further reduce logo size */
    }
}


@media (max-width: 480px) {
    .header {
      padding: 20px 20px; /* Adjust header padding */
    }
  
    .menu-icon span {
      width: 18px; /* Reduce menu icon size */
      height: 2.5px;
      font-family: tran sans,sans-serif;
      
    }
  
    .sidebar {
      width: 200px; /* Reduce sidebar width */
    }
  
    .sidebar a {
      font-size: 16px; /* Adjust font size in sidebar */
    }
  
    .logo img {
      height: 30px; /* Further reduce logo size */
    }

}

@media (min-width: 1025px) {
    .sidebar {
      display: none; /* Prevent sidebar from appearing on desktop */
    }
  
    .menu-icon {
      display: none; /* Hide menu icon */
    }
  
    .nav-links {
      display: flex; /* Display nav links directly */
      gap: 20px;
      align-items: center;
    }
}

/* style for footer */

/* Footer Styles */
.footer {
  background-color: #2a013a;
  color: #fff;
  width: 100vw;
  padding: 40px 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #5e0f7a;
  padding-bottom: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  height: 50px;
}

.footer-center-text p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  font-family: tran sans,sans-serif;
}

.footer-social-icons a {
  font-family: tran sans,sans-serif;
  margin: 0 5px;
}

.footer-social-icons img {
  font-family: tran sans,sans-serif;
  width: 24px;
  height: 24px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  
  min-width: 250px;
  margin: 10px;
  
}

.contact-subscribe {
  display: flex;
  flex-direction: row;
 
  flex-wrap: wrap;
}

.contact {
  flex: 1;
  margin-right: 20px;
}

.subscribe {
  flex: 1;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
}

ul li a {
  font-family: tran sans,sans-serif;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.contact p {
  font-family: tran sans,sans-serif;
  margin: 10px 0;
  font-size: 14px;
}

.contact a {
  font-family: tran sans,sans-serif;
  color: #fff;
  text-decoration: none;
}

.subscribe-form {
  margin-top: 15px;
}

.subscribe-form input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  width: calc(100% - 70px);
  margin-right: 10px;
}

.subscribe-form button {
  padding: 10px 20px;
  background-color: #5e0f7a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #5e0f7a;
  padding-top: 10px;
  font-size: 14px;
  color: #fff;
}
.footer-container h3
{
  font-size: 18px;
  margin-top: 30px;
  font-family: tran sans,sans-serif;

}


/* Media queries for responsiveness */
@media (max-width: 1024px) {
.footer-container {
    flex-direction: row; /* Retain row layout but adjust gaps */
    max-width: 700px;
    gap: 15px;
  }

  .footer-section {
    flex: 1;
    margin: 10px; /* Maintain spacing */
  }

  .contact-subscribe {
    flex-direction: row; /* Stack contact and subscribe sections */
    gap: 20px; /* Add gap between stacked sections */
  }

  .subscribe-form input {
    width: calc(100% - 80px); /* Adjust input width */
  }

  .footer-top {
    flex-direction: column; /* Stack logo, text, and social icons */
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-social-icons {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
.footer-container {
  flex-direction: row; /* Retain row layout but adjust gaps */
  gap: 15px;
}

.footer-section {
    margin: 10px; /* Maintain spacing */
}

.contact-subscribe {
  flex-direction: row; /* Stack contact and subscribe sections */
}

.subscribe-form input {
  width: calc(100% - 80px); /* Adjust input width */
}

.footer-top {
  flex-direction: column; /* Stack logo, text, and social icons */
  align-items: center;
  text-align: center;
  gap: 15px;
}

.footer-social-icons {
  margin-top: 10px;
}
}


@media (max-width: 480px) {

.footer-container {
    flex-direction: column; /* Stack all sections vertically */
    gap: 15px;
    text-align: center;
  }

  .footer-section {
    margin: 0; /* Remove margins for compact design */
  }

  .contact-subscribe {
    flex-direction: column; /* Keep contact and subscribe stacked */
    gap: 15px;
  }

  .subscribe-form input {
    width: 100%; /* Full width for input on small screens */
    margin-bottom: 10px; /* Add spacing below input */
  }

  .subscribe-form button {
    width: 100%; /* Full width button */
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social-icons img {
    width: 18px; /* Further reduce icon size */
    height: 18px;
  }

  .footer-logo img {
    height: 35px; /* Adjust logo size */
  }
}
