/* ========================================
   FAQS PAGE - MODERN UNIQUE DESIGN
   ======================================== */

/* ===== VARIABLES ===== */
:root {
    --primary-red: #0d9488;
    --primary-dark: #c9171d;
    --navy: #171b2a;
    --navy-light: #252d42;
    --white: #ffffff;
    --gray-light: #f8f9fc;
    --gray: #6c757d;
}

/* ===== HERO SECTION - GRADIENT MESH DESIGN ===== */
.faq-hero {
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0 60px;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(235, 32, 39, 0.15) 0%, transparent 60%);
    animation: meshMove1 15s ease-in-out infinite;
}

.faq-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 120%;
    background: radial-gradient(circle, rgba(235, 32, 39, 0.1) 0%, transparent 50%);
    animation: meshMove2 12s ease-in-out infinite;
}

@keyframes meshMove1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
}

@keyframes meshMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-5%, -5%) scale(1.05); }
}

/* Hero Pattern */
.hero-pattern-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Floating Question Marks */
.floating-questions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.float-q {
    position: absolute;
    font-size: 80px;
    font-weight: 900;
    color: rgba(235, 32, 39, 0.08);
    animation: floatQ 8s ease-in-out infinite;
}

.float-q:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.float-q:nth-child(2) { top: 60%; left: 5%; animation-delay: 2s; font-size: 60px; }
.float-q:nth-child(3) { top: 25%; right: 10%; animation-delay: 1s; font-size: 100px; }
.float-q:nth-child(4) { top: 70%; right: 8%; animation-delay: 3s; font-size: 50px; }

@keyframes floatQ {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Hero Content */
.hero-content-center {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(235, 32, 39, 0.15);
    border: 1px solid rgba(235, 32, 39, 0.3);
    padding: 12px 28px;
    border-radius: 100px;
    margin-bottom: 25px;
}

.hero-badge-pill i {
    color: var(--primary-red);
    font-size: 18px;
}

.hero-badge-pill span {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title-main {
    font-size: 58px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title-main span {
    background: linear-gradient(135deg, var(--primary-red), #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 19px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

/* Search Box */
.faq-search-box {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.faq-search-box input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    border-radius: 60px;
    font-size: 16px;
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-search-box input::placeholder {
    color: rgba(255,255,255,0.5);
}

.faq-search-box input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255,255,255,0.1);
}

.faq-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* ===== CATEGORY TABS SECTION ===== */
.faq-categories-section {
    padding: 80px 0 0;
    background: var(--white);
}

.category-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-tab:hover {
    border-color: var(--primary-red);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.category-tab.active {
    background: var(--navy);
    border-color: var(--navy);
}

.category-tab.active .cat-icon,
.category-tab.active .cat-name {
    color: var(--white);
}

.category-tab.active .cat-icon {
    background: var(--primary-red);
}

.cat-icon {
    width: 40px;
    height: 40px;
    background: rgba(235, 32, 39, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 18px;
    transition: all 0.3s ease;
}

.cat-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.3s ease;
}

/* ===== FAQ ACCORDION SECTION ===== */
.faq-accordion-section {
    padding: 0 0 100px;
    background: var(--white);
}

.faq-category-content {
    display: none;
}

.faq-category-content.active {
    display: block;
    animation: fadeInContent 0.5s ease;
}

@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modern Accordion Styles */
.faq-accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.faq-accordion-item.active {
    border-color: var(--primary-red);
    box-shadow: 0 15px 50px rgba(235, 32, 39, 0.15);
}

.faq-accordion-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.faq-accordion-header:hover {
    background: var(--gray-light);
}

.faq-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(235, 32, 39, 0.1), rgba(235, 32, 39, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-red);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-accordion-item.active .faq-number {
    background: var(--primary-red);
    color: var(--white);
}

.faq-question {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    line-height: 1.4;
}

.faq-toggle-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle-icon i {
    font-size: 14px;
    color: var(--navy);
    transition: all 0.3s ease;
}

.faq-accordion-item.active .faq-toggle-icon {
    background: var(--primary-red);
    transform: rotate(180deg);
}

.faq-accordion-item.active .faq-toggle-icon i {
    color: var(--white);
}

.faq-accordion-body {
    display: none;
    padding: 0 30px 30px 95px;
}

.faq-accordion-body p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.faq-accordion-body ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.faq-accordion-body ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
    line-height: 1.7;
}

.faq-accordion-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-size: 12px;
}

/* ===== STILL HAVE QUESTIONS SECTION ===== */
.faq-contact-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.contact-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: rgba(235, 32, 39, 0.2);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(235, 32, 39, 0.1), rgba(235, 32, 39, 0.05));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
}

.contact-card-icon i {
    font-size: 32px;
    color: var(--primary-red);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon i {
    color: var(--white);
}

.contact-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ===== POPULAR TOPICS SECTION ===== */
.popular-topics-section {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.popular-topics-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(235, 32, 39, 0.1), transparent 60%);
}

.section-header-light {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-header-light h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.section-header-light h2 span {
    color: var(--primary-red);
}

.section-header-light p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin: 0 auto;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.topic-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: block;
}

.topic-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    border-color: var(--primary-red);
}

.topic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--white);
}

.topic-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.topic-card span {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ===== CTA SECTION ===== */
.faq-cta-section {
    padding: 100px 0;
    background: var(--white);
}

.cta-box-gradient {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    padding: 70px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-box-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-box-gradient::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-text-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cta-text-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-text-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    max-width: 450px;
}

.cta-buttons-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--navy);
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-cta-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .hero-title-main {
        font-size: 48px;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box-gradient {
        padding: 50px 40px;
    }
}

@media (max-width: 991px) {
    .hero-title-main {
        font-size: 40px;
    }
    
    .category-tabs-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        gap: 10px;
    }
    
    .category-tab {
        flex-shrink: 0;
        padding: 12px 20px;
    }
    
    .contact-cards-wrapper {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-box-gradient {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text-content {
        text-align: center;
    }
    
    .cta-text-content p {
        margin: 0 auto;
    }
    
    .section-header-light h2 {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .faq-hero {
        padding: 130px 0 80px;
    }
    
    .hero-title-main {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .faq-search-box input {
        padding: 16px 55px 16px 20px;
        font-size: 14px;
    }
    
    .faq-search-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .faq-accordion-header {
        padding: 20px;
        gap: 15px;
    }
    
    .faq-number {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-accordion-body {
        padding: 0 20px 25px 73px;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .topic-card {
        padding: 25px 15px;
    }
    
    .topic-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .cta-text-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons-wrap {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-white,
    .btn-cta-ghost {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-title-main {
        font-size: 28px;
    }
    
    .hero-badge-pill {
        padding: 10px 20px;
    }
    
    .hero-badge-pill span {
        font-size: 12px;
    }
    
    .float-q {
        font-size: 50px;
    }
    
    .faq-accordion-body {
        padding: 0 20px 25px 20px;
    }
    
    .section-header-light h2 {
        font-size: 28px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-card-icon {
        width: 65px;
        height: 65px;
    }
    
    .contact-card-icon i {
        font-size: 26px;
    }
}
