﻿.hero-section {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #cbbdfe 0%, #bdcbfe 100%);
    overflow: hidden;
}

    .hero-section.with-image {
        background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('/img/hero1.PNG');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    color: #2c3e50;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #34495e;
    font-weight: lighter;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.faq-section {
    background: white;
    padding: 5rem 0;
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

    .section-header h2 {
        font-size: 2.5rem;
        color: #333;
    }

    .section-header .lead {
        font-size: 1.1rem;
        color: #666;
    }

.faq-search {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .search-input:focus {
        outline: none;
        border-color: rgb(0, 163, 232);
        box-shadow: 0 0 0 3px rgba(0, 163, 232, 0.1);
        background: white;
    }

.faq-categories {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .category-btn:hover {
        border-color: rgb(0, 163, 232);
        color: rgb(0, 163, 232);
        transform: translateY(-2px);
    }

    .category-btn.active {
        background: linear-gradient(135deg, rgb(0, 163, 232), #667eea);
        border-color: transparent;
        color: white;
        box-shadow: 0 4px 15px rgba(0, 163, 232, 0.3);
    }

.faq-container {
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

    .faq-item:nth-child(1) {
        animation-delay: 0.4s;
    }

    .faq-item:nth-child(2) {
        animation-delay: 0.45s;
    }

    .faq-item:nth-child(3) {
        animation-delay: 0.5s;
    }

    .faq-item:nth-child(4) {
        animation-delay: 0.55s;
    }

    .faq-item:nth-child(5) {
        animation-delay: 0.6s;
    }

    .faq-item:nth-child(6) {
        animation-delay: 0.65s;
    }

    .faq-item:nth-child(7) {
        animation-delay: 0.7s;
    }

    .faq-item:nth-child(8) {
        animation-delay: 0.75s;
    }

    .faq-item:nth-child(9) {
        animation-delay: 0.8s;
    }

    .faq-item:nth-child(10) {
        animation-delay: 0.85s;
    }

    .faq-item:nth-child(11) {
        animation-delay: 0.9s;
    }

    .faq-item:nth-child(12) {
        animation-delay: 0.95s;
    }

    .faq-item.hidden {
        display: none;
    }

    .faq-item:hover {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.faq-question {
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

    .faq-question h5 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        flex: 1;
        padding-right: 1rem;
    }

.faq-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(0, 163, 232), #667eea);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .faq-icon i {
        transition: transform 0.3s ease;
    }

.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-cta {
    background: linear-gradient(135deg, rgb(0, 163, 232), #667eea);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 163, 232, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

    .contact-cta h3 {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: white;
    }

    .contact-cta p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.95);
    }

.btn-contact {
    background: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgb(0, 163, 232);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

    .btn-contact:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        color: white;
        text-decoration: none;
    }

    .btn-contact:active {
        transform: translateY(-1px);
    }

    .btn-contact:focus {
        outline: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.3);
        color: white;
        background: rgba(255, 255, 255, 0.2);
    }

.no-results-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 1.1rem;
    display: none;
}

    .no-results-message.show {
        display: block;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .faq-categories {
        gap: 0.75rem;
    }

    .category-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section .lead {
            font-size: 1rem;
        }

    .faq-section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .faq-search {
        margin-bottom: 2rem;
    }

    .search-input {
        padding: 0.875rem 0.875rem 0.875rem 3rem;
        font-size: 0.95rem;
    }

    .faq-categories {
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.25rem;
    }

        .faq-question h5 {
            font-size: 1rem;
        }

    .faq-icon {
        width: 35px;
        height: 35px;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .contact-cta {
        padding: 2.5rem 1.5rem;
    }

        .contact-cta h3 {
            font-size: 1.5rem;
        }

        .contact-cta p {
            font-size: 1rem;
        }

    .btn-contact {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 100vh;
        padding: 0;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .faq-categories {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 100%;
        max-width: 250px;
    }

    .faq-question {
        padding: 1rem;
    }

        .faq-question h5 {
            font-size: 0.95rem;
        }

    .faq-icon {
        width: 30px;
        height: 30px;
    }

        .faq-icon i {
            font-size: 0.85rem;
        }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .contact-cta {
        padding: 2rem 1.25rem;
    }

    .btn-contact {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
