/* 
CSS Version: 2.4
Last Updated: 2024-03-29
Updates: 
- Centered about section content and image
- Optimized layout structure
- Maintained existing features
- Improved organization and documentation
*/

/*===============================
    1. GLOBAL STYLES
================================*/
body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7em;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.content-container {
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/*===============================
    2. HEADER STYLES
================================*/
#main-header {
    background-color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99999;
}

.logo_container {
    position: relative;
    height: 100%;
    width: 100%;
}

.logo_container img {
    max-height: 54%;
    width: auto;
    vertical-align: middle;
}

/*===============================
    3. LAYOUT COMPONENTS
================================*/
/* Common Section Styles */
.hero-section,
.about-section,
.services-section {
    padding: 180px 0 54px;
}

.hero-section {
    background-color: #1D1D25;
    color: #fff;
    margin-top: 66px;
    
}

.about-section {
    background-color: #e0dad2;
    padding: 80px 0 54px; /* Reduce top padding from 180px to 80px */
}

/* Row and Column Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
}

.column {
    flex: 1;
}
/*===============================
    4. TYPOGRAPHY & TEXT STYLES
================================*/
h1.dad-assist-title {
    font-family: 'Outfit', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 83px;
    color: #FFFFFF;
    line-height: 1.1em;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    margin-bottom: 10%;
}

.orange-text {
    color: #E09900 !important;
    text-align: left;
    font-size: 29px;
    margin-left: 40;
    font-weight: normal;
}

.section-header h2 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 600;
    font-size: 70px;
    color: #000000;
    line-height: 1.1em;
    margin-bottom: 0;
}

.section-title {
    font-size: 29px;
    color: #E09900;
    line-height: 1.3em;
    text-align: left;
    font-weight: normal;
}

.highlight {
    color: #E09900;
    font-weight: bold;
}

/*===============================
    5. HERO SECTION
================================*/
.left-column {
    padding-right: 30px;
    width: 50%;
    padding-left: 10%;
    position: relative;
}

.right-column {
    position: relative;
    width: 50%;
    padding-bottom: 40px;
    padding-right: 10%;
}

.logo-container {
    position: absolute;
    left: 80%;
    top: 0;
    width: 27%;
}

.image-container-top {
    text-align: right;
    position: relative;
    width: 30%;
    margin-left: auto;
    margin-bottom: -20%;
    z-index: 1;
    margin-right: 10%;
}

.image-container-bottom {
    position: relative;
    width: 55%;
    z-index: 2;
    margin-bottom: -10px;
    margin-left: auto;
    right: 20%;
}

.law-firm-image,
.family-image {
    border: 6px solid #E09900;
    width: 100%;
    height: auto;
    display: block;
}

.law-firm-image {
    border-radius: 30px 0 30px 0;
}

.family-image {
    border-radius: 0 30px 0 30px;
}

/*===============================
    6. ABOUT SECTION
================================*/
.about-section .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}
/* Center the About heading */
.about-section .section-header {
    text-align: center;
    width: 100%;
    margin-bottom: 30px; /* Increase space between header and image */
}

.about-section .section-header h2 {
    text-align: center;
    margin: 0 auto;
}

.about-section .section-title {
    text-align: center;
    margin: 30px auto 0; /* Add space above the title */
}

.about-section .divider {
    margin: 20px auto; /* Adjust these values as needed */
    border-top: 10px solid rgba(76,89,76,0.24);
}

/* Adjust image container position */
.about-section .image-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 60px; /* Add bottom margin to create space between image and text */
    order: 1;}

/* Text content container */
.about-section .about-text {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    order: 2; /* This places the text after the image */
}

.about-text h1 {
    text-align: center;
    margin: 20px auto;
}

.about-section .left-column,
.about-section .right-column {
    width: 100%;
    max-width: 800px;
    padding: 0;
    margin: 0 auto;
}

.about-section .image-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto 0;
}

.about-text h1 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 25px;
    line-height: 1.7em;
    margin-bottom: 40px;
    font-weight: 300;
    color: #000000;
    letter-spacing: 0.02em;
    text-align: center;
}

.about-featured-image {
    border-radius: 50px 0 50px 0;
    border: 3px solid #E09900;
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/*===============================
    7. SERVICES SECTION
================================*/
.services-section {
    background-color: #cec5bb;
    padding: 20px 0 20px; /* Reduce bottom padding from 54px to 20px */
}

.services-intro {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 25px;
    line-height: 1.7em;
    margin-top: 60px; /* Increase this value to add more space */
    margin-bottom: 60px;
    font-weight: 300;
    color: #000000;
    letter-spacing: 0.02em;
}

.services-section .left-column {
    padding-top: 0px; /* Reduce this value to move just the "Our Services" text up */
}

.services-image {
    width: 80%;
    margin-top: 40px;
}

.services-featured-image {
    border-radius: 50px 0 50px 0;
    border: 3px solid #E09900;
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    width: 100%;
    height: auto;
    display: block;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 30px 60px 0px rgba(53,66,85,0.1);
    transition: all 300ms ease;
}

.service-item:hover {
    background-color: #1D1D25;
    color: #FFFFFF;
}

.service-icon {
    margin-bottom: 20px;
    font-size: 32px;
    color: #4C594C;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    transition: stroke 300ms ease;
}

.service-item:hover .service-icon svg {
    stroke: #FFFFFF;
}

.service-content h4 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    line-height: 1.1em;
    margin-bottom: 15px;
    transition: color 300ms ease;
}

.service-item:hover h4 {
    color: #FFFFFF;
}

.service-content p {
    font-size: 16px;
    line-height: 1.8em;
    font-weight: 300;
}

.legal-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.legal-content .expert-image {
    width: 20%;
    flex-shrink: 0;
    margin-top: 0; /* Remove any top margin */
}

.legal-content .expert-description {
    width: 50%;
    padding-left: 20px;
    margin-top: 0; /* Remove any top margin */

}

/* If needed, adjust the spacing below the header */
.legal-journey .header-container {
    margin-bottom: 20px; /* Adjust this value as needed */
}


/* Create new, separate styles for legal journey section */
.legal-journey .legal-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.legal-journey .legal-content .expert-image {
    width: 50%;
    flex-shrink: 0;
    margin: 0;
}

.legal-journey .legal-content .expert-description {
    width: 50%;
    padding-left: 20px;
    margin: 0;
}

.legal-journey .legal-content .expert-description p {
    margin-top: 0;
}


/*===============================
    8. DIVIDER STYLES
================================*/
.divider {
    height: 10px;
    margin-top: -55px;
    margin-bottom: 0px;
    width: 430px;
    position: relative;
    margin-left: 0;
}

.hero-section .divider {
    border-top: 10px solid rgba(255,255,255,0.3);
}

.about-section .divider {
    border-top: 10px solid rgba(76,89,76,0.24);
    margin-left: auto;
    margin-right: auto;
}

.services-section .divider {
    margin-top: -35px;
    margin-bottom: 30px;
}


/*===============================
    9. FORM SECTION
================================*/
.form-section {
    padding: 40px 0;
    background-color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

input[type="text"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 3px;
    font-size: 14px;
}

input[type="radio"] {
    margin-right: 10px;
}

input[type="submit"] {
    background-color: #E09900;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

input[type="submit"]:hover {
    background-color: #c88a00;
}

/*===============================
    QUOTE SECTION
================================*/
.quote-section {
    background-color: #e0dad2; /* Match other sections */
    padding: 40px 0;
}

.quote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    text-align: center;
    margin-bottom: 0px;
}

.quote-icon svg {
    width: 80px;
    height: 80px;
}


.quote-text h2 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 25px;
    line-height: 1.7em;
    color: #000000;
    font-weight: 300;
    margin-bottom: 20px;
}

.quote-author h1 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 25px;
    color: #E09900; /* Match the orange color used elsewhere */
    font-weight: 300;
}


/*===============================
    EXPERTS SECTION
================================*/
.experts-section {
    background-color: #f7f6f5;
    padding: 0px 0;
}

.experts-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.experts-section .section-header {
    margin-bottom: 0px;
}

.experts-section h2 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 600;
    font-size: 60px;
    color: #000000;
    line-height: 1.1em;
    margin-bottom: 0;
}

.experts-section .divider {
    height: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 400px;
    border-top: 10px solid rgba(76,89,76,0.24);
}

/* Add these new styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 40px;
}

.experts-section .logo_container {
    position: relative;
    width: 173px;
    height: 173px;
    margin-left: 40px; /* Add space between text and logo */
}

.experts-section .logo_container img {
    width: 100%;
    height: auto;
}

.experts-section .section-header {
    flex: 1; /* Takes up remaining space */
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    
    .experts-section .logo_container {
        margin-left: 0;
        margin-top: 20px;
    }
}

.emotional-section {
    background-color: #f7f6f5; /* Match experts section background */
    padding: 0px 0;
}

/* If you need to adjust spacing between sections */
.emotional-section {
    margin-top: 40px; /* Adjust as needed */
}

/* Add this new style */
.emotional-section .expert-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px; /* Space between image and content */
}

.content-right {
    width: 60%;
    display: flex;
    flex-direction: column;
}

/* Adjust image size */
.emotional-section .expert-image {
    width: 30%; /* Reduce from 50% to make image smaller */
}

/* New styles for reordering content */
.emotional-section .row {
    display: flex;
    flex-direction: column;
}

.emotional-section .header-container {
    margin-bottom: 30px; /* Space between header and description */
    width: 100%;
}

/* If you need to adjust padding/margins */
.emotional-section .expert-description {
    width: 100%; /* Take full width of parent */
    padding-left: 0; /* Remove padding as it's handled by content-right *
}

.expert-content {
    max-width: 1200px; /* Increased from 800px to allow for side-by-side layout */
    margin: 0 auto;
    display: flex; /* Add flexbox */
    flex-direction: row-reverse; /* This puts the image on the right */
    align-items: flex-start; /* Align items at the top */
    gap: 40px; /* Space between text and image */
}

.expert-image {
    width: 50%; /* Adjust this value to control image width */
    margin-bottom: 30px;
}

.expert-description {
    width: 50%;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 25px; /* Match services-intro size */
    line-height: 1.7em;
    font-weight: 300; /* Match services-intro weight */
    color: #000000;
    letter-spacing: 0.02em; /* Match services-intro letter spacing */
    padding-right: 20px;
}



.expert-featured-image {
    width: 100%;
    height: auto;
    border-radius: 50px 0 50px 0; /* Match services image border radius */
    border: 3px solid #E09900; /* Add orange border */
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    display: block;
}



.expert-description strong {
    color: #E09900;
}

.experts-section .section-header h2 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 600;
    font-size: 83px;
    color: #000000;
    line-height: 1.1em;
    margin-bottom: 0;
}

.experts-section .highlight {
    color: #E09900; /* Orange color used throughout */
}

.experts-section .journey-header h2 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #000000;
    line-height: 1.1em;
    margin-bottom: 0;
    text-align: left;
}
/* Add these new styles */
.journey-header {
    text-align: left;
    margin-bottom: 40px;

    .journey-header .mental-health-title {
        color: #666; /* Replace with your desired color */
    }

    .mental-health-title {
        color: #666; /* Replace with your desired color */
    }


    /* Responsive adjustments if needed */
@media (max-width: 980px) {
    .emotional-section .expert-content {
        flex-direction: column;
        background-color:  #e0dad2; /* Or any color you want */
        padding: 0px 0;
    }
    
    .emotional-section .expert-image,
    .content-right {
        width: 100%;
    }
}
}

.different-bg {
    background-color:  #e0dad2; /* Or any color you want */
    padding: 20px 0;
}

/* Some other background color options you might want to try:
background-color: #cec5bb; /* Lighter beige */
/*background-color: #f7f6f5; /* Very light grey */
/* background-color: #1D1D25; /* Dark background (like consultation section) */
*/

.journey-header h2 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #000000;
    line-height: 1.1em;
    margin-bottom: 0;
    text-align: left;
}

.journey-header .divider {
    margin-left: 0; /* Align divider to the left */
    margin-right: auto;
}


/* Update responsive styles to match services-intro */
@media (max-width: 980px) {
    .expert-description {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .expert-description {
        font-size: 14px;
    }
}

@media (max-width: 980px) {
    .experts-section .journey-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .experts-section .journey-header h2 {
        font-size: 28px;
    }
}

/* Existing responsive styles */
@media (max-width: 980px) {
    .experts-section .section-header h2 {
        font-size: 47px;
    }
}

@media (max-width: 767px) {
    .experts-section .section-header h2 {
        font-size: 35px;
    }
}

/*===============================
    PHILOSOPHY SECTION
================================*/
.philosophy-section {
    background-color: #ebedf0;;
    padding: 20px 0 20px;
}

.philosophy-section .mission-header h2 {
    font-size: 24px; /* or whatever size you want */
}

.philosophy-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.philosophy-section .section-header {
    margin-bottom: 10px;
    text-align: left;
}

.philosophy-section h2 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 600;
    font-size: 83px;
    color: #000000;
    line-height: 1.1em;
    margin-bottom: 0;
}

.philosophy-section .divider {
    height: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 400px;
    border-top: 10px solid rgba(76,89,76,0.24);
}

.philosophy-intro {
    max-width: 800px;
    margin: 30px 0;
}

.philosophy-intro p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    color: #000000;
}

.philosophy-intro strong {
    color: #E09900;
}

/* Values Container */
.values-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.value-column {
    flex: 1;
    padding: 20px;
}

.value-icon {
    margin-bottom: 20px;
}

.value-column h4 {
    font-family: 'Outfit', Arial, sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #000000;
    margin-bottom: 15px;
}

.value-column p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    color: #000000;
}

/*===============================
    CALL TO ACTION SECTIONS
================================*/
/*===============================
    CALL TO ACTION SECTIONS
================================*/
/*===============================
    CALL TO ACTION SECTIONS
================================*/
.cta-section {
    background-color: #e0dad2;
    padding: 60px 0;
    text-align: center;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-container img {
    max-width: 173px;
    height: auto;
}

.text-container {
    margin: 20px 0;
}

.cta-text {
    color: #E09900;
    font-size: 40px; /* Doubled size */
    font-weight: 600;
    cursor: default;
}

/* Consultation Section */

/* Update logo styles in consultation section */
.consultation-section .logo-container {
    position: relative; /* Override absolute positioning */
    left: auto; /* Reset left position */
    top: auto; /* Reset top position */
    margin: 0 auto 30px;
    width: 263px; /* Match your image width */
    height: auto;
    display: block;
}

.consultation-section .logo-container img {
    width: 100%;
    height: auto;
    display: block;
}

.consultation-section {
    background-color: #1D1D25;
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.consultation-header h1 {
    font-family: 'Outfit', Arial, sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 40px;
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.ready-text {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 25px;
    line-height: 1.7em;
    font-weight: 300;
    color: #faf8f8;
    letter-spacing: 0.02em;
}

.ready-text-H2 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    line-height: 1.7em;
    font-weight: 300;
    color: #faf8f8;
    letter-spacing: 0.02em;
}

/* Button Styles */
.button-container {
    margin: 30px 0;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #E09900;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c88a00;
}

.centered-logo-container {
    position: relative;
    width: 263px; /* Match image width */
    margin: 0 auto 30px; /* Center horizontally and add bottom margin */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.centered-logo-container img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}



.resources-section {
    padding: 60px 0;
    background-color: #000000;;
}

.resources-header {
    text-align: left;  /* Changed from center to left */
    margin-bottom: 40px;
}

.resources-header h2 {
    font-size: 16px;
    color:#ffffff;
    ;
    margin-bottom: 15px;
    padding: 20px;
}

.resources-links {
    width: 100%;
    padding: 0 20px;
}

.resource-list {
    list-style: none;
    padding: 20px;
}

.resource-list li {
    margin-bottom: 0px;
}

.resource-list a {
    color: #E09900;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.resource-list a:hover {
    color: #b37b00;
    text-decoration: underline;
}



.copyright-section {
    background-color: #000000;
    padding: 20px 0;
    text-align: center;
}

.copyright-text {
    color: #ffffff;
    margin: 0;
    font-size: 14px;
}

.custom-divider {
    position: relative;
    height: 0px;
    width: 100%;
    display: flex;
    align-items: center;
}

.divider-vertical-line {
    width: 10px;
    height: 100%;
    background-color: #E09900;
}

.divider-horizontal-lines {
    flex: 1;
    height: 20px;
    position: relative;
}

.divider-line-top {
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(224, 153, 0, 0.5); /* Lighter shade of #E09900 */
}

.divider-line-bottom {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 1px;
    background: #E09900; /* Your theme orange */
}



/* Responsive design */
@media (max-width: 768px) {
    .resource-column {
        flex: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .centered-logo-container {
        width: 200px; /* Smaller on tablets */
    }
}

@media (max-width: 767px) {
    .centered-logo-container {
        width: 150px; /* Smaller on mobile */
    }
}

/* Responsive Styles */
@media (max-width: 980px) {
    .consultation-header h1 {
        font-size: 36px;
    }

    .ready-text {
        font-size: 30px;
    }

    .cta-text {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .consultation-header h1 {
        font-size: 28px;
    }

    .ready-text {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .cta-text {
        font-size: 28px;
    }
}
@media (max-width: 767px) {
    .consultation-header h1 {
        font-size: 28px;
    }

    .ready-text {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .cta-link {
        font-size: 16px;
    }
}
/* Responsive styles */
@media (max-width: 980px) {
    .philosophy-section h2 {
        font-size: 47px;
    }

    .philosophy-section .divider {
        width: 300px;
    }

    .values-container {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .philosophy-section h2 {
        font-size: 35px;
    }

    .philosophy-section .divider {
        width: 200px;
    }

    .value-column h4 {
        font-size: 20px;
    }

    .value-column p {
        font-size: 14px;
    }
}



/* Responsive styles */
@media (max-width: 980px) {
    .experts-section h2 {
        font-size: 47px;
    }

    .experts-section .divider {
        width: 300px;
    }
}

@media (max-width: 767px) {
    .experts-section h2 {
        font-size: 35px;
    }

    .experts-section .divider {
        width: 200px;
    }

    .expert-description {
        font-size: 14px;
    }
}


/* Responsive adjustments */
@media (max-width: 980px) {
    .quote-text h2 {
        font-size: 20px;
    }
    
    .quote-author h1 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .quote-text h2 {
        font-size: 16px;
    }
    
    .quote-author h1 {
        font-size: 16px;
    }
}

/*===============================
    10. FOOTER STYLES
================================*/
#main-footer {
    background-color: #1D1D25;
    color: white;
    padding: 40px 0;
}

/*===============================
    11. RESPONSIVE DESIGN
================================*/
@media (max-width: 980px) {
    /* Layout Adjustments */
    .row {
        flex-direction: column;
    }
    
    .left-column,
    .right-column {
        width: 100%;
        padding-right: 0;
    }

    .left-column {
        padding-left: 10%;
    }

    /* Logo Adjustments */
    .logo-container {
        left: 60%;
    }

    /* Typography Adjustments */
    h1.dad-assist-title,
    .section-header h2 {
        font-size: 47px;
    }

    .orange-text,
    .section-title {
        font-size: 22px;
    }

    /* Divider Adjustments */
    .divider {
        width: 300px;
        margin-top: -59px;
    }

    /* Section Padding Adjustments */
    .hero-section,
    .about-section,
    .services-section {
        padding: 150px 0 40px;
    }

    /* Services Adjustments */
    .services-section .section-header h2 {
        font-size: 47px;
    }

    .services-intro {
        font-size: 15px;
    }

    .service-item {
        padding: 30px;
    }

    .service-content h4 {
        font-size: 20px;
    }

    .service-content p {
        font-size: 14px;
    }

    /* About Text Adjustments */
    .about-text h1 {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    /* Layout Adjustments */
    .left-column {
        padding-left: 5%;
    }

    /* Logo Adjustments */
    .logo-container {
        left: 50%;
    }

    /* Typography Adjustments */
    h1.dad-assist-title,
    .section-header h2 {
        font-size: 35px;
    }

    .orange-text,
    .section-title {
        font-size: 17.5px;
    }

    /* Divider Adjustments */
    .divider {
        width: 200px;
        margin-top: -48px;
    }

    /* Image Container Adjustments */
    .image-container-top,
    .image-container-bottom {
        width: 100%;
        margin-left: 0;
    }

    /* Section Padding Adjustments */
    .hero-section,
    .about-section,
    .services-section {
        padding: 120px 0 40px;
    }

    /* Services Adjustments */
    .services-section .section-header h2 {
        font-size: 35px;
    }

    .services-intro {
        font-size: 14px;
    }

    .service-item {
        padding: 20px;
    }

    .service-content h4 {
        font-size: 18px;
    }

    .service-content p {
        font-size: 13px;
    }

    /* About Text Adjustments */
    .about-text h1 {
        font-size: 14px;
    }
}

/*===============================
    13. QUESTIONNAIRE CLASSES
================================*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.hidden {
    display: none;
}

.questionnaire-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Form styling */
.questionnaire-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.questionnaire-container label {
    font-weight: bold;
}

.questionnaire-container input[type="text"],
.questionnaire-container input[type="email"],
.questionnaire-container input[type="number"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.questionnaire-container input[type="submit"] {
    background-color: #E09900;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.questionnaire-container input[type="submit"]:hover {
    background-color: #b37b00;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.error-message {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.radio-group {
    margin: 10px 0;
}

.form-group.error .radio-group {
    border: 1px solid #ff0000;
    padding: 10px;
    border-radius: 4px;
}


.form-group.error input {
    border-color: #ff0000;
}

.form-group.error .error-message {
    display: block;
}

.form-group.success input {
    border-color: #28a745;
}
.form-general-error {
    display: none;
    background-color: #ffebee;
    border: 1px solid #ff5252;
    color: #c62828;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-general-error.show {
    display: block;
}

/*===============================
    12. UTILITY CLASSES
================================*/
.section-header {
    margin-bottom: 40px;
}