/* ==========================================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    display: flex;
    flex-direction: column;
    background-color: white;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 10px 0;
    padding: 10px 0;
    color: #000;
}

.iti {
    width: 100%;
    color: #899096;
}

    .iti,
    .iti * {
        transition: none !important;
    }

.tel {
    padding-bottom: 15px;
}

.card-icon {
    color: #000;
}

#contact-form {
    min-height: 85vh;
}

.who-we-are-image {
    width: auto;
    height: auto;
    max-height: 50vh;
}

.mission-h2 {
    font-size: 2.5rem;
}

.introduction-h2 {
    font-size: 1.3rem;
    padding: 0px;
    margin: 0px;
}

.contact-h6 {
    padding: 0px;
    margin: 0px;
}

.fc-grey {
    color: #899096;
}

.form-control::placeholder {
    color: #899096;
    opacity: 1;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.btn-submit {
    width: 130px;
}

/* ==========================================================================
   SEARCH BOX STYLES (Desktop)
   ========================================================================== */
.search-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #000;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

    .search-toggle:hover {
        color: #4b4b4b;
    }

.search-dropdown {
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    display: none;
    z-index: 1000;
    min-width: 250px;
    border-top: 3px solid #313131;
}

    .search-dropdown.show-search {
        display: flex;
    }

    .search-dropdown input {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 4px 0 0 4px;
        outline: none;
    }

    .search-dropdown .search-submit {
        background: #212529;
        color: #fff;
        border: none;
        padding: 8px 15px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }

.search-submit:hover {
    background: #333;
}

/* ==========================================================================
   2. NAVIGATION BAR (Desktop)
   ========================================================================== */
.navigation {
    min-height: 70px;
    height: auto;
    background: #ffffff;
    position: relative;
}

    .navigation::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, #e32636 0%, #e32636 33.3%, #ffb300 33.3%, #ffb300 66.6%, #0088a9 66.6%, #0088a9 100%);
        z-index: 999;
    }

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
}

.logo {
    position: absolute;
    float: left;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000;
    padding-top: 15px;
}

    .logo img {
        height: 40px;
        width: auto;
    }

nav {
    float: right;
}

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        nav ul li {
            float: left;
            position: relative;
        }

            nav ul li a,
            nav ul li a:visited {
                display: block;
                padding: 0 20px;
                line-height: 70px;
                text-decoration: none;
                color: #000;
                background-color: #fff;
            }

                nav ul li a:not(:only-child):after,
                nav ul li a:visited:not(:only-child):after {
                    padding-left: 4px;
                    content: " ▾";
                }

            nav ul li ul li {
                min-width: 190px;
            }

                nav ul li ul li a {
                    padding: 15px 0 15px 18px;
                    line-height: 20px;
                }

.nav-dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ==========================================================================
   3. NAVIGATION BAR (Mobile & Toggle)
   ========================================================================== */
.nav-mobile {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: #ffffff;
    height: 70px;
    width: 70px;
    color: #000;
    z-index: 900;
}

    .nav-mobile a {
        display: block;
        width: 100%;
        height: 100%;
        text-align: center;
        line-height: 70px;
    }

#nav-toggle {
    position: absolute;
    left: 18px;
    top: 22px;
    cursor: pointer;
    padding: 10px 35px 16px 0;
    color: #000;
}

    #nav-toggle span,
    #nav-toggle span:before,
    #nav-toggle span:after {
        cursor: pointer;
        border-radius: 1px;
        height: 5px;
        width: 35px;
        background: #212529;
        position: absolute;
        display: block;
        content: "";
        transition: all 300ms ease-in-out;
    }

        #nav-toggle span:before {
            top: -10px;
        }

        #nav-toggle span:after {
            bottom: -10px;
        }

    #nav-toggle.active span {
        background-color: transparent;
    }

        #nav-toggle.active span:before,
        #nav-toggle.active span:after {
            top: 0;
        }

        #nav-toggle.active span:before {
            transform: rotate(45deg);
        }

        #nav-toggle.active span:after {
            transform: rotate(-45deg);
        }

/* ==========================================================================
   4. HERO SECTIONS
   ========================================================================== */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

.hero-medium {
    min-height: 10vh;
    display: flex;
    align-items: center;
    padding: 20px;
}

.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-header {
    background-image: var(--bg-img, url('images/01.jpg')), radial-gradient(ellipse 50% 100% at 40% 0%, rgb(255, 255, 255), transparent), radial-gradient(ellipse 50% 100% at 40% 0%, rgb(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 75% 0%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 255, 255, 0.8), transparent), linear-gradient(-45deg, #0090bd, #2a9e5e, #fd8d05, #f91a0b), linear-gradient(rgba(90, 90, 90, 0.8), rgba(255, 255, 255, 0.8));
    background-size: cover, cover, 800px auto, 800px auto, 800px auto, cover, cover;
    background-position: center, left top, left top, right top, 60% 120%, center, top left;
    background-repeat: no-repeat;
    background-blend-mode: multiply, overlay, overlay, overlay, overlay, normal, normal;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.hero-orange {
    background-image: radial-gradient(ellipse 60% 100% at 50% 0%, rgb(255, 255, 255), transparent), radial-gradient(ellipse 60% 100% at 50% 0%, rgb(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 75% 0%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 255, 255, 0.8), transparent), linear-gradient(-45deg, #0090bd, #2a9e5e, #fd8d05, #f91a0b), linear-gradient(rgba(90, 90, 90, 0.8), rgba(255, 255, 255, 0.8));
    background-size: cover, cover, 800px auto, 800px auto, 800px auto, cover, cover;
    background-position: center, left top, left top, right top, 60% 120%, center, top left;
    background-repeat: no-repeat;
    background-blend-mode: multiply, overlay, overlay, overlay, overlay, normal, normal;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.hero-blue {
    background-image: radial-gradient(ellipse 50% 100% at 25% 0%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 75% 0%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 255, 255, 0.8), transparent), linear-gradient(to right, #00bcf5, #28b8e5), linear-gradient(rgba(90, 90, 90, 0.35), rgba(255, 255, 255, 0.35));
    background-size: 1200px auto, 800px auto, 800px auto, cover, cover;
    background-position: left top, right top, 60% 120%, center, top left;
    background-repeat: no-repeat;
    background-blend-mode: overlay, overlay, overlay, multiply;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.hero-green {
    background-image: radial-gradient(ellipse 50% 100% at 25% 0%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 75% 0%, rgba(255, 255, 255, 0.8), transparent), radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 255, 255, 0.8), transparent), linear-gradient(to right, #56ab2f, #a8e063), linear-gradient(rgba(90, 90, 90, 0.35), rgba(255, 255, 255, 0.35));
    background-size: 1200px auto, 800px auto, 800px auto, cover, cover;
    background-position: left top, right top, 60% 120%, center, top left;
    background-repeat: no-repeat;
    background-blend-mode: overlay, overlay, overlay, multiply;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.hero-title,
.hero-subtitle {
    color: #ffffff;
}

.hero-header-no-image {
    background-image: url(images/bg-banner.png);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.hero-blue-image {
    background-image: url(images/bg-blue.png);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.hero-green-image {
    background-image: url(images/bg-green.png);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.hero-orange-image {
    background-image: url(images/bg-orange.png);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

/* ==========================================================================
   5. PROJECTS CAROUSEL SECTION
   ========================================================================== */
.projects-wrapper {
    position: relative;
    width: 100%;
}

.projects {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

    .projects::-webkit-scrollbar {
        display: none;
    }

.project-item {
    flex: 0 0 25%;
    scroll-snap-align: start;
}

.project-image {
    width: 100%;
    height: 350px;
    background-color: #212529;
    position: relative;
    overflow: hidden;
}

    .project-image::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
        pointer-events: none;
        z-index: 2;
        transform: translateY(50%);
        transition: transform 0.5s ease;
    }

    .project-image:hover::after {
        transform: translateY(0);
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        cursor: pointer;
    }

    .project-image:hover img {
        transform: scale(1.1);
    }

.project-info {
    padding: 20px 15px 50px 15px;
    margin: 0px;
    background-color: #f7f9f9;
}

    .project-info h6 {
        font-size: 16px;
        margin-bottom: 4px;
        color: #000;
        text-transform: uppercase;
    }

    .project-info p {
        font-size: 12px;
        margin-bottom: 5px;
    }

.nav-btn-projects {
    position: absolute;
    top: 175px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: transparent;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: 0.2s ease-in-out;
}

    .nav-btn-projects:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

/* ==========================================================================
   6. TESTIMONIALS & QUOTES
   ========================================================================== */
.testimonial-section {
    background-color: #525252;
    color: #ffffff;
    padding-bottom: 80px;
}

.header-text h2 {
    color: #ffffff;
}

.lead-custom {
    font-size: 1rem;
}

.text-muted-custom {
    color: #c0c0c0 !important;
}

.fw-normal-custom {
    margin: 0px;
    padding: 0px;
    font-weight: 400;
}

.testimonial-bubble {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 30px;
    position: relative;
    color: #4f4f4f;
    margin-bottom: 15px;
}

    .testimonial-bubble::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 25px;
        border-width: 10px 15px 0 15px;
        border-style: solid;
        border-color: #f8f9fa transparent transparent transparent;
    }

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    display: inline;
}

.quote-icon {
    color: #5bc0de;
    font-size: 3rem;
    line-height: 0;
    position: relative;
    font-weight: bold;
    top: -50px;
}

.quote-left {
    top: 15px;
    margin-right: 8px;
}

.quote-right {
    top: 15px;
    margin-left: 5px;
}

.author-area {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background-color: #bcc5c8;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #b5b5b5;
}

.carousel-controls-custom {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.custom-arrow {
    width: 28px;
    height: 28px;
    border: 1px solid #888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

    .custom-arrow:hover {
        border-color: #ffffff;
        color: #ffffff;
    }

/* ==========================================================================
   7. CONTACT & FORMS
   ========================================================================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-control {
    border: 2px solid #6c757d;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
}

    .form-control:focus {
        border-color: #000;
        box-shadow: none;
    }

.btn-outline-dark {
    border: 2px solid #6c757d;
    border-radius: 10px;
    padding: 8px 30px;
    font-weight: 500;
}

.contact-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    border: 1px solid #333;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon-no-border {
    font-size: 1.2rem;
    margin-right: 15px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   8. COMPONENTS (Tabs, Socials, Utilities)
   ========================================================================== */
.footer-image {
    background-image: url(images/bg-footer.png);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.who-we-are {
    background-color: #f7f9f9;
    border-top: #f1f3f3 solid 5px;
}

.service-tabs .service-tab {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.tab-blue {
    background-color: #0090bd;
}

.tab-yellow {
    background-color: #ffcc00;
}

.tab-green {
    background-color: #2a9e5e;
}

.testimonial-box {
    background: #f1f1f1;
    border-radius: 8px;
    position: relative;
    padding: 20px;
}

    .testimonial-box::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 40px;
        border-width: 10px;
        border-style: solid;
        border-color: #f1f1f1 transparent transparent transparent;
    }

.nav-btn {
    cursor: pointer;
    background: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.social-icons .bi {
    font-size: 1.5rem;
    background: #000;
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    margin-right: 10px;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #212529;
    color: #ffffff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    .scroll-top-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top-btn:hover {
        background-color: #333;
        transform: translateY(-3px);
    }

.placeholder-box {
    background-color: #ededed;
    border-radius: 8px;
    width: 100%;
}

.box-large {
    min-height: 400px;
    height: 100%;
}

.box-small {
    min-height: 192px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.fs-footer {
    font-size: 1rem;
}
.card{
    cursor:pointer;
}
/* ==========================================================================
   9. MEDIA QUERIES (Responsiveness & Mobile Fixes)
   ========================================================================== */
.hero-header,
.hero-orange,
.hero-blue,
.hero-green {
    background-size: cover !important;
}


@media (max-width: 1200px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

        .hero h1 {
            font-size: 2rem;
        }

    .nav-container {
        padding: 0 20px;
    }

    .project-item {
        flex: 0 0 25%;
    }

    .service-tab {
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

    .project-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 1000px) {
    .service-tab {
        min-height: 100px;
    }
}

@media screen and (min-width: 850px) {
    .nav-list {
        display: block !important;
    }

    .author-info-title {
        margin: 0;
    }
}

@media (max-width: 850px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

        .hero h1 {
            font-size: 1.5rem;
        }

    .nav-mobile {
        display: block;
    }

    .logo {
        position: relative;
        display: flex;
        align-items: center;
        padding: 15px 0 15px 18px;
    }

    nav {
        float: none;
        z-index: 999;
        width: 100%;
        position: relative;
    }

        nav ul {
            position: relative;
            clear: both;
            width: 100%;
            background: #fff;
            display: none;
            padding-bottom: 20px;
        }

            nav ul.show-menu {
                display: block !important;
            }

            nav ul li {
                float: none;
            }

                nav ul li a {
                    padding: 15px;
                    line-height: 20px;
                }

                nav ul li ul li a {
                    padding-left: 30px;
                }

    .nav-dropdown {
        position: static;
    }

    .search-item {
        height: auto;
        padding: 15px 20px;
        display: block;
    }

    .search-toggle {
        display: none;
    }

    .search-dropdown {
        position: static;
        display: flex !important;
        box-shadow: none;
        padding: 0;
        min-width: 100%;
        border-top: none;
    }

    .author-info-title {
        margin: 0px;
        padding: 0px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
        text-align: center;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .author-info-title {
        margin: 0;
    }

    .project-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 570px) {
    .service-tab {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .hero {
        text-align: center;
        padding: 40px 20px;
        margin: auto;
    }

    .hero-title-wrapper {
        margin: auto;
        align-self: center;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .service-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .social-icons .bi {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .project-item {
        flex: 0 0 100%;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .project-info {
        padding: 20px 15px 50px 15px;
    }

    .search-item {
        height: auto;
        padding: 15px 20px;
    }

    .author-info-title {
        margin: 0px;
        padding: 0px;
    }

    .project-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }
}

@media (max-width: 390px) {
    .fs-footer{
        font-size:14px;
    }
}

@media (max-width: 340px) {
    .hero {
        text-align: center;
        padding: 40px 20px;
        margin: auto;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }

    .author-info-title {
        margin: 0px;
        padding: 0px;
    }
}

.image-placeholder {
    background-color: #cccccc;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
}

.detail-row {
    padding: 8px 0;
    border-bottom: 1.5px solid #999;
    font-size: 0.95rem;
}

    .detail-row:last-of-type {
        border-bottom: none;
    }

.btn-controls {
    border-color: #ddd;
    color: #333;
    background-color: #fff;
    padding: 4px 12px;
}

    .btn-controls:hover {
        background-color: #f8f9fa;
    }
