/*
Theme Name: WestsideIRWM
Description: A child theme of Divi with custom styling and functionality for WestsideIRWM
Author: PD Design
Author URI: https://www.pddesign.com
Template: Divi
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: westsideirwm
*/

/* ==========================================================================
   Child Theme Styles
   ========================================================================== */

/* Font Integration - Roboto Google Font is loaded via functions.php */
body {
    font-family: 'Roboto', Arial, sans-serif;
}

.et_header_style_left #et-top-navigation nav>ul>li.connect>a {
    color: #fff;
    padding-bottom: 3px;
}


/* Gravity Forms Customization for the Join Form */
#join #input_1_1 {
    background-color: #00b2e2;
    color: #ffffff;
}

body #join .gform_wrapper ::placeholder,
body #join .gform_wrapper ::-webkit-input-placeholder,
body #join .gform_wrapper input[placeholder] {
    color: #ffffff;
    opacity: 1;
    border: none;
}

#join .gform_wrapper.gravity-theme .gform_footer,
.gform_wrapper.gravity-theme .gform_page_footer {
    padding: 0px;
}

#join #gform_submit_button_1 {
    color: #FFFFFF;
    background: #00b2e2;
    font-weight: bold;
    border: none;
    transition: 0.3s;
    text-align: right;
    padding-bottom: 8px;
    font-size: 16px;
}

#join .gform_wrapper #input_1_1 {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 640 640'%3E%3Cdefs%3E%3Cstyle%3E .st0 %7B fill: %23fff; %7D %3C/style%3E%3C/defs%3E%3Cpath class='st0' d='M64,186.5v-2.5h0c1.2-31.1,26.9-56,58.4-56h395c31.5,0,57.1,24.9,58.4,56h0v264c0,35.3-28.7,64-64,64H128c-35.3,0-64-28.7-64-64V186.5ZM544,239.6l-176.7,129.5c-28.2,20.6-66.5,20.6-94.6,0L96,239.6v208.4c0,17.7,14.3,32,32,32h384c17.7,0,32-14.3,32-32v-208.4ZM544,186.5c0-14.6-11.9-26.5-26.5-26.5H122.5c-14.6,0-26.5,11.9-26.5,26.5s4,16.4,10.8,21.4l184.8,135.4c16.9,12.4,39.9,12.4,56.8,0l184.8-135.5c6.8-5,10.8-12.9,10.8-21.4h0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 24px 24px;
    padding-left: 36px;
    font-size: 16px;
}

/* Header Nav */
.home-header li.current-menu-item a {
    color: #333!important;
}

.home-header .et_pb_menu__menu {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 4px;
    display: inline-block;
}

.home-header .et-menu-nav {
    display: flex;
    align-items: center;
}

.home-header .et-menu.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-header .et-menu.nav li {
    margin: 0;
    padding: 0;
}

.home-header .et-menu.nav li a {
    display: inline-block;
    padding-top: clamp(6px, 1vw, 12px);
    padding-bottom: clamp(6px, 1vw, 12px);
    padding-right: clamp(16px, 1.4vw, 20px);
    padding-left: clamp(16px, 1.4vw, 20px);
    font-size: clamp(12px, 1vw, 16px);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 25px;
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 400;
    transition: all 0.3s ease;
    white-space: wrap;
	line-height:1.3em;
    text-transform: capitalize;
}

.home-header .et-menu.nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
}

.home-header .et-menu.nav li.current_page_item a {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333!important;
}

.et-menu > li {
    font-size: clamp(10px, 1vw, 14px) !important;
}

.menu-lets-connect-wrapper {
    text-align: right;
}

.home-header .menu-lets-connect {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 25px;
    padding-top: clamp(6px, 1vw, 12px);
    padding-bottom: clamp(6px, 1vw, 12px);
    padding-right: clamp(16px, 1.4vw, 20px);
    padding-left: clamp(16px, 1.4vw, 20px);
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 400;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.home-header .menu-lets-connect:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.home-header .menu-lets-connect i {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.home-header .menu-lets-connect:hover i {
    transform: translateX(3px);
}

.et_pb_menu_0.et_pb_menu .nav li ul {
  background-color: rgba(0,0,0,0.4) !important;
	border-radius: 20px;}

.et_pb_menu_0.et_pb_menu .nav li ul li {
	margin-left: 15px;}



@media (max-width: 980px) {

    .home-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0;
        padding-top: 20px;
    }

    .home-header > .et_pb_column {
        margin-bottom: 0;
    }

    .home-header .et_pb_image_wrap img {
        width: auto;
        max-width: 130px;
    }

    .header-logo-column, .header-nav-column {
        margin-bottom: 0!important
    }
    
    .et_pb_menu--style-left_aligned.et_pb_text_align_center .et_pb_menu__wrap {
        justify-content: flex-end!important;
    }

    .home-header .et-last-child, .home-header .menu-wrapper .et_pb_menu__menu {
        display: none;
    }

    .home-header .menu-wrapper {
        align-items: center;
        display: flex;
        justify-content: flex-end;
    }

    .home-header .et_pb_menu__menu {
        padding: 3px;
        border-radius: 40px;
    }
    
    .home-header .et-menu.nav {
        gap: 3px;
    }
    
    .home-header .et-menu.nav li a {
        padding: 10px 16px;
        font-size: 14px;
    }

    .menu-lets-connect-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    .home-header .et_pb_menu__menu {
        padding: 2px;
        border-radius: 30px;
    }
    
    .home-header .et-menu.nav {
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .home-header .et-menu.nav li a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Mobile Menu Styles */
.westsideirwm-mobile-menu-wrapper {
    position: relative;
    z-index: 9999;
}

.mobile_menu_bar {
    transition: all 0.3s ease;
}

.mobile_menu_bar:before {
    color: #7EBEC5!important;
}

.mobile_menu_bar.active {
    z-index: 9998;
}

.mobile_menu_bar:focus {
    outline: none;
}

.mobile_menu_bar.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile_menu_bar.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile_menu_bar.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    max-width: 400px;
    height: 100vh;
    background-color: rgba(68, 112, 112, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
}

.mobile-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.mobile-menu-close:focus {
    outline: none;
}

.close-icon {
    line-height: 1;
    font-weight: 300;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-nav {
    padding: 80px 40px 40px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.mobile-menu-list {
    list-style: none!important;
    margin: 0;
    padding: 0!important;
    width: 100%;
}

.mobile-menu-item {
    margin: 0 0 20px 0;
    padding: 0;
}

.mobile-menu-link {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: #ffffff;
    outline: none;
}

body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 768px) {
    .mobile-menu-nav {
        padding: 60px 20px 20px;
    }

    .mobile-menu-link {
        font-size: 20px;
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .mobile-menu-nav {
        padding: 50px 15px 15px;
    }

    .mobile-menu-link {
        font-size: 18px;
        padding: 14px 0;
    }
}

/* home hero card */
.hero-card .hero-card-header::before {
    content: "2025";
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #9aa24d;
    color: #fff;
    padding: 2px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
}

/* Black Button with Icon */
.bt-black-icon {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 44px 8px 24px !important;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: inline-flex!important;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    padding-right: 50px;
}

.bt-black-icon::after {
    content: "\f061";
    font-family: "Font Awesome 7 Pro"!important;
    font-weight: 300;
    margin-left: 8px;
    transition: transform 0.2s ease;
    position: absolute;
    right: 20px;
    color: #fff;
    font-size: 16px;
    opacity: 1;
}

.bt-black-icon:hover {
    background-color: #000!important;
    transform: translateY(-1px);
    text-decoration: none;
    color: #f1f1f1;
    border:none!important
}

.bt-black-icon:hover::after {
    transform: translateX(3px);
}

/* Black Button with Icon */
.wt-black-icon {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 25px;
    padding: 8px 44px 8px 24px !important;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: inline-flex!important;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    padding-right: 50px;
}

.wt-black-icon::after {
    content: "\f061";
    font-family: "Font Awesome 7 Pro"!important;
    font-weight: 300;
    margin-left: 8px;
    transition: transform 0.2s ease;
    position: absolute;
    right: 20px;
    color: #000;
    font-size: 16px;
    opacity: 1;
}

.wt-black-icon:hover {
    background-color: #f1f1f1!important;
    transform: translateY(-1px);
    text-decoration: none;
    color: #333;
    border:none!important
}

.bt-black-icon:hover::after {
    transform: translateX(3px);
}

/* Right Up Arrow Icon for Titles */
.right-up-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.right-up-arrow h2 {
    margin: 0;
    padding: 0;
}

.right-up-arrow::after {
        content: "\e09f";
    font-family: "Font Awesome 7 Pro";
    font-weight: 300;
    background-color: #9aa24d;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.right-up-arrow:hover::after {
    background-color: #555;
    transform: scale(1.05);
}

.home-hero-content {
    align-items: center;
}

/* Small Cards Section */
.small-card-row {
    display: flex;
    gap: 20px;
}

.small-card-row .et_pb_column {
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.small-card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0px 80px 30px 30px !important;
    color: white;
    display: flex;
    align-items: flex-end;
    min-height: 120px;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.small-card-text::after {
    content: "\e09f";
    font-family: "Font Awesome 7 Pro";
    font-weight: 300;
    background-color: #9aa24d;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.small-card-text:hover::after {
    background-color: #fff;
    transform: scale(1.1);
    color: #000;
}

.small-card-text .et_pb_text_inner {
    position: relative;
    z-index: 2;
}

.small-card-text .et_pb_text_inner p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}


@media (max-width: 980px) {
    .small-card-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .small-card-row .et_pb_column {
        height: 300px;
    }
    
    .small-card-text {
        width: 100%;
        min-height: 100px;
    }
    
    .small-card-text .et_pb_text_inner p {
        font-size: 16px;
    }
}

.home-solutions {
    align-items: flex-end;
}

/* Footer Menu */
.footer-menu {
    padding: 60px 0;
    color: #fff;
}

.footer-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px 0;
    padding: 0;
    line-height: 1.2;
}

.footer-links {
    list-style: none!important;
    margin: 0;
    padding: 0!important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    margin: 0;
    padding: 0;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .footer-menu-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-menu {
        padding: 40px 0;
    }
}

/* Mobile Menu Submenu Styles */
.mobile-menu-item.has-submenu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.mobile-menu-toggle .menu-text {
    flex: 1;
}

.mobile-menu-toggle .menu-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-arrow {
    transform: rotate(90deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
    transition: max-height 0.3s ease;
    list-style: none;
    margin: 0;
    padding: 0!important;
}

.mobile-submenu.expanded {
    max-height: 500px; /* Adjust based on content needs */
}

.mobile-submenu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-submenu-item:last-child {
    border-bottom: none;
}

.mobile-submenu-link {
    display: block;
    padding: 12px 20px 12px 40px; /* Indent submenu items */
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-submenu-link:hover,
.mobile-submenu-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: #ffffff;
    outline: none;
}

@media (max-width: 600px) {
    .footer-menu-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-menu {
        padding: 30px 0;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .footer-links a,
    .footer-contact a {
        font-size: 14px;
    }
}

/* interior header */
@media (max-width: 980px) {
    .interior-header-wrapper > .et_pb_row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        border: 0;
    }

    .interior-header-wrapper > .et_pb_row:after {
        display: none;
    }

    .interior-header-wrapper .et_pb_row .interior-logo {
        width: auto;
    }

    .interior-header-wrapper .interior-menu-wrapper {
        width: auto;
    }

    .interior-header-wrapper .et-last-child {
        display: none;
    }

    .interior-header-wrapper .et_pb_image_wrap {
        max-width: 180px;
    }
}