body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../pictures/bg.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5; 
  z-index: -1; 
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1;
}
  .logo img {
    height: 50px;
  }
        
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 20px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease-in-out;
    font-family: century gothic;
}

.navbar.shrink {
    padding: 8px 20px;
}

#logo {
    width: 50mm;
    height: 9.505mm;
}

.navbar-nav .nav-item .nav-link {
  color: #103280; 
  font-weight: bold;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #65c1ff; 
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover {
  color: #7bb7f7;
}

.navbar-nav .nav-item .nav-link:hover::before {
  width: 100%; 
}

.btn-outline-primary {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid #004a99;
  color: #004a99;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: #004a99;
    color: white;
}

.fas {
    margin-right: 8px;
    color: #004a99;
}

.contact-icons {
    font-size: 20px;
    margin-right: 5px;
}

/*INDEX.HTML*/
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
  z-index: -1;
}

/* Accessibility Button & Container */
.accessibility-container {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  font-family: century gothic;
}

#accessibility-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

#accessibility-button img {
  width: 50px;
  height: auto;
  border-radius: 35px;
  transition: transform 0.3s ease;
}

#accessibility-button:hover img {
  transform: scale(1.1);
}

/* Dropdown Menu */
.accessibility-menu {
  display: none;
  position: absolute;
  left: 60px;
  top: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  padding: 10px;
  width: 200px;
}

.menu-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

/* Styling buttons */
.accessibility-menu button {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.accessibility-menu button:hover {
  background: #007bff;
  color: white;
}

/* Dark mode styles */
.dark-mode {
  background-color: black !important;
  color: white !important;           
}

/* Ensure images are not affected by dark mode */
.dark-mode img {
  filter: none !important; 
}

/* Apply to all elements inside dark mode to make them black */
.dark-mode * {
  background-color: black !important; 
  color: white !important;           
  border-color: white !important;   
}

/* Make buttons visible in dark mode */
.dark-mode button {
  background-color: black !important;
  color: white !important;
  border: 1px solid white;
}

/* Make links visible in dark mode */
.dark-mode a {
  color: #00bfff !important;
}

/* Make input fields visible in dark mode */
.dark-mode input, .dark-mode textarea, .dark-mode select {
  background-color: black !important;
  color: white !important;
  border: 1px solid white;
}

/* Accessibility dropdown remains black but text is visible */
.dark-mode .accessibility-dropdown {
  background-color: black !important;
  color: white !important;
  border: 1px solid white;
}

.connect {
  position: relative;
  color: white;
  text-align: left;
  padding: 100px 20px;
  margin-top: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)); 
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.connect-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 10px;
  padding: 100px 20px;
  margin-top: 50px;
}

.connect-content h2 {
  text-align: left;
}

.fade-text {
  opacity: 0;
  transform: translateY(20px); 
  display: inline-block;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-text.show {
  opacity: 1;
  transform: translateY(0); 
}

#changing-word {
  transition: opacity 0.5s, transform 0.5s;
  display: inline-block;
}

.container-fluid {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo-section {
  background-color: #f8f9fa;
  padding: 20px 0;
  border: 2px solid #000000;
  overflow: hidden;
  white-space: nowrap;
}

.logos {
  display: flex;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.logos-slide {
  display: flex;
  gap: 30px; 
  animation: scroll 40s linear infinite;
}

/* Scroll Animation */
@keyframes scroll {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-50%); 
  }
}

/* Styling for logos */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 120px;
  margin: 0 15px;
  border-radius: 10px;
}

.logo-container img {
  width: 120px;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/*abt-csr*/
.container-section {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  gap: 40px;
}

.image-overlay {
  position: relative;
  display: inline-block;
  width: 450px;
  overflow: hidden;
  border-radius: 8px;
}

.image-overlay img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-overlay:hover img {
  transform: scale(1.1);
}

.image-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 8px;
  transition: background 0.3s ease;
}

.image-overlay:hover::after {
  background: rgba(0, 0, 0, 0.7);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 30px;
  font-weight: bold;
  font-family: Poppins, sans-serif;
  text-align: center;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  font-family: century gothic;
}

.image-overlay:hover .overlay-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  color: rgb(56, 92, 251);
}

.text-container {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  font-family: century gothic;
}

.container-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #103280;
}

.text-container p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  font-family: inherit;
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.section-container {
  background-color: #f4f4f4; 
  padding: 40px;
}

/* Card Design */
.o-card {
  position: relative;
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

/* Full Image Overlay */
.o-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  color: white;
  font-family: century gothic;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: background 0.3s ease-in-out;
}

/* Text Styling with Spacing */
.o-overlay h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px; 
  transition: transform 0.3s ease-in-out;
}

.o-overlay p {
  font-size: 16px;
  margin: 0 10px; 
  max-width: 90%;
  line-height: 1.5; 
  transition: transform 0.3s ease-in-out;
}

/* Hover Effects */
.o-card:hover {
  transform: scale(1.05); 
}

.o-card:hover .o-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.o-card:hover h3,
.o-card:hover p {
  transform: scale(1.1); 
}

.container-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(5px); 
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  font-family: century gothic;
}

.card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Card Icons */
.card-icon {
  font-size: 40px;
  color: #103280; 
}

/* Headings */
.card h2 {
  font-size: 22px;
  margin: 10px 0;
  text-align: left;
}

/* Text */
.card p {
  font-size: 16px;
  line-height: 1.5;
}

/* Learn More Link */
.card a {
  display: inline-block;
  margin-top: 10px;
  color: #103280;
  text-decoration: none;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
}

/* Meet the Team */
.meet-the-team {
  text-align: center;
  font-family: century gothic;
  padding: 40px 20px;
  color: #fff;
  position: relative; 
  margin-bottom: 30px;
}

/* Overlay */
.meet-the-team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

/* Ensure content stays above overlay */
.meet-the-team h2 {
  position: relative;
  z-index: 1; 
}

.meet-the-team p {
  position: relative;
  z-index: 1;
  font-size: 18px;
}

/* Button */
.mtt-button {
  position: relative;
  z-index: 2; 
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border: 2px solid blue;
  color: blue;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 5px; 
}

.mtt-button:hover {
  background: white;
  color: #0066cc;
}

/* Section Header */
.cf h1 {
  text-align: center;
  color: #103280;
  font-weight: bold;
  font-family: 'Century Gothic', sans-serif;
  margin-bottom: 30px;
}

/* Feedback Container */
.f-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Feedback Card */
.f-card {
  background: #ffffff;
  color: #333;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  font-family: 'Century Gothic', sans-serif;
}

.f-card:hover {
  transform: scale(1.05);
  background: #e0eeff;
}

/* User Image */
.f-card img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  border: 3px solid #ffcc00;
  object-fit: cover;
}

/* Name Title */
.f-card h1 {
  font-size: 20px;
  margin: 15px 0 10px;
  color: #103280;
}

/* Subheading */
.f-card h3 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

/* Feedback Text */
.f-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

/* Star Rating */
.stars {
  color: #ffcc00;
  font-size: 18px;
  margin-top: 10px;
}

/* Feedback Stats */
.f-stats {
  margin: 40px auto 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95); 
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.9); 
  text-align: center;
  font-family: 'Century Gothic', sans-serif;
  width: 90%;
  max-width: 1000px;
}

.f-stats h2 {
  font-weight: 700;
  color: #103280;
  margin-bottom: 20px;
}

/*sol*/
.cta-banner {
  padding: 50px 20px;
  text-align: center;
  position: relative;
}

.cta-banner h2 {
  font-family: century gothic;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  color: black;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 28px;
  font-weight: 400;
}

.cta-content strong {
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border: 2px solid blue;
  color: blue;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.cta-button:hover {
  background: white;
  color: #0066cc;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background-color: #111;
  color: #fff;
  font-family: Arial;
}

.footer-top {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-top: 0px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 0px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 30px; 
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 5px;
}

.footer-logo {
  width: 150px;
}

/* Styling for the upward icon */
#upwardIcon {
  position: fixed;
  bottom: 60px;   /* Distance from the bottom */
  right: 20px;    /* Distance from the right side */
  transform: translateX(0); /* Adjust to center horizontally within the container */
  background-color: #ffffff;   /* Icon background color */
  color: rgb(0, 0, 0);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;  /* Ensure it stays on top of other content */
}

#upwardIcon:hover {
  background-color: #103280;  /* Change color on hover */
}

#upwardIcon span {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

#upwardIcon a {
  text-decoration: none; /* Remove underline */
}

.footer-copyright {
  text-align: center;
  padding: 5px 0; 
  margin: 0; 
  border-top: 1px solid #444;
  color: rgb(0, 0, 0);
  background-color: white;
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
    flex-direction: column;
  }

  .connect {
    padding: 60px 15px;
    text-align: center;
    flex-direction: column;
  }

  .connect-content {
    padding: 50px 15px;
    margin-top: 0;
  }

  .container-section {
    flex-direction: column;
    padding: 30px 15px;
  }

  .image-overlay {
    width: 100%;
  }

  .overlay-text {
    font-size: 22px;
  }

  .text-container {
    padding: 15px;
    max-width: 100%;
  }

  .logo-container {
    width: 100px;
    height: 80px;
  }

  .logo-container img {
    width: 80px;
  }

  .accessibility-container {
    top: auto;
    bottom: 20px;
    left: 20px;
  }

  .accessibility-menu {
    left: 0;
    top: auto;
    bottom: 60px;
  }

  .btn-outline-primary {
    font-size: 14px;
    padding: 8px 16px;
  }

  .navbar-nav .nav-item {
    margin-bottom: 10px;
  }

  .logos {
    gap: 10px;
  }

  .logos-slide {
    gap: 15px;
  }
  .footer-container {
    gap: 15px;
  }

  .footer-container a {
    font-size: 14px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    width: 100%;
    text-align: center;
  }
}