/* FAQ Section - Enhanced Font Sizes & Responsive Design */

/* ================================================ */
/* FAQ SECTION */
/* ================================================ */

.marshall-home-faq {
    background-color: #ffffff;
    padding: 90px 0; /* Increased from 80px */
    font-family: 'Lancelot', cursive, serif;
}

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

.marshall-home-faq-content {
    text-align: center;
}

.marshall-home-faq-title {
    color: #333;
    font-size: 2.75rem; /* Increased from 2.625rem (44px) - Section title */
    font-weight: 500;
    margin-bottom: 55px; /* Increased from 50px */
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.marshall-home-faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #5ca7db;
}

/* FAQ Wrapper */
.marshall-home-faq-wrapper {
    max-width: 920px; /* Increased from 900px */
    margin: 0 auto;
    text-align: left;
}

/* FAQ Items */
.marshall-home-faq-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 18px; /* Increased from 15px */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.marshall-home-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Question */
.marshall-home-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 30px; /* Increased from 22px 25px */
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-height: 44px; /* Ensures proper touch target */
}

.marshall-home-faq-question:hover {
    background-color: #f0f2f5;
}

.marshall-home-faq-question h3 {
    font-size: 1.3125rem; /* Increased from 1.25rem (21px) - Body text */
    font-weight: 500;
    color: #333;
    margin: 0;
    padding-right: 18px; /* Increased from 15px */
    line-height: 1.4;
}

/* FAQ Icon */
.marshall-home-faq-icon {
    background-color: #5ca7db;
    color: #fff;
    width: 32px; /* Increased from 28px */
    height: 32px; /* Increased from 28px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 32px; /* Increased from 28px - better touch target */
}

.marshall-home-faq-icon i {
    font-size: 15px; /* Increased from 14px */
    transition: transform 0.3s ease;
}

.marshall-home-faq-item.active .marshall-home-faq-icon {
    background-color: #4b86af;
    transform: rotate(45deg);
}

/* FAQ Answer */
.marshall-home-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fff;
}

.marshall-home-faq-item.active .marshall-home-faq-answer {
    max-height: 280px; /* Increased from 250px */
    padding: 25px 30px 30px; /* Increased from 20px 25px 25px */
}

.marshall-home-faq-answer p {
    font-size: 1.1875rem; /* Increased from 1.125rem (19px) - Secondary text */
    color: #555;
    line-height: 1.6;
    margin: 0;
    padding-top: 6px; /* Increased from 5px */
}

/* ================================================ */
/* RESPONSIVE BREAKPOINTS */
/* ================================================ */

/* Large Tablet Styles (769px - 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {
    .marshall-home-faq {
        padding: 80px 0; /* Increased from 70px */
    }
    
    .marshall-home-faq-container {
        padding: 0 30px;
    }
    
    .marshall-home-faq-title {
        font-size: 2.4875rem; /* Increased from 2.375rem (39.8px) */
        margin-bottom: 50px; /* Increased from 45px */
    }
    
    .marshall-home-faq-wrapper {
        max-width: 880px; /* Increased */
    }
    
    .marshall-home-faq-item {
        margin-bottom: 16px; /* Increased */
    }
    
    .marshall-home-faq-question {
        padding: 24px 26px; /* Increased from 20px 22px */
    }
    
    .marshall-home-faq-question h3 {
        font-size: 1.1875rem; /* Increased from 1.125rem (19px) */
        padding-right: 16px; /* Increased */
    }
    
    .marshall-home-faq-icon {
        width: 30px; /* Increased from 26px */
        height: 30px; /* Increased from 26px */
        min-width: 30px; /* Increased from 26px */
    }
    
    .marshall-home-faq-icon i {
        font-size: 14px; /* Increased from 13px */
    }
    
    .marshall-home-faq-item.active .marshall-home-faq-answer {
        max-height: 250px; /* Increased from 220px */
        padding: 22px 26px 26px; /* Increased from 18px 22px 22px */
    }
    
    .marshall-home-faq-answer p {
        font-size: 1.0625rem; /* Increased from 1rem (17px) */
        padding-top: 5px; /* Increased */
    }
}

/* Small Tablet Styles (481px - 768px) */
@media (max-width: 768px) {
    .marshall-home-faq {
        padding: 70px 0; /* Increased from 60px */
    }
    
    .marshall-home-faq-container {
        padding: 0 20px;
    }
    
    .marshall-home-faq-title {
        font-size: 2.25rem; /* Increased from 2.125rem (36px) */
        margin-bottom: 45px; /* Increased from 40px */
    }
    
    .marshall-home-faq-wrapper {
        max-width: 100%; /* Full width for tablet */
    }
    
    .marshall-home-faq-item {
        margin-bottom: 15px; /* Increased from 12px */
    }
    
    .marshall-home-faq-question {
        padding: 22px 24px; /* Increased from 18px 20px */
    }
    
    .marshall-home-faq-question h3 {
        font-size: 1.0625rem; /* Increased from 1rem (17px) */
        padding-right: 15px; /* Increased from 12px */
    }
    
    .marshall-home-faq-icon {
        width: 28px; /* Increased from 24px */
        height: 28px; /* Increased from 24px */
        min-width: 28px; /* Increased from 24px */
    }
    
    .marshall-home-faq-icon i {
        font-size: 13px; /* Increased from 12px */
    }
    
    .marshall-home-faq-item.active .marshall-home-faq-answer {
        max-height: 230px; /* Increased from 200px */
        padding: 20px 24px 24px; /* Increased from 16px 20px 20px */
    }
    
    .marshall-home-faq-answer p {
        font-size: 1rem; /* Increased from 0.9375rem (16px) */
        padding-top: 4px; /* Increased from 3px */
    }
}

/* Mobile Styles (≤ 480px) */
@media (max-width: 480px) {
    .marshall-home-faq {
        padding: 60px 0; /* Increased from 50px */
    }
    
    .marshall-home-faq-container {
        padding: 0 20px; /* Increased from 15px for small margins */
    }
    
    .marshall-home-faq-title {
        font-size: 2.125rem; /* Increased from 2rem (34px) */
        margin-bottom: 40px; /* Increased from 35px */
    }
    
    .marshall-home-faq-item {
        margin-bottom: 12px; /* Increased from 10px */
    }
    
    .marshall-home-faq-question {
        padding: 20px 22px; /* Increased from 16px 18px */
        min-height: 44px; /* Ensures proper touch target */
    }
    
    .marshall-home-faq-question h3 {
        font-size: 1.0625rem; /* Increased from 1rem (17px) */
        padding-right: 12px; /* Increased from 10px */
        line-height: 1.3;
    }
    
    .marshall-home-faq-icon {
        width: 34px; /* Increased from 32px - better touch target for mobile */
        height: 34px; /* Increased from 32px */
        min-width: 34px; /* Increased from 32px */
    }
    
    .marshall-home-faq-icon i {
        font-size: 13px; /* Increased from 12px */
    }
    
    .marshall-home-faq-item.active .marshall-home-faq-answer {
        max-height: 220px; /* Increased from 200px */
        padding: 22px 22px 22px; /* Increased from 18px 18px 18px */
    }
    
    .marshall-home-faq-answer p {
        font-size: 1rem; /* Increased from 0.9375rem (16px) */
        padding-top: 2px; /* Increased from 0 */
        line-height: 1.5;
    }
}

/* Extra Small Mobile (≤ 360px) */
@media (max-width: 360px) {
    .marshall-home-faq-container {
        padding: 0 18px; /* Increased from 12px for better margins */
    }
    
    .marshall-home-faq-title {
        font-size: 2rem; /* Increased from 1.875rem (32px) */
        margin-bottom: 35px; /* Increased from 30px */
    }
    
    .marshall-home-faq-item {
        margin-bottom: 10px;
    }
    
    .marshall-home-faq-question {
        padding: 18px 20px; /* Increased from 14px 16px */
    }
    
    .marshall-home-faq-question h3 {
        font-size: 1rem; /* Increased from 0.9375rem (16px) */
        padding-right: 10px; /* Increased from 8px */
    }
    
    .marshall-home-faq-icon {
        width: 32px; /* Increased from 30px - maintains good touch target */
        height: 32px; /* Increased from 30px */
        min-width: 32px; /* Increased from 30px */
    }
    
    .marshall-home-faq-icon i {
        font-size: 12px; /* Increased from 11px */
    }
    
    .marshall-home-faq-item.active .marshall-home-faq-answer {
        max-height: 200px; /* Increased from 180px */
        padding: 20px 20px 20px; /* Increased from 16px 16px 16px */
    }
    
    .marshall-home-faq-answer p {
        font-size: 0.9375rem; /* Increased from 0.875rem (15px) */
        padding-top: 2px;
    }
}