/*
Theme Name: Divi Child Theme
Template: Divi
Version: 1.0
*/

/*==================================================
RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:100%;
    max-width:1450px;
    margin:auto;
    padding:0 40px;
}

/*==================================================
Hide Default Divi Header
==================================================*/

#main-header,
#top-header{
    display:none !important;
}

#page-container{
    padding-top:0 !important;
}

/*==================================================
HEADER - 2 COLUMN LAYOUT
==================================================*/

.custom-header{
    background:#fff;
    position:relative;
    z-index:999;
    border-bottom:1px solid #ececec;
}

.header-main{
    display:grid;
    grid-template-columns:minmax(0, 3fr) minmax(0, 1fr);
    align-items:center;
    column-gap:80px;
    padding:28px 40px;
    min-width:0;
}

/*======================================
LEFT COLUMN - Logo, Brand, Menu
======================================*/

.header-left{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:25px;
}

.logo-brand-section{
    display:flex;
    align-items:center;
    gap:30px;
}

.site-logo img{
    width:155px;
}

.company-info h2{
    color:#4d912e;
    font-size:42px;
    line-height:1.25;
    font-weight:700;
    margin-bottom:6px;
}

.company-info h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: #2f2f2f;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
}

/*======================================
NAVIGATION MENU
======================================*/

.main-navigation{
    width:100%;
    margin-left:0;
    min-width:0;
}

.main-menu{
    display:flex;
    flex-direction:row;
    justify-content:flex-start;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    width:100%;
}

.main-menu > li{
    position:relative;
    white-space:nowrap;
    display:inline-block;
}

.main-menu > li > a{
    display:block;
    padding:0 8px;
    color:#30384b;
    font-size:18px;
    font-weight:500;
    position:relative;
    transition:.3s ease;
}

.main-menu > li > a:hover{
    color:#4a8d2b;
}

.main-menu > li.current-menu-item > a,
.main-menu > li.current_page_item > a{
    color:#4a8d2b;
}

.main-menu > li.current-menu-item::after,
.main-menu > li.current_page_item::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:100%;
    height:3px;
    background:#4a8d2b;
}

/*======================================
RIGHT COLUMN - Contact Info
======================================*/

.header-right{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    border-left:1px solid #e4e4e4;
    padding-left:30px;
    min-width:0;
    max-width:100%;
    overflow:hidden;
}

.contact-box{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    min-width:0;
    width:100%;
}

.contact-item{
    display:flex;
    gap:15px;
}

.contact-item .icon{
    width:28px;
    color:#0b4c80;
    font-size:24px;
    flex-shrink:0;
}

.contact-item .content{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    min-width:0;
    width:100%;
}

.contact-item span,
.contact-item strong{
    font-size:21px;
    color:#555;
    white-space:normal;
    overflow-wrap:break-word;
    word-break:break-word;
}

a.phone-number {
    color: #555;
}

/*======================================
BOOK BUTTON
======================================*/

.book-btn{
    width:235px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    background:#4a8d2b;
    color:#fff;
    font-size:20px;
    font-weight:600;
    border-radius:8px;
    transition:.3s;
    border:none;
    cursor:pointer;
}

.book-btn:hover{
    background:#35691b;
}

/*==================================================
MOBILE MENU BUTTON
==================================================*/

.mobile-toggle{
    display:none;
    width:48px;
    height:48px;
    border:none;
    background:none;
    cursor:pointer;
    font-size:28px;
    color:#4b8d2b;
    padding:0;
    margin-left:auto;
}

/*==================================================
STICKY HEADER
==================================================*/

.custom-header.fixed{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    z-index:9999;
}

body.sticky-active{
    padding-top:auto;
}

.custom-header.fixed .header-main{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-evenly;
    gap:20px;
    padding:12px 40px;
}

.custom-header.fixed .logo-brand-section{
    gap:18px;
}

.custom-header.fixed .company-info,
.custom-header.fixed .header-right{
    display:none;
}

.custom-header.fixed .header-left{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:30px;
}

.custom-header.fixed .main-navigation{
    width:auto;
    min-width:0;
}

.admin-bar .custom-header.fixed{
    top:32px;
}

/*==================================================
TABLET - LARGE (1200px)
==================================================*/

@media (max-width:1200px){

    .container{
        padding:0 30px;
    }

    .header-main{
        grid-template-columns:1fr 360px;
        column-gap:40px;
        padding:25px 30px;
    }

    .header-left{
        gap:30px;
    }

    .company-info h2{
        font-size:28px;
    }

    .company-info h3{
        font-size:21px;
    }

    .main-menu{
        gap:32px;
    }

    .book-btn{
        width:200px;
    }

}

/*==================================================
TABLET (991px)
==================================================*/

@media(max-width:991px){

    .header-main{
        grid-template-columns:1fr;
        row-gap:35px;
        padding:20px 30px;
        align-items:flex-start;
    }

    .header-left{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
        position:relative;
        width:100%;
    }

    .logo-brand-section{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
        width:100%;
    }

    .header-right{
        border:none;
        padding-left:0;
        flex-direction:row;
        gap:30px;
        align-items:flex-start;
        width:100%;
    }

    .contact-box{
        flex:1;
    }

    .mobile-toggle{
        display:block;
        position:absolute;
        right:0;
        top:0;
    }

    .main-navigation{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100vw;
        margin-left:calc(-50vw + 50%);
        background:#fff;
        box-shadow:0 10px 20px rgba(0,0,0,.08);
        z-index:9998;
    }

    .main-navigation.active{
        display:block;
    }

    .main-menu{
        flex-direction:column;
        gap:0;
        padding:15px 0;
    }

    .main-menu > li{
        width:100%;
        border-bottom:1px solid #eee;
    }

    .main-menu > li > a{
        padding:15px 30px;
        font-size:16px;
    }

}

/*==================================================
MOBILE (767px)
==================================================*/

@media(max-width:767px){

    .container{
        padding:0 20px;
    }

    .header-main{
        grid-template-columns:1fr;
        row-gap:20px;
        padding:15px 20px;
    }

    .site-logo img{
        width:75px;
    }

    .company-info h2{
        font-size:24px;
    }

    .company-info h3{
        font-size:18px;
    }

    .header-right{
        flex-direction:column;
        gap:15px;
    }

    .contact-item{
        gap:12px;
    }

    .contact-item span{
        font-size:15px;
    }

    .book-btn{
        width:100%;
        height:52px;
        font-size:18px;
    }

    .custom-header.fixed .header-main{
        display:grid !important;
        grid-template-columns:1fr auto;
        align-items:center;
        gap:10px;
        padding:10px 15px;
    }

    .custom-header.fixed .header-left{
        display:contents;
    }

    .custom-header.fixed .logo-brand-section{
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        gap:10px;
        width:auto !important;
        max-width:none;
    }

    .custom-header.fixed .company-info{
        display:block !important;
    }

    .custom-header.fixed .site-logo img{
        width:50px;
    }

    .custom-header.fixed .company-info h2{
        font-size:18px;
        line-height:1.2;
        margin:0 0 3px;
    }

    .custom-header.fixed .company-info h3{
        font-size:12px;
        line-height:1.3;
        margin:0;
    }

    .custom-header.fixed .mobile-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        position:static;
        margin:0;
        width:42px;
        height:42px;
    }





}

/*==================================================
SMALL MOBILE (480px)
==================================================*/

@media(max-width:480px){

    .container{
        padding:0 15px;
    }

    .header-main{
        padding:12px 15px;
    }

    .company-info h2{
        font-size:20px;
    }

    .company-info h3{
        font-size:16px;
    }

    .site-logo img{
        width:65px;
    }

    .contact-item .icon{
        font-size:20px;
    }

    .book-btn{
        font-size:17px;
    }

    .custom-header.fixed .header-main{
        display:grid !important;
        grid-template-columns:1fr auto;
        align-items:center;
        gap:10px;
        padding:10px 15px;
    }

    .custom-header.fixed .header-left{
        display:contents;
    }

    .custom-header.fixed .logo-brand-section{
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        gap:10px;
        width:auto !important;
        max-width:none;
    }

    .custom-header.fixed .company-info{
        display:block !important;
    }

    .custom-header.fixed .site-logo img{
        width:50px;
    }

    .custom-header.fixed .company-info h2{
        font-size:18px;
        line-height:1.2;
        margin:0 0 3px;
    }

    .custom-header.fixed .company-info h3{
        font-size:12px;
        line-height:1.3;
        margin:0;
    }

    .custom-header.fixed .mobile-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        position:static;
        margin:0;
        width:42px;
        height:42px;
    }

}

/*==================================================
DIVI FIX
==================================================*/

.et_fixed_nav #page-container{
    padding-top:0 !important;
}

.et_non_fixed_nav #page-container{
    padding-top:0 !important;
}

/*.et_pb_section{
    padding:0 !important;
}*/

#et-main-area{
    margin-top:0;
}

img.divider-leaf {
    width: 326px;
    height: auto;
}

/*hero banner*/
.quote-card {
    color: #fff;
    position: relative;
    font-family: "Poppins", sans-serif;
}

.quote-card p {
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
    text-align: left;
}

.quote-top,
.quote-bottom {
    position: absolute;
    font-size: 42px;
    color: #ffffff;
    opacity: .9;
    font-family: Georgia, serif;
}

.quote-top {
    top: 18px;
    left: 18px;
}

.quote-bottom {
    right: 18px;
    bottom: 52px;
}

.quote-author {
    margin-top: 20px;
    text-align: right;
    font-size: 18px;
    color: #e7e7e7;
}

.elina-card{
    width:100%;
    font-family:inherit;
}

/* Tags */

.therapy-tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:30px;
}

.therapy-tags span{
    background:#edf5e5;
    color:#4f6e2f;
    padding:10px 18px;
    border-radius:50px;
    font-size:15px;
    font-weight:600;
    line-height:1;
}

/*--------prices-------*/
.et_pb_section.et_pb_section_0.pricing-hero-banner.et_pb_with_background.et_section_specialty {
    padding: 0px !important;
}

@media only screen and (max-width: 767px) {
    .small-leaf-left img.wp-image-391 {
        margin-top: -24vw !important;
    }
}

@media only screen and (max-width: 980px) {
    .small-leaf-left img.wp-image-391 {
        margin-top: -24vw !important;
    }
}

@media only screen and (max-width: 980px) {
    .small-leaf-left img.wp-image-391 {
        margin-top: clamp(-120px, -24vw, -60px) !important;
    }
}


/* Footer */

.elina-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

/* Social */

.social-icons{
    display:flex;
    gap:12px;
}

.social-icons a{
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.social-icons img{
    width:40px;
    height:40px;
    border-radius: 8px;
}

/* Button */

.learn-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:15px 28px;

    background:#29abe8;
    color:#fff;

    text-decoration:none;
    border-radius:12px;

    font-size:18px;
    font-weight:600;

    transition:.3s;
}

.learn-btn:hover{
    background:#4d912e;
}

.learn-btn span{
    font-size:22px;
    line-height:1;
}

/* Responsive */

@media(max-width:768px){

    .elina-footer{
        flex-direction:column;
        align-items:flex-start;
    }

    .learn-btn{
        width:100%;
        justify-content:center;
    }

}

/*footer*/

.copyright-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 12px 0px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
}

.copyright-footer .leaf-logo {
    width: 32px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.copyright-footer span {
    white-space: nowrap;
}

#footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

#footer-info::before {
    content: "";
    width: 42px;
    height: 48px;
    display: inline-block;
    background: url("https://socalcounselingservices.mlinks.in/wp-content/uploads/2026/06/logo-leaf.png") no-repeat center;
    background-size: contain;
}

#footer-bottom .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px
}

#footer-info {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    float: none;
    text-align: center;
    width: auto;
}



@media (max-width: 768px) {
    .copyright-footer {
        font-size: 14px;
        gap: 8px;
        padding: 10px 15px;
        text-align: center;
        flex-wrap: wrap;
    }

    .copyright-footer .leaf-logo {
        width: 18px;
        height: 18px;
    }
}

@media only screen and (max-width: 767px) {
    #footer-info {
        position: static !important;
        left: auto !important;
        transform: none !important;
    }

    #footer-info span {
        display: block;
        white-space: normal;
        line-height: 1.5em;
    }

    #footer-info::before {
    content: "";
    width: 64px;
    height: 64px;
}
}