/*
Theme Name: Hello Elementor Child
Description: Child theme of Hello Elementor
Author: Your Name
Template: hello-elementor
Version: 1.0.0
*/

/* Your custom styles go below this line */

/* Hide horizontal scrollbars from all divs */
div {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
}
div::-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}

.page-header {
    display: none !important;
}

.mb-0, .mb-0 p {
    margin-bottom: 0px !important;
}

.page-id-9 .elementor-28.elementor-location-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    border-bottom: solid 1px #fff;
    background: none;
}


.page-id-9 .elementor-28 .elementor-element.elementor-element-bbad1f2 .elementor-nav-menu--main .elementor-item {
    color: #fff !important;
}

.page-id-9 .elementor-28 .elementor-element.elementor-element-6ebc23b5 {
    border-color: #fff !important;
    color: #fff !important;
}

@media only screen and (min-width:800px) {
    .page-id-9 .elementor-28 .elementor-element.elementor-element-6ebc23b5 a {
            color: #fff !important;
    }
}

.elementor-28 .elementor-element.elementor-element-1ef683a {
    background: none !important;
}

.elementor-location-header {
    padding: 20px 60px;
}

.elementor-28.elementor-location-header {
    border-bottom: solid 1px #575757;
}

.page-id-9 footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

html {
    margin-top: 0px !important;
}

#wpadminbar {
    display: none !important;
}


.position-relative, .background-overlay-dark {
  position: relative;
}

.background-overlay-dark > .elementor-background-video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.background-overlay-dark > * {
  position: relative;
  z-index: 2;
}

.opacity-50 {
    opacity: 50%;
}

.sticky-bg {
        position: absolute !important;
    left: 0;
    top: 0;
    bottom: 0;
}

.display-none {
    display: none;
}

/* Team Member Popup */
.team-popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.team-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.team-popup {
    background: #fff;
    width: 90%;
    position: relative;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
    padding: 60px;
    transform: translateY(16px);
    transition: transform 0.3s ease;
    min-height: 600px;
}

@media only screen and (max-width:800px) {
    .team-popup {
        padding: 20px;
    }
}

.team-popup-overlay.active .team-popup {
    transform: translateY(0);
}

.team-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    z-index: 1;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    font-weight: 300;
}

.team-popup-close:hover {
    color: #000;
}

.team-popup-image {
    flex: 1;
    position: relative;
        max-height: 500px;
}

.team-popup-image img {
    width: 100%;
    height: 100%;
object-fit: contain;
    object-position: top center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

@media only screen and (max-width:800px) {

    .elementor-28 .elementor-element.elementor-element-6ebc23b5 {
        padding: 0px !important;
    }

    .elementor-28 .elementor-nav-menu--dropdown [data-id="1212dc7"] a {
        width: 100%;
    }
    .team-popup-image {
        margin: 20px 0px;
    }

    .elementor-28 .elementor-element.elementor-element-6ebc23b5 {
        border: none;
        padding: 0px;
    }

    .elementor-28 .elementor-element.elementor-element-1212dc7.e-con .e-con-inner {
        display: block;
    }

    .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        margin-top: 17px !important;
    }

    .elementor-28 .elementor-element.elementor-element-6ebc23b5 {
    border: none !important;
}

.elementor-element.elementor-element-1212dc7.e-flex.e-con-boxed.e-con.e-child {
    padding: 10px 20px 10px !important;
}


}

.team-popup-bio div, .team-popup-bio p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 22px;
    text-align: justify;
}

.hide-text {
    display: none !important;
}

.team-popup-content {
    flex: 2;
    padding: 0px 40px 40px 32px;
    overflow-y: auto;
    scrollbar-width: thin;
    font-family: "Raleway", sans-serif;
}

.team-popup-content::-webkit-scrollbar {
    display: block !important;
    width: 4px;
}

.team-popup-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.team-popup-name {
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #688198;
    margin: 0;
    line-height: 45px;
}

.team-popup-title {
    font-family: "Raleway", sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: #444444;
    margin: 0 0 20px;
    line-height: 45px;
}

.team-popup-education-wrap {
    margin: 0 0 16px;
}

.team-popup-education-label {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #444444;
    margin: 0;
    line-height: 30px;
}

.team-popup-education {
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #444444;
    margin: 0;
    line-height: 25px;
}

.team-popup-divider {
    border: none;
    border-top: 1px solid #d9d9d9;
    margin: 16px 0;
}

.team-popup-bio {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #444444;
    line-height: 30px;
}

.team-popup-bio p {
    margin: 0 0 16px;
}

.team-popup-bio p:last-child {
    margin-bottom: 0;
}

.single-team_member {
    cursor: pointer;
}

@media (max-width: 800px) {

    
.team-popup-bio {

    overflow-y: scroll;
}
    .team-popup {
        flex-direction: column;
        max-height: 90vh;
    }

    .team-popup-image {
        flex: 0 0 auto;
        position: relative;
        height: 280px;
    }

    .team-popup-content {
        padding: 0px;
    }

    .team-popup-name {
        font-size: 28px;
        line-height: 34px;
    }

    .team-popup-title {
        font-size: 18px;
        line-height: 30px;
    }

    .team-popup-education-label,
    .team-popup-education,
    .team-popup-bio {
        font-size: 15px;
        line-height: 26px;
    }
}

/* Contact Form 7 Styling */
.wpcf7 form {
    max-width: 590px;
}

.wpcf7 form p {
    margin: 0 0 16px;
}

.wpcf7 form label {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6F7482;
    letter-spacing: 0.16px;
    line-height: 150%;
    display: block;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"] {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding: 12px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #F8FAFC;
    outline: none;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-appearance: none;
    margin-top: 4px;
}

.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus {
    border-color: #688198;
}

.wpcf7 form textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding: 12px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #F8FAFC;
    outline: none;
    resize: vertical;
    min-height: 150px;
    height: 150px;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-appearance: none;
    margin-top: 4px;
}

.wpcf7 form textarea:focus {
    border-color: #688198;
}

.wpcf7 form input[type="submit"] {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    background-color: #688198;
    border: none;
    border-radius: 0px;
    padding: 15px 30px;
    line-height: 100%;
    cursor: pointer;
    -webkit-appearance: none;
}

.wpcf7 form input[type="submit"]:hover {
    background-color: #576e82;
}

.wpcf7 .wpcf7-response-output {
    margin: 16px 0 0;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
}

.wpcf7 .wpcf7-not-valid-tip {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 13px;
    color: #dc3545;
}

.wpcf7-textarea-wrap {
    position: relative;
}

.wpcf7-char-count {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    color: #6F7482;
    text-align: right;
    position: absolute;
    bottom: 10px;
    right: 12px;
    pointer-events: none;
}

.wpcf7 form .wpcf7-form-control-wrap:has(.wpcf7-textarea) {
    position: relative;
    display: block;
}


.elementor-element.elementor-element-52f59e0a.e-con-full.fit-content.e-flex.e-con.e-child {
    width: fit-content;
}

.elementor-element.elementor-element-ce22c7a.e-con-full.fit-content.e-flex.e-con.e-child {
    width: fit-content;
}

header p {
    cursor: pointer;
}

header p:hover {
    opacity: 0.7;
    transition: all 0.2s linear;
}

/* Mobile Header Menu */
@media (max-width: 799px) {
    /* Header — the bar itself sits above the dropdown */
    .elementor-28.elementor-location-header {
        position: relative;
        padding: 16px 20px;
        z-index: 100;
        overflow: visible;
        background: #fff;
    }

    /* Main header wrapper */
    .elementor-28 [data-id="1ef683a"] {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Logo section */
    .elementor-28 [data-id="976e90e"] {
        width: auto !important;
        flex-shrink: 0;
    }

    /* Nav widget — hold the toggle, static so dropdown positions to header */
    .elementor-28 [data-id="bbad1f2"] {
        width: auto;
        position: static !important;
        margin-left: auto;
    }

    /* Hide the Contact Us section in the header bar */
    .elementor-28 [data-id="1212dc7"] {
        display: none !important;
    }

    /* Show it when moved into the dropdown */
    .elementor-28 .elementor-nav-menu--dropdown [data-id="1212dc7"] {
        display: block !important;
        padding: 16px 0 8px;
    }

    .elementor-28 .elementor-nav-menu--dropdown [data-id="1212dc7"] a {
        display: inline-block;
        font-family: "Raleway", sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #688198;
        border: 1px solid #688198;
        padding: 10px 24px;
        text-decoration: none;
        text-align: center;
    }

    /* Hamburger / X toggle — no border, no background */
    .elementor-28 .elementor-menu-toggle {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        padding: 4px !important;
        margin: 0 !important;
    }

    .elementor-28 .elementor-menu-toggle svg {
        fill: #688198 !important;
        width: 24px !important;
        height: 24px !important;
    }

    .elementor-28 .elementor-menu-toggle .elementor-menu-toggle__icon--open,
    .elementor-28 .elementor-menu-toggle .elementor-menu-toggle__icon--close {
        fill: #688198 !important;
    }

    /* Dropdown — starts hidden, fades + slides down */
    .elementor-28 .elementor-nav-menu--dropdown {
        position: absolute !important;
        top: 100% !important;
        left: -20px !important;
        right: -20px !important;
        width: auto !important;
        background: #fff;
        border-top: none;
        padding: 8px 00px;
        z-index: 99;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        display: block !important;
        opacity: 0 !important;
        transform: translateY(-8px) !important;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .elementor-28 .mobile-menu-open {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto;
    }

    .elementor-28 .elementor-nav-menu--dropdown .elementor-item {
        font-family: "Raleway", sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #3F444B;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(87, 87, 87, 0.1);
    }

    .elementor-28 .elementor-nav-menu--dropdown li:last-child .elementor-item {
        border-bottom: none;
    }

    /* Reset active/current page highlight in dropdown */
    .elementor-28 .elementor-nav-menu--dropdown .current-menu-item .elementor-item {
        background: none !important;
        color: #688198 !important;
    }

    .elementor-28 .elementor-element.elementor-element-bbad1f2 .elementor-nav-menu .elementor-item {
    padding: 20px;
}


}

@media only screen and (max-width:800px) {
    .hide-mobile {
        display: none !important;
    }

    .mobile-flex-reverse {
        flex-direction: column-reverse !important;
    }
}

.elementor-23 .elementor-element.elementor-element-202b3bb p {
    margin-bottom: 20px !important;
}