/*--------------------------------------------------------------
# Set main reusable colors and fonts using CSS variables
# Learn more about CSS variables at https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
--------------------------------------------------------------*/
/* Fonts */
:root {
    --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-primary: "Roboto", sans-serif;
    --font-secondary: "Work Sans", sans-serif;
}

/* Colors */
:root {
    --color-default: #364d59;
    --color-primary: #feb900; /* Yellow */
    --color-secondary: #52565e; /* Gray */
}

/* Smooth scroll behavior */
:root {
    scroll-padding-top: 110px; /* or match your fixed header height */
    scroll-behavior: smooth;
}
/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

button, input, optgroup, select, textarea {
    margin-top: 0.5em;
    margin-right: 0em;
    margin-bottom: 0.5em;
    margin-left: 0em;
}

.hidden-label {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.PH {
    color: #00F !important;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

    .PH:hover {
        color: #ffc732 !important;
        -webkit-text-decoration-color: #ffc732, var(--bs-link-underline-opacity, 1)) !important;
        text-decoration-color: #ffc732, var(--bs-link-underline-opacity, 1)) !important;
        text-decoration: none;
    }

.txt-bold {
    font-weight: 900;
    text-transform: capitalize;
    color: #000;
}

.img-pad {
    margin-bottom: 5px;
    border: 2px solid #feb900;
}

.G-Map {
    display: block;
    height: 400px;
    width: 100%;
    background-position: center center;
    background-color: #0B5E64;
    margin-top: 10px;
    border: 1px solid #0B5E64;
}

.img-badge-sm {
    max-width: 100px;
    height: auto;
    padding-top: 20px;
}
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: var(--font-default);
    color: #000;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

    a:hover {
        color: #ffc732;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
    overflow: hidden;
    padding-top: 100px;
    padding-right: 0;
    padding-bottom: 80px;
    padding-left: 0;
}

@media (max-width: 767px) {
    .section {
        overflow: hidden;
        padding-top: 50px;
        padding-right: 0;
        padding-bottom: 80px;
        padding-left: 0;
    }
}

.section-bg {
    background-color: #f5f6f7;
}

.section-header {
    text-align: center;
    padding-bottom: 50px;
}

    .section-header h2 {
        font-size: 2em;
        font-weight: 700;
        position: relative;
        color: #2e3135;
        white-space: nowrap;
    }

@media (max-width: 767px) {
    .section-header h2 {
        font-size: 1.5em; /* Reduced for smaller screens */
        font-weight: 700;
        position: relative;
        color: #2e3135;
        white-space: normal; /* Allows wrapping on small screens */
    }
}

.section-header h2:before,
.section-header h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--color-primary);
    display: inline-block;
}

@media (max-width: 767px) {
    .section-header h2::before,
    .section-header h2::after {
        content: "";
        width: 30px; /* Reduced width for smaller screens */
        height: 2px;
        background: var(--color-primary);
        display: inline-block;
    }
}


.section-header h2:before {
    margin: 0 15px 10px 0;
}

.section-header h2:after {
    margin: 0 0 10px 15px;
}

.section-header p {
    margin: 0 auto 0 auto;
}

@media (min-width: 1199px) {
    .section-header p {
        max-width: 60%;
    }
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--color-secondary);
        line-height: 0;
    }

    .scroll-top:hover {
        background: #ffc732;
        color: #fff;
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #fff;
        border-color: var(--color-primary) transparent var(--color-primary) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.top-bar {
    font-size: 0.9rem;
    background-color: #f8f9fa; /* light gray */
    color: #000;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

    .top-bar .contact-phone i {
        color: var(--color-primary);
        font-size: 1.3em;
    }

    .top-bar .btn {
        font-size: 0.85rem;
        padding: 4px 12px;
        border-radius: 20px;
    }

/* Adjust header padding to account for top bar height */
.header {
    z-index: 997;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 1.0);
    padding: 20px 0;
}

/* Space below top-bar (if needed) */
body {
    padding-top: 120px; /* adjust depending on combined height of top-bar + header */
}

@media (max-width: 767px) {
    body {
        padding-top: 80px; /* Reduced for mobile screens */
    }
}


/* Logo styles */
.header .logo img {
    vertical-align: middle;
    margin-top: 6px; /* fine-tune if needed */
}


.header .logo h1 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
	font-family: var(--font-primary);
	padding-top: 10px;
}


.TPH {
    color: #00F !important;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    font-size: 1.3em;
}

    .TPH:hover {
        color: #ffc732 !important;
        -webkit-text-decoration-color: #ffc732, var(--bs-link-underline-opacity, 1)) !important;
        text-decoration-color: #ffc732, var(--bs-link-underline-opacity, 1)) !important;
        text-decoration: none;
    }

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
    .navbar {
        padding: 0;
    }

        .navbar ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navbar li {
            position: relative;
        }

        /* Adjust spacing to bring nav links down slightly */
        .navbar > ul > li {
            white-space: nowrap;
            padding: 25px 0 14px 28px; /* was: 10px 0 10px 28px */
        }


        .navbar a,
        .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 3px;
            font-family: var(--font-primary);
            font-size: 14px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            white-space: nowrap;
            transition: 0.3s;
            position: relative;
        }

            .navbar a i,
            .navbar a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
            }

        .navbar > ul > li > a:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: -6px;
            left: 0;
            background-color: var(--color-primary);
            visibility: hidden;
            width: 0px;
            transition: all 0.3s ease-in-out 0s;
        }

        .navbar a:hover:before,
        .navbar li:hover > a:before,
        .navbar .active:before {
            visibility: visible;
            width: 100%;
        }

        .navbar a:hover,
        .navbar .active,
        .navbar .active:focus,
        .navbar li:hover > a {
            color: #fff;
        }

        .navbar .dropdown ul {
            display: block;
            position: absolute;
            left: 28px;
            top: calc(100% + 30px);
            margin: 0;
            padding: 10px 0;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            background: #fff;
            box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
            transition: 0.3s;
        }

            .navbar .dropdown ul li {
                min-width: 200px;
            }

            .navbar .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--color-default);
                font-weight: 400;
            }

                .navbar .dropdown ul a i {
                    font-size: 12px;
                }

                .navbar .dropdown ul a:hover,
                .navbar .dropdown ul .active:hover,
                .navbar .dropdown ul li:hover > a {
                    color: var(--color-primary);
                }

        .navbar .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navbar .dropdown .dropdown ul {
            top: 0;
            left: calc(100% - 30px);
            visibility: hidden;
        }

        .navbar .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: 100%;
            visibility: visible;
        }
}

@media (min-width: 1280px) and (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

@media (min-width: 1280px) {

    .mobile-nav-show,
    .mobile-nav-hide {
        display: none;
    }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        bottom: 0;
        transition: 0.3s;
        z-index: 9997;
    }

        .navbar ul {
            position: absolute;
            inset: 0;
            padding: 50px 0 10px 0;
            margin: 0;
            background: rgba(0, 0, 0, 0.8);
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
        }

        .navbar a,
        .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            font-family: var(--font-primary);
            font-size: 15px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.7);
            white-space: nowrap;
            text-transform: uppercase;
            transition: 0.3s;
        }

            .navbar a i,
            .navbar a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
            }

            .navbar a:hover,
            .navbar .active,
            .navbar .active:focus,
            .navbar li:hover > a {
                color: #fff;
            }

        .navbar .dropdown ul,
        .navbar .dropdown .dropdown ul {
            position: static;
            display: none;
            padding: 10px 0;
            margin: 10px 20px;
            transition: all 0.5s ease-in-out;
            border: 1px solid #222428;
        }

        .navbar .dropdown > .dropdown-active,
        .navbar .dropdown .dropdown > .dropdown-active {
            display: block;
        }

    .mobile-nav-show {
        position: relative;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        z-index: 9999;
        padding-right: 10px;
    }

    .mobile-nav-hide {
        color: #fff;
        font-size: 32px;
        cursor: pointer;
        line-height: 0;
        transition: 0.5s;
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 9999;
    }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .navbar {
            right: 0;
        }

            .mobile-nav-active .navbar:before {
                content: "";
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, 0.6);
                z-index: 9996;
            }
}

@media (max-width: 768px) {
    /* Shrink the header height on mobile */
    .header {
        padding: 10px 0; /* Less vertical space */
    }

        /* Shrink the logo text */
        .header .logo h1 {
            font-size: 20px; /* Was 24px */
            margin-bottom: 0;
        }

    /* Adjust navbar link padding */
    .navbar > ul > li {
        padding: 18px 0 10px 20px; /* Reduced top padding */
    }

    /* Optional: Reduce mobile menu toggle button size if needed */
    .mobile-nav-toggle {
        font-size: 24px; /* Default is usually 28-32px */
        padding: 6px;
    }

    /* You might also want to tweak the main H2 again */
    .main .info h2 {
        font-size: 22px; /* Adjust for better fit */
        line-height: 1.2;
        margin-top: 10px; /* Less top margin */
    }

    .main .carousel {
        padding-top: 150px; /* Balance header height with main top padding */
    }
}


@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Constructions Section
--------------------------------------------------------------*/
.constructions .card-item {
    border: 1px solid rgba(82, 86, 94, 0.2);
    background: #fff;
    position: relative;
    border-radius: 0;
}

    .constructions .card-item .card-bg {
        min-height: 300px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .constructions .card-item .card-body {
        padding: 30px;
    }

    .constructions .card-item h4 {
        font-weight: 700;
        font-size: 20px;
        margin-bottom: 15px;
        color: var(--color-secondary);
    }

    .constructions .card-item p {
        color: var(--color-secondary);
        margin: 0;
    }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    padding-top: 100px; /* Add this to push the section down */
}

@media (max-width: 767px) {
    .services {
        padding-top: 60px; /* Reduced top padding for smaller screens */
    }
}

.services .service-item {
    padding: 40px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .services .service-item .icon {
        width: 48px;
        height: 48px;
        position: relative;
        margin-bottom: 50px;
    }

        .services .service-item .icon i {
            color: var(--color-secondary);
            font-size: 40px;
            transition: ease-in-out 0.3s;
            z-index: 2;
            position: relative;
            line-height: 1.8;
        }

        .services .service-item .icon:before {
            position: absolute;
            content: "";
            height: 100%;
            width: 100%;
            background: #f0f1f2;
            border-radius: 50px;
            z-index: 1;
            top: 10px;
            right: -15px;
            transition: 0.3s;
        }

    .services .service-item h3 {
        color: var(--color-default);
        font-weight: 700;
        margin: 0 0 20px 0;
        padding-bottom: 8px;
        font-size: 22px;
        position: relative;
        display: inline-block;
        border-bottom: 4px solid #ebebed;
        transition: 0.3s;
    }

    .services .service-item p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
        flex-grow: 1; /* Makes paragraph take available space to push button down */
    }

    .services .service-item .readmore {
        margin-top: 15px;
        display: inline-block;
        color: var(--color-primary);
        /* Optional: Uncomment below for full-width buttons */
        /* width: 100%; */
    }

    .services .service-item:hover .icon:before {
        background: var(--color-primary);
    }

    .services .service-item:hover h3 {
        border-color: var(--color-primary);
    }

/*--------------------------------------------------------------
# Service pages
--------------------------------------------------------------*/
.services-pg .nav-tabs {
    border: 0;
    display: flex;
    flex-wrap: wrap;
}

.services-pg .nav-link {
    padding: 15px 0;
    transition: 0.3s;
    color: var(--color-secondary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    border: 0;
    border-bottom: 4px solid #e2e4e6;
    flex: 1 1 25%;
}

    .services-pg .nav-link i {
        padding-right: 15px;
        font-size: 48px;
    }

    .services-pg .nav-link h4 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
    }

.services-pg h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .services-pg h1 {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
        padding-bottom: 5px;
    }
}

.services-pg h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .services-pg h2 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
        padding-bottom: 5px;
    }
}

.services-pg h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .services-pg h3 {
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
        padding-bottom: 5px;
    }
}

.services-pg h4 {
    font-size: 1.1em;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 575px) {
    .services-pg .nav-link {
        flex: 1 1 50%;
        text-align: center; /* Center the text on mobile */
    }

        .services-pg .nav-link h4 {
            font-size: 14px;
        }

        .services-pg .nav-link i {
            font-size: 36px;
        }
}

.services-pg .nav-link:hover {
    color: var(--color-primary);
}

.services-pg .nav-link.active {
    color: var(--color-primary);
    background-color: transparent;
    border-color: var(--color-primary);
}

.services-pg .tab-content {
    margin-top: 30px;
}

.services-pg .tab-pane h3 {
    font-weight: 700;
    font-size: 32px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

    .services-pg .tab-pane h3:after {
        content: "";
        position: absolute;
        display: block;
        width: 60px;
        height: 3px;
        background: var(--color-primary);
        left: 0;
        bottom: 0;
    }

.services-pg .tab-pane ul {
    list-style: none;
    padding: 0;
}

    .services-pg .tab-pane ul li {
        padding-top: 10px;
    }

    .services-pg .tab-pane ul i {
        font-size: 20px;
        padding-right: 4px;
        color: var(--color-primary);
    }

.services-pg .tab-pane p:last-child {
    margin-bottom: 0;
}


/*--------------------------------------------------------------
# Our Projects Section
--------------------------------------------------------------*/
.projects {
    overflow: hidden;
    padding-top: 100px;
    padding-right: 0;
    padding-bottom: 80px;
    padding-left: 0;
}

@media (max-width: 767px) {
    .projects {
        overflow: hidden;
        padding-top: 50px;
        padding-right: 0;
        padding-bottom: 80px;
        padding-left: 0;
    }
}

.projects .portfolio-flters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .projects .portfolio-flters li {
        cursor: pointer;
        display: inline-block;
        padding: 0;
        font-size: 18px;
        font-weight: 500;
        margin: 0 10px;
        line-height: 1;
        margin-bottom: 5px;
        transition: all 0.3s ease-in-out;
    }

        .projects .portfolio-flters li:hover,
        .projects .portfolio-flters li.filter-active {
            color: var(--color-primary);
        }

        .projects .portfolio-flters li:first-child {
            margin-left: 0;
        }

        .projects .portfolio-flters li:last-child {
            margin-right: 0;
        }

@media (max-width: 575px) {
    .projects .portfolio-flters li {
        font-size: 14px;
        margin: 0 5px;
    }
}

.projects .portfolio-content {
    position: relative;
    overflow: hidden;
}

    .projects .portfolio-content img {
        transition: 0.3s;
    }

    .projects .portfolio-content .portfolio-info {
        opacity: 0;
        position: absolute;
        inset: 0;
        z-index: 3;
        transition: all ease-in-out 0.3s;
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
    }

        .projects .portfolio-content .portfolio-info h3 {
            font-size: 14px;
            padding: 5px 10px;
            font-weight: 400;
            color: #fff;
            display: inline-block;
            background-color: var(--color-primary);
        }

        .projects .portfolio-content .portfolio-info p {
            position: absolute;
            bottom: 10px;
            text-align: center;
            display: inline-block;
            left: 0;
            right: 0;
            font-size: 16px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
        }

        .projects .portfolio-content .portfolio-info .preview-link,
        .projects .portfolio-content .portfolio-info .details-link {
            position: absolute;
            left: calc(50% - 40px);
            font-size: 26px;
            top: calc(50% - 14px);
            color: #fff;
            transition: 0.3s;
            line-height: 1.2;
        }

            .projects .portfolio-content .portfolio-info .preview-link:hover,
            .projects .portfolio-content .portfolio-info .details-link:hover {
                color: var(--color-primary);
            }

        .projects .portfolio-content .portfolio-info .details-link {
            left: 50%;
            font-size: 34px;
            line-height: 0;
        }

    .projects .portfolio-content:hover .portfolio-info {
        opacity: 1;
    }

    .projects .portfolio-content:hover img {
        transform: scale(1.1);
    }


/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
.alt-services .img-bg {
    background-size: cover;
    background-position: center center;
    min-height: 400px;
}

.alt-services h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

    .alt-services h3:after {
        content: "";
        position: absolute;
        display: block;
        width: 50px;
        height: 3px;
        background: var(--color-primary);
        left: 0;
        bottom: 0;
    }

.alt-services .icon-box {
    margin-top: 50px;
}

    .alt-services .icon-box i {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-primary);
        margin-right: 25px;
        font-size: 28px;
        width: 56px;
        height: 56px;
        border-radius: 4px;
        line-height: 0;
        box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
        background-color: #fff;
        transition: 0.3s;
    }

    .alt-services .icon-box:hover i {
        background-color: var(--color-primary);
        color: #fff;
    }

    .alt-services .icon-box h4 {
        font-weight: 700;
        margin-bottom: 10px;
        font-size: 18px;
    }

        .alt-services .icon-box h4 a {
            color: #000;
            transition: 0.3s;
        }

            .alt-services .icon-box h4 a:hover {
                color: var(--color-primary);
            }

    .alt-services .icon-box p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h2 {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-secondary);
    margin: 30px 0;
}

@media (min-width: 991px) {
    .about h2 {
        max-width: 65%;
        margin: 0 0 80px 0;
    }
}

.about .our-story {
    padding: 40px;
    background-color: #f5f6f7;
}

@media (min-width: 991px) {
    .about .our-story {
        padding-right: 35%;
    }
}

.about .our-story h4 {
    text-transform: uppercase;
    font-size: 18px;
    color: #838893;
}

.about .our-story h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.about .our-story p:last-child {
    margin-bottom: 0;
}

.about ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .about ul li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .about ul i {
        font-size: 20px;
        margin-right: 4px;
        color: var(--color-primary);
    }

.about .watch-video i {
    font-size: 32px;
    transition: 0.3s;
    color: var(--color-primary);
}

.about .watch-video a {
    font-weight: 600;
    color: var(--color-secondary);
    margin-left: 8px;
    transition: 0.3s;
}

.about .watch-video:hover a {
    color: var(--color-primary);
}

.about .about-img {
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .about .about-img {
        position: absolute;
        top: 0;
        right: 0;
    }
}

@media (max-width: 1024px) {
    .team .member .member-img {
        margin: 0 60px;
    }
}

/*--------------------------------------------------------------
# Servie Cards Section
--------------------------------------------------------------*/
.services-cards h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary);
}

.services-cards p {
    font-size: 15px;
}

.services-cards ul li {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding-top: 10px;
}

    .services-cards ul li i {
        font-size: 16px;
        color: var(--color-primary);
        margin-right: 6px;
    }

/*--------------------------------------------------------------
# Projet Details Section
--------------------------------------------------------------*/
.project-details .portfolio-details-slider img {
    width: 100%;
}

.project-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.project-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-primary);
}

.project-details .swiper-button-prev,
.project-details .swiper-button-next {
    width: 48px;
    height: 48px;
}

    .project-details .swiper-button-prev:after,
    .project-details .swiper-button-next:after {
        color: rgba(255, 255, 255, 0.8);
        background-color: rgba(0, 0, 0, 0.2);
        font-size: 24px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .project-details .swiper-button-prev:hover:after,
    .project-details .swiper-button-next:hover:after {
        background-color: rgba(0, 0, 0, 0.6);
    }

@media (max-width: 575px) {

    .project-details .swiper-button-prev,
    .project-details .swiper-button-next {
        display: none;
    }
}

.project-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

    .project-details .portfolio-info h3:after {
        content: "";
        position: absolute;
        display: block;
        width: 50px;
        height: 3px;
        background: var(--color-primary);
        left: 0;
        bottom: 0;
    }

.project-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .project-details .portfolio-info ul li {
        display: flex;
        flex-direction: column;
        padding-bottom: 15px;
    }

    .project-details .portfolio-info ul strong {
        text-transform: uppercase;
        font-weight: 400;
        color: #838893;
        font-size: 14px;
    }

.project-details .portfolio-info .btn-visit {
    padding: 8px 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    transition: 0.3s;
}

    .project-details .portfolio-info .btn-visit:hover {
        background: #ffc019;
    }

.project-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.project-details .portfolio-description p {
    padding: 0;
}

.project-details .portfolio-description .testimonial-item {
    padding: 30px 30px 0 30px;
    position: relative;
    background: #f5f6f7;
    height: 100%;
    margin-bottom: 50px;
}

    .project-details .portfolio-description .testimonial-item .testimonial-img {
        width: 90px;
        border-radius: 50px;
        border: 6px solid #fff;
        float: left;
        margin: 0 10px 0 0;
    }

    .project-details .portfolio-description .testimonial-item h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 15px 0 5px 0;
        padding-top: 20px;
    }

    .project-details .portfolio-description .testimonial-item h4 {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
    }

    .project-details .portfolio-description .testimonial-item .quote-icon-left,
    .project-details .portfolio-description .testimonial-item .quote-icon-right {
        color: #ffd565;
        font-size: 26px;
        line-height: 0;
    }

    .project-details .portfolio-description .testimonial-item .quote-icon-left {
        display: inline-block;
        left: -5px;
        position: relative;
    }

    .project-details .portfolio-description .testimonial-item .quote-icon-right {
        display: inline-block;
        right: -5px;
        position: relative;
        top: 10px;
        transform: scale(-1, -1);
    }

    .project-details .portfolio-description .testimonial-item p {
        font-style: italic;
        margin: 0 0 15px 0 0 0;
        padding: 0;
    }

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    padding: 10px 30px;
    border: 1px solid #d5d7da;
    margin-bottom: 20px;
}

    .service-details .services-list a {
        display: block;
        line-height: 1;
        padding: 8px 0 8px 15px;
        border-left: 3px solid #d9e3e8;
        margin: 20px 0;
        color: var(--color-secondary);
        transition: 0.3s;
    }

        .service-details .services-list a.active {
            font-weight: 700;
            border-color: var(--color-primary);
        }

        .service-details .services-list a:hover {
            border-color: var(--color-primary);
        }

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 28px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .service-details ul li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .service-details ul i {
        font-size: 20px;
        margin-right: 8px;
        color: var(--color-primary);
    }

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Main Section
--------------------------------------------------------------*/
.main {
    overflow-x: hidden;
    padding: 0;
}

    .main .carousel {
        width: 100%;
        min-height: 100vh;
        padding: 120px 0 80px; /* increased padding-top from 80px to 120px */
        margin: 0;
        position: relative;
    }

    .main .carousel-item {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
        z-index: 1;
        transition-duration: 0.4s;
    }

        .main .carousel-item::before {
            content: "";
            background-color: rgba(0, 0, 0, 0.7);
            position: absolute;
            inset: 0;
        }

    .main .info {
        position: absolute;
        inset: 0;
        z-index: 2;
        margin-top: 50px;
    }

        .main .info h2 {
            color: #fff;
            margin-bottom: 15px;
            padding-bottom: 15px;
            font-size: 2.2em;
            font-weight: 700;
            position: relative;
        }

            .main .info h2:after {
                content: "";
                position: absolute;
                display: block;
                width: 80px;
                height: 2px;
                background: var(--color-primary);
                left: 0;
                right: 0;
                bottom: 0;
                margin: auto;
            }

@media (max-width: 768px) {
    .main .info h2 {
        font-size: 30px !important; /* Adjust for mobile */
        line-height: 1.2;
        margin-top: 10px; /* Less top margin */
    }
}


.main .info p {
    color: rgba(255, 255, 255, 1.0);
    font-size: 18px;
}

.main .info .btn-get-started {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    color: #fff;
    border: 2px solid var(--color-primary);
}

    .main .info .btn-get-started:hover {
        background: var(--color-primary);
    }

.main .carousel-control-prev {
    justify-content: start;
}

@media (min-width: 640px) {
    .main .carousel-control-prev {
        padding-left: 15px;
    }
}

.main .carousel-control-next {
    justify-content: end;
}

@media (min-width: 640px) {
    .main .carousel-control-next {
        padding-right: 15px;
    }
}

.main .carousel-control-next-icon,
.main .carousel-control-prev-icon {
    background: none;
    font-size: 26px;
    line-height: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #feb900;
    border-radius: 50px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.main .carousel-control-prev,
.main .carousel-control-next {
    z-index: 3;
    transition: 0.3s;
}

    .main .carousel-control-prev:focus,
    .main .carousel-control-next:focus {
        opacity: 0.5;
    }

    .main .carousel-control-prev:hover,
    .main .carousel-control-next:hover {
        opacity: 0.9;
    }



/*--------------------------------------------------------------
# Consultation / Estimate
--------------------------------------------------------------*/
.consultation {
    overflow: hidden;
    padding-top: 100px;
    padding-right: 0;
    padding-bottom: 80px;
    padding-left: 0;
}

@media (max-width: 767px) {
    .consultation {
        overflow: hidden;
        padding-top: 50px;
        padding-right: 0;
        padding-bottom: 80px;
        padding-left: 0;
    }
}

.consultation-bg {
    background-color: #f5f6f7;
}

.consultation-header {
    text-align: center;
    padding-bottom: 50px;
}

    .consultation-header h2 {
        font-size: 2em;
        font-weight: 700;
        position: relative;
        color: #2e3135;
        white-space: nowrap;
    }

@media (max-width: 767px) {
    .consultation-header h2 {
        font-size: 1.5em; /* Reduced for smaller screens */
        font-weight: 700;
        position: relative;
        color: #2e3135;
        white-space: normal; /* Allows wrapping on small screens */
    }
}

.consultation-header h2:before,
.consultation-header h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--color-primary);
    display: inline-block;
}

@media (max-width: 767px) {
    .consultation-header h2::before,
    .consultation-header h2::after {
        content: none !important;
        display: none !important;
    }
}


.consultation-header h2:before {
    margin: 0 15px 10px 0;
}

.consultation-header h2:after {
    margin: 0 0 10px 15px;
}

.consultation-header p {
    margin: 0 auto 0 auto;
}

@media (min-width: 1199px) {
    .consultation-header p {
        max-width: 60%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    color: #fff;
    background-size: cover;
    font-size: .9em;
    padding: 80px 0 60px 0;
    position: relative;
    background-color: #000;
    background-image: url(../img/footer-bg.webp);
    background-repeat: no-repeat;
    background-position: center top;
}

    .footer:before {
        content: "";
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        inset: 0;
    }

    .footer .footer-content .footer-info {
        margin-bottom: 30px;
    }

        .footer .footer-content .footer-info h3 {
            font-size: 28px;
            margin: 0 0 20px 0;
            padding: 2px 0 2px 0;
            line-height: 1;
            font-weight: 700;
            text-transform: uppercase;
        }

            .footer .footer-content .footer-info h3 span {
                color: var(--color-primary);
            }

        .footer .footer-content .footer-info p {
            font-size: 14px;
            line-height: 24px;
            margin-bottom: 0;
            font-family: var(--font-primary);
            color: #fff;
        }

    .footer .footer-content .social-links a {
        font-size: 18px;
        display: inline-block;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        line-height: 1;
        margin-right: 8px;
        border-radius: 4px;
        width: 36px;
        height: 36px;
        transition: 0.3s;
    }

        .footer .footer-content .social-links a:hover {
            text-decoration: none;
            background-color: #ffc732;
        }

    .footer .footer-content h4 {
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        position: relative;
        padding-bottom: 12px;
    }

    .footer .footer-content .footer-links {
        margin-bottom: 30px;
    }

        .footer .footer-content .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .footer .footer-content .footer-links ul li {
                padding: 8px 0;
            }

                .footer .footer-content .footer-links ul li:first-child {
                    padding-top: 0;
                }

            .footer .footer-content .footer-links ul a {
                color: rgba(255, 255, 255, 0.6);
                transition: 0.3s;
                display: inline-block;
                line-height: 1;
                font-weight: 700;
            }

                .footer .footer-content .footer-links ul a:hover {
                    color: #ffc732;
                }

    .footer .footer-legal .copyright {
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .footer .footer-legal .credits {
        padding-top: 4px;
        font-size: 13px;
        color: #fff;
    }

        .footer .footer-legal .credits a {
            color: var(--color-primary);
        }

.ft-bold {
    font-weight: 900;
    color: #FFF;
    font-size: 1.2em;
}

.FA {
    color: #FFF !important;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

    .FA:hover {
        color: #ffc732 !important;
        -webkit-text-decoration-color: #ffc732, var(--bs-link-underline-opacity, 1)) !important;
        text-decoration-color: #ffc732, var(--bs-link-underline-opacity, 1)) !important;
        text-decoration: none;
    }
/*--------------------------------------------------------------
# Mobile main Section (Responsive for smaller devices)
--------------------------------------------------------------*/

@media (max-width: 768px) {
    .main .info h2 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-top: 10px !important;
        text-wrap: balance;
        word-break: break-word;
    }

    .main .carousel {
        padding-top: 150px !important;
    }
}
