/********** Template CSS **********/

*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    
}

/* homepage-btn */
.tm-catalog-item-description {
    background-color: #000; /* Assuming tm-bg-gray sets the background color */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Adjust as needed to ensure equal height */
}
body{
    overflow-x: hidden;
}        
html{
    overflow-x: hidden;
}

.map-cont{
    width: 100%;
    height: 300px;
    min-width: 300px;
}
.specific-container {
    width: 100%;
    display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));
     gap: 50px;
     padding: 10px;
}
.specific-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px; /* Increased height */
    background-color: #ffffff; /* Fallback background color */
    border: 2px solid #fe0000; /* Red border */
    border-radius: 10px;
    text-align: center;
    background-size: cover; /* Ensure the background image covers the entire box */
    background-position: center; /* Center the background image */
    color: #fe0000; /* Text color for readability */
    position: relative; /* Allows positioning of text over the image */
}
.specific-box a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
}
.specific-box h4 {
    margin: 0;
    position: relative;
    z-index: 1; /* Ensure text is above the background image */
    font-size: 36px;
    color: #ffffff; /* Increase text size */
}






.tm-catalog-item-title {
    color: #d4af37;
    text-align: center;
    margin-top: 0; /* Reset margin for h3 if necessary */
    margin-bottom: 10px; /* Adjust as necessary */
}

.tm-thumbnail-container img {
    width: 100%;
    height: 100%;
}

.tm-thumbnail-container {
    width: 100%;
    height: 85%;

}
    


button {
    background-color: #00fe44;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.red {
    background-color: #ff3333;
}
button.red:hover {
    background-color: #cc0000;
}

.music-controls {
    position: absolute;
    
    left: 0px;
    z-index: 9999;
    margin: 0;
}



.music-controls button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin: 0 !important;
}

.navbar-nav {
    border: none !important;
    padding-right: 15px; /* Add padding to create some space between the border and the content */
}

.homepage-btn {
    display: inline-block;
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #007bff;
    transition: background-color 0.3s, color 0.3s;
}

.homepage-btn:hover {
    background-color: #0056b3;
    color: white;
}
.container.home-    ousel {
    padding: 1em;
    color: white;
}


/* width */
::-webkit-scrollbar {
  width: 10px;
}
    
/* Track */
::-webkit-scrollbar-track {
  background: #FBFFFF;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #0080FE;
  
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #0F52BA;
}

:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
    --black: #000 ;

}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Interns Text Inside Image */

.carousel-inner .carousel-item-1 img{
    position: relative;
}
.carousel-inner .carousel-item-1 h3{
    position: absolute;
    bottom:  17px;
    left: 35%;
}
.carousel-item{
    justify-content: center;
}

/*  */

/*Video Awards*/

#carousel-1 img{
    margin: auto;
}

section video{
    object-fit: cover;
}

/* video section css */
#videos{
    width:600px;
    height:350px;
}

#vid .content-box{
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#vid .content-box .imgBx{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    z-index: 1;
    clip-path: circle(0px at center);
    transition-delay: 0s;
}

#vid .content-box input[type="radio"]:checked + .imgBx{
    z-index: 10;
    clip-path: circle(1000px at center);
    transition-delay: 0.75s;
}

#vid .content-box .imgBx video{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

#vid .content-box input[type="radio"]{
    position: relative;
    margin: 5px;
    margin-bottom: 40px;
    outline: none;
    z-index: 999;
    cursor: pointer;
}



video{
    width: 100%;
    height: 100%;
}



h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #fff;
}

.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 {
    background-color: #0080FF;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}






/*** Navbar ***/
.navbar .sticky-top {
    top: -100px;
    transition: 0.2s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px;

}
.navbar-toggler{
    margin: 0 !important;
    z-index: 9999;
}
.custom-navbar-brand {

    margin: 0 !important;
}
.text-center{
    display: flex;
    justify-content: center;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    outline: none;
}
.copyright{
    display: flex;
    justify-content: center;
    width: 100vw;
    position: absolute;
    left: 0;
    padding: 10px;
    font-size: 12px;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #0080FE;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background: rgba(0, 0, 0, .6);*/
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: rgba(0,0,0,0.0);
    border: 10px solid rgba(0,0,0,0.0);
}

.intern-header{
    text-align: center;
}
.intern-header h3{
    margin: auto;
    width: 80%; 
    color: #fff; 
    border-style: solid; 
    border:none; 
    border-radius: 20px;
    background-color: #087830;
}


.page-header {
    background: linear-gradient(rgba(0, 128, 254), rgba(0, 0, 0, 0.6)), url(../img/background/BG_HOME.png) ;
    background-size: cover;
}




.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(0, 0, 0, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #fff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: #fff;
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}
/* round prod */
.service-item:hover .service-text .btn-square {
    background: #fff;
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: #000;
    background: #ddd;
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner img {
    width: 500px; 
    height: 350px; 
    object-fit: cover; 
}


.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: #fff;
    color: #000;
}

.portfolio-inner .portfolio-text .btn:hover {
    background: #ffdf2b;
    color: #fff;
    
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #000;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

/*** Testimonial ***/
#testimonial-item{
    width:500px;
    height:100%;

}
#testimonial-items{
    width:100%;
    height:100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#testimonial-item img{
    width: 600px;
    height: 450px;
}
#testimonial-item #ama{
    width: 1000px;
    height: 400px;
}
#testimonial-items img{
    height: 500px; 
    width:600px;
}

#carousel-1{
    max-height: 591px;
    max-width: 1004px;
    margin:50px auto;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background: #d3d3d3;
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #ffdf2b;
    color: #fff;
}

#rcorners{
    border-radius: 25px;
    padding: 20px; 
    width: 200px;
    height: 150px;  
  }


  .three-cards-page .very-parent-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    background-color: #f4f4f4;
}

.three-cards-page .cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Adjust gap as needed */
    max-width: 900px; /* Constrain the container width */
    width: 100%;
    box-sizing: border-box;
}

.three-cards-page .parent-div {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 30%; /* Flexible width with a base size of 30% */
    max-width: 30%;
    box-sizing: border-box;
    text-align: center;
}

.three-cards-page .child-div {
    margin: 10px 0;
}

.three-cards-page h4 {
    color: #fe0000;
}


.very-parent-div{
    justify-items: center;
    display: grid;
}

.parent-div{
    background-color: #4e4e4e86;
    text-align: justify;
    padding: 20px;
    color: #fff;
    display: grid;
    gap: 1em;
    margin: 2em;
    border-radius: 15px;
    max-width: 75%;
    border: 1px solid #525368;
    box-shadow: #d7d7d74a 0px 5px 68px 7px;
}

.parent-container{
    overflow-x: auto;

    background-color: #fff;
    border-radius: 15px;
    padding: 2em 4em;
    display: flex;
    gap: 2em;
    justify-content: flex-start;
    align-items: center;
}
.dart-box{
    margin-bottom: 1em !important;
}

@media (max-width: 800px){
    .parent-container{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 2em;
        gap: 2em;
        justify-content: center;
    }
}

.ps3{
    background-color: #fff;
    border-radius: 15px;
    padding: 2em 4em;
    display: flex;
    gap: 2em;
    justify-content: center;
    align-items: center;

}
#button_id{
    margin-left: 40px;
}

@media (max-width: 500px) {
    .very-parent-div .parent-div{
        margin: 0;
        margin-bottom: 40px;
        max-width: 90%;
    }
    .very-parent-div .child-div{
        font-size: 12px;
    }
     .navbar img{
        position: absolute;
        left: 25%;
        top: 20px;
        height: 5vh !important;
        margin: 0 !important;
    }
    
    
}
@media (max-width: 991px) {
    .navbar{
        display: flex;
        justify-content: space-between;
    }
    .navbar-nav{
        background-color: #000000c4;
    }
    .navbar-nav{
        background-color: rgba(0, 0, 0, 0);
    }
    .navbar img{
        height: 60px;
    }
    .navbar button{
        margin-right: 20px !important;
    }
}
@media (max-width: 475px) {
    .navbar{
        height: 80px;
        width: 100vw;
    }
    .navbar .nav-brand{
        position: absolute;
        left: 20%;
        
    }
    .navbar-nav{
        background-color: #000000e7;
    }
    .navbar button{
        position: absolute;
        right: 10px;
        padding: 5px;
    }
    
   
}
.music-controls button{
    position: absolute;
    top: 10px;
}
.navbar .navbar-brand img{
    margin-left: 20px;
    height: 60px;
}