:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Dubai", sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    text-align: center;
}

.navbar {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem;
    text-align: center;
}

.nav-container a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: 0.3s;
}

.nav-container a:hover {
    background: var(--primary-hover);
    color: white;
}

main {
    max-width: 1100px;
    margin: 100px auto;
    padding: 1rem;
}

.section.active {
    display: block;
}

#authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    justify-content: center;
}

.author-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    text-align: center;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.author-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

        body {
            font-family: 'Segoe UI', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f9f9f9;
        }

        .navbar {
            background-color: #fff;
            padding: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: auto;
        }

        .nav-link {
            text-decoration: none;
            font-weight: bold;
            color: #333;
            font-size: 18px;
        }

        .results-container {
            margin-top: 10px;
            max-width: 1000px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .results-container h2 {
            margin-bottom: 40px;
            color: #222;
        }

        .result-card {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            transition: 0.3s;
        }

        .result-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .result-card h3 {
            margin: 0 0 10px;
            color: #1976d2;
        }

        .result-card p {
            margin: 6px 0;
            color: #444;
            size: 90px;
        }

        .result-card a {
            display: inline-block;
            margin-top: 10px;
            color: #1976d2;
            text-decoration: none;
        }

        .result-card a:hover {
            text-decoration: underline;
        }
