/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
header h1 {
    font-size: 36px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff; /* White font color */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
header .subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    margin-top: 150px; /* Space for fixed header */
    margin-bottom: 50px; /* Space for footer */
    overflow-y: auto;
    max-height: calc(100vh - 200px); /* Adjust height for scrolling */
    scrollbar-width: thin; /* Minimalistic scrollbar */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Custom scrollbar colors */
}
.card-container::-webkit-scrollbar {
    width: 8px;
}
.card-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}
.card-container::-webkit-scrollbar-track {
    background: transparent;
}

/* Card */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
    border-radius: 15px;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff; /* Font color white */
    margin-bottom: 10px;
font-weight: normal;
}
.card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto; /* Push footer to the bottom */
    width: 100%;
}
footer .social-links {
    margin-bottom: 15px;
}
footer .social-links a {
    color: #fff; /* Font color white */
    margin: 0 15px;
    font-size: 22px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}
footer .social-links a:hover {
    color: #ff9800;
    transform: scale(1.2);
}
footer p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 28px;
    }
    header .subtitle {
        font-size: 14px;
    }
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* === Header Style (Updated) === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Home Icon Style */
.home-icon {
    font-size: 22px;
    color: #6e8efb;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
}
.home-icon:hover {
    color: #a777e3;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

/* Header Text Container */
.header-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    pointer-events: none;
}
.header-text h1 {
    pointer-events: auto;
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.header-text .subtitle {
    pointer-events: auto;
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-style: italic;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 24px;
    }
    .header-text .subtitle {
        font-size: 14px;
    }
    .home-icon {
        font-size: 20px;
    }
}