:root {
    --primary-color: #4f46e5;
    --secondary-color: #3730a3;
    --accent-color: #6366f1;
    --text-light: #e5e7eb;
    --bg-dark: #111827;
}

.hero-section {
    background: linear-gradient(to right, #1a56db, #1e40af);
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 64, 175, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    padding-left: 3rem !important;
    padding-right: 7rem !important;
    height: 3.5rem;
    border-radius: 9999px !important;
    font-size: 1.125rem;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
}

.category-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.category-card.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.category-icon {
    padding: 1rem;
    background-color: rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    margin-right: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.action-button {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: white;
    color: #1a56db;
}

.primary-button:hover {
    background-color: #f8fafc;
}

.secondary-button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.quick-button:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.button-tooltip {
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.quick-button:hover .button-tooltip {
    opacity: 1;
}

/* Button specific colors */
.home-btn {
    background-color: #007bff;
}

.chat-btn {
    background-color: #28a745;
}

.top-btn {
    background-color: #dc3545;
}

.help-btn {
    background-color: #ffc107;
}

/* Loading animation */
.loading {
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.modern-footer {
    background: linear-gradient(135deg, var(--bg-dark), #1e1b4b);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism effect */
.footer-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    height: 18rem;
}

.footer-brand {
    position: relative;
    display: inline-block;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #60a5fa, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.modern-footer h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.modern-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0 2rem 0;
    height: 3rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-links a:hover {
    color: white;
    transform: translateY(-1px);
}

.social-links a:hover::before {
    transform: scale(0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-color),
            transparent);
}

/* Newsletter form */
.newsletter-form {
    position: relative;
    max-width: 400px;
    margin-top: 1.5rem;
}

.newsletter-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.newsletter-button {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: var(--primary-color);
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 2.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        margin: 2rem auto;
    }
}