ol, ul {
 padding-left: 17px;
}
img {
max-width: 100%;
height: auto;
}
header {
    background: #2c3e50;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: #2ecc71;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
    font-weight: 500;
}

.nav-link:hover {
    background: #3498db;
    color: white;
}

.nav-link.active {
    background: #2ecc71;
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ecf0f1;
}


@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-radius: 0 0 10px 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.5rem;
    }
}



body {
        background: white;
        background-attachment: fixed;
        color: #333;
        padding: 20px;
        min-height: 100vh;
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    }



    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .bio {
        text-align: center;
        margin-bottom: 20px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    h1 {
        font-size: 2.8rem;
        margin-bottom: 10px;
        background: linear-gradient(to right, #833ab4, #fd1d1d);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .subtitle {
        font-size: 1.2rem;
        color: #555;
        margin-bottom: 15px;
    }

    .bio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }

    .bio-card {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .bio-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    }

    .bio-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, #833ab4, #fd1d1d);
    }

    .bio-content {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 15px;
        min-height: 150px;
    }

    .copy-btn {
        background: linear-gradient(to right, #833ab4, #fd1d1d);
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 50px;
        cursor: pointer;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s;
        width: 100%;
    }

    .copy-btn:hover {
        opacity: 0.9;
        transform: scale(1.02);
    }

    .copy-btn.copied {
        background: #4CAF50;
    }

    .category-filter {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
    }

    .filter-btn {
        background: rgba(255, 255, 255, 0.85);
        border: none;
        padding: 10px 20px;
        border-radius: 50px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s;
    }

    .filter-btn:hover, .filter-btn.active {
        background: linear-gradient(to right, #833ab4, #fd1d1d);
        color: white;
    }

    footer {
        text-align: center;
        padding: 20px;
        color: black;
        font-size: 0.9rem;
        margin-top: 30px;
    }

    .search-box {
        width: 100%;
        max-width: 500px;
        margin: 20px auto;
        position: relative;
    }

    .search-box input {
        width: 100%;
        padding: 12px 20px;
        border-radius: 50px;
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        font-size: 1rem;
    }

    .search-box i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #833ab4;
    }

    @media (max-width: 768px) {
        .bio-grid {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }

        h1 {
            font-size: 2.2rem;
        }
    }

    @media (max-width: 480px) {
        .bio-grid {
            grid-template-columns: 1fr;
        }

        h1 {
            font-size: 1.8rem;
        }

        .category-filter {
            flex-direction: column;
            align-items: center;
        }

        .filter-btn {
            width: 80%;
        }
    }

    .toast {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 12px 25px;
        border-radius: 50px;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .toast.show {
        opacity: 1;
    }

    .instructions {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 25px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .instructions h2 {
        color: #833ab4;
        margin-bottom: 10px;
    }

    .instructions ol {
        padding-left: 20px;
    }

    .instructions li {
        margin-bottom: 8px;
    }

    .copy-alert {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #ff4444;
        color: white;
        padding: 12px 20px;
        border-radius: 5px;
        z-index: 1000;
        display: none;
    }

    .copy-alert.show {
        display: block;
        animation: fadeInOut 3s forwards;
    }

    @keyframes fadeInOut {
        0% { opacity: 0; top: 0; }
        10% { opacity: 1; top: 20px; }
        90% { opacity: 1; top: 20px; }
        100% { opacity: 0; top: 0; display: none; }
    }

    .fallback-copy {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        display: none;
    }

    .fallback-copy.show {
        display: flex;
    }

    .fallback-textarea {
        width: 80%;
        height: 150px;
        padding: 15px;
        border-radius: 10px;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .fallback-buttons {
        display: flex;
        gap: 15px;
    }

    .fallback-buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
    }

    .fallback-copy-btn {
        background: #4CAF50;
        color: white;
    }

    .fallback-close-btn {
        background: #f44336;
        color: white;
    }

