/********** Template CSS **********/


@font-face {
  font-family: "TimesNewRomanBold";
  src: url("../fonts/Times-New-Roman-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}



:root {
    /* --primary: #285C46;
    --secondary: #D69B3F; */
    --primary:#FFCA36;
    --secondary:#4EA851;
    --light: #f1f1f1;
    --dark-light:#dbdbdb;
    --dark: #04000B;
    --primary-third: #4a0700;
}
body{
    letter-spacing: 1px;
    background-color:#ffffff;
  font-family: TimesNewRomanBold, "Times New Roman", Times, Baskerville, Georgia, serif;
  font-weight: bold;
}

p{
    
    font-size: 16px;
    font-family: TimesNewRomanBold, "Times New Roman", Times, Baskerville, Georgia, serif;
}
a{
    text-decoration: none;
    color: inherit;
}
/*** 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;
}

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

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


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

.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: TimesNewRomanBold, "Times New Roman", Times, Baskerville, Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

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

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
}

.navbar-light .navbar-brand img {
    object-fit: contain;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 72px;
}
@media (max-width: 440px) {
   .row{
    --bs-gutter-x: 0rem;
   }
   .carousel-caption{
    padding: 0 0.5rem !important;
   }
  .hero-slider .carousel-control-next, .carousel-control-prev{
    display: none;
   }
}
@media (max-width: 991.98px) {
    .navbar-light {
        position: fixed !important;
        background: #FFFFFF;
    }
    .navbar-light .logo1{
        display: none;
    }
    .navbar-light .logo2{
        display: block;
    }
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 65px;
    }
    .btn{
        margin-bottom: 2rem;
    }
}
@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }
    .sticky-top.navbar-light .logo1{
        display: none;
    }
    .navbar-light .logo2{
        display: none;
    }
    .sticky-top.navbar-light .logo2{
        display: block;
    }
    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-light .btn {
        color: var(--dark);
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .btn {
        color: var(--dark);
        background: var(--secondary);
    }
}


.hero-slider {
    position: relative;
    max-height: 750px;
    min-height: 500px;
    padding: 0;
    margin-bottom: 4rem;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.hero-slider .carousel {
    max-height: 750px;
    min-height: 500px;
}

.hero-slider .carousel .carousel-item {
    height: 100%;
    max-height: 750px;
    min-height: 500px;
}

.hero-slider .carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption-slider {
    background: none !important;
    z-index: 2;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0;
    text-align: center;
}

.carousel-image-shadow {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel .carousel-item {
        max-height: 580px;
        min-height: 400px;
    }

    .carousel-caption-slider {
        bottom: 5%;
        width: 95%;
    }

    .carousel-caption {
        padding: 0 10px;
        bottom: 5%;
    }

    .carousel-caption-slider h1 {
        font-size: 1.5rem;
    }

    .carousel-caption-slider p {
        font-size: 0.9rem;
    }

    .carousel-caption-slider .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel .carousel-item {
        max-height: 400px;
        min-height: 185px;
    }

    .carousel-caption-slider h1 {
        font-size: 1.2rem;
    }

    .carousel-caption-slider p {
        font-size: 0.8rem;
    }
    .content-wrapper{
     width:100%!important;   
    }
}
/*** Hero Header ***/
/*Nazma*/
.hero-header {
   position: relative;
   height: 100vh;
    padding:0rem 0;
    margin-bottom: 4rem;
}
.hero-header .carousel{
    height: 100vh;
}
.hero-header .carousel .carousel-item img{
    height: 100vh;
    object-fit: cover;
}
.hero-header .carousel-caption{
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 0 8rem;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: row;
    /* background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);*/
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.8) 100%);
    padding-bottom: 10vh;
}


.rounded-bottom {
    border-bottom-right-radius: 96px !important;
    border-bottom-left-radius: 96px !important;
}
.inner-header{
    margin-bottom: 6rem;
    padding: 9rem 0;
    background-color: #35795c;
    background-image: url(../img/footer-bg.png);
    color: white;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding:0;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 400;
    font-family:TimesNewRomanBold!important;
    font-size:16px!important;
    /*text-transform: uppercase;*/
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.no-positioning {
    position: static !important;
}


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
}


/*** About ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Fact ***/
.fact {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 60px 30px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
    height: 100%;
}

.service-item:hover {
    background: white;
}

.service-item .service-icon {
    margin: 0 auto 30px auto;

    /* border-radius: 50%; */
    /* background-color: #285C46; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--light);
    background-size: contain;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #000000;
}

/* .service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
} */


/* .service-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 0;
} */


/*** speaker  ***/


.speaker-item {
    position: relative;
    padding: 60px 30px 30px;
    background:  #FFFFFF;
    overflow: hidden;
    transition: .5s;
    height: 100%;
    align-items:center;
}

.speaker-item:hover {
    background: var(--secondary);
}


/* .speaker-item .speaker-icon {
    margin: 0 auto 30px auto;

    
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: .5s;
} */


.speaker-item:hover .speaker-icon {
    color: var(--light);
    background-size: contain;
}

.speaker-item .speaker-icon {
    margin: 0 auto 30px auto;
    height: 130px;
    width: 130px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: rgba(50, 50, 93, 0.15) 0px 2px 5px -1px, rgba(0, 0, 0, 0.25) 0px 1px 3px -1px;
}

.speaker-item .speaker-icon img{
height: 100%;
width: 100%;
border-radius: 50%;
object-fit: contain !important;
}
.speaker-item h5,
.speaker-item p {
    transition: .5s;
    font-family: TimesNewRomanBold, "Times New Roman", Times, Baskerville, Georgia, serif;
    font-size: 16px;
    font-weight: 700;
}

.speaker-item:hover h3,
.speaker-item:hover p {
    color: #FFFFFF;
}

.speaker-item  .speaker-item--divider, .speaker-single-item .speaker-item--divider {
    background: var(--secondary);
    border-radius: 4px;
    height: 5px;
    transition: all .3s ease;
    width: 50px;
}

.speaker-single-item .speaker-item--divider {
    height: 8px;
}


.speaker-item  .speaker-item--divider:hover , .speaker-single-item .speaker-item--divider:hover{
    
    width: 100px;
}

.speaker-single-item .font-deco-bold {
    transition: .5s;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.speaker-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
}

.speaker-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.speaker-item:hover a.btn {
    bottom: 0;
}



/*** gallery Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    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-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:  var(--primary);
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/*** Newsletter ***/
.newsletter {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    padding: 30px 30px 30px 30px;
    /* changed */
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: right;
     /* changed */
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 4px;
    width: 40px; 
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--light);
    font-size: 22px;
    transition: .5s;
    /* changed */
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}


/*** Team ***/
.team-item .btn {
    color: var(--secondary);
    background: #FFFFFF;
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top-color: #4DA753;
    border-style: solid;
    border-width: 0px;
    border-top-width: 1px;
    background-color: var(--primary-third);
    background-image: url("../img/footer-bg.png");

}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--secondary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: #ffffff;;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f192";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: xx-small;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #ffffff;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary);
}
/* changed */
.portfolio-content img{
    height: 185px !important;
    object-fit: cover !important;
}
.bordered{
    border: 1px solid #285C4666;
    border-radius: 10px;
}
.bordered:hover{
    background-color: #F6F4F9;
}

.pagination{
    padding: 30px 0;
  }
.pagination ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.pagination a{
    display: inline-block;
    padding: 10px 18px;
    color: #222;
}
.p1 a{
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    text-align: center;
}
.p1 a.is-active{
    background-color: var(--primary);
    border-radius: 100%;
    color: #fff;
}

  

.breadcrumb .active{
    color: rgb(184, 184, 184);
}

.gallery_item{
    height: 250px;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}
.gallery_item a img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .3s ease;
}
.gallery_item a img:hover{
    transform: scale(1.1);
}
.group-item{
    border: 1px solid var(--dark-light);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    overflow: hidden;
}
a .group-item  img{
    transition: all .3s ease;
}
a .group-item  img:hover{
    transform: scale(1.1);
}

.service-inner .carousel-item{
    height: 400px;
    border:1px solid #cfcfcf;
    width: 100%;
    overflow: hidden;
}
.service-inner .carousel-item img{
    height:100%;
    width: 100%;
    object-fit: contain;
}

.banner-sister-company i{
    font-size: 5rem;
}

.overlap-wrapper {
    height: 0;
    z-index: 3;
    pointer-events: none;
}

.overlap-img {
    bottom: 35px;
    width: 100vw;
    height: auto;
    z-index: 3;
}
.overlap-img-common {
    bottom: -20px;
    width: 100vw;
    height: auto;
    z-index: 3;
}

.text-justify {
    text-align: justify!important;
  }
.align-item-center{
    align-items: center;
}
.border-yellow{
    border-color: #FFCC36!important;
    border-collapse: collapse;
}

.text-dark-brown{
    color:#61381a;
    font-family: TimesNewRomanBold;
}

/* Styling the team image section */
.team-image-wrapper {
    max-width: 250px;
    width: 100%;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

/* Add hover effect on team image */
.team-image-wrapper:hover {
    transform: scale(1.05);
}

/* Styling the team image itself */
.team-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* Circular image */
}

/* Card styling for the team items */
.team-item .text-center {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Hover effect for the team card */
.team-item .text-center:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* Styling for the content-wrapper on the right */
.content-wrapper {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%; 
 
}

.content-wrapper p {
    font-size: 1.2rem; 
   
}
