/* FAQ Hero Section */
.faq-hero-section {
    background-color: #f5f3ed; /* Background color as specified */
    padding: 60px 0 120px 0;
}

    .faq-hero-section .container {
        max-width: 1200px;
    }

.faq-hero-top-content {
    margin-bottom: 50px;
    text-align: left;
}

.faq-hero-main-heading {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--teal);
    margin-bottom: 10px;
}

.faq-hero-divider {
    width: 100%;
    max-width: 595px; /* Adjust as per design */
    height: 2px;
    background-color: var(--teal);
    margin-bottom: 30px;
}

.faq-hero-person-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.faq-hero-avatar {
    width: 85px; /* Adjust size as needed */
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-hero-person-details {
    display: flex;
    flex-direction: column;
}

.faq-hero-person-name {
    width: 80%;
    font-family: Arial, sans-serif; /* Changed to Arial */
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 10px;
}

.faq-hero-person-description {
    width: 75%;
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 1rem;
    color: var(--teal);
    line-height: 1.2;
    margin-bottom: 0;
}

/* Navbar Padding for this Component */
#header-placeholder .navbar {
    padding: 35px 0 45px 0;
}

/* FAQ Content Wrapper */
.faq-content-wrapper {
    align-items: flex-start; /* Align columns to the top */
    /* Ensure no horizontal overflow at this level */
    overflow-x: hidden;
}

/* Left Column: Jump to Section Card */
.faq-left-col {
    padding-right: 95px; /* Increased by 20% from 20px */
}

.faq-jump-to-card {
    background-color: var(--teal);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-jump-to-heading {
    margin-top: 25px;
    font-family: "Agrandir-Regular", sans-serif; /* Changed to Agrandir-Regular */
    font-size: 1.6rem; /* Increased from 1.1rem */
    font-weight: 500;
    color: #f5f3ed; /* Specified color */
    margin-bottom: 23px;
}

.faq-jump-to-divider {
    width: 100%;
    height: 1px;
    background-color: #f5f3ed; /* Specified color */
    margin-bottom: 3px;
}

.faq-jump-to-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .faq-jump-to-list li {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 0px;
    }

        .faq-jump-to-list li:last-child {
            margin-bottom: 0;
        }

.faq-jump-to-icon {
    width: 55px; /* Increased from 45px */
    height: 55px;
}

.faq-jump-to-text {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 1.3rem; /* Increased from 1rem */
    color: #f5f3ed; /* Specified color */
    font-weight: 300; /* Light color */
}

    .faq-jump-to-text strong {
        font-weight: 1000; /* Bold for the first item */
    }

/* Right Column: FAQ Questions Card */
.faq-right-col {
    padding-left: 35px; /* Increased by 20% from 20px */
    /* Ensure flex items wrap on smaller screens */
    display: flex;
    flex-direction: column; /* Stack cards vertically on smaller screens */
    align-items: center; /* Center cards horizontally in the column */
}

.faq-questions-card {
    background-color: #eef3ed; /* Specified background color */
    border: 2px solid #bbbbbb; /* Increased border thickness */
    border-radius: 12px;
    padding: 30px 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Ensure card itself doesn't cause overflow */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    width: 100%; /* Default to 100% width within its parent */
    max-width: 100%; /* Ensure it doesn't exceed parent width */
}

.faq-questions-heading {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 1.8rem;
    font-weight: 400; /* Light weight */
    color: var(--teal);
    margin-bottom: 7px;
    text-align: left;
}

.faq-questions-paragraph {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 1rem;
    color: var(--teal);
    margin-bottom: 15px;
    text-align: left;
}

.faq-questions-divider {
    width: 100%;
    height: 1px;
    background-color: var(--teal);
    margin-bottom: 12px;
}

.faq-item {
    margin-bottom: 0px;
}

    .faq-item:last-child .faq-item-divider {
        display: none; /* Hide divider after last question */
    }

.faq-question-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 0;
}

.faq-dot {
    width: 6px;
    height: 6px;
    background-color: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-question {
    font-family: "Agrandir-TextBold", sans-serif;
    font-size: 1.1rem;
    font-weight: 500; /* Bold questions */
    color: var(--teal);
    margin: 0;
    flex-grow: 1;
    text-align: left;
    /* Prevent text from overflowing */
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word; /* Modern equivalent */
}

.faq-toggle-icon {
    font-size: 2.8rem; /* Increased from 2.5rem */
    color: var(--teal);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 16px; /* Align with dot */
}

    .faq-answer p {
        font-family: "Agrandir-Regular", sans-serif;
        font-size: 0.95rem;
        color: var(--teal);
        line-height: 1.4;
        margin-top: 5px;
        margin-bottom: 0;
        text-align: left;
        /* Prevent text from overflowing */
        word-wrap: break-word; /* Break long words */
        overflow-wrap: break-word; /* Modern equivalent */
    }

.faq-item-divider {
    width: 100%;
    height: 1px;
    background-color: var(--teal); /* Changed to teal */
    margin: 5px 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .faq-hero-section {
        padding: 40px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .faq-hero-section .container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    .faq-hero-top-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faq-hero-main-heading {
        font-size: 2.2rem;
    }

    .faq-hero-divider {
        max-width: 250px;
        margin: 0 auto 20px auto;
    }

    .faq-hero-person-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        justify-content: center;
    }

    .faq-hero-person-details {
        align-items: center;
    }

    .faq-hero-person-name {
        font-size: 1.1rem;
        width: 100%;
    }

    .faq-hero-person-description {
        font-size: 0.85rem;
        width: 100%;
    }

    .faq-content-wrapper {
        flex-direction: column;
        gap: 40px;
        justify-content: center;
        padding: 0; /* Remove padding from wrapper, columns will handle it */
        overflow-x: hidden; /* Ensure no horizontal overflow */
    }

    .faq-left-col,
    .faq-right-col {
        padding: 0 15px; /* Add horizontal padding to the columns themselves */
        display: flex;
        justify-content: center; /* Center content within the column */
        width: 100%; /* Ensure columns take full width */
        /* For smaller screens, ensure right column stacks its children */
        flex-direction: column;
        align-items: center; /* Center the cards */
    }

    .faq-jump-to-card {
        padding: 25px;
        text-align: center;
        width: 100%; /* Make card take full width of its column */
        max-width: 400px; /* Add a max-width to prevent it from becoming too wide on tablets */
        margin-bottom: 30px; /* Add margin below the jump to card */
    }

    .faq-jump-to-heading {
        font-size: 1.4rem;
    }

    .faq-jump-to-divider {
        margin-bottom: 20px;
    }

    .faq-jump-to-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .faq-jump-to-list li {
            gap: 10px;
            margin-bottom: 10px;
            justify-content: center;
        }

    .faq-jump-to-icon {
        width: 48px;
        height: 48px;
    }

    .faq-jump-to-text {
        font-size: 1.1rem;
    }

    .faq-questions-card {
        padding: 25px;
        width: 100%; /* Make card take full width of its column */
        max-width: 600px; /* Add a max-width for better readability on wider small screens */
        margin: 0 auto 20px auto; /* Center the cards and add margin */
        box-sizing: border-box; /* Ensure padding and border are included in width */
    }

    .faq-questions-heading {
        font-size: 1.6rem;
        text-align: left; /* Ensure heading is left-aligned */
    }

    .faq-questions-paragraph {
        font-size: 0.9rem;
        text-align: left; /* Ensure paragraph is left-aligned */
    }

    .faq-questions-divider {
        margin-bottom: 20px;
    }

    .faq-question-header {
        padding: 8px 0;
        justify-content: flex-start; /* Align question header content to the left */
        text-align: left; /* Ensure text within header is left-aligned */
    }

    .faq-question {
        font-size: 1rem;
        text-align: left; /* Ensure question text is left-aligned */
    }

    .faq-toggle-icon {
        font-size: 2.3rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        text-align: left; /* Ensure paragraph text in answer is left-aligned */
    }

    .faq-item-divider {
        margin: 10px 0;
    }
}

@media (max-width: 767.98px) {
    .faq-hero-section {
        padding: 30px 0;
    }

    .faq-hero-main-heading {
        font-size: 1.8rem;
    }

    .faq-hero-divider {
        max-width: 200px;
    }

    .faq-hero-avatar {
        width: 60px;
        height: 60px;
    }

    .faq-hero-person-name {
        font-size: 1rem;
    }

    .faq-hero-person-description {
        font-size: 0.8rem;
    }

    .faq-content-wrapper {
        gap: 30px;
    }

    .faq-left-col,
    .faq-right-col {
        padding: 0 10px; /* Slightly less padding on smaller phones */
    }

    .faq-jump-to-card {
        padding: 20px;
        max-width: 350px; /* Adjust max-width for smaller tablets/large phones */
    }

    .faq-jump-to-heading {
        font-size: 1.3rem;
    }

    .faq-jump-to-list li {
        gap: 8px;
        margin-bottom: 8px;
    }

    .faq-jump-to-icon {
        width: 40px;
        height: 40px;
    }

    .faq-jump-to-text {
        font-size: 1rem;
    }

    .faq-questions-card {
        padding: 20px;
        max-width: 500px; /* Adjust max-width for smaller tablets/large phones */
    }

    .faq-questions-heading {
        font-size: 1.4rem;
    }

    .faq-questions-paragraph {
        font-size: 0.85rem;
    }

    .faq-questions-divider {
        margin-bottom: 15px;
    }

    .faq-question-header {
        padding: 5px 0;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-toggle-icon {
        font-size: 2.1rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .faq-item-divider {
        margin: 8px 0;
    }
}

@media (max-width: 575.98px) {
    .faq-hero-section {
        padding: 20px 0;
    }

    .faq-hero-main-heading {
        font-size: 1.5rem;
    }

    .faq-hero-divider {
        max-width: 150px;
    }

    .faq-hero-avatar {
        width: 50px;
        height: 50px;
    }

    .faq-hero-person-name {
        font-size: 0.9rem;
    }

    .faq-hero-person-description {
        font-size: 0.75rem;
    }

    .faq-content-wrapper {
        gap: 20px;
    }

    .faq-left-col,
    .faq-right-col {
        padding: 0 5px; /* Minimal padding on very small phones */
    }

    .faq-jump-to-card {
        padding: 15px;
        max-width: 300px; /* Adjust max-width for small phones */
    }

    .faq-jump-to-heading {
        font-size: 1.2rem;
    }

    .faq-jump-to-list li {
        gap: 5px;
        margin-bottom: 5px;
    }

    .faq-jump-to-icon {
        width: 36px;
        height: 36px;
    }

    .faq-jump-to-text {
        font-size: 0.9rem;
    }

    .faq-questions-card {
        padding: 15px;
        max-width: 400px; /* Adjust max-width for small phones */
    }

    .faq-questions-heading {
        font-size: 1.2rem;
    }

    .faq-questions-paragraph {
        font-size: 0.8rem;
    }

    .faq-questions-divider {
        margin-bottom: 10px;
    }

    .faq-question-header {
        padding: 3px 0;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    .faq-toggle-icon {
        font-size: 1.9rem;
    }

    .faq-answer p {
        font-size: 0.8rem;
    }

    .faq-item-divider {
        margin: 5px 0;
    }
}


/* Base styles for the section */
.faqc2-section {
    width: 100%;
    overflow: hidden; /* Prevent horizontal scroll */
}

.faqc2-content-row {
    min-height: 400px; /* Minimum height for the section on desktop */
}

/* Custom width for desktop layout (overriding Bootstrap defaults) */
@media (min-width: 992px) { /* Applies to large screens and up */
    .faqc2-section .col-lg-5 {
        flex: 0 0 48%; /* Set flex basis to 48% */
        max-width: 48%; /* Set max-width to 48% */
    }

    .faqc2-section .col-lg-7 {
        flex: 0 0 52%; /* Set flex basis to 52% */
        max-width: 52%; /* Set max-width to 52% */
    }
}


/* Left Column Styling (45%) */
.faqc2-left-col {
    background-color: #8DA89E; /* #8DA89E */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px; /* Responsive padding */
}

.faqc2-left-content {
    text-align: center;
    max-width: 450px; /* Limit content width for better readability */
    width: 100%;
}

.faqc2-left-heading {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 2.5rem;
    font-weight: 400; /* Regular weight */
    color: #0A4032; /* #0A4032 */
    margin-bottom: 20px;
    line-height: 1.2;
}

.faqc2-left-paragraph {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 1.1rem;
    font-weight: 300; /* Light weight */
    color: #0A4032; /* #0A4032 */
    margin-bottom: 30px;
    line-height: 1.5;
}

.faqc2-button {
    background-color: #0A4032; /* #0A4032 */
    color: #F5F3ED; /* #F5F3ED */
    font-family: "Agrandir-TextBold", sans-serif; /* Use a bold Agrandir variant */
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 80px;
    border: none;
    border-radius: 8px; /* Rounded corners for the button */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

    .faqc2-button:hover {
        background-color: #083329; /* Slightly darker on hover */
        transform: translateY(-2px); /* Lift effect on hover */
    }

/* Right Column Styling (55%) */
.faqc2-right-col {
    background-color: #0E4C3F; /* #0E4C3F */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px; /* Responsive padding */
}

.faqc2-right-content {
    text-align: center;
    max-width: 550px; /* Limit content width for better readability */
    width: 100%;
}

.faqc2-right-heading {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 2.5rem;
    font-weight: 400; /* Regular weight */
    color: #F5F2ED; /* #F5F2ED */
    margin-bottom: 20px;
    line-height: 1.2;
}

.faqc2-right-paragraph {
    font-family: "Agrandir-Regular", sans-serif;
    font-size: 1.1rem;
    font-weight: 300; /* Light weight for general text */
    color: #F5F2ED; /* #F5F2ED */
    margin-bottom: 0;
    line-height: 1.5;
}

.faqc2-email {
    font-weight: 700; /* Bold for the email */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .faqc2-content-row {
        flex-direction: column; /* Stack columns vertically on smaller screens */
    }

    .faqc2-left-col,
    .faqc2-right-col {
        width: 100%; /* Full width for stacked columns */
        padding: 60px 30px; /* More vertical padding for stacked sections */
    }

    .faqc2-left-heading,
    .faqc2-right-heading {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .faqc2-left-paragraph,
    .faqc2-right-paragraph {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }

    .faqc2-left-content,
    .faqc2-right-content {
        max-width: 500px; /* Adjust max-width for content on tablets */
    }
}

@media (max-width: 767.98px) {
    .faqc2-left-col,
    .faqc2-right-col {
        padding: 50px 25px; /* Further adjust padding for mobile */
    }

    .faqc2-left-heading,
    .faqc2-right-heading {
        font-size: 1.8rem;
    }

    .faqc2-left-paragraph,
    .faqc2-right-paragraph {
        font-size: 0.95rem;
    }

    .faqc2-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .faqc2-left-content,
    .faqc2-right-content {
        max-width: 400px; /* Adjust max-width for content on phones */
    }
}

@media (max-width: 575.98px) {
    .faqc2-left-col,
    .faqc2-right-col {
        padding: 40px 20px; /* Smaller padding for very small screens */
    }

    .faqc2-left-heading,
    .faqc2-right-heading {
        font-size: 1.6rem;
    }

    .faqc2-left-paragraph,
    .faqc2-right-paragraph {
        font-size: 0.9rem;
    }

    .faqc2-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .faqc2-left-content,
    .faqc2-right-content {
        max-width: 300px; /* Adjust max-width for content on very small phones */
    }
}
