/* --- CUSTOM STARTUP OVERLAY --- */
.startup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(16, 32, 57, 0.75); /* Navy blue with 75% opacity */
    backdrop-filter: blur(12px); /* Creates the background blur effect */
    -webkit-backdrop-filter: blur(12px); /* For Safari support */
    z-index: 99999; /* Ensure it sits on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Class added by JS to fade it out cleanly */
.startup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.startup-content {
    padding: 20px;
    max-width: 800px;
    animation: zoomFadeIn 1.2s ease-out forwards;
}

.punjabi-text {
    font-size: 42px;
    color: #FFD700; /* University Gold */
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.english-translation {
    font-size: 22px;
    font-style: italic;
    margin-bottom: 40px;
    color: #e0e0e0;
    font-weight: 300;
}

.welcome-text {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.close-overlay-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-overlay-btn:hover {
    color: #FFD700;
    transform: scale(1.1);
}

/* Animation for the text entering */
@keyframes zoomFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .punjabi-text { font-size: 28px; }
    .english-translation { font-size: 16px; margin-bottom: 25px; }
    .welcome-text { font-size: 20px; }
    .close-overlay-btn { top: 10px; right: 20px; font-size: 40px; }
}



/* --- FLOATING SOCIAL MEDIA BAR --- */
.floating-socials {
    position: fixed;
    top: 50%; /* Centers vertically */
    left: 0; /* Sticks to the right edge */
    transform: translateY(-50%); /* Perfectly centers the block */
    display: flex;
    flex-direction: column;
    gap: 4px; /* Small space between icons */
    z-index: 9999; /* Ensures it stays above all other content/carousels */
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #102039; /* University Navy */
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Hover Effects - Expands slightly and turns Gold */
.social-icon:hover, .social-icon:focus {
    width: 60px; /* Slides out towards the left */
    background-color: #FFD700; /* University Gold */
    color: #102039;
    text-decoration: none;
}

/* --- NEW WELCOME TEXT & IMAGE STYLES --- */
.welcome-subtext {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.5;
}

.welcome-images {
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between images */
    margin-top: 20px;
}

.welcome-images img {
    background-color: white;
    width: 150px;
    height: 100px;
    object-fit: contain; /* Keeps images from stretching */
    border-radius: 6px;
    border: 2px solid #FFD700; /* University Gold border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

/* Slight pop effect when hovering over the images */
.welcome-images img:hover {
    transform: scale(1.05);
}

/* Mobile Responsiveness for the images */
@media (max-width: 768px) {
    .welcome-images {
        flex-wrap: wrap; /* Allows images to stack on small screens */
    }
    .welcome-images img {
        width: 45%; /* Two images per row on mobile */
        height: 80px;
    }
    .welcome-subtext {
        font-size: 15px;
    }
}