.faq-hero {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%), 
    url('../img/faq.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 300px; 
}

.faq-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-title {
    font-family: 'Teko', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.faq-subtitle {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    color: #FBDB93;
    max-width: 800px;
    margin: 0 auto;
}

.faq-main {
    background: #FFFFFF;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    perspective: 1000px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item:hover .faq-question {
    box-shadow: 0 15px 30px rgba(100, 27, 46, 0.2);
}

.faq-question {
    background: linear-gradient(135deg, #641B2E 0%, #8A2D3B 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(100, 27, 46, 0.15);
    min-height: 120px;
    display: flex;
    align-items: center;
    flex: 1;
    border-left: 5px solid #BE5B50;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #FBDB93;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before {
    opacity: 1;
}

.question-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FBDB93;
    background: rgba(190, 91, 80, 0.3);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(251, 219, 147, 0.3);
}

.faq-question h3 {
    font-family: 'Teko', sans-serif;
    color: #FFFFFF;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-right: 50px;
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 54px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-answer {
    background: #FFFFFF;
    padding: 0;
    border-radius: 0 0 10px 10px;
    display: none;
    transform-origin: top;
    animation: slideDown 0.3s ease-out;
    position: relative;
    box-shadow: 0 5px 15px rgba(100, 27, 46, 0.1);
    border: 2px solid #641B2E;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background-clip: padding-box;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer-content {
    padding: 25px;
    background: #FFFFFF;
    border-left: 5px solid #BE5B50;
}

.faq-answer p {
    color: #8A2D3B;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    margin: 0;
    font-family: 'Pridi', serif;
}

.faq-answer p strong {
    color: #641B2E;
    font-weight: 500;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #8A2D3B 0%, #BE5B50 100%);
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

.faq-item.active .faq-question::after {
    content: '▼';
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #FBDB93;
    font-size: 12px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-question::before {
    content: '?';
    position: absolute;
    top: -10px;
    right: -10px;
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    color: rgba(251, 219, 147, 0.1);
    opacity: 0.5;
    z-index: 1;
}

.faq-question {
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #FBDB93;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.faq-item:hover .faq-question::after {
    opacity: 1;
}

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 60px 20px 40px;
        min-height: 250px;
    }

    .faq-title {
        font-size: 2.8rem;
    }

    .faq-subtitle {
        font-size: 1.2rem;
    }

    .faq-container {
        padding: 40px 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-question, .faq-answer-content {
        padding: 20px;
        min-height: 100px;
    }

    .faq-question h3 {
        font-size: 1.2rem;
        min-height: 48px;
    }

    .question-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 50px 20px 30px;
        min-height: 200px;
    }

    .faq-title {
        font-size: 2.2rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question, .faq-answer-content {
        padding: 15px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }
}