@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

  main > section:nth-last-of-type(1) {
    padding-bottom: 50px;
} 
  
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    transition: transform 0.3s ease;
  }
  
  header.hidden {
    transform: translateY(-100%);
  }
  
  .nav-links {
    display: flex;
    margin-left: auto;
    list-style: none;
    overflow: hidden;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #6a9ef7;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 37px 20px;
    flex-shrink: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .nav-links a:hover, .nav-links a.active {
    background-color: #e9eef7;
    color: #004aad;
  }
  
  body {
    margin-top: 100px;
  }
  
  .upper-hover-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    z-index: 999;
  }
  
  .logo img {  
    height: 140px;  
    padding: 30px;
}   

/* Our Partners Section */
.partner-container {
    width: 100%; 
    margin: 0 auto;
    padding: 20px 40px; 
    background-color: #004b87; 
    text-align: center;
}

.partner-container h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0 0 20px; 
    text-align: center; 
    position: relative; 
    display: inline-block; 
}

.partner-container h1::after {
    content: ""; 
    display: block;
    width: 100%;
    height: 4px; 
    background-color: #ffffff;
    position: absolute;
    bottom: 0; 
    left: 0; 
}

.partners {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}

.partner-card {
    display: flex;
    align-items: center;
    background: #ffffff; 
    border-radius: 10px; 
    padding: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #004b87; 
    transition: transform 0.3s;
}

.partner-card img {
    max-width: 120px;
    margin-right: 20px; 
}

.partner-card .text {
    display: flex;
    flex-direction: column;
}

.partner-card h2 {
    font-size: 1.25rem; 
    font-weight: bold; 
    color: #000; 
    margin: 0; 
    text-align: left;
}

.partner-card h3 {
    font-size: 1rem; 
    font-weight: normal; 
    margin: 5px 0; 
    text-align: left;
}

.partner-card p {
    color: #555; 
    font-size: 0.875rem; 
    margin: 0; 
    line-height: 1.4;
    text-align: left;
}

/* Our Affiliations Section */
.affiliations {
    background-color: #f0f0f0;
    padding: 40px;
    text-align: center;
}

.affiliations h2 {
    font-size: 36px;
    font-weight: bold;
    color: #000; 
    margin-bottom: 30px; 
    text-transform: uppercase; 
}

.affiliation-logos {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.a-logo {
    text-align: center;
    max-width: 200px; 
    flex-grow: 1;
}

.a-logo img {
    width: 100%; 
    height: auto; 
    max-width: 150px;
    max-height: 100px; 
    display: block; 
    margin: 0 auto; 
}

.a-logo p {
    font-size: 12px; 
    text-align: center; 
    font-weight: normal; 
    background-color: #333; 
    color: #fff; 
    padding: 20px; 
    border-radius: 5px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    width: 205px; 
    height: 60px; 
    margin: 10px auto 0; 
    overflow: hidden; 
}

@media (max-width: 768px) {
    .a-logo {
        max-width: 150px; 
    }

    .affiliation-logos {
        flex-direction: column; 
    }
}

/* Footer */  
footer {  
    padding: 10px;  
    margin: 0;  
    background-color: white;  
    color: black;  
}  

footer .footer-content {  
    display: flex;  
    justify-content: space-between;  
    align-items: center;  
}  

footer .social-icons {  
    display: flex;  
}   

footer .social-icons img {  
    width: 36px;  
    height: 36px;  
    margin: 0 5px;  
}