:root {
    --primary-color: #1a237e;
    --secondary-color: #c5cae9;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --nav-color: #AED3EE;
    --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 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.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;
}

/* Gallery Section */
.gallery-section {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-section h1 {
    color: var(--primary-color);
    font-size: 4.5rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.gallery-item.large {
    grid-column: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

.overlay h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.view-photos {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: black;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.view-photos:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}



.academy-watermark {
    font-size: 0.8rem;
    opacity: 0.8;
}

.mission-statement {
    text-align: center;
    color: var(--primary-color);
    margin: 3rem 0;
}

.mission-statement h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.video-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.video-container {
    width: 100%; /* Take full width */
    max-width: 900px; /* Prevents video from being too large */
    background-color: transparent; /* Remove gray background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.video-container video {
    width: 100%; /* Makes the video responsive */
    height: auto; /* Prevents unwanted stretching */
    display: block;
    border-radius: 10px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-container {
        width: 100%; /* Full width on smaller screens */
        max-width: 100%;
    }
}






/* 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;
    }

    .gallery-section h1 {
        font-size: 3rem;
    }

    .overlay h2 {
        font-size: 2rem;
    }

    .cards-container,
    .experts-container {
        grid-template-columns: 1fr;
    }
    
    .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;
    }    

    .gallery-section h1 {
        font-size: 2rem;
    }

    .overlay{
        justify-content: space-between;
    }

    .overlay h2 {
        font-size: 1rem;
    }

    .view-photos {
        font-size: 10px;
        padding: 3px;
    }

    .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;
    }
}
