@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;
}  

/* Highlights Section*/
.highlights-content-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

.highlights-section {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.highlights-card {
    display: flex;
    flex: 0 0 100%; 
    max-width: 100%;
    background-color: #f7f9fc;
    overflow: hidden;
    height: auto; 
}

.highlights-card-image {
    flex: 1;
    min-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    overflow: hidden;
}

.highlights-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
    background-color: #ffffff; 
}

.highlights-card-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.highlights-card-content h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333333;
}

.highlights-card-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555555;
}

.highlights-card-content .button {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease-in-out;
}

.highlights-card-content .button:hover {
    background-color: #0056b3;
}

.highlights-prev-button,
.highlights-next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
}

.highlights-prev-button {
    left: 20px;
}

.highlights-next-button {
    right: 20px;
}

.highlights-prev-button:hover,
.highlights-next-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .highlights-card {
        flex-direction: column;
    }

    .highlights-card-image {
        flex: none;
        height: 200px;
    }

    .highlights-card-content {
        flex: none;
        padding: 20px;
    }
}

/* Corporate Social Responsibility Section */
.csr-section {
    background-color: #1a3d7d;
    color: white;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.csr-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center; 
    border-bottom: 3px solid white;
    padding-bottom: 5px; 
    display: block; 
    width: fit-content; 
    margin-left: auto;
    margin-right: auto; 
  }  

.category-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.category-nav a {
    text-decoration: none; 
    color: white; 
    font-size: 18px;
    position: relative;
    padding: 10px 15px;
    display: inline-block;
}

.category-nav a:hover {
    color: #f0f0f0;
}

.category-nav a.active {
    text-decoration: underline;
}

.gallery-container {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center; 
    align-items: center;     
    height: 100%;           
    padding: 0 15px;         
}

.gallery {
    display: flex;
    justify-content: flex-start; 
    gap: 10px;
    overflow-x: auto;            
    scroll-padding-left: 15px; 
    scroll-snap-type: x mandatory;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.image-item {
    display: flex;
    justify-content: center; 
    align-items: center;     
    scroll-snap-align: start; 
}

.image-item img {
    width: 250px;
    height: auto;
    border: 3px solid white;
    border-radius: 10px;
    display: block;          
    margin: 0 auto;          
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
} 

/* Modal or Pop ups */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    border: 3px solid white;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* 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;  
}