/* Global link style reset */
a {
    text-decoration: none;
}


/* Custom scrollbar styling for the modal content */
.modal-content-container::-webkit-scrollbar {
    width: 8px;
}

.modal-content-container::-webkit-scrollbar-thumb {
    background-color: #6366f1; /* Indigo-500 */
    border-radius: 4px;
}

.modal-content-container::-webkit-scrollbar-track {
    background: #e0e7ff; /* Indigo-100 */
}

/* Custom glow effect on hover */
.team-card:hover {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.8), 0 0 5px rgba(99, 102, 241, 0.4);
    transform: translateY(-4px);
}

/* --- Pure CSS Modal Logic --- */

/* 1. Base Modal Container - HIDDEN by default */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.9); /* Tailwind gray-900 with opacity */
    backdrop-filter: blur(5px);
    z-index: 50;
    /* Initially hidden: use opacity and pointer-events for smooth transition */
    opacity: 0;
    pointer-events: none;
    display: flex; /* Always display flex so it positions correctly when active */
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: opacity 0.3s ease-in-out;
}

/* 2. Modal Content (for scaling effect) - HIDDEN state */
.modal-content-wrapper {
    background-color: #a6dbff; /* Tailwind gray-800 */
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 32rem; /* Tailwind max-w-lg */
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}

/* 3. The magic: SHOW the modal when its ID is in the URL hash */
.modal-container:target {
    opacity: 1;
    pointer-events: auto;
}

/* 4. SHOW Modal Content when its parent is targeted */
.modal-container:target .modal-content-wrapper {
    transform: scale(1);
}

/* The close button link (a[href="#"]) takes the user back to the base URL, which hides the modal */
body{
     background:linear-gradient(180deg,#ececec 0%,#a6dbff 100%);
}
/* body {
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    background: linear-gradient(315deg, rgba(101,0,94,1) 3%, rgba(60,132,206,1) 38%, rgba(48,238,226,1) 68%, rgba(255,25,25,1) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
} */