/********** Template CSS **********/
:root {
    --primary: #77b71b;    ;
    --secondary: #FFC448;
    --light: #c8c8d0;
    --dark: #12141D;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary{
    background-color: #77b71b;
    border-color:#77b71b;;
}
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.fixed-top {
    display: none;
    transition: .2s;
}

.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,    
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}


/*** Header ***/
#home {
    margin-bottom: 6rem;
    /* background: url(../img/bg-header.png) left top no-repeat; */
}

.typed-cursor {
    font-size: 30px;
    color: var(--dark);
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** About ***/
#about .years .display-1 {
    font-size: 10rem;
    line-height: 9rem;
}

#about .years h5 {
    letter-spacing: 30px;
    margin-right: -30px;
}


/*** Skills ***/
#skill .progress {
    height: 5px;
    border-radius: 5px;
}

#skill .progress .progress-bar {
    width: 0px;
    border-radius: 5px;
    transition: 3s;
}

#skill .nav-pills .nav-link {
    color: black;
}
.dark-mode #skill .nav-pills .nav-link {
    color: white;
}

#skill .nav-pills .nav-link.active {
    color: #FFFFFF;
}

#skill .tab-content hr {
    width: 30px;
}


/*** Service ***/
.service-item .bg-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/bg-icon.png) center center no-repeat;
    background-size: cover;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}
.dark-mode #portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #16b23f9c;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important;
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    opacity: .7;
}

.team-item .team-text {
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    right: 30px;
    opacity: 1;
}

.team-item .team-text div {
    transition: .5s;
}

.team-item:hover .team-text div {
    margin-left: 30px;
}


/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px solid var(--secondary);
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.testimonial-carousel .testimonial-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--secondary);
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 5px;
    left: 5px;
    border-radius: 16px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

/* new  added */
/* .rounded-tr-\[4rem\] {
    border-top-right-radius: 4rem;
}
.rounded-bl-\[4rem\] {
    border-bottom-left-radius: 4rem;
} */
/* for my image  */
.image-container {
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: translateY(-2px) scale(1) skewY(1deg);
    transition-duration: 0.5s;
}

.image-container img {
    border-top-right-radius: 4rem;
    border-bottom-left-radius: 4rem;
    margin-top: 50px; /* Adjust as needed */
    max-width: 60%; /* Set maximum width */
    margin-left: 120px;
    height: auto;
}
.skill .align-items-center i {
    flex: 1;
}
/* dark mode */
.btn-dark-mode {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #343a40; /* Dark mode button background color */
    color: #fff; /* Dark mode button text color */
    padding: 10px;
    border-radius: 50%;
  }
  
  /* #darkModeToggle {*/
   body {
    background-color: #fff; /* Default light mode background color */
    color: #020937; /* Default light mode text color */
}

.dark-mode {
    background-color: #0d0042; /* Dark mode background color */
    color: #fff; /* Dark mode text color */
}

/* Example: change text color of specific elements */
.dark-mode h1, .dark-mode p ,.dark-mode h3 ,.dark-mode h5,.dark-mode h6{
    color: #fff; /* Dark mode text color for headings and paragraphs */
}
.typed-text {
    color: #333; /* Default text color for typed-text in light mode */
}

.dark-mode .typed-text-output,.dark-mode .text-lg-end {
    color: #fff; /* Dark mode text color for typed-text */
}
/* You can extend this pattern for other elements as needed */

.text-primary {
    color:  #77b71b;
    /* !important; */
}

.dot-container {
    display: flex;
}

.dot {
    width: 10px; /* Adjust dot size as needed */
    height: 10px; /* Adjust dot size as needed */
    background-color: #77b71b;; /* Adjust dot color as needed */
    border-radius: 50%;
    margin-right: 10px; /* Adjust margin between dots as needed */
}

.shadow-gray-500 {
    --tw-shadow-color: #6b7280;
    --tw-shadow: var(--tw-shadow-colored);
}


.map iframe{
    border-top-right-radius: 4rem;
    border-bottom-left-radius: 4rem;
}

.img-fluid img{
    border-top-right-radius: 4rem;
    border-bottom-left-radius: 4rem;
}

/* .dark-mode .logo {
    filter: invert(1);
    /* color: white; */
 */
.logo {
    /* font-size: 24px; Adjust as needed */
    transition: color 0.3s ease;
    color: white; /* Set the color to white */
}
.dark-mode .logo {
    color: white; /* Adjust as needed */
}

.dark-mode .c-la{
    color:black;
}


.owl-carousel  .item{
    height: 100%; /* Ensure all team item containers have the same height */
    border: 2px solid #ddd; /* Add a border around the team item */
    border-radius: 10px; /* Add rounded corners */
    overflow: hidden; /* Hide overflowing content (if any) */
}

.owl-carousel .item {
    width: 100%; /* Make images fill their containers */
    height: 100%; /* Make images fill their containers */
    object-fit:cover; /* Maintain aspect ratio */
    /* height: 19rem; */
}

/* Additional styles for demonstration */


.owl-prev, .owl-next {
    font-size: 24px;
    color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Customize the dots navigation */
.owl-dots {
    text-align: center;
    margin-top: 20px;
}

/* Customize the dots */
.owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}
.item :hover{
    transform: translateY(-2px) scale(1) skewY(1deg);
    transition-duration: 0.5s;
}
.subhead{
    padding-left: 10px;
}

/* <!-- <div id="team-carousel" class="carousel slide" data-bs-ride="carousel">
                <div class="carousel-inner">
                    <div class="carousel-item active">
                        <div class="row g-4">
                            <div class="col-lg-4 col-md-6 col-sm-6 wow fadeInUp" data-wow-delay="0.1s">
                                <div class="team-item position-relative">
                                    <img class="img-fluid " src="img/5.jpg" alt="">
                                    <div class="portfolio-btn">
                                        <a class="btn btn-lg-square btn-outline-secondary border-2 mx-1" href="img/5.jpg" data-lightbox="portfolio"><i class="fa fa-eye"></i></a>
                                        
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-md-6 col-sm-6 wow fadeInUp" data-wow-delay="0.1s">
                                <div class="team-item position-relative">
                                    <img class="img-fluid " src="img/2.jpg" alt="">
                                    <div class="portfolio-btn">
                                        <a class="btn btn-lg-square btn-outline-secondary rounded" href="img/2.jpg" data-lightbox="portfolio"><i class="fa fa-eye"></i></a>
                                        
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-md-6 col-sm-6 wow fadeInUp" data-wow-delay="0.1s">
                                <div class="team-item position-relative">
                                    <img class="img-fluid " src="img/1.jpg" alt="">
                                    <div class="portfolio-btn">
                                        <a class="btn btn-lg-square btn-outline-secondary border-2 mx-1" href="img/1.jpg" data-lightbox="portfolio"><i class="fa fa-eye"></i></a>
                                        
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div> -->
                    <!-- Additional carousel items for the remaining team members -->
                    <!-- For simplicity, let's assume each carousel item contains 3 team members -->
                    <!--<div class="carousel-item">
                        <div class="row g-4">
                            <div class="col-lg-4 col-md-6 col-sm-6" >
                                <div class="team-item position-relative">
                                    <img class="img-fluid " src="img/3.jpg" alt="zyz">
                                    <div class="portfolio-btn">
                                        <a class="btn btn-lg-square btn-outline-secondary border-2 mx-1" href="img/3.jpg" data-lightbox="portfolio"><i class="fa fa-eye"></i></a>
                                     </div>
                                </div>
                            </div>
                    </div>
                    <div class="carousel-item">
                            <div class="col-lg-4 col-md-6 col-sm-6" >
                                <div class="team-item position-relative">
                                    <img class="img-fluid " src="img/4.jpg" alt="xyz">
                                    <div class="portfolio-btn">
                                        <a class="btn btn-lg-square btn-outline-secondary border-2 mx-1" href="img/4.jpg" data-lightbox="portfolio"><i class="fa fa-eye"></i></a>
                                   </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    
                </div>
               
            </div> --> */
