
:root {
    --primary: #2a9d8f;
    --primary-light: #4fb3a8;
    --primary-dark: #1e7a6e;
    --secondary: #264653;
    --secondary-light: #3a5f6e;
    --accent: #e9c46a;
    --accent-light: #f1d58c;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=2050') center/cover;
    opacity: 0.1;
    z-index: 0;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header .faq-icon {
    font-size: 90px;
    margin-bottom: 20px;
    color: white;
    animation: bounce 3s infinite ease-in-out;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.page-header .breadcrumb {
    font-size: 18px;
    animation: fadeInUp 0.8s ease 0.2s both;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.page-header .breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.page-header .breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.page-header .breadcrumb span {
    margin: 0 10px;
    opacity: 0.5;
}

/* Section Styles */
.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(42, 157, 143, 0.2);
    z-index: -1;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 18px;
    line-height: 1.8;
}

/* Search Section */
.search-section {
    background: var(--light-bg);
    padding: 50px 0;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 30px;
    padding-right: 80px;
    font-size: 18px;
    border: 2px solid rgba(42,157,143,0.2);
    border-radius: 60px;
    outline: none;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(42,157,143,0.15);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 70px;
    background: var(--primary);
    border: none;
    border-radius: 60px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
}

.category-tab {
    padding: 12px 30px;
    background: white;
    border: 2px solid rgba(42,157,143,0.2);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-tab i {
    color: var(--primary);
    font-size: 18px;
    transition: all 0.3s;
}

.category-tab:hover {
    background: rgba(42,157,143,0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(42,157,143,0.3);
}

.category-tab.active i {
    color: white;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(42,157,143,0.1);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 15px 40px rgba(42,157,143,0.15);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(42,157,143,0.2);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    transition: all 0.3s;
    position: relative;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(42,157,143,0.05), rgba(38,70,83,0.05));
}

.faq-question .icon {
    width: 50px;
    height: 50px;
    background: rgba(42,157,143,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question .icon {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
}

.faq-question h3 {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.5;
}

.faq-question .arrow {
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.4s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42,157,143,0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, white, #fafafa);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.answer-content {
    padding: 0 25px 25px 95px;
}

.answer-content p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.answer-content ul {
    color: var(--gray);
    padding-left: 20px;
    margin-bottom: 15px;
}

.answer-content li {
    margin-bottom: 8px;
}

.answer-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.answer-content a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Featured FAQ Cards */
.featured-faqs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 60px 0;
}

.featured-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.featured-card:hover::before {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

.featured-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: all 0.4s;
}

.featured-card:hover .featured-icon {
    transform: rotateY(180deg) scale(1.1);
    background: white;
    color: var(--primary);
}

.featured-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.featured-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.featured-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.featured-link:hover {
    gap: 15px;
    border-bottom-color: white;
}

/* Quick Help Section */
.quick-help {
    background: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.help-item {
    background: white;
    padding: 35px 20px;
    border-radius: 16px;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(42,157,143,0.1);
}

.help-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(42,157,143,0.15);
    border-color: var(--primary);
}

.help-icon {
    width: 70px;
    height: 70px;
    background: rgba(42,157,143,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 28px;
    transition: all 0.4s;
}

.help-item:hover .help-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(360deg);
}

.help-item h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.help-item p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.help-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.help-link:hover {
    color: var(--secondary);
    gap: 5px;
}

/* Still Have Questions Section */
.still-questions {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.still-questions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=2050') center/cover;
    opacity: 0.05;
}

.still-questions .container {
    position: relative;
    z-index: 1;
}

.still-questions h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.still-questions p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.questions-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.question-btn {
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.question-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.question-btn:hover::before {
    width: 300px;
    height: 300px;
}

.question-btn.primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.question-btn.primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.question-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.question-btn.secondary:hover {
    background: white;
    color: var(--primary);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    border: none;
    font-size: 24px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .section-title {
        font-size: 38px;
    }
    
    .faq-grid {
        gap: 20px;
    }
}

@media screen and (max-width: 992px) {
    .page-header h1 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .featured-faqs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .answer-content {
        padding: 0 20px 20px 85px;
    }
}

@media screen and (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header .faq-icon {
        font-size: 70px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .category-tabs {
        gap: 10px;
    }
    
    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .search-input {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .search-btn {
        width: 60px;
        font-size: 20px;
    }
    
    .faq-question {
        gap: 15px;
    }
    
    .faq-question .icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .answer-content {
        padding: 0 15px 15px 70px;
    }
    
    .answer-content p {
        font-size: 14px;
    }
    
    .featured-faqs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-card {
        padding: 30px 20px;
    }
    
    .featured-card h3 {
        font-size: 20px;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .still-questions h2 {
        font-size: 32px;
    }
    
    .still-questions p {
        font-size: 16px;
    }
    
    .questions-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .question-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header .faq-icon {
        font-size: 60px;
    }
    
    .page-header .breadcrumb {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-tab {
        justify-content: center;
    }
    
    .search-container {
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 15px;
        gap: 12px;
    }
    
    .faq-question .icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .faq-question .arrow {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .answer-content {
        padding: 0 15px 15px 60px;
    }
    
    .faq-item.active .faq-answer {
        max-height: 400px;
    }
    
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 30px;
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .search-section, .featured-faqs,
    .quick-help, .still-questions, .scroll-to-top {
        display: none;
    }
    
    .page-header {
        background: none;
        color: black;
        padding: 30px 0;
    }
    
    .page-header .faq-icon {
        color: var(--primary);
    }
    
    .faq-item {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .faq-answer {
        max-height: none;
    }
}
