@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Smooth Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Nav Link Hover Effect */
.nav-link {
    transition: color 0.3s;
    position: relative;
}
.nav-link:hover {
    color: #d97706;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d97706;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.mobile-link {
    transition: color 0.2s;
}
.mobile-link:hover {
    color: #d97706;
}

/* Hide Scrollbar for Horizontal Scroll Areas */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Pop-up Overlay Container */
.gda-popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dimmed background */
    z-index: 9999; /* Ensures it sits on top of everything */
    justify-content: center;
    align-items: center;
}

/* The Banner Box */
.gda-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px; /* Adjust based on your image size */
    background: transparent;
    border-radius: 8px;
    animation: fadeIn 0.5s ease-out;
}

/* The Image Itself */
.gda-popup-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Close Button (Top Right) */
.gda-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #ff0000;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    font-family: Arial, sans-serif;
}

/* Optional: Call to Action Button below image */
.gda-cta-button {
    display: block;
    width: 100%;
    background: #003366; /* Global Defence Academy Blue */
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    font-family: sans-serif;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-top: -5px; /* Pulls it up to connect with image */
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}