@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --lightTheme: #cfa02e;
    --theme: #2f2c26;
    --white: #fff;
}

a {
    color: var(--white);
    text-decoration: none;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--theme);
}

::-webkit-scrollbar-track {
    background-color: var(--white);
}

ul {
    padding: 0;
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: ui-monospace;
}

.text-theme {
    color: var(--lightTheme);
}

.btn.btn-primary {
    background-color: var(--lightTheme);
    color: var(--white);
    letter-spacing: 2px;
    margin: 0 10px;
    border: none;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 30px;
}

.btn.btn-light {
    background-color: var(--white);
    color: var(--lightTheme);
    letter-spacing: 2px;
    margin: 0 10px;
    border: none;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 30px;
}

.top-nav {
    width: 80%;
    margin: auto;
    background: var(--lightTheme);
    color: var(--white);
    font-weight: 200;
    border-radius: 0 0 30px 30px;
    padding: 0.5rem 2rem;

    position: fixed;
    width: 80%;
    top: 0;
    transform: translate(-50%, 0px);
    left: 50%;
    z-index: 1;
}

nav.navbar {
    position: fixed;
    width: 100%;
    top: 42px;
    z-index: 3;
    background: transparent;
    transition: 0.4s all;
}

.conditional-nav {
    top: 0 !important;
    background-color: var(--theme) !important;
    transition: 0.4s all;
}

nav .nav-link,
.nav-link.active {
    color: var(--white) !important;
}

.carousel-item-img {
    background-image: url(../images/img1.jpg);
    height: 550px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-control-next, .carousel-control-prev {
    width: 3%;
}

.section-devider {
    background-color: #ececec;
}

.carousel-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(138deg, #1d201fde 30%, rgba(154, 154, 154, 0.133) 100%);
}

.about-img1 {
    border: 5px solid var(--theme);
    border-radius: 0 50px 0 50px;
}

.about-img2 {
    position: absolute;
    bottom: 0;
    right: 100px;
    border: 5px solid var(--theme)
}

.carousel-indicators {
    bottom: -50px;
    z-index: 0
}

.carousel-indicators [data-bs-target] {
    background: var(--theme);
    border-radius: 100%;
    height: 0px;
    width: 20px;
}

/* ===========gallery section============= */

.services .card{
    transition: 0.4s all;   
    overflow: hidden;
}

.services .card-img-top{
    height: 170px;
    object-fit: cover;
    filter: brightness(0.8);
}

.services .card-body{
    max-height: 145px;
    min-height: 145px;
    overflow: hidden;
    text-align: justify;
}

.services .card:hover {
    transition: 0.4s all;
    box-shadow: 0 0 10px 10px #bbbbbb;
}

/* ===========gallery section============= */
.seeLess{
    height: 340px;
    overflow: hidden;
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    justify-content: center;
}

.photo {
    position: relative;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.photo:hover .overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    margin-bottom: 20px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.lightbox button {
    position: absolute;
    background: none;
    border: 2px solid #fff;
    color: #fff;
    font-size: 20px;
    padding: 10px 20px;
    cursor: pointer;
    bottom: 0;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

/* ===========gallery section============= */



/* ==========Testimonial section========== */
.testimonial .card {
    border-radius: 70px 0 70px 70px;
    height: 165px;
}

/* =============banner section============= */
.banner {
    background-image: url(../images/img1.jpg);
    height: 400px;
    width: 100%;
    background-size: cover;
    color: #fff;
    background-position: center;
}

.center {
    display: grid;
    place-content: center;
    backdrop-filter: brightness(0.5);
}

.center button {
    width: fit-content;
}

.contact form input::placeholder{
    color: #8d8d8d;
    font-size: 13px;
}



/* =============footer section============= */
footer {
    background-color: var(--theme);
    color: var(--white);
}


/*======== floating icon =========*/
.whatapp-icon{
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.whatapp-icon img{
    width: 70px;
}
/*======== floating icon =========*/



.modal-img{
    height: 460px;
    object-fit: cover;
    border: 5px solid;
    border-radius: 10px;
}

/*======== Anmation for sections =========*/
.section {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease, transform 2s ease;
}

/* Visible state for sections */
.section-visible {
    opacity: 1;
    transform: translateY(0);
}
/*======== Anmation for sections =========*/


/*================ Process Steps ====================*/
.timeline {
    --color1: var(--theme);
    --color2: var(--lightTheme);
    --color3: var(--theme);
    --color4: var(--lightTheme);
    --color5: var(--theme);
    --color6: var(--lightTheme);
    --color7: var(--theme);
    margin-left:100px;
    padding: 200px 0;
    display: inline-flex;
}
.timeline-item {
    position: relative;
    width:150px;
    height:30px;
    display:inline-table;
}

.timeline-item:nth-child(1) {
    width:75px;
}

.arrow-end {
    position: absolute;
    right: -15px;
    width: 0; 
    height: 0; 
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;  
}

.circle {
    position: absolute;
    background-position: center center;
    border-radius: 25px;
    transform: translate(-50%, -50%);
    top:50%;
    left: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 0 12px 0px #4d4d4d;
}

.timeline-item:nth-child(1) .circle {
    left: 0;
}

.inner-circle {
    position: absolute;
    transform: translate(-50%, -50%);
    top:50%;
    left: 50%;
    width:40px;
    height: 40px;
    border-radius: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size:30px 30px;
    background-color: #fff;
    box-shadow: inset 0px 0px 6px 0px #000;
}

.buble-content {
    overflow: hidden;
    text-align: center;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 0 12px 0px #4d4d4d;
    width:165px;
    height: 100px;
}

.timeline-item:nth-child(odd) .buble-content {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    top: -150px;
}

.timeline-item:nth-child(even) .buble-content {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    bottom: -160px;
}

.timeline-item:nth-child(1) .buble-content {
    left: -75px;
}

.content-year {
    padding:5px;
    color:#fff;
    font-size: 20px;
}

.timeline-item:nth-child(even) .content-year-bottom  {
    position: absolute;
    width: 165px;
    bottom: 0;
}

.content {
    margin: auto 0;
    padding: 5px;
    color: #000;
    font-size: 18px;
    height: 60px;
    display: block;
    position: relative;
}

.content p {
    display: flex;
    height: 100%;
    margin: auto 0;
    font-size: 12px;
    flex-direction: column;
    justify-content: space-around;
}

.content-half-circle {
    position: absolute;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 50px;
    height: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .content-half-circle {    
    top: -50px;
    left: 50%;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: 1px 10px 9px 0px #bbbbbb;
}

.timeline-item:nth-child(even) .content-half-circle {
    bottom: -70px;
    left: 50%;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    box-shadow: -1px -9px 9px 0px #bbbbbb;
}

.timeline-item:nth-child(1) .content-half-circle {
    left: 0;
}

.grey-line {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 2px;
    height:80px;
    background-color: #b7b7b7;
}

.timeline-item:nth-child(odd) .grey-line {
    top:-30px;
    left: 50%;
}

.timeline-item:nth-child(even) .grey-line {
    bottom:-130px;
    left: 50%;
}

.timeline-item:nth-child(1) .grey-line {
    left: 0;
}
/*================ Process Steps ====================*/


.bi-person-circle{
    margin-bottom: 0;
}



/* =============Media Query============= */
@media only screen and (max-width: 400px) {
    .top-nav {
        display: none !important;
    }

    .about-img1,
    .about-img2 {
        width: 100%;
    }

    nav.navbar{
        top: 0 !important;
    }

    .social-media-icons{
        display: none;
    }

}

@media only screen and (max-width: 500px) {
    .top-nav {
        width: 100%;
    }

    .top-nav p{
        font-size: 12px;
    }

    nav.navbar{
        top: 42px;
    }

    .carousel-control-prev {
        display: none;
    }

    .carousel-control-next {
        display: none;
    }

    .navbar-collapse {
        background: var(--theme);
        padding: 1rem;
    }

    .images-container {
        text-align: center;
    }

    .sm-d-none {
        display: none;
    }

    .carousel-content {
        padding-top: 5rem;
    }

    .contact .input-groups {
        flex-wrap: wrap;
    }

    .gallery {
        padding: 0;
    }

    .photo {
        position: relative;
        width: 165px;
        height: 150px;
        overflow: hidden;
        border-radius: 10px;
        cursor: pointer;
    }

    .modal-img{
        height: 260px;
        margin-bottom: 2rem;
    }

    .col-lg-6{
        margin-top: 1rem;
    }

}

@media only screen and (max-width: 768px) {
    .navbar-toggler{
        background-color: var(--white);
    }

    .workproccess-img{
        display: block !important;
    }

    .timeline{
        display: none;
    }
}

.workproccess-img{
    display: none;
}

/* =============Media Query============= */