@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Reset & base */
  * {
    margin: 0; padding: 0; box-sizing: border-box;
  }
 
  a {
    color: #000038;
    text-decoration: none;
  }

  /* Container layout for intro */
  .intro-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 2rem;
    background-color: #000038;
    color: #FFFFFF;
  }

  .intro-text {
    flex: 1 1 450px;
    max-width: 600px;
  }
  .intro-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }
  .intro-text p {
    line-height: 1.6;
    font-size: 1.1rem;
  }

  /* Video container */
  .video-box {
    flex: 1 1 400px;
    max-width: 750px;
    border: 3px solid #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px #FFFFFFa0;
  }
  .video-box iframe, .video-box video {
    width: 100%;
    height: 450px;
    display: block;
  }

  /* Side-by-side Mission and Vision cards */
  .cards-row {
    display: flex;
    gap: 2rem;
    max-width: 1600px;
    margin: 4rem auto 3rem auto;
    padding: 0 1rem;
    justify-content: center;
  }
  .glass-card {
    background: rgba(0, 0, 56, 0.05);
    flex: 1 1 45%;
    padding: 2.5rem 3rem;
    border: 1.5px solid #000038;
    box-shadow: 0 0 18px rgba(0, 0, 56, 0.3);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease-out;
    color: #000038;
  }
  .glass-card.show {
    opacity: 1;
    transform: translateY(0);
  }
  .glass-card h2 {
    color: #000038;
      /* font-size: 2.3rem; */
    margin-bottom: 1.2rem;
    margin-top: 1vw;
  }
  .glass-card p {
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 1.3rem;
  }
  .glass-card ul {
    list-style: none;
    padding-left: 0;
    font-weight: 600;
  }
  .glass-card ul li {
    margin-bottom: 0.65rem;
    padding-left: 1.1rem;
    position: relative;
  }
  .glass-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #000038;
    font-weight: bold;
  }

  /* Legacy timeline - 3 cards side by side */
  .legacy-section {
    max-width: 1600px;
    margin: 3rem auto 4rem auto;
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    justify-content: center;
  }
  .legacy-card {
    background: #000038;
    border: 2px solid #000038;
    box-shadow: 0 0 25px #000038aa;
    flex: 1 1 30%;
    color: #FFFFFF;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .legacy-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }
  .legacy-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #CCCCCC;
    flex-grow: 1;
  }
  /*-----------------------------------------------*/
  .scroll-bg-section {
  position: relative;
  z-index: 1;
}

.scroll-bg-overlay {
  background: rgba(255, 255, 255, 0.64); /* White overlay to keep text readable */
  padding: 4rem 1rem;
  z-index: 2;
}


  /* Back to top button */
  #backToTop {
    position: fixed;
    right: 25px;
    bottom: 30px;
    background-color: #000038;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    box-shadow: 0 0 12px #000038aa;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    user-select: none;
    transition: background-color 0.3s ease;
    z-index: 9999;
  }
  #backToTop:hover {
    background-color: #FFFFFF;
    color: #000038;
  }
  .intro-text h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.intro-text h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FFFFFF;
  margin-top: 8px;
  border-radius: 2px;
}
  .whatsapp-float {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 1000;
        }
        
        .whatsapp-float img {
            width: 65px;
            height: 65px;
            transition: transform 0.3s ease-in-out;
        }
        
        .whatsapp-float img:hover {
            transform: scale(1.1);
        }
  /* Responsive */
  @media (max-width: 860px) {
    .intro-section {
      flex-direction: column;
      color: #FFFFFF;
    }
    .video-box {
      max-width: 100%;
      height: auto;
      margin-top: 1.5rem;
      border-color: #FFFFFF;
      box-shadow: 0 0 15px #FFFFFFa0;
    }
    .video-box iframe, .video-box video {
      height: 220px;
    }
    .cards-row {
      flex-direction: column;
      gap: 3rem;
      max-width: 90%;
      margin: 3rem auto;
    }
    .glass-card {
      flex: none;
      width: 100%;
      box-shadow: 0 0 18px rgba(0, 0, 56, 0.7);
    }
    .legacy-section {
      flex-direction: column;
      gap: 3rem;
      max-width: 90%;
      margin: 3rem auto;
    }
    .legacy-card {
      flex: none;
      width: 100%;
    }
  }
  @media (max-width: 480px) {
    .intro-text h1 {
      font-size: 2rem;
    }
    .glass-card h2 {
      font-size: 1.8rem;
    }
  }
  /*----------------------------Accreditations Slider-----------------------------*/
  .slider-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
  }
  
  .logo-slider {
    flex: 1.5; /* Make the slider section take up more space */
    display: flex;
    overflow: hidden;
    padding-left: 20px; /* Add padding to the left */
  }
  
  .logo-track {
    display: flex;
    animation: slide 7s linear infinite;
  }
  
  .logo-track img {
    max-height: 90px; /* Increase logo size */
    margin-right: 20px;
  }
  /* Reduce the size of specific logos */
.logo-track img[alt="Logo 2"], /* hlc-logo */
.logo-track img[alt="Logo 3"] { /* nc-sara-logo */
  width: 130px; /* Adjust the size as needed */
}
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  /* Adjust slider loop for continuous effect */
  .logo-track {
    display: flex;
    animation: slide 20s linear infinite;
  }
  
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* Adjust so logos repeat smoothly */
  }
}
/*--------------------------------------------*/
.pillars-section {
  padding: 5rem 2rem;
  color: #000038;
  overflow: hidden;
}

.pillars-intro h2 {
  font-size: 2.8rem;
  color: #000038;
  margin-bottom: 0.5rem;
  text-align: center;
}

.pillars-intro p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0.5rem auto;
  text-align: left;
}

.pillars-intro .subtext {
  margin-top: 1vw;
  font-size: 1rem;
  color: #444;
  text-align: center;
  line-height: 1.7;
  max-width: 1200px;  
}

.pillars-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4rem;
  gap: 2rem;
}

.pillar-card {
  background: rgba(0, 0, 56, 0.05);
  box-shadow: 0 0 18px rgba(0, 0, 56, 0.368);
  color: #000038;
  padding: 1rem;
  width: 450px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.pillar-img img{
  height: 250px;
  width: 100%;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #000038;
}

.pillar-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* Scroll fade animation */
.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
/*-----------------------------------------*/
.uaq-highlight {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  background-color: #000038;
}
.uaq-grid {
  display: flex;
  max-width: 1200px;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.uaq-images {
  flex: 1;
}
.img-top, .img-bottom {
  width: 100%;
    border-radius: 4px;
  margin-bottom: 1rem;
}
.uaq-content {
  flex: 1;
}
.uaq-content h5 {
  color:lightseagreen;
  text-transform: uppercase;
}
.uaq-content h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature h4{
  color:lightseagreen;
}
.feature p{
  color:white;
}
.feature i {
  font-size: 2rem;
  color: lightseagreen;
}

/* Discover UAQ */
.discover-uaq {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
}
.discover-uaq h2 {
  font-size: 2.4rem;
  color: #000038;
  margin-bottom: 1rem;
}
.discover-uaq .intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #444;
}
.uaq-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.uaq-card {
  display: block;
  width: 450px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.uaq-card:hover {
  color: seagreen;
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.uaq-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.card-body {
  padding: 1.2rem;
  text-align: left;
}
.card-body h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  color: #000038;
  position: relative;
}
.card-body h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #a6004a;
  margin-top: 6px;
}
.card-body p {
  font-size: 0.98rem;
  color: #333;
  margin-top: 0.8rem;
}
.card-body p:hover{
  color: seagreen;
}