:root {
    --nav-color: #AED3EE;
    --primary-color: #1a237e;
    --secondary-color: #c5cae9;
    --text-color: #333;
    --text-gray: #969696;
    --light-bg: #f5f5f5;
    --primary-blue: #2365a1;
    --secondary-blue: #3591d5;
    --accent-gold: #a3752d;
    --text-gray: #969696;
    --bg-white: #ffffff;
    --bg-footer: #dec8a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; /* Adjusted from default (16px) */
}


body {
    width: 100%;
    height: auto;
    background-color: var(--bg-white);
}

.main-container {
    width: 90%;
    margin: 5vh auto;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 3%;
    align-items: center;
    background-color: var(--nav-color);
    border-radius: 20px;
}

.logo img {
    width: 110px; /* Adjust logo size */
    height: 90px;
}

.nav-links {
    display: flex;
    flex: wrap;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-links a.active {
    color: black;
    text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h1 {
    color: var(--primary-color);
    font-size: 4.5rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.main-image-container {
    margin-bottom: 2rem;
}

.main-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.image-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.about-us-info h2 {
    font-size: 1.5rem;
    color: #C6A05B;
}

.about-us-info p {    
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Achievements Section */
.achievements-section {
    padding: 2rem;
}

.achievements-section h2 {
    font-size: 4.5rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.achievements-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.achievements-container {
    display: flex;
    gap: 2rem;
    overflow-x: hidden;
    padding: 1rem 0;
}

.achievement-card {
    flex: 0 0 300px;
    text-align: center;
}

.achievement-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
}

.slider-btn:hover {
    background-color: #333;
    color: white;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}



.achievement-banner {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: 1.5rem;
}

.achievement-banner img {
    width: 70%;
    height: 500px;
    border-radius: 10px;
}

/* Footer */
footer {
    width: 100%;
    background-color: var(--bg-footer);
    padding: 1.5rem 0; /* Reduced padding */
}

.footer-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    align-items: flex-start;
    padding: 0 2rem;
}

.footer-logo {
    width: 30%;
}

.footer-logo img {
    width: 230px; /* Reduced logo size */
    height: 200px;
}

.footer-links{
    width: 70%;
    display: flex;
    justify-content: space-around;
}

.footer-links li {
    list-style: none;
    text-align: center;
    font-size: 1.2rem;
}

.footer-links li a {
    color: black;
    /* text-decoration: none; */
    font-size: 1.2rem;
}

.footer-heading {    
    font-size: 1.5rem; /* Adjusted heading size */
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}
.credits {
    width: 100%;
}

.credits p,a {
    font-size: 1.2rem;
}

.footer-gap {
    margin-top: 15px; /* Space between Contact & Social Links */
}

.social-icons {
    display: flex;
    gap: 12px;  /* Space between icons */
    justify-content: left;
    align-items: center;
}

.social-icons a img {
    width: 25px;  
    height: 25px;
    transition: transform 0.2s ease-in-out;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-column {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a img {
        width: 18px;  
        height: 18px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-container,
    .experts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 80px; /* Adjust logo size */
        height: 70px;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 20px;
    }
    
    .cards-container,
    .experts-container {
        grid-template-columns: 1fr;
    }

    .achievement-banner img{
        width: 100%;
        
    }
    
    .footer-logo img {
        width: 170px; /* Reduced logo size */
        height: 150px;
    }
    .footer-links li {
        list-style: none;
        text-align: center;
        font-size: 0.8rem;
    }
    .footer-links li {
        font-size: 0.8rem;
    }
    .footer-links li a {
        font-size: 0.8rem;
    }
    
    .footer-heading {    
        font-size: 1.3rem; /* Adjusted heading size */
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .credits {
        width: 100%;
    }

    .credits p,a {
        font-size: 0.8rem;
    }
}

@media (max-width: 580px) {
    .logo img {
        width: 60px; /* Adjust logo size */
        height: 50px;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 10px;
    }

    .about-section h1 {
        font-size: 2rem;
    }

    .about-us-info h2 {
        font-size: 1rem;
        color: #C6A05B;
    }
    
    .about-us-info p {    
        font-size: 1rem;
        color: var(--text-color);
    }

    .achievements-section h2 {
        font-size: 2rem;
    }

    .achievement-banner img{
        width: 100%;
        height: 200px;
    }

    .footer-logo img {
        width: 80px; /* Reduced logo size */
        height: 70px;
    }
    .footer-links li {
        list-style: none;
        text-align: center;
        font-size: 0.5rem;
    }        
    .footer-links li {
        font-size: 0.5rem;
    }
    .footer-links li a {
        font-size: 0.5rem;
    }
    .footer-heading {    
        font-size: 0.8rem; /* Adjusted heading size */
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .credits {
        margin-top: 20px;
        font-size: 0.5rem;
        width: 100%;
    }
    .credits p,a {
        font-size: 0.5rem;
    }
}