/* ============================================
   HEADER STYLES
   ============================================ */
.menu-item-48 {
    background: #bd6231;
}

.menu-item-48 .elementor-item.elementor-item-anchor {
    color: #ffffff !important;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.main_footer .menu-item-48 {
    background: none;
}

.social_menu_img {
    max-height: 32px;
    max-width: 32px;
}

#menu-1-0171b93>li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-105>a,
#menu-1-0171b93>li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-104>a,
#menu-1-83b8fcf>li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-48>a {
    padding-right: 0 !important;
}

@media (max-width: 1024px) {
    .main_footer .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main {
        display: flex !important;
        justify-content: center;
    }

    .main_footer .elementor-menu-toggle {
        display: none !important;
    }

    .main_footer .elementor-nav-menu__align-end .elementor-nav-menu {
        justify-content: center;
        margin-inline-start: unset;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
@media (max-width: 968px) {
    .services-container {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .services-left {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
        margin: 0 !important;
    }

    .services-right {
        display: none !important;
        width: 0 !important;
        flex: 0 0 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ============================================
   FEATURED PROJECTS CAROUSEL
   ============================================ */
.featured-projects-container {
    overflow: hidden;
    position: relative;
}

.featured-projects-carousel.swiper {
    overflow: hidden !important;
    margin-left: auto;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
}

.featured-projects-carousel .swiper-wrapper {
    display: flex;
    align-items: stretch;
    width: auto !important;
}

.featured-projects-carousel .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.featured-projects-carousel .swiper-slide .elementor,
.featured-projects-carousel .swiper-slide .e-con,
.featured-projects-carousel .swiper-slide .elementor-element {
    height: 100%;
}

.featured-projects-carousel .elementor-widget-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.project-card {
    width: 100% !important;
    min-width: 100% !important;
}

.featured-projects-carousel .swiper-button-next,
.featured-projects-carousel .swiper-button-prev {
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.featured-projects-carousel .swiper-button-next:after,
.featured-projects-carousel .swiper-button-prev:after {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
}

.featured-projects-carousel .swiper-button-next svg,
.featured-projects-carousel .swiper-button-prev svg {
    fill: #ffffff !important;
}

.featured-projects-carousel .swiper-button-next {
    right: 10px;
}

.featured-projects-carousel .swiper-button-prev {
    left: 10px;
}

@media (max-width: 768px) {
    .featured-projects-carousel {
        overflow: hidden !important;
    }

    .featured-projects-carousel.swiper {
        width: 100%;
        padding-right: 0;
    }

    .featured-projects-carousel .swiper-wrapper {
        display: flex !important;
    }

    .featured-projects-carousel .swiper-slide {
        height: auto !important;
        box-sizing: border-box;
    }

    .featured-projects-carousel .elementor-widget-image img {
        height: 380px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .featured-projects-carousel .swiper-slide {
        height: auto !important;
    }

    .featured-projects-carousel .elementor-widget-image img {
        height: 300px;
    }
}

/* ============================================
   LEADERSHIP SECTION
   ============================================ */
.elementor-section.leadership-section,
.e-con.leadership-section {
    width: 100% !important;
    background-color: #f2f2f2 !important;
    padding: 0 !important;
    padding-bottom: 5rem !important;
    margin: 0 !important;
    box-sizing: border-box;
    min-height: 800px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    position: relative !important;
    overflow-x: hidden !important;
}

.elementor-section.leadership-section>.elementor-container,
.e-con.leadership-section>.e-con-inner {
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-section.leadership-container,
.elementor-container.leadership-container,
.e-con.leadership-container {
    max-width: 85% !important;
    width: 85% !important;
    margin: 0 !important;
    background-color: #ffffff;
    padding: 80px 60px !important;
    display: flex !important;
    gap: 40px;
    align-items: center;
    box-shadow: 0 6px 40px #00000029 !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    box-sizing: border-box;
}

@media (min-width: 1920px) {

    .elementor-section.leadership-container,
    .elementor-container.leadership-container,
    .e-con.leadership-container {
        max-width: 1600px !important;
        width: 85% !important;
    }
}

.elementor-section.leadership-container>.elementor-container,
.elementor-section.leadership-container>.elementor-row,
.e-con.leadership-container>.e-con-inner {
    display: flex !important;
    gap: 40px;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-column.leadership-left,
.e-con.leadership-left,
.e-con.leadership-container>.e-con-inner>.elementor-column.leadership-left,
.e-con.leadership-container>.e-con-inner>.e-con.leadership-left {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    width: 40% !important;
}

.elementor-column.leadership-right,
.e-con.leadership-right,
.e-con.leadership-container>.e-con-inner>.elementor-column.leadership-right,
.e-con.leadership-container>.e-con-inner>.e-con.leadership-right {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    width: 60% !important;
}

.elementor-column.leadership-left,
.e-con.leadership-left {
    min-width: 0;
    padding-left: 40px !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.e-con.leadership-left>.e-con-inner {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
}

.elementor-heading-title.leadership-heading,
.elementor-widget-heading.leadership-heading .elementor-heading-title,
.elementor-widget-heading.leadership-heading h1,
.elementor-widget-heading.leadership-heading h2,
.elementor-widget-heading.leadership-heading h3,
.elementor-widget-heading.leadership-heading .elementor-heading-title.elementor-size-default,
.elementor-widget-heading.leadership-heading .elementor-heading-title.elementor-size-large,
.elementor-widget-heading.leadership-heading .elementor-heading-title.elementor-size-medium,
.elementor-widget-heading.leadership-heading .elementor-heading-title.elementor-size-small,
.elementor-widget-heading.leadership-heading .elementor-heading-title.elementor-size-xl,
.elementor-widget-heading.leadership-heading .elementor-heading-title.elementor-size-xxl,
h1.elementor-heading-title.leadership-heading,
h2.elementor-heading-title.leadership-heading,
h3.elementor-heading-title.leadership-heading {
    color: #000000 !important;
    font-family: "merriweather", serif !important;
    margin: 0 0 20px 0 !important;
    text-transform: uppercase !important;
    word-wrap: break-word;
    line-height: 1.2 !important;
    padding: 0 !important;
}

.leadership-divider {
    width: 80px;
    height: 2px;
    background-color: #c05a2c;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    display: block;
}

.elementor-widget-text-editor.leadership-text,
.elementor-widget-text-editor.leadership-text p,
.leadership-text {
    color: #000000 !important;
    font-family: "montserrat", sans-serif !important;
    line-height: 1.8 !important;
    padding: 0 !important;
}

.elementor-button.leadership-button,
.elementor-widget-button.leadership-button .elementor-button,
.elementor-widget-button.leadership-button a.elementor-button,
.elementor-widget-button.leadership-button a,
a.leadership-button {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    background-color: #0b4654 !important;
    color: #ffffff !important;
    font-family: "montserrat", sans-serif !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    border-radius: 2px !important;
    transition: all 0.3s ease;
    border: none !important;
    margin: 0 !important;
}

.elementor-button.leadership-button:hover,
.elementor-widget-button.leadership-button .elementor-button:hover,
.elementor-widget-button.leadership-button a.elementor-button:hover,
a.leadership-button:hover {
    background-color: #0a3d4a !important;
    color: #ffffff !important;
    transform: translatey(-2px);
}

.elementor-widget-button.leadership-button,
.elementor-widget-button.leadership-button .elementor-button-wrapper,
.elementor-widget-button.leadership-button .elementor-button-content-wrapper,
.elementor-widget-button.leadership-button .elementor-button-link {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-column.leadership-right,
.e-con.leadership-right {
    min-width: 0;
    padding: 0 !important;
}

.elementor-column.leadership-right>.elementor-widget-wrap,
.elementor-column.leadership-right .elementor-inner-section,
.e-con.leadership-right>.e-con-inner {
    display: flex !important;
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.elementor-column.leadership-right .elementor-inner-section>.elementor-container,
.elementor-column.leadership-right .elementor-inner-section>.elementor-row {
    display: flex !important;
    gap: 30px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-column.leadership-right .elementor-inner-section .elementor-column {
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-column.leadership-right .elementor-inner-section .elementor-row {
    margin: 0 !important;
    --column-gap: 30px;
}

/* ===============================
   PROFILE CARD - STATIC CARD + TITLE HOVER
   =============================== */
.elementor-column.profile-card,
.e-con.profile-card {
    flex: 1;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    text-align: center;
    border-radius: 0;
    overflow: hidden;
    border-bottom: 12px solid #023840;
    min-width: 0;
    margin: 0 !important;
    transition: none !important;
    transform: none !important;
}

.elementor-column.profile-card:hover,
.e-con.profile-card:hover {
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.elementor-column.profile-card>.elementor-widget-wrap,
.e-con.profile-card>.e-con-inner {
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-column.profile-card .elementor-widget,
.e-con.profile-card .elementor-widget,
.elementor-column.profile-card .elementor-widget-image,
.e-con.profile-card .elementor-widget-image,
.elementor-column.profile-card .elementor-widget-heading,
.e-con.profile-card .elementor-widget-heading,
.elementor-column.profile-card .elementor-widget-text-editor,
.e-con.profile-card .elementor-widget-text-editor {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.profile-card .elementor-heading-title,
.profile-card .profile-title {
    transition: color 0.25s ease;
}

.elementor-column.profile-card:hover .elementor-heading-title,
.e-con.profile-card:hover .elementor-heading-title,
.profile-card:hover .profile-title {
    color: #c05a2c !important;
}

.elementor-image img.profile-image,
.elementor-widget-image .profile-image,
.elementor-widget-image.profile-image img,
.profile-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.elementor-widget-image.profile-image-wrapper,
.elementor-widget-image:has(.profile-image),
.elementor-widget-image.profile-image,
.profile-image-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
}

.elementor-heading-title.profile-name,
.elementor-widget-heading.profile-name .elementor-heading-title {
    color: #000000 !important;
    font-family: "merriweather", serif !important;
    font-size: 28px !important;
    margin: 30px 20px 7px 20px !important;
    text-transform: uppercase !important;
    word-wrap: break-word;
    line-height: 1.2 !important;
    padding: 0 !important;
}

.profile-divider {
    width: 80px;
    height: 2px;
    background-color: #c05a2c;
    margin: 0 auto 7px auto !important;
    padding: 0 !important;
    display: block;
}

.elementor-widget-text-editor.profile-title,
.elementor-widget-text-editor.profile-title p,
.elementor-widget-text-editor.profile-card p,
.elementor-widget-text-editor.profile-card div,
.profile-title {
    color: #000000 !important;
    font-family: "montserrat", sans-serif !important;
    margin: 0 20px 30px 20px !important;
    padding: 0 !important;
}

@media (max-width: 1200px) {

    .elementor-section.leadership-container,
    .elementor-container.leadership-container,
    .e-con.leadership-container {
        max-width: 90% !important;
        width: 90% !important;
        padding: 60px 50px !important;
        gap: 40px;
    }

    .elementor-column.leadership-left,
    .e-con.leadership-left {
        padding-left: 30px !important;
    }

    .elementor-heading-title.leadership-heading {
        font-size: 38px !important;
    }

    .elementor-heading-title.profile-name,
    .elementor-widget-heading.profile-name .elementor-heading-title {
        font-size: 26px !important;
    }
}

@media (max-width: 968px) {

    .elementor-section.leadership-section,
    .e-con.leadership-section {
        min-height: auto !important;
        justify-content: center !important;
        padding-bottom: 3rem !important;
        align-items: center !important;
        background-color: #ffffff !important;
    }

    .elementor-section.leadership-container,
    .elementor-container.leadership-container,
    .e-con.leadership-container {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        gap: 40px;
        padding: 50px 30px !important;
    }

    .elementor-column.leadership-left,
    .e-con.leadership-left,
    .e-con.leadership-container>.e-con-inner>.elementor-column.leadership-left,
    .e-con.leadership-container>.e-con-inner>.e-con.leadership-left {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
    }

    .elementor-heading-title.leadership-heading {
        font-size: 32px !important;
    }

    .elementor-column.leadership-right,
    .e-con.leadership-right,
    .e-con.leadership-container>.e-con-inner>.elementor-column.leadership-right,
    .e-con.leadership-container>.e-con-inner>.e-con.leadership-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .elementor-column.leadership-right>.elementor-widget-wrap,
    .elementor-column.leadership-right .elementor-inner-section,
    .e-con.leadership-right>.e-con-inner {
        flex-direction: row !important;
        gap: 20px;
    }

    .elementor-column.profile-card,
    .e-con.profile-card {
        max-width: 100% !important;
        min-width: 0;
        flex: 1;
        padding: 0 !important;
    }

    .profile-image-wrapper,
    .elementor-widget-image.profile-image-wrapper,
    .elementor-widget-image.profile-image {
        height: 250px !important;
    }

    .elementor-image img.profile-image,
    .elementor-widget-image.profile-image img,
    .profile-image {
        height: 100% !important;
        max-height: none !important;
    }

    .elementor-heading-title.profile-name,
    .elementor-widget-heading.profile-name .elementor-heading-title {
        font-size: 22px !important;
        margin: 20px 15px 12px 15px !important;
    }

    .elementor-widget-text-editor.profile-title p,
    .elementor-widget-text-editor.profile-card p,
    .profile-title {
        margin: 0 15px 25px 15px !important;
    }
}

@media (max-width: 768px) {

    .elementor-section.leadership-section,
    .e-con.leadership-section {
        padding-bottom: 3rem !important;
    }

    .elementor-section.leadership-container,
    .elementor-container.leadership-container,
    .e-con.leadership-container {
        padding: 50px 30px !important;
        gap: 40px !important;
    }

    .elementor-column.leadership-left,
    .e-con.leadership-left,
    .e-con.leadership-container>.e-con-inner>.elementor-column.leadership-left,
    .e-con.leadership-container>.e-con-inner>.e-con.leadership-left {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .elementor-column.leadership-right,
    .e-con.leadership-right,
    .e-con.leadership-container>.e-con-inner>.elementor-column.leadership-right,
    .e-con.leadership-container>.e-con-inner>.e-con.leadership-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .elementor-heading-title.leadership-heading {
        font-size: 32px !important;
        margin: 0 0 25px 0 !important;
    }

    .leadership-divider {
        margin: 0 0 20px 0 !important;
    }

    .elementor-widget-text-editor.leadership-text,
    .elementor-widget-text-editor.leadership-text p,
    .leadership-text {
        line-height: 1.8 !important;
        margin: 0 0 30px 0 !important;
    }

    .elementor-button.leadership-button,
    a.leadership-button {
        font-size: 14px !important;
        padding: 12px 24px !important;
    }

    .elementor-column.leadership-right,
    .e-con.leadership-right {
        padding: 0 !important;
    }

    .elementor-column.leadership-right>.elementor-widget-wrap,
    .elementor-column.leadership-right .elementor-inner-section,
    .e-con.leadership-right>.e-con-inner {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .elementor-column.profile-card,
    .e-con.profile-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .profile-image-wrapper,
    .elementor-widget-image.profile-image-wrapper,
    .elementor-widget-image.profile-image {
        height: 300px !important;
    }

    .elementor-image img.profile-image,
    .elementor-widget-image.profile-image img,
    .profile-image {
        height: 100% !important;
        max-height: none !important;
    }

    .elementor-heading-title.profile-name,
    .elementor-widget-heading.profile-name .elementor-heading-title {
        font-size: 26px !important;
        margin: 30px 20px 15px 20px !important;
    }

    .profile-divider {
        margin: 0 auto 15px auto !important;
    }

    .elementor-widget-text-editor.profile-title p,
    .elementor-widget-text-editor.profile-card p,
    .profile-title {
        margin: 0 20px 30px 20px !important;
    }
}

@media (max-width: 480px) {

    .elementor-section.leadership-section,
    .e-con.leadership-section {
        padding-bottom: 2.5rem !important;
    }

    .elementor-section.leadership-container,
    .elementor-container.leadership-container,
    .e-con.leadership-container {
        padding: 40px 25px !important;
        gap: 35px !important;
    }

    .elementor-column.leadership-left,
    .e-con.leadership-left,
    .e-con.leadership-container>.e-con-inner>.elementor-column.leadership-left,
    .e-con.leadership-container>.e-con-inner>.e-con.leadership-left {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .elementor-column.leadership-right,
    .e-con.leadership-right,
    .e-con.leadership-container>.e-con-inner>.elementor-column.leadership-right,
    .e-con.leadership-container>.e-con-inner>.e-con.leadership-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .elementor-heading-title.leadership-heading {
        font-size: 28px !important;
        margin: 0 0 20px 0 !important;
    }

    .leadership-divider {
        margin: 0 0 18px 0 !important;
    }

    .elementor-widget-text-editor.leadership-text,
    .elementor-widget-text-editor.leadership-text p,
    .leadership-text {
        line-height: 1.8 !important;
        margin: 0 0 25px 0 !important;
    }

    .elementor-button.leadership-button,
    a.leadership-button {
        font-size: 13px !important;
        padding: 12px 22px !important;
    }

    .elementor-column.leadership-right>.elementor-widget-wrap,
    .elementor-column.leadership-right .elementor-inner-section,
    .e-con.leadership-right>.e-con-inner {
        gap: 25px !important;
    }

    .profile-image-wrapper,
    .elementor-widget-image.profile-image-wrapper,
    .elementor-widget-image.profile-image {
        height: 280px !important;
    }

    .elementor-image img.profile-image,
    .elementor-widget-image.profile-image img,
    .profile-image {
        height: 100% !important;
        max-height: none !important;
    }

    .elementor-heading-title.profile-name,
    .elementor-widget-heading.profile-name .elementor-heading-title {
        font-size: 24px !important;
        margin: 25px 18px 12px 18px !important;
    }

    .profile-divider {
        margin: 0 auto 12px auto !important;
    }

    .elementor-widget-text-editor.profile-title p,
    .elementor-widget-text-editor.profile-card p,
    .profile-title {
        margin: 0 18px 25px 18px !important;
    }
}

.entry-title {
    display: none;
}

.leadership-section .profile-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-section .profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.leadership-section .profile-image img {
    opacity: 0.95;
}

.leadership-section .profile-name .elementor-heading-title,
.elementor-widget-heading.profile-name .elementor-heading-title {
    transition: color 0.3s ease;
}

.leadership-section .profile-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.leadership-section .elementor-widget-image.profile-image a {
    width: 100%;
    height: 100%;
    display: block;
}

.elementor-764 .elementor-element.elementor-element-5566c84 .elementor-divider-separator {
    width: auto !important;
}

/* ===============================
   FEATURED PROJECTS - TEXT OVERLAY
   =============================== */
.elementor-764 .elementor-widget-heading .elementor-heading-title[class*="elementor-size-"] {
    color: #ffffff !important;
    text-transform: uppercase;
    font-family: "Merriweather", Sans-serif;
    font-weight: 500;
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin: 0 0 10px 0;
    padding-left: 40px !important;
}

.elementor-764 .elementor-widget-heading .elementor-heading-title[class*="elementor-size-"]>a {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit;
    text-decoration: none !important;
    padding-left: 0 !important;
}

.elementor-764 .elementor-element.elementor-element-530f1d4 {
    padding: 0 0 20px 40px !important;
    font-family: "Merriweather", Sans-serif;
    font-size: 18px !important;
    line-height: 1.2em !important;
    color: #ffffff;
}

.elementor-764 .elementor-element.elementor-element-530f1d4 p {
    margin: 0;
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 18px !important;
    letter-spacing: 1.5px;
    opacity: 0.95;
    padding-left: 0 !important;
}

/* ===============================
   LOOP CAROUSEL - FIX HEADING POSITIONING (SINGLE SLIDE)
   =============================== */
/* CRITICAL: Ensure swiper slide maintains structure for elementor-764 */
/* Don't force width - let Swiper calculate it based on slidesPerView */
.elementor-widget-loop-carousel .swiper-slide {
    position: relative !important;
    min-height: 400px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* CRITICAL: Single slide - ensure slide maintains proper width calculation */
.elementor-widget-loop-carousel .swiper-slide:only-child {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    /* Let Swiper calculate width, but ensure it doesn't collapse */
}

/* Ensure Swiper wrapper maintains structure */
.elementor-widget-loop-carousel .swiper-wrapper:has(.swiper-slide:only-child),
.elementor-widget-loop-carousel .elementor-loop-container:has(.swiper-slide:only-child) {
    display: flex !important;
    align-items: stretch !important;
}

/* CRITICAL: Single slide - ensure it maintains individual slide width, not full container width */
/* Based on your HTML, slides_to_show is "4", so each slide should be 25% width */
.elementor-widget-loop-carousel .swiper-slide:only-child {
    width: 25% !important; /* 100% / 4 slides = 25% per slide */
    max-width: 25% !important;
    flex-basis: 25% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* CRITICAL: Ensure card container stays within slide bounds */
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764,
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764.e-loop-item {
    width: 100% !important; /* 100% of the slide (25% of container) */
    max-width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* CRITICAL: Ensure elementor-764 card container stays within slide bounds */
.elementor-764,
.elementor-764.e-loop-item,
.elementor-widget-loop-carousel .swiper-slide .elementor-764,
.elementor-widget-loop-carousel .swiper-slide .elementor-764.e-loop-item {
    position: relative !important;
    min-height: 400px !important;
    height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
}

/* CRITICAL: Single slide - ensure card stays within slide width */
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764,
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764.e-loop-item {
    width: 100% !important;
    max-width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* CRITICAL: This container MUST have position: relative and fixed dimensions for absolute positioning to work */
/* CRITICAL: Width must be 100% of the slide, not the container */
.elementor-764 > .e-con,
.elementor-764 > .elementor,
.elementor-764 .elementor-element-24bb92b,
.elementor-764 .e-con[data-id="24bb92b"],
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-24bb92b,
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .e-con[data-id="24bb92b"] {
    position: relative !important;
    min-height: 400px !important;
    height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    /* Ensure it respects parent (elementor-764) width, not container width */
}

/* CRITICAL: Single slide - ensure positioning context stays within slide bounds */
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .elementor-element-24bb92b,
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .e-con[data-id="24bb92b"] {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    /* This will be 100% of elementor-764, which is 100% of the slide */
}

/* Ensure image maintains height */
.elementor-764 .elementor-widget-image,
.elementor-764 .elementor-element-524f292,
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-widget-image,
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-524f292 {
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    overflow: hidden !important;
    max-width: 100% !important;
}

.elementor-764 .elementor-widget-image img,
.elementor-764 .elementor-element-524f292 img,
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-widget-image img,
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-524f292 img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    display: block !important;
    max-width: 100% !important;
}

/* CRITICAL: This is absolutely positioned, so its parent (24bb92b) MUST have position: relative and fixed dimensions */
/* CRITICAL: Width must be 100% of the positioning context (24bb92b), not the container */
.elementor-764 .e-con[data-settings*="absolute"],
.elementor-764 .elementor-element-a01f154,
.elementor-764 .e-con[data-id="a01f154"],
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-a01f154,
.elementor-widget-loop-carousel .swiper-slide .elementor-764 .e-con[data-id="a01f154"] {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    /* This will be 100% of its positioned parent (24bb92b), which is 100% of elementor-764, which is 100% of the slide */
}

/* CRITICAL: Single slide - ensure absolutely positioned heading stays within slide bounds */
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .elementor-element-a01f154,
.elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .e-con[data-id="a01f154"] {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    /* Ensure it doesn't exceed the slide width */
}

@media (max-width: 768px) {
    .elementor-widget-loop-carousel .swiper-slide {
        min-height: 380px !important;
    }
    
    .elementor-764,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 {
        min-height: 380px !important;
        height: 380px !important;
    }
    
    .elementor-764 > .e-con,
    .elementor-764 > .elementor,
    .elementor-764 .elementor-element-24bb92b,
    .elementor-764 .e-con[data-id="24bb92b"],
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-24bb92b,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .e-con[data-id="24bb92b"] {
        min-height: 380px !important;
        height: 380px !important;
    }
    
    .elementor-764 .elementor-widget-image,
    .elementor-764 .elementor-element-524f292,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-widget-image,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-524f292 {
        height: 380px !important;
    }
    
    .elementor-764 .elementor-widget-image img,
    .elementor-764 .elementor-element-524f292 img,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-widget-image img,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-524f292 img {
        height: 380px !important;
    }
    
    .elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 {
        height: 380px !important;
    }
    
    .elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .elementor-element-24bb92b,
    .elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .e-con[data-id="24bb92b"] {
        height: 380px !important;
    }
}

@media (max-width: 480px) {
    .elementor-widget-loop-carousel .swiper-slide {
        min-height: 300px !important;
    }
    
    .elementor-764,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 {
        min-height: 300px !important;
        height: 300px !important;
    }
    
    .elementor-764 > .e-con,
    .elementor-764 > .elementor,
    .elementor-764 .elementor-element-24bb92b,
    .elementor-764 .e-con[data-id="24bb92b"],
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-24bb92b,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .e-con[data-id="24bb92b"] {
        min-height: 300px !important;
        height: 300px !important;
    }
    
    .elementor-764 .elementor-widget-image,
    .elementor-764 .elementor-element-524f292,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-widget-image,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-524f292 {
        height: 300px !important;
    }
    
    .elementor-764 .elementor-widget-image img,
    .elementor-764 .elementor-element-524f292 img,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-widget-image img,
    .elementor-widget-loop-carousel .swiper-slide .elementor-764 .elementor-element-524f292 img {
        height: 300px !important;
    }
    
    .elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 {
        height: 300px !important;
    }
    
    .elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .elementor-element-24bb92b,
    .elementor-widget-loop-carousel .swiper-slide:only-child .elementor-764 .e-con[data-id="24bb92b"] {
        height: 300px !important;
    }
}

/* ===============================
   CONTACT SECTION - PARTIAL BACKGROUND
   =============================== */
.contact-section {
    width: 100%;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 100px 0;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #f2f2f2;
}

.contact-bg,
.contact-image-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 88% !important;
    height: 100% !important;
    z-index: 1;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.contact-card {
    position: relative;
    z-index: 10;
    width: 35%;
    max-width: 500px;
    background-color: #0b4654;
    padding: 60px 50px;
    box-sizing: border-box;
    margin-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 12px solid #bd6231;
}

.contact-heading {
    color: #ffffff;
    font-family: "Merriweather", serif;
    font-size: 48px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.contact-divider {
    width: 80px;
    height: 2px;
    background-color: #c05a2c;
    margin: 0 0 30px 0;
}

.contact-text {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 35px 0;
}

.contact-button {
    display: inline-block;
    background-color: #c05a2c;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: fit-content;
}

.contact-button:hover {
    background-color: #a6481d;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .contact-section {
        min-height: 500px;
        padding: 80px 0;
        justify-content: center;
    }

    .contact-bg,
    .contact-image-wrapper {
        width: 95% !important;
    }

    .contact-card {
        width: 45%;
        max-width: 450px;
        padding: 50px 40px;
        margin-right: 0;
    }

    .contact-heading {
        font-size: 36px;
    }

    .contact-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        min-height: 450px;
        padding: 60px 0;
    }

    .contact-bg,
    .contact-image-wrapper {
        width: 100% !important;
    }

    .contact-card {
        width: 90%;
        max-width: 100%;
        padding: 40px 30px;
        margin: 0 auto;
    }

    .contact-heading {
        font-size: 32px;
    }

    .contact-text {
        font-size: 15px;
    }

    .contact-button {
        font-size: 14px;
        padding: 16px 32px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        min-height: 400px;
        padding: 40px 0;
    }

    .contact-card {
        width: 95%;
        padding: 30px 20px;
    }

    .contact-heading {
        font-size: 28px;
    }

    .contact-text {
        font-size: 14px;
    }

    .contact-button {
        font-size: 13px;
        padding: 14px 28px;
    }
}

/* ===============================
   FEATURED PROJECTS - OVERRIDES
   (paste at the bottom)
   =============================== */
.elementor-187 .elementor-element.elementor-element-5e2085f .elementor-divider {
    display: none !important;
}

.featured-projects-white-card {
    background-color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: 4px !important;
    padding: 60px 40px !important;
    max-width: 1400px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: auto !important;
}

.featured-projects-title,
.featured-projects-title .elementor-heading-title,
.featured-projects-header-left .elementor-heading-title {
    color: #000000 !important;
    font-family: "Merriweather", serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

.featured-projects-divider {
    width: 80px !important;
    height: 2px !important;
    background-color: #c05a2c !important;
    margin: 15px 0 0 0 !important;
}

.featured-projects-divider .elementor-divider-separator {
    width: 80px !important;
    border-top: 2px solid #c05a2c !important;
    margin: 15px 0 0 0 !important;
}

/* ===============================
   FEATURED PROJECTS - BUTTON OVERRIDES
   =============================== */
.featured-projects-section .elementor-button {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: unset !important;
    line-height: normal !important;
}

.featured-projects-section .elementor-button {
    background-color: #214e57 !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.featured-projects-section .elementor-button:hover {
    background-color: #183b42 !important;
}

/* ===============================
   FEATURED PROJECTS - HEADER LAYOUT
   =============================== */
.featured-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    gap: 24px;
    width: 100%;
    flex-wrap: nowrap !important;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .featured-projects-header {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }
}

.featured-projects-header>* {
    flex: 0 0 auto;
}

.featured-projects-header> :first-child {
    flex: 1 1 auto;
}

.featured-projects-header .elementor-widget-button {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

/* ===============================
   FEATURED PROJECTS - RIGHT ALIGN CARD
   =============================== */
.featured-projects-section .elementor-container,
.featured-projects-section .e-con-inner {
    max-width: none !important;
    width: 100% !important;
    padding-right: 0 !important;
}

/* ===============================
   FEATURED PROJECTS - CARD TITLE AT BOTTOM
   =============================== */
.featured-projects-carousel .swiper-slide {
    position: relative;
}

.featured-projects-carousel .elementor-widget-wrap,
.featured-projects-carousel .elementor-column,
.featured-projects-carousel .e-con-inner,
.featured-projects-carousel .e-con {
    position: relative;
    height: 100%;
}

.featured-projects-carousel .elementor-widget-heading {
    position: absolute !important;
    bottom: 40px !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    padding-left: 40px;
    z-index: 2;
}

.featured-projects-carousel .elementor-widget-text-editor {
    position: absolute !important;
    bottom: 16px !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    padding-left: 50px;
    z-index: 2;
}

/* ===============================
   FEATURED PROJECTS - CAROUSEL ARROWS
   =============================== */
.featured-projects-carousel .elementor-swiper-button.elementor-swiper-button-prev {
    left: 10px !important;
    right: auto !important;
}

.featured-projects-carousel .elementor-swiper-button.elementor-swiper-button-next,
.featured-projects-carousel .elementor-swiper-button.elementor-swiper-button-prev {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
}

.featured-projects-carousel .elementor-swiper-button.elementor-swiper-button-next svg,
.featured-projects-carousel .elementor-swiper-button.elementor-swiper-button-prev svg {
    fill: #ffffff !important;
}

.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-prev {
    left: 10px !important;
    right: auto !important;
}

.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-next,
.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-prev {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
}

.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-next svg,
.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-prev svg {
    fill: #ffffff !important;
}

/* ===============================
   FEATURED PROJECTS - HEADING OVERRIDE
   =============================== */
.elementor-187 .elementor-element.elementor-element-12b4bb5 .elementor-heading-title {
  font-size: 48px !important;
}

/* ===============================
   PROFILE CARD - DISABLE HOVER ANIMATION (SPECIFIC)
   =============================== */
.elementor-element.elementor-element-5c96883.profile-card {
  transition: none !important;
  transform: none !important;
}

.elementor-element.elementor-element-5c96883.profile-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ===============================
   FULL-WIDTH BACKGROUND SECTION
   =============================== */
.elementor-element.elementor-element-7dc829f,
.elementor-element.elementor-element-fb09ca9 {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ===============================
   SECTION 7DC829F - BACKGROUND
   =============================== */
.elementor-187 .elementor-element.elementor-element-7dc829f:not(.elementor-motion-effects-element-type-background),
.elementor-187 .elementor-element.elementor-element-7dc829f
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-image: url(https://eaglemechanical.versacreativedev.com/wp-content/uploads/2025/11/sec_4.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #c55f21;
}

/* ===============================
   FEATURED PROJECTS - PROJECT TYPE
   =============================== */
.project-card-type,
.elementor-1449 .elementor-element.elementor-element-1e9e559 {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
}

.elementor-1449 .elementor-element.elementor-element-b7d737c {
    top: auto !important;
    bottom: 0 !important;
}
.leadership-section .e-con.profile-card,
.leadership-section .elementor-column.profile-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    transform: translateY(0);
}

.leadership-section .e-con.profile-card:hover,
.leadership-section .elementor-column.profile-card:hover {
    transform: translateY(-6px) !important; /* adjust amount as needed */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.leadership-section .elementor-widget-text-editor.profile-card,
.leadership-section .elementor-widget-text-editor.profile-card:hover {
    cursor: default !important;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

.custom-grid-container {
	gap: 0 !important;
}

.services-wrapper-inner {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.custom-grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  justify-items: stretch;
  align-items: stretch;
}

.custom-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  width: 100%;
  min-height: 440px;
  box-sizing: border-box;
}

.custom-image-container {
  position: relative;
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}



.custom-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.custom-content {
  padding: 24px 20px;
  box-sizing: border-box;
  flex: 1;
}

.custom-content h2 {
  font-family: Merriweather, serif;
  font-size: 28px;
  line-height: 38px;
  letter-spacing: 0.6px;
  margin: 0 0 10px;
  text-transform: uppercase;
  color: #000;
}

.custom-content p {
  font-family: Montserrat, sans-serif;
  line-height: 30px;
  margin: 0;
  color: #000;
}

@media (max-width: 1024px) {
  .custom-grid-container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
    padding: 24px 18px 0;
  }
  .custom-card {
    min-height: 420px;
  }
  .custom-content {
    padding: 22px 18px;
  }
  .custom-content h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .custom-content p {
    font-size: 16px;
    line-height: 28px;
  }
}

@media (max-width: 767px) {
  .custom-grid-container {
    gap: 22px;
    padding: 32px 14px 0;
  }
  .custom-card {
    min-height: 400px;
  }
  .custom-content {
    padding: 20px 16px;
  }
  .custom-content h2 {
    font-size: 22px;
    line-height: 30px;
  }
  .custom-content p {
    font-size: 15px;
    line-height: 26px;
  }
}