:root {
    --primary-color: #FFC436;
    --secondary-color: #0C356A;
    --text-dark-color: #333;
    --text-light-color: #FFFFFF;
    --main-font: 'Montserrat', sans-serif;
    --heading-font: 'Lora', serif;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    background-color: #f4f4f4;
    color: var(--text-dark-color);
}

/* Navbar Styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
}

.logo-nav-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.logo:hover {
    color: var(--primary-color);
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark-color);
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    padding: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Underline Effect on Hover */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: url('./asset/Desktop\ -\ 2.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-color);
    text-align: center;
    position: relative;
    background-color: #f9f9f9;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.5em;
    margin: 20px 0 30px;
    color: #666;
}

/* Logo Carousel Styles */
.logo-carousel {
    overflow: hidden;
    padding: 20px 0;
    background-color: #f9f9f9;
}

.logo-carousel-track {
    display: flex;
    gap: 150px;
    animation: scrollLeft 20s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
}

.logo-item img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: transform 0.3s;
}

.logo-item img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Keyframes for continuous scrolling */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Vision Section */
.vision {
    padding: 50px;
    text-align: center;
}

.vision h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.vision p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #777;
}

.vision h3 {
    font-size: 2em;
    margin: 20px 0;
}

.vision-container {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: flex-start;
}

.vision-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vision-item {
    background-color: #fff;
    padding: 20px;
    width: 200px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vision-item:hover {
    background-color: #f0f0f0;
}

.vision-content {
    max-width: 600px;
}

.content {
    display: none;
    text-align: left;
}

.content.active {
    display: block;
}

.content img {
    width: 40%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
}

/* Updates Section */
.updates {
    padding: 60px 20px;
    background-color: #fdfcf9;
    text-align: center;
}

.updates h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.updates p {
    color: #555;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content .tag {
    font-size: 0.9em;
    color: var(--secondary-color);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.card-content .date {
    font-size: 0.8em;
    color: #aaa;
    margin-bottom: 15px;
}

.card-content h3 {
    font-family: var(--heading-font);
    font-size: 1.4em;
    color: #1a2a39;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-content p {
    font-size: 1em;
    color: #1a2a39;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: color 0.3s;
}

.card-content p:hover {
    color: var(--secondary-color);
}

/* Footer Section */
footer {
    background-color: var(--secondary-color);
    padding: 30px;
    text-align: center;
    color: var(--primary-color);
}

footer h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

footer p {
    margin-bottom: 20px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

footer p {
    font-size: 1em;
    color: var(--text-light-color);
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}
