/*
 Theme Name:   Business Company Elementor Child
 Theme URI:    https://arec-eng.com
 Description:  Child theme for AREC Engineering custom layout
 Author:       AREC
 Template:     business-company-elementor
 Version:      1.0.0
*/

/* Custom CSS styles go below */
*:not(i, .fa) {
    font-family: "Roboto Condensed", sans-serif !important;
}

.video-container {
    max-height: 700px;
    overflow: hidden;
}

.menu-two .logo img {
    max-height: 75px;
    width: auto;
    max-width: 100%;
    transform: all 0.5s;
    -webkit-transform: all 0.5s;
    -moz-transform: all 0.5s;
    -ms-transform: all 0.5s;
    -o-transform: all 0.5s;
}


.sticky-menu .menu-two .logo img {
    max-height: 50px;
}

#primary-menu .current-menu-item a,
#primary-menu a:hover,
#primary-menu .nav-item:hover .nav-link {
    color: #D16F00;
}

.footer:before {
    background-image: none !important;
}

.footer {
    background-color: #f5f7f7;
}

.footer-one *,
.footer-two * {
    color: #2b2b2b;
}

.widget_block .wp-block-group__inner-container h2:after,
.widget-title::after {
    background-color: #2b2b2b;
}

.footer ul.wp-block-list {
    margin: 0;
}

.footer .wp-block-heading {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 10px;
}

.footer ul {
    margin: 0;
}

.footer .widget_block a:hover {
    color: #d16f00;
}

.footer .widget_block li+li {
    margin-top: 5px;
}

.footer-social li.wp-social-link {
    margin-top: 0px !important;
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    -o-transform: scale(1) !important;
}

.footer .footer-credits {
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.main-navbar ul li a {
    text-transform: uppercase;
}

#primary-menu>ul>.page_item:last-child,
#primary-menu>.menu-item:last-child {
    margin-right: 0;
}

.footer-social li a {
    padding: 0px !important;
}

.footer-social {
    gap: 8px !important;
}

.footer-social li a svg {
    background: #000 !important;
    fill: #fff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -ms-border-radius: 3px !important;
    -o-border-radius: 3px !important;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}

.footer-social li a:hover svg {
    background-color: #d16f00 !important;
}

#c-scroll {
    background-color: #d16f00 !important;
}

#c-scroll:hover {
    background-color: #ff8a05 !important;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover {
    background: #ff8a05 !important;
}

.ekit-team-modal .ekit-team-modal-info ul.ekit-team-modal-list {
    margin-left: 0;
}

div#contact-form input,
div#contact-form textarea {
    border: 1px solid #ddd !important;
    padding-block: 7px;
    outline: none;
    box-shadow: none;
    font-size: 15px;
    max-height: 120px;
    margin-top: 10px;
}

div#contact-form br {
    display: none;
}

div#contact-form input#submit {
    background: #d16f00 !important;
    padding: 17px 30px;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s;
}

div#contact-form input#submit:hover {
    background: #ff8a05 !important;
}

@media (max-width: 1500px) {
    .video-container {
        max-height: 550px;
    }
}

@media (min-width: 1199px) {

    #primary-menu>ul>.page_item,
    #primary-menu>.menu-item {
        margin-right: 40px;
    }

    .main-navbar ul li a {
        font-size: 15px;
    }

    .ekit-team-modal .ekit-team-modal-info.has-img {
        padding-left: 20px;
    }
}

@media (min-width: 1025px) {
    .project-main-description.has-gallery {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

}


@media (max-width: 991px) {
    .main-mobile-menu {
        padding: 0;
        min-height: 50px;
    }

    .hamburger-menu div {
        background: #000000;
    }

    button.menu-collapsed {
        background-color: transparent !important;
        color: #000 !important;
        outline: none !important;
        border: none;
    }

    .main-mobile-nav .header-close-menu {
        background: transparent !important;
    }

    .main-mobile-nav .main-mobile-build {
        max-width: 99vw;
    }

}

@media (max-width: 767.9px) {
    .get-in-touch-column .ekit-btn-wraper {
        margin-inline: auto;
        display: flex;
        justify-content: center;
    }

    .get-in-touch-column .ekit-btn-wraper .elementskit-btn {
        padding: 20px !important;
    }

    .footer .footer-credits {
        padding-block: 5px;
        margin-block: 0px;
    }

    .footer {
        padding-block: 5px;

    }

    .footer .widget_block {
        margin-bottom: 20px;
    }

    .footer .widget_block:last-child {
        margin-bottom: 0px;
    }
}

/* Force Full-Width Container Breaking */
.arec-hero-slider-wrapper {
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden;
}

/* Slider Height Configuration */
.home-hero-swiper-container {
    width: 100% !important;
    height: 75vh !important;
    min-height: 500px !important;
    position: relative;
}

.home-hero-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Overlay & Center Text Alignment */
.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* Dark shade for better contrast */
    display: flex !important;
    align-items: center !important;
    /* Vertical Centering */
    justify-content: center !important;
    /* Horizontal Centering */
    text-align: center !important;
    /* Text Centering */
    padding: 0 20px;
    box-sizing: border-box;
}

.home-hero-content-inner {
    max-width: 800px;
    width: 100%;
    color: #ffffff;
    margin: 0 auto;
}

/* Hero Typography */
.hero-tagline {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #f37021;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

/* Swiper Navigation Button Styling */
.home-hero-swiper-container .swiper-button-next,
.home-hero-swiper-container .swiper-button-prev {
    color: #ffffff !important;
}

.home-hero-swiper-container .swiper-pagination-bullet-active {
    background: #f37021 !important;
}


/* Hero Slide Button Styling */
.hero-slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f37021;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.hero-slide-btn:hover {
    background-color: #d65c13;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Projects Grid Container */
.custom-projects-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}

/* Individual Grid Card */
.project-grid-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.project-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    transition: transform 0.4s ease;
}

.project-grid-card:hover .project-card-image {
    transform: scale(1.05);
}

/* Dark Bottom Overlay with Text  */
.project-card-info {
    color: #ffffff;
    text-align: left;
}

.project-card-title {
    color: #ffffff;
    font-size: 16px;
    line-height: 23px;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.services-list-items ul {
    margin-left: 20px;
}

.services-list-items ul li {
    list-style: disc;
}

.services-list-items ul li+li {
    margin-top: 8px;
}

.project-card-location {
    color: #cccccc;
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Fix for Mobile & Tablet */
@media (max-width: 992px) {
    .custom-projects-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 767px) {
    .custom-projects-grid {
        grid-template-columns: 2fr !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .custom-projects-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Single Project Outer Layout */
.project-single-wrapper {
    width: 100%;
    background-color: #ffffff;
}

/* Hero Slider */
.project-hero-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 250px;
    background-color: #111111;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide-item.active {
    opacity: 1;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
}

.project-hero-sector {
    display: block;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-hero-title {
    color: #ffffff !important;
    font-size: 54px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.126;
}

/* PERMANENT RED SLIDER ARROWS */
.slider-btn,
.slider-btn:hover,
.slider-btn:focus,
.slider-btn:active,
.slider-btn:visited {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #d16f00 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 64px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    z-index: 20 !important;
    transition: transform 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.15) !important;
}

.prev-btn {
    left: 20px !important;
}

.next-btn {
    right: 20px !important;
}

/* Content Layout Grid */
.project-details-container {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 20px;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 70px;
}

/* Sidebar Styling */
.project-red-title {
    color: #d16f00;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.project-spec-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.spec-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.spec-item:first-child {
    border-top: 1px solid #e8e8e8 !important;
}

.spec-label {
    display: block !important;
    width: 120px !important;
    min-width: 120px !important;
    font-size: 14px !important;
    color: #888888 !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

.spec-value {
    display: block !important;
    flex: 1 !important;
    font-size: 14px !important;
    color: #333333 !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* Main Content Styling */
.project-headline {
    font-size: 38px;
    line-height: 1.25;
    color: #222222;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 30px;
}

.project-body-content {
    font-size: 16px;
    line-height: 1.85;
    color: #555555;
}

.project-body-content p {
    margin-bottom: 20px;
}

/* Related Projects Section */
.related-projects-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-top: 80px;
    border-top: 1px solid #eee;
}

.related-projects-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-projects-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    border-bottom: 2px solid #d16f00;
}



.project-card-location {
    color: #f2f2f2;
    font-size: 13px;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {

    .project-hero-slider {
        height: 60vh;
    }

    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-headline {
        font-size: 28px;
    }

    .project-hero-title {
        font-size: 36px;
    }
}

#load-more-projects-btn {
    background-color: #323232 !important;
    padding: 12px 30px;
}

#load-more-projects-btn:hover {
    background-color: #D16F00 !important;
}

@media (max-width: 767px) {

    .project-hero-slider {
        height: 40vh;
    }

    .prev-btn {
        left: 0 !important;
    }

    .next-btn {
        right: 0px !important;
    }

    .project-hero-title {
        font-size: 30px;
    }

    #load-more-projects-btn {
        padding: 8px 20px;
    }
}





/* Gallery Container */
.project-gallery-section {
    width: 100%;
}

.project-gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-count-2 {
    grid-template-columns: repeat(1, 1fr);
}

.gallery-count-1 {
    grid-template-columns: 1fr;
}

.project-gallery-item {
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.project-gallery-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-gallery-item:hover img {
    transform: scale(1.02);
}

/* Lightbox Styling */
.project-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 1024.8px) {
    .gallery-count-2 {
        display: flex;
    }
}