body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url("../IMAGES/Cover_image.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
    color: #333;
    padding: 0;
    overflow-x: hidden;
}

header {
    position: relative;       /* scrolls naturally */
    width: 100vw;             /* full viewport width */
    top: 0;
    left: 0;
    background-color: #4B0082;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}



        header img {
            height: 60px;
            filter: brightness(0) invert(1);
            display: block;
        }
        .nav-links {
            display: flex;
            gap: 15px;
        }
        .nav-links a {
            color: #fff;
            text-decoration: none;
            padding: 10px 18px;
            background-color: #C71585;
            border-radius: 25px;
            font-weight: bold;
            transition: background-color 0.3s;
            white-space: nowrap;
        }
        .nav-links a:hover {
            background-color: #e052a0;
        }

        /* Headings */
 h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Arial Narrow', 'Segoe UI Condensed', sans-serif; /* Condensed font */
    color: black;
    background-color: #b8870b8c; /* Dark gold */
    padding: 12px 24px;
    border-radius: 10px;
    margin: 20px auto;
    width: fit-content;
    text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700; /* glowing yellow shadow */
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Glow animation */
@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700, 0 0 15px #ffaa00;
    }
    to {
        text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffee00, 0 0 30px #ffaa00;
    }
}

.section-title {
    color: #ffe6f0;
    margin: 30px 0 10px;
    font-size: 44px;
    border-bottom: 2px solid #cc3366;
    padding-bottom: 5px;
    user-select: none;
    text-shadow: 1px 1px 2px #660044;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

    /* Year Filter Container */
.year-filter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Label Styling */
.year-filter-container label {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

/* Select Dropdown Styling */
.year-filter-container select {
    padding: 6px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.year-filter-container select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.2);
}
/* Highlight the main header */

/* Year filter container */
.year-filter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px auto 25px auto;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    border-radius: 8px;
    width: fit-content;
}

/* Filter Label */
.year-filter-container label {
    font-weight: bold;
    font-size: 15px;
    color: #333;
}

/* Dropdown styling */
.year-filter-container select {
    padding: 6px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    transition: 0.3s;
}

.year-filter-container select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}
        /* Card container and cards */
        .card-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
            margin-bottom: 40px;
        }
        .card {
            background: #ffffffcc;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            padding: 20px;
            width: 300px;
            position: relative;
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 420px;
        }
        .card:hover {
            transform: scale(1.02);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }
        .card h3 {
            margin: 0 0 10px;
            color: #cc3366;
            font-size: 18px;
        }
        .card .birthday {
            font-size: 14px;
            color: #000;
            background: #ffecb3;
            display: inline-block;
            padding: 3px 6px;
            border-radius: 6px;
            margin-left: 8px;
        }
        .card p {
            margin: 6px 0;
            color: #333;
            flex-grow: 0;
        }
        .card .label {
            font-weight: bold;
            color: #555;
        }
        .see-more {
            color: #0066cc;
            cursor: pointer;
            display: inline-block;
            margin-top: 5px;
            user-select: none;
        }
        .hidden-text {
            display: none;
        }

        /* Show more buttons */
        .show-more-btn {
            display: block;
            margin: 20px auto 40px;
            padding: 10px 25px;
            background-color: #cc3366;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 18px;
            user-select: none;
        }
        .show-more-btn:hover {
            background-color: #b32d59;
        }

        /* Emoji badge in top-left */
        .emoji-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 22px;
        }

        /* Signup button on cards */
        .signup-btn {
            margin-top: 15px;
            background-color: #C71585;
            color: white;
            border: none;
            border-radius: 25px;
            padding: 10px 18px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s ease;
            user-select: none;
        }
        .signup-btn:hover {
            background-color: #e052a0;
        }
        @media (max-width: 1200px) {
    header img {
        height: 50px; 
    }
    .nav-links a {
        padding: 8px 16px;
        font-size: 14px;
    }
h2 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Arial Narrow', 'Segoe UI Condensed', sans-serif; /* Condensed font */
    color: black;
    background-color: #b8870b8c; /* Dark gold */
    padding: 12px 24px;
    border-radius: 10px;
    margin: 20px auto;
    width: fit-content;
    text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700; /* glowing yellow shadow */
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Glow animation */
@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700, 0 0 15px #ffaa00;
    }
    to {
        text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffee00, 0 0 30px #ffaa00;
    }
}
    
}
@media (max-width: 992px) {
    header {
        padding: 10px 20px;
    }
    .nav-links a {
        font-size: 13px;
        padding: 8px 16px;
    }
         h2 {
            text-align: center;
            color: #ffccdd;
            margin: 0 0 20px;
            text-shadow: 1px 1px 3px #660044;
                text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6); /* semi-transparent dark background */
    padding: 10px 20px;
    border-radius: 8px;
    margin: 20px auto;
    width: fit-content;
        }
}
@media (max-width: 768px) {
    header img {
        height: 50px;
    }
    .nav-links a {
        padding: 8px 16px;
        font-size: 14px;
    }
    .cover {
        filter: blur(5px);
    }
    h2 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Arial Narrow', 'Segoe UI Condensed', sans-serif; /* Condensed font */
    color: black;
    background-color: #b8870b8c; /* Dark gold */
    padding: 12px 24px;
    border-radius: 10px;
    margin: 20px auto;
    width: fit-content;
    text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700; /* glowing yellow shadow */
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Glow animation */
@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700, 0 0 15px #ffaa00;
    }
    to {
        text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffee00, 0 0 30px #ffaa00;
    }
}
}
@media (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 10px;
        padding: 8px 16px;
        text-align: center;
    }
    header img {
        height: 40px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .nav-links a {
        width: 90%;
        font-size: 11px;
        padding: 6px 12px;
        text-align: center;
        display: inline-block; 
        border-radius: 25px;
        background-color: #C71585;
        color: white;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    .nav-links a:hover {
        background-color: #e052a0;
        transform: translateY(-2px);
    }
    .cover {
        filter: blur(3px);
}
h2 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Arial Narrow', 'Segoe UI Condensed', sans-serif; /* Condensed font */
    color: black;
    background-color: #b8870b8c; /* Dark gold */
    padding: 12px 24px;
    border-radius: 10px;
    margin: 20px auto;
    width: fit-content;
    text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700; /* glowing yellow shadow */
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Glow animation */
@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff200, 0 0 10px #ffd700, 0 0 15px #ffaa00;
    }
    to {
        text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffee00, 0 0 30px #ffaa00;
    }
}
        .section-title {
    color: #ffe6f0;
    margin: 30px 0 10px;
    font-size: 20px;
    border-bottom: 2px solid #cc3366;
    padding-bottom: 5px;
    user-select: none;
    text-shadow: 1px 1px 2px #660044;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
}