/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    flex-direction: column;
    color: white;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 11px;
    opacity: 0.9;
    margin-top: -2px;
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav a:hover,
.nav a.active {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.1);
}

.search-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    overflow: hidden;
    max-width: 400px;
    flex: 1;
}

.search-input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    font-size: 14px;
    color: #333;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background-color: #3b82f6;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #2563eb;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1f2937;
    text-align: center;
}

/* Categories Section */
.categories-section {
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.category-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Quick Links Section */
.quick-links-section {
    margin-bottom: 60px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.quick-link-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.quick-link-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.quick-link-card i {
    font-size: 36px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.quick-link-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.quick-link-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.6;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Loading Spinner */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .logo h1 {
        font-size: 22px;
    }

    .logo-subtitle {
        font-size: 9px;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
        order: 4;
    }

    .nav.active {
        display: flex;
    }

    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Made with Bob */
