/* ============================================
   Leak Science — Divi THEME BUILDER Overrides
   
   Naming convention:
   - Sections:  ls-tb-*    (theme builder)
   - Rows:      ls-tbr-*   
   - Modules:   ls-tbm-*
   
   Add these CSS Classes in each Divi module's
   Advanced → CSS ID & Classes → CSS Class field
   ============================================ */

/* ============================================
   GLOBAL HEADER — TOP UTILITY BAR
   Section CSS Class: ls-tb-topbar
   ============================================ */
.ls-tb-topbar.et_pb_section {
    background: #045B67 !important;
    padding: 0 !important;
    min-height: 0 !important;
}
.ls-tb-topbar .et_pb_row {
    max-width: 1200px !important;
    padding: 0px 20px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.ls-tb-topbar .et_pb_column {
    padding: 0 !important;
    margin: 0 !important;
}

/* Top Bar — Blurb (phone numbers)
   Blurb Module CSS Class: ls-tbm-phones */
.ls-tbm-phones.et_pb_blurb {
    margin: 0 !important;
    padding: 0 !important;
}
.ls-tbm-phones .et_pb_blurb_container {
    display: flex !important;
    align-items: center !important;
}
.ls-tbm-phones .et_pb_main_blurb_image {
    margin: 0 10px 0 0 !important;
    line-height: 1 !important;
}
.ls-tbm-phones .et_pb_main_blurb_image .et-pb-icon,
.ls-tbm-phones .et_pb_main_blurb_image span.et-pb-icon {
    color: #ffffff !important;
    font-size: 14px !important;
}
.ls-tbm-phones .et_pb_module_header,
.ls-tbm-phones h4 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}
.ls-tbm-phones .et_pb_module_header a,
.ls-tbm-phones h4 a {
    color: #ffffff !important;
    text-decoration: none !important;
}
.ls-tbm-phones .et_pb_module_header a:hover,
.ls-tbm-phones h4 a:hover {
    color: #93c5fd !important;
}
.ls-tbm-phones .et_pb_blurb_description {
    display: none !important;
}

/* Top Bar — Social Icons
   Social Follow Module CSS Class: ls-tbm-social-top */
.ls-tbm-social-top.et_pb_social_media_follow {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
}
.ls-tbm-social-top li {
    margin: 0 0 0 14px !important;
    padding: 0 !important;
}
.ls-tbm-social-top .et_pb_social_media_follow_network_link {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}
.ls-tbm-social-top .et-social-icon a {
    color: #ffffff !important;
    font-size: 14px !important;
    opacity: 0.8 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}
.ls-tbm-social-top .et-social-icon a:hover {
    opacity: 1 !important;
}
.ls-tbm-social-top .et-social-icon a .et-pb-icon {
    color: #ffffff !important;
    font-size: 14px !important;
}
/* Hide the network name text */
.ls-tbm-social-top .et_pb_social_network_link span {
    display: none !important;
}

/* ============================================
   GLOBAL HEADER — MAIN HEADER BAR
   Section CSS Class: ls-tb-header
   ============================================ */
.ls-tb-header.et_pb_section {
    background: #ffffff !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
    min-height: 0 !important;
}
/* Sticky fix - Divi wraps header in .et-l--header */
.et-l--header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}

.ls-tb-header .et_pb_row {
    max-width: 1200px !important;
    padding: 0 20px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    min-height: 60px !important;
}

/* --- LOGO (inside Menu Module or Image Module) --- */
/* Menu Module CSS Class: ls-tbm-menu */
.ls-tbm-menu.et_pb_menu {
    padding: 0 !important;
    margin: 0 !important;
	height: 60px!important;
}
.ls-tbm-menu .et_pb_menu_inner_container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
	height: 100%;
}
.ls-tbm-menu .et_pb_menu__logo-wrap {
    flex-shrink: 0 !important;
}
.ls-tbm-menu .et_pb_menu__logo img {
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
}
.ls-tbm-menu .et_pb_menu__wrap {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    justify-content: center !important;
}

/* --- NAV LINKS --- */
.nav li li {
	width: 100%;
}
.ls-tbm-menu .et-menu li a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #0a1628 !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
	width: 100%;
}
.ls-tbm-menu .et-menu li a:hover,
.ls-tbm-menu .et-menu li.current-menu-item > a,
.ls-tbm-menu .et-menu li.current-menu-parent > a,
.ls-tbm-menu .et-menu li.current-menu-ancestor > a {
    color: #025b66 !important;
}

/* --- DROPDOWN MENUS --- */
.ls-tbm-menu .et-menu li ul.sub-menu {
    background: #ffffff !important;
    min-width: 240px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
    border-radius: 0 0 8px 8px !important;
    padding: 8px 0 !important;
    border-top: 2px solid #025b66 !important;
}
.ls-tbm-menu .et-menu li ul.sub-menu li a {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 8px 20px !important;
    line-height: 1.8 !important;
}
.ls-tbm-menu .et-menu li ul.sub-menu li a:hover {
    color: #025b66 !important;
    background: #f5f7fa !important;
}

/* --- MENU BUTTON (Get a Free Quote) --- */
.ls-tbm-menu .et_pb_menu__wrap .et_pb_button {
    background: #025b66 !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    border: none !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}
.ls-tbm-menu .et_pb_menu__wrap .et_pb_button:hover {
    background: #005f8f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,119,182,0.4) !important;
}
.ls-tbm-menu .et_pb_menu__wrap .et_pb_button::after {
    display: none !important; /* Hide Divi's default arrow icon */
}

/* --- MOBILE HAMBURGER --- */
.ls-tbm-menu .mobile_menu_bar {
    color: #0a1628 !important;
}
.ls-tbm-menu .mobile_menu_bar::before {
    color: #0a1628 !important;
    font-size: 24px !important;
}

/* --- MOBILE SLIDE-IN MENU --- */
.ls-tbm-menu .et_mobile_menu {
    background: #ffffff !important;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1) !important;
    padding: 20px !important;
}
.ls-tbm-menu .et_mobile_menu li a {
    color: #0a1628 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #eee !important;
}
.ls-tbm-menu .et_mobile_menu li ul.sub-menu li a {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding-left: 20px !important;
}

/* --- HIDE SEARCH ICON (backup) --- */
.ls-tbm-menu .et_pb_menu__search-button,
.ls-tbm-menu .et_pb_menu__icon--search {
    display: none !important;
}

/* --- HIDE HOME & FAQ from menu --- */
.ls-hide-menu-item { display: none !important; }

/* ============================================
   GLOBAL HEADER — CTA CODE MODULE
   (If using separate Code module for phone+button
   instead of Menu Module button)
   Module CSS Class: ls-tbm-header-cta
   ============================================ */
.ls-tbm-header-cta.et_pb_code {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* ============================================
   GLOBAL FOOTER — CTA BAND
   Section CSS Class: ls-tb-cta-band
   ============================================ */
.ls-tb-cta-band.et_pb_section {
    background: linear-gradient(135deg, #025b66 0%, #00b4d8 100%) !important;
    padding: 60px 0 !important;
}
.ls-tb-cta-band .et_pb_row {
    max-width: 1200px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
}

/* CTA Band Section Label */
/* Text Module CSS Class: ls-tbm-cta-label */
.ls-tbm-cta-label .et_pb_text_inner {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 4px !important;
}

/* CTA Band Heading */
/* Text Module CSS Class: ls-tbm-cta-heading */
.ls-tbm-cta-heading .et_pb_text_inner,
.ls-tbm-cta-heading .et_pb_text_inner h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* CTA Band Button */
/* Button Module CSS Class: ls-tbm-cta-btn */
.ls-tbm-cta-btn .et_pb_button {
    background: #ffffff !important;
    color: #025b66 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}
.ls-tbm-cta-btn .et_pb_button:hover {
    background: #f5f7fa !important;
    transform: translateY(-2px) !important;
}
.ls-tbm-cta-btn .et_pb_button::after {
    display: none !important;
}

/* ============================================
   GLOBAL FOOTER — MAIN FOOTER
   Section CSS Class: ls-tb-footer
   ============================================ */
.ls-tb-footer.et_pb_section {
    background: #0a1628 !important;
    padding: 60px 0 40px !important;
    color: rgba(255,255,255,0.7) !important;
}
.ls-tb-footer .et_pb_row {
    max-width: 1200px !important;
    padding: 0 20px !important;
}

/* Footer Column Headings */
/* Text Module CSS Class: ls-tbm-footer-heading */
.ls-tbm-footer-heading .et_pb_text_inner,
.ls-tbm-footer-heading .et_pb_text_inner h4 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
}

/* Footer Links (inside Text Module) */
/* Text Module CSS Class: ls-tbm-footer-links */
.ls-tbm-footer-links .et_pb_text_inner a {
    color: rgba(255,255,255,0.6) !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    transition: all 0.3s ease !important;
}
.ls-tbm-footer-links .et_pb_text_inner a:hover {
    color: #00b4d8 !important;
}
.ls-tbm-footer-links .et_pb_text_inner a i {
    color: #025b66 !important;
    font-size: 12px !important;
}
.ls-tbm-footer-links .et_pb_text_inner {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Footer Description Text */
/* Text Module CSS Class: ls-tbm-footer-about */
.ls-tbm-footer-about .et_pb_text_inner {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}
.ls-tbm-footer-about .et_pb_text_inner p {
    color: rgba(255,255,255,0.7) !important;
}

/* Footer Social Icons */
/* Social Follow Module CSS Class: ls-tbm-footer-social */
.ls-tbm-footer-social .et_pb_social_media_follow_network_link {
    background: rgba(255,255,255,0.08) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}
.ls-tbm-footer-social .et_pb_social_media_follow_network_link:hover {
    background: #025b66 !important;
}
.ls-tbm-footer-social .et-social-icon a {
    color: rgba(255,255,255,0.6) !important;
    font-size: 14px !important;
}

/* Footer Contact Info */
/* Text Module CSS Class: ls-tbm-footer-contact */
.ls-tbm-footer-contact .et_pb_text_inner {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px !important;
}
.ls-tbm-footer-contact .et_pb_text_inner a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
}
.ls-tbm-footer-contact .et_pb_text_inner a:hover {
    color: #00b4d8 !important;
}
.ls-tbm-footer-contact .et_pb_text_inner i {
    color: #025b66 !important;
    font-size: 16px !important;
    margin-right: 12px !important;
    width: 20px !important;
    text-align: center !important;
}

/* ============================================
   GLOBAL FOOTER — BOTTOM BAR
   Section CSS Class: ls-tb-footer-bottom
   ============================================ */
.ls-tb-footer-bottom.et_pb_section {
    background: rgba(255,255,255,0.03) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding: 20px 0 !important;
}
.ls-tb-footer-bottom .et_pb_row {
    max-width: 1200px !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
/* Text Module CSS Class: ls-tbm-copyright */
.ls-tbm-copyright .et_pb_text_inner {
    color: rgba(255,255,255,0.5) !important;
    font-size: 13px !important;
}

/* ============================================
   BODY — PAGE HERO BAR (inner pages)
   Section CSS Class: ls-tb-page-hero
   ============================================ */
.ls-tb-page-hero.et_pb_section {
    background-size: cover !important;
    background-position: center !important;
    padding: 100px 0 60px !important;
    text-align: center !important;
    position: relative !important;
}
.ls-tb-page-hero.et_pb_section::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(0,119,182,0.75) 100%) !important;
    z-index: 1 !important;
}
.ls-tb-page-hero .et_pb_row {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
}

/* Page Hero Title */
/* Post Title Module or Text Module CSS Class: ls-tbm-hero-title */
.ls-tbm-hero-title .et_pb_text_inner h1,
.ls-tbm-hero-title .entry-title,
.ls-tbm-hero-title .et_pb_title_container h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 55px !important;
    margin-bottom: 12px !important;
}

/* Breadcrumb */
/* Text Module CSS Class: ls-tbm-breadcrumb */
.ls-tbm-breadcrumb .et_pb_text_inner {
    color: rgba(255,255,255,0.7) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}
.ls-tbm-breadcrumb .et_pb_text_inner a {
    color: #00b4d8 !important;
    text-decoration: none !important;
}
.ls-tbm-breadcrumb .et_pb_text_inner a:hover {
    color: #ffffff !important;
}

/* ============================================
   BODY — CONTENT + SIDEBAR LAYOUT
   Section CSS Class: ls-tb-content
   Row CSS Class: ls-tbr-content
   ============================================ */
.ls-tb-content.et_pb_section {
    padding: 60px 0 !important;
    background: transparent !important;
}
.ls-tbr-content.et_pb_row {
    max-width: 1200px !important;
    padding: 0 20px !important;
}

/* Post Content Module CSS Class: ls-tbm-post-content */
.ls-tbm-post-content .et_pb_post_content h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0a1628 !important;
    margin: 30px 0 16px !important;
}
.ls-tbm-post-content .et_pb_post_content h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0a1628 !important;
    margin: 24px 0 12px !important;
}
.ls-tbm-post-content .et_pb_post_content p {
    color: #666 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin-bottom: 16px !important;
}
.ls-tbm-post-content .et_pb_post_content ul {
    margin: 0 0 20px 20px !important;
}
.ls-tbm-post-content .et_pb_post_content li {
    padding: 4px 0 !important;
    color: #666 !important;
}
.ls-tbm-post-content .et_pb_post_content strong {
    color: #333 !important;
}

/* ============================================
   SIDEBAR — (inside 1/3 column)
   ============================================ */
/* Sidebar Phone Widget */
/* Text Module CSS Class: ls-tbm-sidebar-phone */
.ls-tbm-sidebar-phone.et_pb_text {
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    padding: 30px !important;
    margin-bottom: 24px !important;
}
.ls-tbm-sidebar-phone .et_pb_text_inner h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0a1628 !important;
    margin-bottom: 20px !important;
}

/* Sidebar Services List */
/* Text Module CSS Class: ls-tbm-sidebar-services */
.ls-tbm-sidebar-services.et_pb_text {
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    padding: 30px !important;
    margin-bottom: 24px !important;
}
.ls-tbm-sidebar-services .et_pb_text_inner h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0a1628 !important;
    margin-bottom: 20px !important;
}
.ls-tbm-sidebar-services .et_pb_text_inner ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.ls-tbm-sidebar-services .et_pb_text_inner ul li {
    border-bottom: 1px solid #f5f7fa !important;
}
.ls-tbm-sidebar-services .et_pb_text_inner ul li:last-child {
    border-bottom: none !important;
}
.ls-tbm-sidebar-services .et_pb_text_inner ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
.ls-tbm-sidebar-services .et_pb_text_inner ul li a:hover {
    color: #025b66 !important;
}
.ls-tbm-sidebar-services .et_pb_text_inner ul li a i {
    font-size: 12px !important;
    color: #025b66 !important;
}

/* Sidebar CTA Box */
/* Text Module CSS Class: ls-tbm-sidebar-cta */
.ls-tbm-sidebar-cta.et_pb_text {
    background: linear-gradient(135deg, #025b66 0%, #00b4d8 100%) !important;
    border-radius: 8px !important;
    padding: 30px !important;
    margin-bottom: 24px !important;
}
.ls-tbm-sidebar-cta .et_pb_text_inner h3 {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}
.ls-tbm-sidebar-cta .et_pb_text_inner p {
    color: rgba(255,255,255,0.8) !important;
    font-size: 14px !important;
}

/* ============================================
   POST TITLE MODULE OVERRIDES
   Module CSS Class: ls-tbm-post-title
   ============================================ */
.ls-tbm-post-title.et_pb_post_title {
    padding: 0 !important;
}
.ls-tbm-post-title .et_pb_title_container h1.entry-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 55px !important;
}
.ls-tbm-post-title .et_pb_title_meta_container {
    display: none !important; /* Hide meta in hero */
}

/* ============================================
   RESPONSIVE — THEME BUILDER
   ============================================ */
@media (max-width: 980px) {
    .ls-tb-topbar .et_pb_row {
        padding: 6px 15px !important;
    }
    .ls-tb-cta-band .et_pb_row {
        flex-direction: column !important;
        text-align: center !important;
    }
    .ls-tb-footer .et_pb_row {
        flex-wrap: wrap !important;
    }
    .ls-tb-page-hero.et_pb_section {
        padding: 70px 0 40px !important;
    }
    .ls-tbm-hero-title .et_pb_text_inner h1,
    .ls-tbm-hero-title .entry-title,
    .ls-tbm-post-title .et_pb_title_container h1.entry-title {
        font-size: 32px !important;
        line-height: 40px !important;
    }
}
@media (max-width: 767px) {
    .ls-tb-topbar .et_pb_code_inner > div {
        flex-direction: column !important;
        gap: 4px !important;
    }
    .ls-tbm-hero-title .et_pb_text_inner h1,
    .ls-tbm-post-title .et_pb_title_container h1.entry-title {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    .ls-tb-footer-bottom .et_pb_row {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
    .ls-tb-cta-band.et_pb_section {
        padding: 40px 0 !important;
    }
    .ls-tbm-cta-heading .et_pb_text_inner h2 {
        font-size: 24px !important;
    }
}

/* ============================================
   UTILITY: HIDE DIVI DEFAULTS
   ============================================ */
/* Hide Divi's built-in header when using Theme Builder header */
#top-header,
#main-header:not(.ls-header) {
    display: none !important;
}
/* Hide Divi's default footer when using Theme Builder footer */
#main-footer:not(.ls-footer) #footer-widgets,
#main-footer:not(.ls-footer) #et-footer-nav,
#main-footer:not(.ls-footer) #footer-bottom {
    display: none !important;
}
/* Fix page container for sticky */
#page-container, #et-main-area {
    overflow: visible !important;
}
