@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #29c328;
    --tertiary-color: #ffffff;
}

body {
    background: #f8f8f8;
}

/* ============================== */
/* ===slide up===== */
section {
    opacity: 0;
    position: relative;
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}



/* ============================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'PT Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.head,
.text {
    color: var(--primary-color);
}

p,
li {
    font-family: 'PT Sans', sans-serif;
    font-optical-sizing: auto;
    font-size: 15px;
}


.hero {
    position: relative;
    /*padding-top: 70px;*/
    height: 80vh !important;
    width: 100%;
    overflow: hidden;

}

/* Carousel Full Height */
.carousel-inner,
.carousel-item img {
    height: 70vh;
    object-fit: cover;
    /*width: 100%;*/
    
    
    
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    top: 12%;
    /* text-align: center; */
    width: 100%;
    padding: 0 15px;
    z-index: 1;
}

/* Hero Heading */
.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

/* Search Bar Styling */
.search-bar {
    max-width: 1200px;
    margin: 0 auto;
}

.search-bar input {
    background: transparent;
    border:2px solid var(--tertiary-color);
    box-shadow: 1px 1px 2px #5a5a5a,
        -1px -1px 2px var(--tertiary-color);
}

.search-bar input::placeholder {
    color: grey;
}

.search-bar input:focus {
    box-shadow: 4px 2px 1px #5a5a5a,
        -4px -2px 1px var(--tertiary-color);
}

.search-input {
    border-radius: 5px;
    padding: 12px 50px 12px 20px;
    /* Left padding for text, right space for icon */
    font-size: 16px;
    max-width: 1200px;
    outline: none;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--tertiary-color);
    cursor: pointer;
}

/* Media Query for Tablets */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content {
        position: absolute;
        top: 9%;
    }

    .search-bar {
        max-width: 90%;
    }
}

/* Media Query for Mobile Devices */
@media screen and (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .carousel-inner,
    .carousel-item img {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 32px;
        padding: 10px;
    }
}

@media screen and (max-width: 450px) {
    .hero {
        height: 35vh !important;
    }
}


/* Media Query for Small Mobile Devices */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .search-bar {
        max-width: 100%;
    }
}

/* Ensure carousel controls are above hero content */
.carousel-control-prev,
.carousel-control-next {
    z-index: 15;
    /* Higher than the hero-content z-index */
}

/* @media screen and (max-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

} */

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: box-shadow .15s ease-in-out;
    display: block !important;
}

.navbar-toggler-icon {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
    padding: 0.25rem;
    border-radius: 3px;
}

@media screen and (max-width: 768px) {

    .navbar>.container,
    .navbar>.container-fluid,
    .navbar>.container-lg,
    .navbar>.container-md,
    .navbar>.container-sm,
    .navbar>.container-xl,
    .navbar>.container-xxl {
        display: flex;
        flex-wrap: unset !important;
        align-items: center;
        justify-content: space-between;
    }
}

/* =============================================== */


.breadcrumb {
    background: none;
    /* Remove default background */
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
}

.breadcrumb-item {
    display: inline-block;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    margin-right: 8px;
    position: relative;
}

.breadcrumb-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.breadcrumb-item a:hover {
    color: #ff5733;
}

.breadcrumb-item.active {
    color: #d3d3d3;
    font-weight: 700;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    color: #d3d3d3;
    margin-left: 8px;
}

.blog-details .card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.blogs {
    background: #def6e5;
}

.blogs .card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blogs .card .card-title {
    color: #11213a;
}

.background {
    background: #def6e5;
}

.blogs a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.form-group {
    margin-bottom: 10px;
}

label {
    font-weight: 700;
    color: #1b3971;
}

.form-control {
    border: 1px solid black;
    background: var(--tertiary-color);
    color: black;
}

.form-select {
    border: 1px solid black;
}



.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff5733;
    background: var(--secondary-color);
    color: var(--tertiary-color);
    outline: none;
}

/* .form-select {
    background: var(--secondary-color);
    color: var(--tertiary-color);

    outline: none;
} */

.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/background/contact.jpg);
    background-size: cover;
    color: var(--tertiary-color);
}

.contact .contact-form {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.map {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(../images/background/map.png);
}

/* ======================================= */
.list-group-item {
    border: none;
    transition: all 0.6s ease-in-out;
}



.list-group-item i {
    background-color: green;
    padding: 5px;
    border-radius: 50%;
    color: var(--tertiary-color);
}

ul li {
    list-style: none;
}

/* ============================================ */
/* .our-teams .card img{
    width: 100%;
    height: 250px;
    object-fit: contain;
} */
/* .dream {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/others/1.jpg);
    color: var(--tertiary-color);
} */

/* ===================================== */
.contact li a {
    color: var(--tertiary-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* ==================btn css======================= */
/* ============================== */

/* From Uiverse.io by sekaiking */
.btn {
    background-color: var(--tertiary-color);
    color: black;
    border-radius: 10em;
    font-size: 17px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 1px solid black;
    box-shadow: 0 0 0 0 black;
    transition: all 0.7s ease-in-out;
}

.btn:hover {
    transform: translateY(-4px) translateX(-2px);
    box-shadow: 2px 5px 0 0 black;
    background: var(--secondary-color);
    color: var(--tertiary-color);
    transition: all 0.7s ease-in-out;
}

.btn:active {
    transform: translateY(2px) translateX(1px);
    box-shadow: 0 0 0 0 black;
}

/* =========================================== */
.designs a {
    text-decoration: none;
    color: var(--primary-color);
}

.designs .card {
    background: var(--tertiary-color);
    border-radius: 20px;
    /* box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.6); */
    transition: all 0.5s ease-in-out;
    margin-bottom: 40px;
}

.designs .card:hover {
    transform: translateY(-5px);
    /* box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.8); */
}

/* ================================================ */
.contractor-workers .box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 10%, var(--secondary-color) 100%);
    /* background: var(--primary-color); */
    padding: 0;
    border-radius: 10px;
    box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
    transition: all 0.5s ease-in-out;
}

.contractor-workers .box:hover {
    transform: translateY(-10px);
    transition: all 0.5s ease-in-out;
}

.contractor-workers .box p {
    color: var(--tertiary-color);
    font-size: 15px;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .contractor-workers .box p {
        font-size: 13px;
    }

    .contractor-workers .box {
        padding: 4px;
        height: 130px;
    }

    .contractor-workers .box img {
        height: 30px;
    }

}

/* ================================= */
/* .search-bar input {
    border-radius: 35px;
}

.search-bar .input-group-text {
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
} */

/* =================================== */
/* .modal-content {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(assets/images/banner/banner.webp);
    background-size: cover;
    background-position: center;
    color: var(--tertiary-color);
} */

/*.modal-modal {*/
/*    z-index: 999999;*/
/*}*/

.iti__country-list {
    background: black !important;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    padding: 10px;
    z-index: 2;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0 0 0 -1px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    width: 400px;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ======================================== */
.iti {
    width: 100% !important;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: var(--secondary-color);
    /* Optional: Background color */
    border-right: 1px solid #ced4da;
    /* Add a border */
    padding: 10px;
    /* Adjust padding */
    color: var(--secondary-color);
}

.iti input[type="tel"] {
    width: 100% !important;
    padding-left: 100px !important;
    /* Adjust padding so text doesn't overlap */
}

/* ====================================================================== */
.btn-outline-success {
    color: var(--tertiary-color);
    padding: 10px;
    border-radius: 6px;
    background-color: var(--secondary-color);
    width: 100%;
    margin-bottom: 4px;
}