@import url('https://fonts.googleapis.com/css2family=Monserrat:wght@600&family=Poppins&display=swap');

*{
    padding: 0;
    margin: 0;
    text-decoration:none;
    box-sizing:border-box;
    font-family: 'Poppins', sans-serif;
}
.hero{
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items:center;
}
/* Header */
header {
    background: white;
    padding: 0px 0;
    border-bottom: 1px #c2efdd solid;
    position: fixed;
    width: 100%;
    max-width: 1440px;
    height: 20%;
    top: 0;
    z-index: 99;
    animation: to_bottom 1s ease forwards;
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 50px;
    padding: 0px 20px;
    
    
}

nav {
    margin-left: auto; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.logo-container img {
    height: 300px;
    width: 300px;
    margin-left: 10%; 
    margin-top: -65px; 
    margin-bottom: -90px;

}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    color: #004996;
    padding: 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #004996;
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%; 
    transform: translateX(-50%);
    background: #F2FFFB;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(41, 60, 228, 0.1); 
    display: none;
    padding: 12px 20px;
    width: 100%;
    max-width: 1440px;
    min-width: 350px; 
    z-index: 10; 
    transition: all 0.3s ease-in-out; 
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translate(-50%, 5px); 
}

.dropdown-menu li {
    padding: 10px 20px;
}

/* Dropdown Links */
.dropdown-menu li a {
    color: #002855;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    transition: 0.2s ease-in-out;
}

/* Hover Effect */
.dropdown-menu li a:hover {
    background: #c4e0e5;
    color: #004996;
    font-size: 18px;
    border-radius: 5px;
    padding: 10px 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}
.mobile-only{
    display:none;
}
   
/* Hero Section */
.hero {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    max-width: 1440px;
    min-width: 480px;
    margin: 70px auto 0; 
    padding: 100px 100px;
    flex-wrap: wrap; 
    height: 100vh;
  
}

/* Hero Content */
.hero-content p {
    font-size: 30px; 
    font-weight: 400;
    color: #396161;
    margin-bottom: 50px; 
    line-height: 1.3; 
    max-width: 55%; 
    padding-bottom: 5px; 
    width:100%;
    animation: to_right 1s ease forwards 1s;

}

/* KTTBDC Heading */
.hero-content h1 {
    font-size: 150px;
    background: linear-gradient(150deg, #004996, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: to_right 1s ease forwards .8s;
    line-height: 1.2; 
}
.hero-content h1 span:nth-child(2){
    animation-delay: .9s;
}

/*Discover More Button */
.btn {
    display: inline-block;
    font-size: 18px; 
    font-weight: 600;
    padding: 12px 20px; 
    width: 20%; 
    text-align: center; 
    border-radius: 10px;
    border: 3px solid #dcae1d;
    color: white;
    background: #dcae1d;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: to_right 1s ease forwards 1.1s;
}

/* Button Hover Effect */
.btn:hover {
    background: #a0cac2;
    color:#004996;
    border: 3px solid #a0cac2 ;
    font-weight: 650;
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    display: flex;
    align-items: center; 
    justify-content: center;
    position: absolute;
    flex-wrap: wrap;
    right: 150px;
    bottom: 0;
    top: 50px;
    height: 100%;
    animation: to_left 1s ease forwards 1.1s;
}

.hero-image img {
    height: 65%;
    margin-left: 35%;
}

/* Transition Effect */
@keyframes to_bottom {
    0%{
        transform: translateY(-50px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}

@keyframes to_right {
    0%{
        transform: translateY(-50px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}

@keyframes to_left{
    0%{
        transform: translateY(50px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .header-container {
      font-size: 30px;
      padding: 0 10px;
    }
  
    .logo-container img {
      margin-left: 5%;
    }
  
    nav ul {
      gap: 15px;
    }
  
    .hero {
      flex-direction: row;
      padding: 20px 40px;
      align-items: center;
      text-align: left;
      gap: 30px;
      flex-wrap: wrap;
    }
  
    .hero-content {
      flex: 1;
      order: 1;
      margin-top: 0;
    }
  
    .hero-content h1 {
      font-size: 80px;
      margin-left: 5%;
    }
  
    .hero-content p {
      font-size: 16px;
      margin-bottom: 10px;
      width: 50%;
      margin-left: 5%;
    }
  
    .hero-image {
      flex: 1;
      order: 2;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    .hero-image img {
      max-width: 250px;
      width: 100%;
      height: auto;
    }
  
    .btn {
      width: 30%;
      font-size: 14px;
      padding: 10px 15px;
      margin-top: 10px;
      margin-left: 5%;
    }
  }
  
  @media (max-width: 768px) {
    header {
      height: auto;
      padding: 10px 15px;
    }
  
    .header-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  
    .desktop-only {
      display: none;
    }
  
    .mobile-only {
      display: block;
    }
  
    .menu-toggle {
      display: block;
      cursor: pointer;
      z-index: 9999;
      position: absolute;
      top: 20px;
      right: 20px;
    }
  
    .menu-toggle span {
      display: block;
      width: 25px;
      height: 3px;
      background-color: #004996;
      margin: 4px 0;
      transition: all 0.3s ease;
    }
  
    .menu-toggle.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .menu-toggle.open span:nth-child(2) {
      opacity: 0;
    }
  
    .menu-toggle.open span:nth-child(3) {
      transform: rotate(-45deg) translate(10px, -10px);
    }
  
    nav ul {
      display: none;
      flex-direction: column;
      background: linear-gradient(to bottom, #e0faff, #f2f2f2);
      width: 100%;
      position: absolute;
      top: 100%;
      left: 0;
      padding: 10px;
      z-index: 99;
    }
  
    nav ul.active {
      display: flex;
    }
  
    nav ul li a {
      display: block;
      padding: 5px 15px;
      font-size: 16px;
      color: #004996;
    }
  
    .hero {
      flex-direction: column;
      align-items: center;
      padding: 40px 20px;
      text-align: center;
      gap: 20px;
    }
  
    .hero-content h1 {
      font-size: 60px;
    }
  
    .hero-content p {
      font-size: 14px;
      width: 90%;
      margin: 0 auto 15px;
    }
  
    .hero-image img {
      max-width: 250px;
      margin: 0 auto;
    }
  
    .btn {
      width: 50%;
      font-size: 14px;
      padding: 10px;
      margin: 10px auto 0;
    }
  }
  
  @media (max-width: 375px) {
    .logo-container img {
        margin-left: -30px;
        height: 120px;
        width: 120px;
        margin-top: -90px;
        margin-bottom: -60px;
        
      }
      header {
        height: auto;
        width: 375px;
      
      }

      .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      .hero-image,
      .hero-image img {
        display: flex;
        margin-top: 20px;
        margin-bottom: 30px;
        margin-left: 130px;
        height: 200px;
        width: 200px;
      }
    
      .hero-content h1 {
        font-size: 60px;
        font-weight: 900;
        margin-left: -110px;
        margin-top: 150px;
      }
    
      .hero-content p {
        font-size: 14px;
        margin-left: 40px;
        width: 200%;
        text-align: center;
        display: flex;
      }
    
      .btn {
        width: 60%;
        font-size: 16px;
        margin-top: 50px;
        margin-left: -110px;
      }
    }
  
  



/* Component Units Section */
.components-unit {
    min-height: 100vh;
    bottom: 0%;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Components Unit */
.background-container {
    background: linear-gradient(135deg, #ffffff 20%, #c2efdd 100%);
    position: absolute;
    width: 100%;
    height: 60vh;
    background: url('images/components.png') no-repeat center center/cover;
    margin-top: -140px;
    z-index: -10; 
    animation: fade_down 1s ease forwards;
    animation-delay: 0.5s;
}


.content {
    position: relative;
    text-align: center;
    margin-top: 100px;
}

h1 {
    font-size: 50px;
    color: #1e4666;
    font-weight: bold;
    
}

.divider {
    width: 580px;
    height: 3px;
    background-color: #FFD700; ;
    margin: 10px auto;
}
.units-logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap; /* optional for responsiveness */
}

/* Logo Card */
.logo-card {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px; 
    animation: fade_down 0.8s ease forwards;
    animation-delay: 1.5s; 
    opacity: 0;
}

.logo-card img {
    width: 100%;
    height: 260px;
    object-fit: cover; 
    border-radius: 5%; 
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}


.logo-card button {
    margin-top: 10px;
    padding: 12px 24px;
    border: 3px solid #dcae1d;
    color: white;
    background: #dcae1d;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    width: 40%;
    border-radius: 12px;
    text-align: center;
    animation: fade_down 0.6s ease forwards;
    animation-delay: 2.2s; /* starts after logo-card */
    opacity: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-right: auto;
}

/* Hover effects */
.logo-card:hover button {
    background: #a0cac2;
    color:#004996;
    border: 3px solid #a0cac2 ;
    font-weight: bolder;
    border: none;
}
/*Components Unit front */
/* ===== 768px and below ===== */
@media (max-width: 768px) {
    .content h1 {
        font-size: 36px;
    }

    .divider {
        width: 300px;
    }

    .units-logo-container {
        gap: 30px;
    }

    .logo-card img {
        height: 220px;
        padding: 15px;
    }

    .logo-card button {
        width: 60%;
        font-size: 15px;
        padding: 10px 20px;
    }
}

/* ===== 560px and below ===== */
@media (max-width: 560px) {
    .background-container {
        height: 40vh;
        margin-top: -80px;
    }

    .content {
        margin-top: 60px;
    }

    .content h1 {
        font-size: 28px;
    }

    .divider {
        width: 150px;
    }

    .logo-card img {
        height: 300px;
        padding: 10px;
    }

    .logo-card button {
        width: 40%;
        font-size: 14px;
    }
}



/* ===== 480px and below ===== */
media (max-width: 375px){

    .background-container {
        background: linear-gradient(135deg, #ffffff 20%, #c2efdd 100%);
        position: absolute;
        width: 100%;
        max-width: 375px;
        height: 25vh;
        margin-left: 0;
        background: url('images/components.png') no-repeat center center/cover;
        margin-top: -50px;
        z-index: -15; 
    }
    
    .content {
        margin-top: 50px;
        padding: 0 10px;
        margin-left: 10px;
    }

    .content h1 {
        font-size: 24px;
    }

    .divider {
        width: 160px;
    }

    .units-logo-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .logo-card {
        width: 100%;
        max-width: 300px;
        margin-left: -5%;
    }

    .logo-card img {
        width: 90%;
        height: auto;
        max-height: 200px;
    }

    .logo-card button {
        width: 30%;
        font-size: 14px;
        padding: 10px 16px;
    }
}

/*Components Unit Transistion*/
@keyframes to_bottom {
    0%{
        transform: translateY(-50px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}

@keyframes fade_down {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* General Pop-up Styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    height: 80%;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 64, 128, 0.5);
    animation: 0.3s ease-in-out;
    padding: 30px;
    z-index: 1000;
}

/* Background Colors */
.popup-itso {
    background: linear-gradient(to right, #004996, #ffffff); 
}

.popup-ktto {
    background: linear-gradient(to right, #96c9ff, #ffffff); 
}

.popup-binhi {
    background: linear-gradient(to right, #66cc66, #ffffff); 
}

.popup h2 {
    position: absolute;
    top: 30px;
    right: 50px;
    margin-right: 55px;
    font-size: 50px;
    font-weight: bold;
    color: #004080;
    margin-bottom: 10px;
}
.popup-binhi h2 {
    position: absolute;
    top: 30px;
    right: 50px;
    margin-right: 55px;
    font-size: 50px;
    font-weight: bold;
    color: #0da130;
    margin-bottom: 10px;
}
/* Pop-up Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #002855;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.close-btn:hover {
    background: #2557b3;
    color: white;
    transform: scale(1.1);
}
.popup-binhi .close-btn:hover {
    background: #0da130;
    color: white;
    transform: scale(1.1);
}

/* Layout for Pop-up Content */
.popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

}
/* Standardized Image Slider */
.slider-container {
    flex: 1;
    max-width: 500px;
    margin-left: 3%;
}
.popup-binhi .slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(16, 51, 180, 0.15);
    border-bottom: 6px solid #0da130;
    
}
.popup-ktto .slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(16, 51, 180, 0.15);
    border-bottom: 6px solid #26329b;
    
}.popup-itso .slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(16, 51, 180, 0.15);
    border-bottom: 6px solid #0a114e;
    
}
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(16, 51, 180, 0.15);
    border-bottom: 6px solid #0D47A1;
    
}
.slide {
    width: 100%;
    display: none;
    border-radius: 10px;
}

.slide.active {
    display: block;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;

    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: 0.3s ease-in-out;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.7);
    color: black;
}

.right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Mission & Vision Cards */
.itso {
    width: 180px;
    height: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color:#0D47A1;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}
 .ktto{
    width: 180px;
    height: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color:#0D47A1;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.binhi {
    width: 180px;
    height: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color:#0da155;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}
.itso { border: 2px solid #0D47A1; }
.ktto { border: 2px solid #0D47A1; }
.binhi { border: 2px solid #0da155; }

.itso:hover, .ktto:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 4px rgba(26, 18, 181, 0.2);
}
.binhi:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 4px rgba(19, 141, 25, 0.2);
}
.itso img, .ktto img, .binhi img {
    width: 80px;
    height: 100px;
    margin-bottom: 10px;
    transition: opacity 0.3s ease-in-out;
}

/* Hover Effect */
.itso .extra-text, .ktto .extra-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    font-size: 12px;
    color: #004080;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
    font-weight: normal;
}
.binhi .extra-text{

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    font-size: 14px;
    color: #198c54;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
    font-weight: normal;
}

.itso:hover .extra-text, .ktto:hover .extra-text, .binhi:hover .extra-text {
    opacity: 1;
}

.itso:hover img, .ktto:hover img, .binhi:hover img {
    opacity: 0;
    visibility: hidden;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.text-marquee {
    width: 48%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 55px; 
    left: 40px;
    padding: 10px 0;
}

.text-marquee span {
    display: inline-block;
    white-space: nowrap;
    font-size: 20px;
    color: white; 
    animation: scroll-left 15s linear infinite;
    font-family: sans-serif;
}

.popup-ktto .text-marquee {
    width: 48%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 55px; 
    left: 40px;
    padding: 10px 0;
}

.popup-ktto .text-marquee span {
    display: inline-block;
    white-space: nowrap;
    font-size: 20px; 
    color: rgb(6, 35, 221); 
    animation: scroll-left 12s linear infinite loop;
    font-family: sans-serif;
}

.popup-binhi .text-marquee {
    width: 48%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 55px; 
    left: 40px;
    padding: 10px 0;
}

.popup-binhi .text-marquee span {
    display: inline-block;
    white-space: nowrap;
    font-size: 20px; 
    color: rgb(8, 156, 60); 
    animation: scroll-left 12s linear infinite loop;
    font-family: sans-serif;
}
/*Popups*/

/* Medium screens: Tablets */
@media (max-width: 768px) {
    .popup {
        width: 94%;
        height: 90%;
        padding: 14px;
    }

    .popup h2,
    .popup-binhi h2 {
        font-size: 28px;
        top: 12px;
        right: 20px;
        margin-top: 5%;
    }

    .popup-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .slider-container {
        max-width: 65%;
        margin-top: 12%;
    }

    .right-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .itso, .ktto, .binhi {
        width: 170px;
        height: 190px;
        font-size: 14px;
    }

    .text-marquee {
        width: 88%;
        left: 6%;
        bottom: 26px;
        display:none;
    }

    .text-marquee span {
        font-size: 15px;
        display:none;
    }
}

/* Small screens: Phones in landscape or narrow tablets */
@media (max-width: 560px) {
    .popup {
        height: 85%;
        padding: 10px;
    }

    .popup h2,
    .popup-binhi h2 {
        font-size: 22px;
        top: 10px;
        right: 16px;
        margin-top: 10%;
    }

    .close-btn {
        width: 22px;
        height: 22px;
        font-size: 14px;
        line-height: 20px;
    }

    .slider-container {
        max-width: 80%;
        margin-top:20%;
    }

    .itso, .ktto, .binhi {
        width: 150px;
        height: 150px;
        font-size: 12px;
    }

    .itso img, .ktto img, .binhi img {
        width: 50px;
        height: 70px;
    }

    .extra-text {
        font-size: 9px !important;
    }

    .text-marquee {
        width: 92%;
        left: 4%;
        bottom: 20px;
        display:none;
    }

    .text-marquee span {
        font-size: 13px;
    }

    .prev, .next {
        padding: 4px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 375px) {
    .popup {
        width: 65%;
        height: 50%;
        padding: 6px;
        margin-left: -55px;
    }

    .popup h2,
    .popup-binhi h2 {
        font-size: 18px;
        top: 6px;
        margin-top: 10%;
        text-align: center;
        margin-left: 50%;
    }

    .close-btn {
        width: 20px;
        height: 20px;
        font-size: 13px;
        line-height: 18px;
    }

    .popup-content {
        gap: 6px;
    }

    .slider-container {
        max-width: 70%;
        margin-top: 20%;
    }

    .itso, .ktto, .binhi {
        width: 130px;
        height: 140px;
        font-size: 11px;
        margin-top: -20px;
    }

    .itso img, .ktto img, .binhi img {
        width: 40px;
        height: 40px;
    }

    .extra-text {
        font-size: 8px;
        padding: 4px;
    }

    .text-marquee {
        width: 90%;
        left: 5%;
        display:none;
        bottom: 16px;
    }

    .text-marquee span {
        font-size: 12px;
        display: none;
    }

    .prev, .next {
        padding: 3px;
        font-size: 12px;
    }
}


/* About Us Section */
.about-us {
    background-image: linear-gradient(to bottom left, #cde6f8ae, #ffffff);
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 5%;
}

.about-us.animate-on-scroll {
    opacity: 0;
    transform: translateX(-60px);
}

.about-us.animate-on-scroll.visible {
    animation: aboutIn 1s ease-out forwards;
}


/* ABOUT US Title */
.about-container {
    background-color: rgba(255, 255, 255, 0.5); 
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.about-us h2 {
    color: #003366;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
    width: 100%;
    margin-left: 125%;
    opacity: 0; 
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/*  (About Us Image + Mission & Vision) */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse; 
    max-width: 1200px;
    width: 100%;
}

/* Image Section */
.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 450px;
    opacity: 0;
    margin-bottom: 80px;
    animation: fadeInRight 0.8s ease-out 0.4s forwards;
    transition: transform 0.3s ease;
}

/* Content Styling (Mission & Vision) */
.about-content {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.about-content h3 {
    color: #002E91;
    font-size: 22px;
    font-weight: 600;
    margin-top: 20px;
    line-height: 1.4; 
    letter-spacing: 0.5px; 
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.about-content h3:nth-child(1) {
    animation-delay: 0.6s;
}

.about-content h3:nth-child(3) {
    animation-delay: 0.8s;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6; 
    letter-spacing: 0.4px; 
    color: #454e4e;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.about-content p:nth-of-type(1) {
    animation-delay: 0.7s;
}

.about-content p:nth-of-type(2) {
    animation-delay: 0.9s;
}

.about-us {
    position: relative;
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 5%;
    z-index: 1;
    color: rgb(255, 255, 255); 
    overflow: hidden;
}
.about-us::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('images/about-us.png') no-repeat center center / cover;
    opacity: 0.7; 
    transition: opacity 1s ease, transform 10s linear;
  }

.about-us:hover::before {
    opacity: 0.8 ;
    transform: scale(1.02);
}
/*About Us*/
/* 768px */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column-reverse;
        padding: 30px;
        gap: 20px;
    }

    .about-content {
        text-align: center;
        padding: 10px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-image img {
        max-width: 350px;
    }

    .about-us h2 {
        font-size: 32px;
        margin-left: 0;
    }
}

/*  560px  */
@media (max-width: 560px) {
    .about-container {
        padding: 25px;
        gap: 15px;
    }

    .about-content h3 {
        font-size: 18px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-image img {
        max-width: 280px;
    }

    .about-us h2 {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width:375px) {
    .about-us {
        background-image: linear-gradient(to bottom left, #cde6f8ae, #ffffff);
        width: 100%;
        max-width: 375px;
        padding-left: 3px;
        margin-left: 0;
    }
    
    .about-container {
        gap: 10px;
        width: 100%;
        max-width: 375px;
        padding-left: 10%;
        padding-right: 10%;
        margin-left: 7%;
        margin-right: 0;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content p {
        font-size: 12px;
        width: 90%;
        margin-left: 6%;
        text-align: justify;
    }

    .about-image img {
        max-width: 375px;
        margin-bottom: -10%;
    }

    .about-us h2 {
        font-size: 24px;
    }
}


/* Transition Effect */
@keyframes aboutIn {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


/* Our Goals Section */
.our-goals {
    text-align: center;
    padding: 80px 20px;
    background-color: #ffffff;
    max-width: 1440px;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.6s ease-out;
}

.our-goals.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    color: #004080;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 5%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.our-goals.visible .section-header h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.goals-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

/* Default: text left, image right */
.goal-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.goal:nth-child(even) .goal-content {
    flex-direction: row;
}

.goal:nth-child(odd) .goal-content {
    flex-direction: row-reverse;
}

.goal {
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.our-goals.visible .goal:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}
.our-goals.visible .goal:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.our-goals.visible .goal:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}
.our-goals.visible .goal:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.0s;
}

/* Icon/Image box */
.goal-box {
    background: #c4e0e5;
    padding: 30px;
    border-radius: 20px;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(55, 96, 220, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.our-goals.visible .goal:nth-child(1) .goal-box {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.5s;
}
.our-goals.visible .goal:nth-child(2) .goal-box {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.7s;
}
.our-goals.visible .goal:nth-child(3) .goal-box {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.9s;
}
.our-goals.visible .goal:nth-child(4) .goal-box {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.1s;
}

.goal-box:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 15px rgba(55, 96, 220, 0.2);
}

.goal-box img {
    width: 100%;
    height: auto;
    max-width: 100px;
}

.goal-box:hover img {
    animation: float 2s ease-in-out infinite;
}

/* Text styles */
.goal p {
    font-size: 20px;
    color: #454e4e;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.our-goals.visible .goal:nth-child(1) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.our-goals.visible .goal:nth-child(2) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}
.our-goals.visible .goal:nth-child(3) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.0s;
}
.our-goals.visible .goal:nth-child(4) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

/* Mobile*/
@media (max-width: 375px)  {
    .our-goals {
        width: 180%;
        background: linear-gradient(to top, #ebfcff, #ffffff);
        max-width: 375px;
        padding-left: 20%;
        padding-right: 10%;
    }

    .section-header h2 {
        font-size: 28px;
        margin-bottom: 30px;
        margin-left: -40px;
    }

    .goals-container {
        gap: 30px;
        margin-left: -40px;
    }

    .goal-content {
        flex-direction: column;
        text-align: center;
    }

    .goal-box {
        width: 180px;
        height: 150px;
        margin: 0 auto;
    }

    .goal-box img {
        max-width: 90px;
    }

    .goal p {
        font-size: 16px;
        max-width: 70%;
        margin-top: 10px;
    }
}


/* Transition Effect */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Our Objectives Section */
.our-objectives {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}

.our-objectives h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 80px;
    color: #004996;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.our-objectives h2.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.objectives-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Each objective box */
.objective {
    width: 100%;
    max-width: 300px;
    min-height: 200px;
    background-color: #c4e0e5;
    border-radius: 20px;
    padding: 60px 20px 30px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.objective.animate {
    opacity: 1;
    transform: translateY(0);
}

.icon-circle {
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(33, 40, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.objective-icon {
    width: 50px;
    height: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.objective-icon.animate {
    animation: bounceIn 0.6s ease-out forwards;
}

.objective p {
    margin-top: 10px;
    font-size: 15px;
    color: #396161;
    line-height: 1.3;
    padding: 0 10px;
    text-align: justify;
    width: 100%;
}

/* Bounce animation for icon */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 768px */
@media (max-width: 768px) {
    .objectives-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }

    .our-objectives h2 {
        font-size: 28px;
    }

    .objective {
        padding: 60px 20px 30px;
        max-width: 90%;
    }

    .objective p {
        font-size: 14px;
    }

    .objective-icon {
        width: 60px;
        height: 60px;
    }
}

/* Mobile*/
@media (max-width: 375px) {
    .our-objectives {
        width: 100%;
        max-width: 100%;
        padding: 40px 10px;
        margin-top: 60px;
    }

    .our-objectives h2 {
        font-size: 24px;
        margin-bottom: 40px;
        margin-left: 5px;
    }

    .objectives-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-left: 10px;
    }

    .objective {
        width: 120%;
        margin: 0 auto;
        padding: 60px 15px 30px;
    }

    .objective p {
        font-size: 14px;
        padding: 0;
        text-align: center;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
        top: -35px;
    }

    .objective-icon {
        width: 45px;
        height: 45px;
    }
}

/* Our Services Section */
.our-services {
    text-align: center;
    padding: 150px 50px;
    background: linear-gradient(to right, #c4e0e5, #ffffff);
   
}

our-services.animate-on-scroll {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
}

.our-services.animate-on-scroll.visible {
    animation: servicesZoomFade 1s ease-out forwards;
}

.our-services h2 {
    text-align: center;
    color: #004080;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Services Grid */
.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Service Box */
.service {
    position: relative;
    width: 220px;
    height: 220px;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.service:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 4px #5DB3C2; 
}

/* Front View */
.service-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 15px;
}

.service-front img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.service-front p {
    font-size: 16px;
    font-weight: bold;
    color: #004080;
}

/* Hover Effect */
.service-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    font-size: 14px;
    color: #004080;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 15px;
    text-align: center;
    box-sizing: border-box;
}

.service:hover .service-hover {
    opacity: 1;
}

/* 768px */
@media (max-width: 768px) {
    .our-services {
        padding: 100px 20px;
    }

    .our-services h2 {
        font-size: 35px;
        margin-bottom: 25px;
    }

    .services-container {
        gap: 15px;
        justify-content: center;
    }

    .service {
        width: 180px;
        height: 180px;
    }

    .service-front img {
        width: 50px;
    }

    .service-front p {
        font-size: 14px;
    }

    .service-hover {
        font-size: 12px;
    }
}

/* 560px*/
@media (max-width: 560px) {
    .our-services {
        padding: 80px 15px;
    }

    .our-services h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .services-container {
        gap: 10px;
    }

    .service {
        width: 150px;
        height: 150px;
    }

    .service-front img {
        width: 45px;
    }

    .service-front p {
        font-size: 13px;
    }

    .service-hover {
        font-size: 11px;
    }
}

/* 375px */
@media (max-width:375px){
    .our-services {
        width: 100%;
        max-width: 375px;
        padding-left: 5%;
        padding-right: 10%;

        
    }

    .our-services h2 {
        font-size: 24px;
        margin-bottom:25px;
        margin-top: -10%;
        margin-left: 10px;
    }

    .services-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr); 
        gap: 15px;
        justify-items: center;
        margin: 0 auto;
        max-width: 100%;
        margin-left: 10px;
    }

    .service {
        width: 220px;
        height: 200px;
    }

    .service-front img {
        width: 40px;
    }

    .service-front p {
        font-size: 12px;
    }

    .service-hover {
        font-size: 3px;
    }
}

/* Transition Effect */
@keyframes servicesZoomFade {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/*Our Team*/
.our-team.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(5px);
}

.our-team.animate-on-scroll.visible {
    animation: teamFadeSlide 1.2s ease-out forwards;
}

.background {
    position: relative; 
    padding-bottom: 100px;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;  
    animation: fadeIn 1s ease-out forwards;
}

.background::before {
    content: ""; 
    position: absolute; 
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/KTTBDC_Logo.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1; 
    z-index: -1; 
    max-width: 1200px;
}

.content {
    text-align: center;
    color: #00303F;
    flex: 1; 
    width: 100%;
}

.team-heading {
    color: #004080;
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    margin-left: 80px;
    margin-bottom: 30px;
    position: relative;
}

.team-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    margin-top: 20px;
    padding-bottom: 80px;
    width: 100%;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    margin: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeIn 0.6s ease-out forwards;
}

.team-member.large {
    margin-bottom: 0; 
    margin-right: 50px; 
    animation-delay: 0.2s;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

.team-member.large .image-wrapper {
    width: 145%;
    height: 464px;
}

.team-member .image-wrapper {
    width: 140px;
    height: 180px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-member .gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%; 
    background: linear-gradient(to bottom, rgba(93, 179, 194, 0.8), white);
    border-radius: 10px;
}

.team-member .image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.team-member:hover .image-container {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 46, 145, 0.2);
}

.team-member .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member.large h2 {
    font-size: 13px;
    font-weight: bold;
    color: #002E91;
    margin-top: 0px;
}

.team-member.large p {
    font-size: 13px;
    font-style: italic;
    color: #719495;
    margin-top: 0px;
}

.team-member h2 {
    font-size: 13px;
    font-weight: bold;
    color: #002E91;
    margin-top: 2px;
}

.team-member p {
    font-size: 13px;
    font-style: italic;
    color: #719495;
    margin-top: 0px;
}

.team-member:hover h2 {
    color: #00303F;
    transform: scale(1.05);
}

.team-member:hover p {
    transform: scale(1.05);
}

.team-member h2, .team-member p {
    transition: all 0.3s ease;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    align-self: flex-start; 
}

/* Class for the wave image */
.wave-image {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 300px; /* Adjust height as needed */
    background-image: url('images/wave.png');
    background-size: cover;
    background-position: bottom;
}

/* 768px */
@media (max-width: 768px) {
    .team-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .team-member.large .image-wrapper {
        width: 120%;
        height: 400px;
    }

    .team-member .image-wrapper {
        width: 120px;
        height: 160px;
    }

    .team-member h2,
    .team-member p,
    .team-member.large h2,
    .team-member.large p {
        font-size: 12px;
    }

    .team-heading {
        font-size: 32px;
        margin-left: 40px;
    }
}

/* 560px */
@media (max-width: 560px) {
    .team-container {
        padding: 0 15px;
    }

    .team-member.large .image-wrapper {
        width: 110%;
        height: 360px;
    }

    .team-member .image-wrapper {
        width: 100px;
        height: 140px;
    }

    .team-member h2,
    .team-member p,
    .team-member.large h2,
    .team-member.large p {
        font-size: 11px;
    }

    .team-heading {
        font-size: 28px;
        margin-left: 20px;
    }
}

/* 375px */
@media (max-width:375px) {
    .background {
        padding-bottom: 60px;
        width: 180%;
        max-width: 375px;
        background-size: cover;
        background-position: center;
        z-index: -1;
      
      }
    
      .team-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        padding: 0 10px;
        max-width: 100%;
        margin-left: 5px;
      }
    
      .team-heading {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
        margin-left: 10px;
      }
    
      .team-members-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-left: 2px;
      }
    
      .team-member {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 140px;
      }
    
      .team-member.large {
        width: 160px;
        margin-left: 15%;
      }
    
      .team-member .image-wrapper {
        width: 100px;
        height: 130px;
      }
    
      .team-member.large .image-wrapper {
        width: 160px;
        height: 220px;
      }
    
      .team-member h2,
      .team-member p {
        font-size: 11px;
        text-align: center;
        margin-top: 4px;
        margin-left: 0;
      }
    
      .team-member.large h2,
      .team-member.large p {
        font-size: 11px;
      }
    
      .wave-image {
        width: 100%;
        height: auto;
        max-height: 150px;
      }
    }

    /* Transition Effect */
    @keyframes teamFadeSlide {
        from {
            opacity: 0;
            transform: translateY(60px);
            filter: blur(5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }

    @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

    @keyframes slideUpFadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
    }

/*Partner*/
.partners-section {
    text-align: center;
    padding: 200px 20px;
    background: white;
    margin-top: -15%;
}

.partners-section h2 {
    font-size: 40px;
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 120PX;
    margin-bottom: 10%;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    max-width: 2000px;
    margin: 0;
}

.partners-carousel {
    display: flex;
    width: calc(150px * 15);
    animation: scroll 15s linear infinite;
}

.partner {
    min-width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #02587B;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}

.partner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Looping Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1500px); } 
}

/*Partners*/
/*  768px */
@media (max-width: 768px) {
    .partners-section {
        padding: 120px 15px;
    }

    .partners-section h2 {
        font-size: 30px;
        margin-top: 60px;
    }

    .partners-carousel {
        width: calc(130px * 10); 
    }

    .partner {
        min-width: 120px;
        height: 120px;
        margin: 0 8px;
    }
}

/* 560px */
@media (max-width: 560px) {
    .partners-section {
        padding: 100px 10px;
    }

    .partners-section h2 {
        font-size: 26px;
        margin-top: 50px;
    }

    .partners-carousel {
        width: calc(110px * 8); 
    }

    .partner {
        min-width: 100px;
        height: 100px;
        margin: 0 6px;
    }
}

/*  375px */
@media  (max-width: 375px) {
    .partners-section {
        padding: 80px 5px;
        margin-bottom: -20%;
        width: 100%;
        max-width: 375px;
    }
    .partner{
        min-width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 5px solid #02587B;
        display: flex;
        background: white;
    }

    .partners-section h2 {
        font-size: 24px;
        margin-top: 40px;
        margin-left: 2%;
        width: 90%;
    }
    .carousel-container {
        width: 100%;
        position: relative;
        max-width: 375px;
        margin: 0;
    }
    .partners-carousel {
        width: calc(90px * 15); 
        margin-left: 20%;
        max-width: 375px;
    }

    .partner {
        min-width: 100px;
        height: 100px;
        margin: 0 4px;
    }
}

/*Contact Us and Map Section*/
.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    width: 90%;
    margin: 50px auto;
    padding: 40px;
    gap: 40px;
}

.form-container {
    flex: 1;
    padding: 40px;
    background: white;
    border: 2.3px solid #004996;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
}

.form-container form {
    display: flex;
    flex-direction: column;
}
.text-container {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.text-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #004996;
    margin-bottom: 5px;
}

.text-container p {
    font-size: 16px;
    color: #396161;
    margin-top: 0;
}

.text-container hr {
    width: 100px;
    height: 3px;
    background-color: #dcae1d;
    border: none;
    margin: 10px auto;
    display: block;
}


h2 {
    font-size: 36px;
    font-weight: bold;
    color: #004996;
    text-align: center;
    margin-top: 0;
}

p {
    font-size: 16px;
    color: #396161;
    margin-top: 5px;
    text-align: center;
}

hr {
    width: 150px;
    height: 3px;
    background-color: #dcae1d;
    border: none;
    margin: 10px auto;
    display: block;
}

label {
    font-size: 16px;
    font-weight: bold;
    color: #00303F;
    display: block;
    margin-bottom: 5px;
}

input,
textarea {
    width: 100%;
    padding: 12px 16px; 
    border: 1.5px solid #00303F;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box; 
}

textarea {
    resize: none;
    height: 80px;
}

button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color:#dcae1d;
    font-size: 15px;
    border: 1.5px solid #dcae1d;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: to_right 1s ease forwards 1.1s;
}

button:hover {
    color: #004996;
    font-weight: 600;
    display: block;
    opacity: 1;
    background: #a0cac2;
    border: 1.5px solid #a0cac2 ;
    transform: translateY(-3px);
}  

.flex-container {
    display: flex;
    justify-content: flex-end;
}

.info-container {
    width: 50%;
    text-align: left;
    padding-bottom: 5px;
    max-width: 70%;
}

.form-map-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.form-container,

.map-container {
    flex: 1 1 45%;
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 340px;
    border-radius: 10px;
}

.map-container .text-container {
    margin-bottom: 15px;
}

/* CONTACT US*/

/* 768px: Tablet Portrait */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .text-container {
        order: -1; 
        text-align: center;
        padding: 0 10px;
    }

    .form-container {
        max-width: 100%;
        padding: 30px 20px;
    }

    h2 {
        font-size: 30px;
        text-align: center;
    }

    p {
        font-size: 15px;
        text-align: center;
    }

    .info-container {
        max-width: 100%;
    }
}

/* 560px: Smaller Tablets / Large Phones */
@media (max-width: 560px) {
    .container {
        padding: 25px 15px;
        gap: 25px;
    }

    .form-container {
        padding: 25px 15px;
    }

    h2 {
        font-size: 26px;
    }

    p {
        font-size: 14px;
    }

    label,
    input,
    textarea {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 8px 14px;
    }
}

/* 480px: Phones */
@media (max-width: 375px){
    .container {
        margin: 50px 50px;
        width: 100%;
        max-width: 100%;
        margin-left: -2px;
        display: flex;
        flex-direction: column-reverse;
       
    }

    .text-container {
        padding: 0;
        border-color: #02587B;
        margin-left: -10px;
        
    }
    

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 13px;
    }

    input,
    textarea {
        font-size: 13px;
        padding: 10px 14px;
       

    }

    button {
        font-size: 13px;
        padding: 6px 12px;
    }
}


/*footer*/
.footer-container {
    display: flex;
    gap: 100px;
    align-items: center;
    background-color:#e6eff6ae;
    padding: 20px;
}
.footer-branding {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-logo{
    width: 50px;
    height: auto;
}
.footer-text {
    display: flex;
    flex-direction: column;
}
.footer-text .title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(150deg, #004996, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}
.footer-text .subtitle {
    font-size: 0.27rem;
    font-weight: 400;
    color: #004996;
    margin: 0;
}
.links {
    display: flex;
    flex-direction: column;
}
.links a {
    text-decoration: none;
    font-family: sans-serif;
    font-size: 16px;
    color: #002855;
    margin: 2px 0;
}

.links a:hover {
    color: #002855;
    font-weight: 600;
}
.social-icons {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #e6eff6ae;
}

.social-icons a {
    display: inline-block;
}

.social-icons img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    cursor: pointer; /* Makes it look clickable */
    transition: transform 0.2s ease; /* Smooth hover animation */
}

.social-icons img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

.copyright {
    text-align: center;
    background-color: #09323F;
    color: white;
    padding: 10px;
}


@media (max-width:375px){
    .footer-container {
        gap: 12px;
        padding: 10px 15px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 375px;
    }

    .footer-branding {
        gap: 8px;
    }

    .footer-text .title,
    .footer-text .subtitle {
        display: none;
    }

    .footer-logo {
        width: 40px;
    }

    .links a {
        font-size: 6px;
        margin: 1px 0;
    }

    .social-icons {
        padding: 8px 0;
        width: 100%;
        max-width: 375px;
    }

    .social-icons img {
        width: 22px;
        height: 22px;
        margin: 0 4px;
    }

    .copyright {
        font-size: 10px;
        padding: 6px;
        width: 100%;
        max-width: 375px;
    }
}


@media (max-width: 768px) {
    .footer-container {
        gap: 20px; /* Reduce spacing */
        padding: 15px; /* Tighter padding */
        flex-wrap: wrap; /* Allow wrapping if needed */
    }
    .footer-text .title,
    .footer-text .subtitle {
        display: none;
    }

    .links a {
        font-size: 14px;
    }

    .social-icons img {
        width: 24px;
        height: 24px;
        margin: 0 5px;
    }

    .copyright {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 560px) {
    .footer-container {
        gap: 12px;
        padding: 10px 15px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .footer-branding {
        gap: 5px;
        margin-left: -4%;
    }

    .footer-text .title,
    .footer-text .subtitle {
        display: none;
    }

    .footer-logo {
        width: 40px;
    }

    .links a {
        font-size: 10px;
        margin: 1px 0;
    }

    .social-icons {
        padding: 8px 0;
    }

    .social-icons img {
        width: 22px;
        height: 22px;
        margin: 0 4px;
    }

    .copyright {
        font-size: 10px;
        padding: 6px;
    }
}

/* 15 inch and wider screens */
@media screen and (min-width: 1440px) and (max-width: 1920px) {
    header {
        height: 20%; 
        padding: 10px 40px;
        max-width: 1900px;
    }

    .header-container {
        font-size: 56px; 
        padding: 0 40px;
    }
    /* Our Team */

    .background::before{
        margin-left: 20%;
    }
    .team-heading{
        font-size: 45px;
        text-align: center;
        margin-left: -40px;
        margin-bottom: 30px;
        position: relative;
    }
    .wave-image {
        height: 200px;
        
    }
    /* Footer */
    .footer-container {
        gap: 140px;
        padding: 40px 80px;
    }

    .footer-logo {
        width: 70px;
    }

    .footer-text .title {
        font-size: 2.4rem;
    }

    .footer-text .subtitle {
        font-size: 1rem;
    }

    .links a {  
        font-size: 14.5px;
    }

    .social-icons img {
        width: 40px;
        height: 40px;
        margin: 0 12px;
    }

    .copyright {
        font-size: 16px;
        padding: 16px;
    }

    /* Hero Image */
    .hero {
        padding: 100px 150px;
        gap: 50px;
    }
    .hero-image {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        flex-wrap: wrap;
        right: 80px;
        bottom: 0;
        top: 50px;
        height: 100%;
        animation: to_left 1s ease forwards 1.1s;
    }
    .hero-image img {
        width: 550px;
        height: 66%; 
        margin-right: 90%;
    }

    .hero-image {
        right: 100px;
        top: 90px;
        height: 100%;
        flex-wrap: nowrap;
        gap: 40px;
    }

    /* Dropdown Menu*/
    .dropdown-menu {
        padding: 20px 40px;
        min-width: 500px;
        max-width: 600px;
        font-size: 18px;
    }

    .dropdown-menu li a {
        font-size: 18px;
        padding: 12px 24px;
    }

    .dropdown-menu li a:hover {
        font-size: 19px;
        padding: 12px 24px;
    }

    /* Component Units */
    .background-container {
        height: 65vh; 
        background-size: cover;
        background-position: center;
        max-width: 1920px;
        width: 1920px;
        
    }

    .content h1 {
        font-size: 64px; 
    }

    .divider {
        width: 640px; 
        height: 4px;
    }

    .units-logo-container {
        gap: 70px; /* More spacing between logo cards */
        margin-top: 100px;
    }
    .logo-card img {
        height: 320px; 
        padding: 24px;
    }

    .logo-card button {
        font-size: 18px;
        padding: 14px 28px;
        width: 50%;
    }
    /* Our Goals */
    .our-goals{
        text-align:center;
        padding: 80px 20px;
        background-color: white;
        max-width: 1440px;
        width: 100%;
        margin-left: 12%;
        margin-bottom: 10%;
    }
    .goal-box{
        background: #c4e0e5;
        padding: 30px;
        border-radius: 20px;
        width: 400px;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 6px rgba(55, 96, 220, 0.1);
    }
    .goal-box img {
        width: 100%;
        height: auto;
        max-width: 230px !important;
    }

    /* Class for the wave image */
    .wave-image  { 
        position: absolute !important;
        bottom: -50px;
        left: 0;
        width: 100%;
        height: 400px; /* Adjust height as needed */
        background-image: url('images/wave.png');
        background-size: cover;
        background-position: bottom;
        margin-bottom: -3%;
    }

    .background::before {
        height: 100%;
        width: 100%;
        margin-left: 19%;
        margin-top: 3%
    }
}