/*

Theme Name:     Divi Child

Theme URI:      https://www.elegantthemes.com/gallery/divi/

Description:    Divi Child Theme

Author:         Elegant Themes

Author URI:     https://www.elegantthemes.com

Template:       Divi

Version:        1.0.0

*/

/* Main header row alignment */
/* DESKTOP ONLY */

.ft-menu ul {
    flex-direction: column;
}

.ft-email-field {
    padding: 15px !important;
    border-radius: 40px;
    width: 100%;
}

.ft-submit-btn {
    padding: 15px;
    border-radius: 40px;
    width: 30%;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.home-testimonial-div {
    height: 100% !important; /* Fill the height of .slick-slide */
    flex: 1 0 auto;
}

.home-testimonial-div::before {
    position: relative !important;
    padding: 15px;
    border-radius: 15px;
    left: 0;
    margin-left: 0;
}

/* Testimonial */
/* 1. Container & Slide Spacing */

.home-testimonial-div .et_pb_testimonial_description {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-testimonial-div .et_pb_testimonial_author {
    margin-top: auto !important; /* Pushes name to the bottom */
    padding-top: 20px;
}

.slick-list {
    padding: 0 !important;
}

.home-testimonial-row .et_pb_column {
    padding: 10px 0 40px !important; /* Space for dots and shadows */
}

.home-testimonial-div {
    background: #ffffff !important;
    border-radius: 25px !important; /* Rounded corners */
    margin: 20px !important; /* Gap between cards */
    /* padding: 40px !important; */
    border: none !important;
    display: flex !important;
    flex-direction: column;
}

/* 2. The Quote Icon */
.home-testimonial-div:before {
    content: '\201C'; /* Unicode for left double quote */
    font-family: 'Arial', sans-serif;
    display: flex;
    background: #2e3159; /* Dark blue background */
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 90px; /* Adjust to vertically center the quote */
    text-align: center;
    font-size: 30px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.home-testimonial-row .slick-dots {
    bottom: -50px;
    display: flex !important;
    justify-content: center;
    list-style: none;
    position: relative;
    padding: 0;
}

.home-testimonial-row .slick-dots li {
    margin: 0 5px;
}

.home-testimonial-row .slick-dots li button {
    font-size: 0; /* Hide default numbers */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #2e3159;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-testimonial-row .slick-dots li.slick-active button {
    background: #f3924a; /* Active Orange color */
    border-color: #f3924a;
    width: 20px;
    height: 20px;
}

.home-testimonial-row .home-testimonial-div {
    margin-bottom: 0px !important;
}

.slick-track {
    display: flex !important;
    padding-bottom: 30px !important;
    align-items: stretch !important;
}

.slick-slide {
    height: auto !important;
    display: flex !important; /* Makes the slide a flex container */
}


.home-last-section-heading {
    text-align: center;
    position: relative;
}

.home-last-section-heading .header-content:after {
    content: "";
    display: block;
    width: 150px;
    height: 3px;  
    background-color: #f3924a; 
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.home-welcome-section-welcome-text h1 {
    padding-bottom: 3px !important;
}

.header-call-us-button {
    padding-top: 10px !important;
    padding-right: 50px !important;
    padding-bottom: 10px !important;
    padding-left: 60px !important;
}

.header-request-button {
    padding-top: 10px !important;
    padding-right: 38px !important;
    padding-bottom: 10px !important;
    padding-left: 75px !important;
}

/* .header-menu-items {
    margin-right: 50px;
} */

.welcome-phone-content, .welcome-sec-speack-agent {
    max-width: 354px;
    width: 100%;
}

.home-page-welcome-section .home-welcome-section {
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
}

.welcome-section-left-col .welcome-section-left-img,
.welcome-section-left-col .welcome-section-left-img span,
.welcome-section-left-col img {
    display: block !important;
    height: 100% !important;
    object-fit: cover;
}

.welcome-section-right-column {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    padding-left: 5% !important;
    padding-right: 5% !important;
}

.about-us-commitment-item .et_pb_blurb_content .et_pb_main_blurb_image {
    background: #ffffff;
    padding: 60px;
    border-radius: 50%;
}

.personal-line-page-banner-head {
  position: relative;
  z-index: 1;
}

.personal-line-page-banner-head::before {
  content: "";
  position: absolute;
  width: 163px;       /* adjust size */
  height: 163px;      /* adjust size */
  background-color: white;
  border-radius: 50%;
  top: -50px;         /* adjust vertical position */
  left: -70px;        /* adjust horizontal position */
  z-index: -1;
}

.personal-line-cove-img .et_pb_button_module_wrapper {
    width: 62%;
}

.ft-reach-content .et_pb_blurb_content, .contactus-address-cont .et_pb_blurb_content {
  margin-left: 0px !important;
}

.testimonial-page-div::before {
    content: '\201C';
    font-family: 'Arial', sans-serif;
    display: flex;
    background: #2e3159;
    color: #fff;
    width: 60px;
    height: 60px;
    line-height: 90px;
    text-align: center;
    font-size: 40px;
    border-radius: 15px !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    left: 0px;
}

.header-menu-items .et-menu .menu-item-has-children>a:first-child:after {
    content: "\43" !important;
}

.raq-bottom-section section, .cs-bottom-section section {
    background-color: #ffffff !important;
}

.raq-bottom-section section .et_pb_fullwidth_header_container, .cs-bottom-section section .et_pb_fullwidth_header_container {
    background-color: #d4d5e9 !important;
    max-width: 100% !important;
}

.iframe-row-module {
    border-radius: 15px;
}

.about-us-our-team-items .et-pb-icon {
    bottom: 7px !important;
}

.submit-wrap {
    margin-top: 0px !important;
}

.personal-line-page-coverage-section .et_pb_row {
  display: flex;
  align-items: stretch;
}

.personal-line-cove-img,
.et_pb_specialty_column {
  display: flex;
  flex-direction: column;
}

.personal-line-left-img {
  height: 100%;
  margin-bottom: 0px !important;
}

.personal-line-left-img span {
  height: 100%;
  margin-bottom: 0px !important;
}

.personal-line-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.current-page-ancestor > a {
    color: #f79448 !important;
}

.personal-line-page-coverage-section {
    overflow: hidden !important;
}
.et_mobile_menu li a:hover, .nav ul li a:hover {
	opacity: 1;
}

.raq-contact-text span, .raq-contact-text a {
    color: #262a62 !important;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .inner-page-ifram-module iframe {
        height: 900px !important;
    }

    .inner-page-ifram-module2 iframe {
        height: 700px !important;
    }
}

@media (min-width: 981px) {

    .header-content-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-col-1 {
        display: flex;
        align-items: center;
    }

    .header-col-2 {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        /* gap: 20px; */ 
    }

    .header-col-2 .et_pb_menu {
        flex-grow: 1;
    }

    .header-col-2 .et_pb_button_module_wrapper {
        margin-left: 20px !important;
    }

    .header-col-2 .et_pb_menu__wrap {
        margin-right: auto;
    }

    .header-col-2 .et_pb_button {
        white-space: nowrap;
    }

    .header-menu-items nav ul {
        gap: 25px;
    }

    .header-menu-items nav ul ul.sub-menu {
        border-top: none !important;
        padding: 0px !important;
        width: initial;
        border-radius: 5px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .header-menu-items nav ul ul.sub-menu li {
        padding: 0px !important;
    }

    .header-menu-items nav ul ul.sub-menu li a {
        padding: 5px 20px !important;
    }

    .welcome-section-right-column {
        padding-right: 150px;
    }

    .header-content-row .header-col-1 {
        width: 15% !important; /* Reduced from 25% */
    }

    .header-content-row .header-col-2 {
        width: 85% !important;
    }

    .header-col-1 .et_pb_image_0_tb_header {
        text-align: left;
    }

    .welcome-section-left-col {
        margin-right: 0 !important;
    }

    .personal-line-cove-img {
        width: 40.6667% !important;
    }

    .header-call-us-button {
        margin-left: 20px;
    }
}

@media (min-width: 981px) and (max-width: 1740px) {
    .donot-allow-section-col1 {
        width: 100% !important;
    }

    .donot-allow-section-col2 {
        margin-top: 70px !important;
    }
}

@media (min-width: 1440px) and (max-width: 1668px) {
    .header-call-us-button {
        margin-left: 0px !important;
    }

    .header-call-us-button {
        padding-right: 25px !important;
        padding-left: 45px !important;
    }

    .header-request-button {
        padding-right: 35px !important;
        padding-left: 72px !important;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .header-menu-items nav ul {
        gap: 0px;
    }

    .welcome-section-right-column {
        padding-right: 25px !important;
    }

    /* .welcome-phone-content, .welcome-sec-speack-agent {
        width: 60%;
    } */
}

@media only screen and (max-width: 1439px) {
    .header-call-us-button, 
    .header-request-button {
        font-size: 0 !important;
        padding: 0px !important;
        text-align: center;
        height: 40px;
        width: 40px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-call-us-button {
        border: 2px solid #2e3159;
        border-radius: 50% !important;
    }

    .header-call-us-button:before, 
    .header-request-button:before {
        font-size: 20px !important;
        margin-left: 0 !important;
        opacity: 1 !important;
        left: 0;
        right: 0;
        position: relative;
        display: block;
        margin-right: 0px !important;
    }

    .header-menu-items {
        margin-right: 0px;
    }

    .header-menu-items nav ul {
        gap: 15px;
    }

    .personal-line-page-coverage-section .et_pb_row {
        flex-direction: column;
    }

    .personal-line-cove-img,
    .et_pb_specialty_column {
        width: 100% !important;
    }

    .personal-line-left-img img {
        height: auto;
    }

    .personal-line-left-img span{
        height: auto;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .header-menu-items nav ul {
        gap: 30px;
    }

    .header-col-2 .et_pb_button_module_wrapper {
        margin-left: 20px !important;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home-welcome-section-welcome-text {
        width: 50% !important;
    }

    .welcome-section-right-column {
        padding-right: 25px !important;
    }

    .welcome-phone-content, .welcome-sec-speack-agent {
        width: 90%;
    }
    
}

@media (min-width: 981px) and (max-width: 1050px) {
    .header-col-2 .et_pb_button_module_wrapper {
        margin-left: 20px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .home-bottom-section a {
        margin-left: 0px !important;
        margin-right: 15px !important;
        font-size: 18px !important;
    }
}

/* Optional: Adjust for tablets/mobile if it looks cramped */
@media (max-width: 980px) {
    .header-content-row .header-col-1,
    .header-content-row .header-col-2 {
        width: 100% !important;
    }

    .header-content-row .header-col-2 {
        justify-content: flex-end;
    }

    .header-content-row .et_mobile_menu li a {
        word-wrap: normal !important;
        white-space: nowrap !important; 
        display: block !important;
        width: 100% !important;
    }

    .header-content-row .et_mobile_menu .sub-menu {
        padding-left: 15px !important;
    }

    .home-page-welcome-section .home-welcome-section {
        flex-direction: column !important;
    }

    .welcome-section-left-col {
        margin-right: 0 !important;
    }

    .header-request-button-allow {
        background-position: right -320px center !important;
    }
/* 
    .home-bottom-section a {
        margin-left: 0px !important;
    } */

    .mobile_menu_bar::before {
        color: #262a62 !important;
    }

    .header-col-2 .et_pb_button_module_wrapper {
        margin-left: 20px !important;
    }

    .header-col-2 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .et_pb_button_0_tb_header_wrapper, 
    .et_pb_button_1_tb_header_wrapper {
        order: 1 !important;
        margin-right: 10px !important; /* Space between buttons and menu */
    }

    .header-menu-items {
        order: 2 !important;
        width: auto !important;
    }
    
    .header-col-2 .et_pb_module {
        margin-bottom: 0 !important;
    }

    .header-content-row,
    .header-col-2,
    .et_pb_menu_0_tb_header,
    .et_pb_menu__wrap {
        position: static !important;
    }

    /* 2. Style the dropdown to span the full viewport */
    .et_pb_menu_0_tb_header .et_mobile_menu {
        width: 90vw !important;
        left: auto !important;
        right: 12px;
        z-index: 9999 !important;
        position: absolute !important;
        top: 100% !important;
        padding: 20px 5% !important;
        box-sizing: border-box !important;
        border-top: 3px solid #262a62 !important;
    }

    /* 3. Ensure the menu items (UL) don't have restricted widths */
    .et_mobile_menu li {
        width: 100% !important;
        display: block !important;
    }

    .home-banner-header-setting .et_pb_fullwidth_header_container {
        width: 86.6% !important;
    }

    .home-banner-header-setting h1 {
        padding-bottom: 0px !important;
    }

    .home-banner-header-setting p {
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .home-testimonial-div {
        margin: 10 0px !important; /* reduce side gaps */
    }
    
    .inner-page-ifram-module iframe {
        height: 800px;
    }

    .inner-page-ifram-module2 iframe {
        height: 750px !important;
    }
}

@media only screen and (min-width: 501px) and (max-width: 767px) {
    .raq-bottom-section {
        margin-top: 572px !important;
    }

    .cs-bottom-section {
        margin-top: 430px !important;
    }
 }

@media (max-width: 567px) {
    .home-last-section-heading .header-content {
        max-width: 80% !important;
    }

    .home-testimonial-div:before {
        width: 35px;
        height: 35px;
        font-size: 25px;
    }

    .personal-line-cove-img .et_pb_button_module_wrapper {
        width: 82%;
    }

    .header-content-row .et_mobile_menu {
        right: -4px !important;
    }

    .header-col-2 .et_pb_button_module_wrapper {
        margin-left: 10px !important;
    }

    .home-last-section-heading .header-content{
        width: 100% !important;
    }

    .home-testimonial-div {
        margin: 5px !important;
    }
}

@media (max-width: 375px) {
    .header-content-row .et_mobile_menu {
        right: -10px !important;
    }
}


