.faqSection { padding: 30px 20px 60px 20px; /* background-color: #F5E6D3; */ max-width: 1200px; margin: 0 auto; } .faqTitle { font-family: var(--font-playfair); font-size: 2.5rem; color: #5d4037; text-align: start; margin-bottom: 3rem; text-transform: uppercase; letter-spacing: 2px; } .faqContainer { display: flex; flex-direction: column; gap: 1rem; } .faqItem { background: #fff; border: 2px solid #C5A059; border-radius: 8px; overflow: hidden; transition: all 0.3s ease; } .faqItem:hover { box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2); } .faqQuestion { width: 100%; padding: 1.5rem 2rem; background: transparent; border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-lato); font-size: 1.1rem; font-weight: 600; color: #5d4037; text-align: left; transition: all 0.3s ease; } .faqQuestion:hover { background-color: #faf6f0; } .faqQuestion.active { background-color: #C5A059; color: #fff; } .icon { font-size: 1.5rem; font-weight: bold; color: #C5A059; transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; } .faqQuestion.active .icon { color: #fff; transform: rotate(180deg); } .faqAnswer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; } .faqAnswer.open { max-height: 1000px; padding: 1.5rem 2rem; border-top: 1px solid #e0d5c7; } .faqContent { font-family: var(--font-lato); font-size: 1rem; color: #5d4037; line-height: 1.8; } .faqContent a { color: #C5A059; text-decoration: underline; transition: color 0.3s; } .faqContent a:hover { color: #b08f4a; } @media (max-width: 768px) { .faqSection { padding: 40px 15px; } .faqTitle { font-size: 2rem; margin-bottom: 2rem; } .faqQuestion { padding: 1.2rem 1.5rem; font-size: 1rem; } .faqAnswer.open { padding: 1.2rem 1.5rem; } }