
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary1);
    border: 1px solid var(--bs-secondary2);
}

.btn.btn-secondary {
    color: var(--bs-white);
}

.btn.btn-secondary:hover {
    /*background: var(--bs-primary);
    border: 1px solid var(--bs-primary);*/
    background: var(--bs-primary1);
    border: 1px solid var(--bs-primary1);
}
/*
.btn.btn-light {
    color: var(--bs-primary);
}*/
.btn.btn-light {
    color: var(--bs-primary1);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    /*background: var(--bs-primary1);*/
    background:var(--bs-secondary1);
    border: 1px solid var(--bs-secondary2);
}

/*** Icon Animation Start ***/
@keyframes icon-animat {
    0%  {border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;}

    25% {border-radius: 69% 31% 19% 81% / 43% 37% 63% 57%;}

    50% {border-radius: 67% 33% 16% 84% / 57% 37% 63% 43%;}

    75% {border-radius: 77% 23% 61% 39% / 36% 61% 39% 64%;}

    100% {border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;}
}
/*** Icon Animation End ***/

/***   Topbar start ***/

.topbar .responsive-links {
    font-size: 11px; /* mobile default */
  }

  @media (min-width: 768px) {
    .topbar .responsive-links {
      font-size: 13px; /* tablet */
    }
  }

  @media (min-width: 992px) {
    .topbar .responsive-links {
      font-size: 15.1px; /* desktop */
    }
  }
/***   Topbar end ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    letter-spacing: 1px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    /*color: var(--bs-primary);*/
    color: var(--bs-primary1);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 8px !important;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}



@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    margin-top: 8px !important;
    transition: .5s;
    opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary1);
    }

    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }
}
/*** Navbar End ***/

/*** Hero Header Start ***/
.home-hero .hero-item img {
    /*object-fit: cover;*/
    object-fit:fill;
}

.home-hero .hero-item,
.home-hero .hero-item img {
    height: 700px;
}
.hero-caption {
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center
}
.hero-item .hero-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
}
.hero-inner {
    position: relative;
    width: 100%;
    overflow: hidden
}

.hero-inner::after {
    display: block;
    clear: both;
    content: ""
}
/* hero section update*/
.bg-hero-caption {
    background-color: #f27041ad !important;
}
.hero-item .hero-caption {
    background: rgb(0 0 0 / 43%);
}
/*** hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    /*background: linear-gradient(rgba(31, 46, 78, 1), rgba(0, 12, 33, 0.8)), url(../img/fact-bg.jpg);*/
    background: linear-gradient(rgba(31, 46, 78, 1), rgba(0, 12, 33, 0.8));
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}
.about-bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(31, 46, 78, 1), rgba(0, 12, 33, 0.8)), url(../img/new-fact-bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}
.contact-bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(31, 46, 78, 1), rgba(0, 12, 33, 0.8)), url(../img/new-fact-bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}
.services-bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(31, 46, 78, 1), rgba(0, 12, 33, 0.8)), url(../img/new-fact-bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}
.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Features Start ***/
.feature {
    background: var(--bs-light);
}

.feature .feature-item {
    display: flex;
    border-radius: 10px;
}

.feature .feature-item .feature-icon span {
    width: 90px; 
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;;
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}
.circular_image {
    display:inline-block;
    padding: 10px;
}
.circular_image img{
    border-radius: 100%; 
    width: 100px;
    height: auto;
}
.feature-item:hover .fa {
    /* Green color     color: #cc552e;*/
    color:Green;

    transform: scale(1.1);
    transition: all 0.2s ease-out;
}

.feature .feature-item .feature-icon .fa:hover {
    color: #ffffff;
}
/*** Features End ***/

/*** About Start ***/
.about .about-item .about-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.about .about-item .about-item-inner .about-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

.about .about-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    
}

.about .about-img .img-1 {
    height: 85%;
    margin-right: 50px;
}

.about .about-img .img-2 {
    position: absolute;
    width: 100%; 
    bottom: 0; 
    right: 0;
    padding-left: 50px;
    border-radius: 10px;
}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 98%;
    top: 0;
    right: 0;
    border-radius: 10px;
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    z-index: -1;
}

.about .about-item .text-item {
    position: relative;
    padding-left: 25px;
}

.about .about-item .text-item::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-secondary);
}
/* div shadow */
.img-shadow {
box-shadow: rgba(4, 4, 5, 0.443) 0px 8px 24px;
}
/*** About Start ***/


/*** Study Start ***/
.study .study-img {
    position: relative;
    overflow: hidden;
    width:100%;
    height: 100%;
    border-radius: 10px;
}

.study .study-img .study-img-inner {
    position: absolute;
    left: 0; 
    bottom: 0; 
    border: 10px solid; 
    border-color: var(--bs-white) var(--bs-white) var(--bs-white) var(--bs-white);
    border-radius: 50%;

}
@media (max-width: 405.98px) {
    .study .study-img .study-img-inner {
        width: 200px !important;   /* Adjusted from original size */
        height: 200px !important;
        left: 15px !important;    /* Slightly adjusted position */
        bottom: 15px !important;
        border-width: 6px !important; /* Slightly thicker border */
    }
}    
.study .study-img .study-experience {
    position: absolute;
    top: 125px; 
    left: -102px; 
    transform: rotate(-90deg);
    background: transparent;
    color: var(--bs-primary2);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

@media (max-width: 242.98px) {
    .study .study-img .study-experience {
        font-size: 0.5rem;
        left: -55px;
        top: 70px;
    }
}
/* Small devices (phones, < 406px) */
@media (max-width: 405.98px) {
    .study .study-img .study-experience {
        font-size: 0.8rem;
        font-weight:900;
        left: -70px;
        top: 90px;
    }
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .study .study-img .study-experience  {
        font-size: 1.0rem  ;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .study .study-img .study-experience  {
        font-size: 1.0rem  ;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .study .study-img .study-experience  {
        font-size: 1.0rem  ;
    }
}

/** icons scale on div hover optional
.study .section-title:hover li {
    color: var(--bs-primary1);
    transform: scale(1.9);
    transition: all 0.2s ease-out;
} ***/
.fa-ul :hover i {
            color: var(--bs-primary1);
            /* Green color */
            /* Green color */
            transform: scale(1.9);
            transition: all 0.4s ease-out;
        }
/*** Study End ***/
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary2);

}
.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary2) !important;
}
@media (max-width: 768px) {
    .sub-title {
        font-size: 15px;
        font-weight: 600;
    }
}
    @media (max-width: 576px) {
    .sub-title {
        font-size: 13px;
        font-weight: 600;
    }
}

.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 1rem solid var(--bs-primary2);
    z-index: -1;
}

/*** About End ***/


/*** Fact Counter Start ***/
.counter {
    /*background: linear-gradient(rgba(0, 12, 33, 0.9), rgba(31, 46, 78, 0.9)), url(../img/new-fact-bg.png);*/
    background: linear-gradient(rgb(0 12 33 / 84%), rgb(31 46 78 / 87%)), url(../img/new-fact-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.counter .counter-item .counter-item-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Fact Counter End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 60px;
    background: var(--bs-light);
}

.service .service-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    border-radius: 10px;
    z-index: -1;
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover::after {
    opacity: 1;
}

.service .service-item .service-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);

    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

.services-parallax {
    min-height: 70vh;
    height: auto;
  }
  
  @media (max-width: 768px) {
    .services-parallax {
      background-attachment: scroll !important;
      background-size: cover;
    }
  }

  
/*** Service End ***/

/***  event Start ***/
.event .event-item {
    position: relative;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
    transition: 0.5s;
}

.event .event-item:hover {
    border: 1px solid var(--bs-primary);
}

.event .event-item .event-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.event .event-item .event-item-inner:hover {
    box-shadow: 0 0 50px rgba(234, 0, 30, .3);
}

.event .event-item-inner .event-img {
    background: var(--bs-light);
}

.event .event-item-inner .event-content {
    border-top: 4px solid var(--bs-white);
    text-align: center;
    background: var(--bs-light);
}

.event .event-item-inner .event-review {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-carousel .owl-stage-outer {
    margin-top: 65px;
    margin-right: -1px;
}

.event-carousel .owl-nav .owl-prev,
.event-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    padding: 10px 35px;
    color: var(--bs-white);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    border-radius: 50px;
    transition: 0.5s;
}

.event-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.event-carousel .owl-nav .owl-next {
    right: 0;
}

.event-carousel .owl-nav .owl-prev:hover,
.event-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}


/*** Process Start ***/
.steps {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(../img/bg-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.steps .steps-item {
    position: relative;
    background: var(--bs-secondary);
    border-radius: 10px;
}

.steps .steps-item h4,
.steps .steps-item p {
    color: var(--bs-white);
}

.steps .steps-item .setps-number {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: 0; 
    right: 40px;
    font-weight: 900;
    border: 1px solid var(--bs-white); 
    border-radius: 64px;
    transform: translateY(50%);
    color: var(--bs-white);
    background: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}
/*** Process End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}  

.blog .blog-item .blog-content {
    position: relative;
    background: var(--bs-light);
}

.blog .blog-item .blog-content .blog-date {
    position: absolute;
    top: 0; 
    left: 25px; 
    transform: translateY(-50%);
    padding: 12px 25px;
    border-radius: 10px;
    color: var(--bs-white);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
}

.blog .blog-item .blog-content .blog-comment {
    display: flex;
    justify-content: space-between;
}
.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

/* Moving dots for anchor tag */
.moving-dots {
    position: relative;
    display: inline-flex; /* Changed to flex to work with d-flex */
    align-items: center;
    padding-right: 40px !important; /* Space for dots */
    white-space: nowrap;
    overflow: hidden; /* Hide overflow if needed */
}

.moving-dots::after {
    content: "......"; /* Dots character */
    position: absolute;
    left: calc(100% - 30px); /* Adjust based on text length */
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-primary2);
    font-size: 24px;
    letter-spacing: 4px;
    animation: scrollDots 1.5s infinite linear;
    margin-left: -8px; /* Space between text and dots */
}

@keyframes scrollDots {
    0% {
        transform: translateY(-50%) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) translateX(20px);
        opacity: 0;
    }
}
/*** Blog End ***/

/*** Banner Start ***/
.banner .banner-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.banner .banner-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 10px;
}

.banner .banner-item .banner-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
    text-align: right;
}

.banner .banner-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.banner .banner-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner .banner-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.banner .banner-btn .btn {
    font-size: 1rem;
    white-space: nowrap;
}

@media (max-width: 380.98px) {

    .banner-content h1.fs-2 {
        font-size: 1.0rem  !important;
    }
    .banner-content h2.fs-4 {
        font-size: 0.67rem !important;
    }
    .banner-content p.fs-6 {
        font-size: 0.5rem !important;
    }
    .banner-content .btn {
        white-space: nowrap;
    }
}
@media (max-width: 405.98px) {

    .banner-content h1.fs-2 {
        font-size: 1.0rem  !important;
    }
    .banner-content h2.fs-4 {
        font-size: 0.97rem !important;
    }
    .banner-content p.fs-6 {
        font-size: 0.9rem !important;
    }
    .banner-content .btn {
        white-space: nowrap;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .banner .banner-content {
        padding: 30px;
    }
    
    .banner .banner-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .banner .banner-content h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .banner .banner-content p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .banner .banner-content {
        padding: 40px;
    }
    
    .banner .banner-content h2 {
        font-size: 2.5rem;
    }
    
    .banner .banner-content h1 {
        font-size: 4rem;
    }
    
    .banner .banner-content p {
        font-size: 1.75rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .banner .banner-content h1 {
        font-size: 4.5rem;
    }
}
@media (min-width: 1200px) {
.fs-2 {
    font-size: 2.9rem !important;
}
}
/*** Banner End ***/


/*** Team Start ***/
.team .team-img {
    height: 100%;
    /*padding: 25px;*/
    padding:12px;
    background: var(--bs-white);
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    transition: 0.5s;
}

.team .team-item:hover img {
    transform: scale(1.2);
}

.team .team-item .team-content {
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   padding: 15px;
   transform: translateX(-50%, -50%);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: 0.5s;
}

.team .team-item:hover .team-content {
    opacity: 1;
    background: rgba(241, 193, 82, .7);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    padding: 10px 35px;
    color: var(--bs-white);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    border-radius: 50px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.testimonial-carousel .owl-nav .owl-next {
    right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    border-radius: 70px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-light);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.testimonial .testimonial-item .testimonial-inner img {
    width: 100px; 
    height: 100px; 
    border-radius: 100px;
    border: 4px solid var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary1);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact .contact-add-item {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background: var(--bs-light);*/
    background: #e4e4e4;
}

.contact .contact-add-item .contact-icon {
    width: 90px; 
    height: 90px; 
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    /*background: var(--bs-primary);*/
    background: var(--bs-primary1);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    /*background: var(--bs-dark);*/
    background: var(--bs-secondary1);

}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    /*line-height: 28px;*/
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    /*color: var(--bs-primary);*/
    color: var(--bs-primary1);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary1) !important;
}
/***************************************/

        .footer1 {
            background: var(--bs-secondary1);
            padding: 2rem 1.5rem;
            text-align: center;
            width: 100%;
        }
        
        .footer1 p {
            max-width: 800px;
            margin: 0 auto 1rem;
            color: #ffffff;
            font-size: 1rem;
            line-height: 1.6;
        }
        
        .footer1 p:last-child {
            margin-bottom: 0;
        }
        
        .footer-nav {
            background: var(--bs-secondary1);
            padding: 1rem;
            text-align: center;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .footer-nav__link {
            color: #ffffff;
            text-decoration: none;
            padding: 0 1rem;
            font-size: 1rem;
            position: relative;
        }
        
        .footer-nav__link:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 60%;
            width: 1px;
            background-color: rgba(255, 255, 255, 0.5);
        }
        
        .footer-contact {
            background: var(--bs-secondary1);
            color: #ffffff;
            padding: 1.5rem 1rem;
            text-align: center;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
        }
        
        .footer-contact__info {
            margin: 0;
            font-size: 1rem;
            line-height: 1.6;
            position: relative;
            padding: 0 1.5rem;
        }
        
        .footer-contact__info:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 60%;
            width: 1px;
            background-color: rgba(255, 255, 255, 0.3);
        }
        
        @media (max-width: 768px) {
            .footer1 {
                padding: 1.5rem 1rem;
            }
            
            .footer1 p {
                font-size: 0.9375rem;
            }
            
            .footer-nav {
                flex-direction: column;
                gap: 0.75rem;
                padding: 1rem;
            }
            
            .footer-nav__link {
                padding: 0.5rem 0;
                display: block;
            }
            
            .footer-nav__link:not(:last-child)::after {
                display: none;
            }
            
            .footer-nav__link:not(:last-child) {
                border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            }
            
            .footer-contact {
                padding: 1.25rem 1rem;
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .footer-contact__info {
                font-size: 0.9375rem;
                padding: 0.5rem 0;
            }
            
            .footer-contact__info:not(:last-child)::after {
                display: none;
            }
            
            .footer-contact__info:not(:last-child) {
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
                width: 80%;
                margin: 0 auto;
            }
        }
        
        @media (min-width: 1200px) {
            .footer1,
            .footer-nav,
            .footer-contact {
                padding-left: calc((100% - 1200px) / 2);
                padding-right: calc((100% - 1200px) / 2);
            }
        }


/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
        /*background: var(--bs-dark);*/
        background: var(--bs-secondary1);
}
.copyright a {
    color: #ffffff;
   
}

.copyright a:hover {
    color:var(--bs-primary1);
}


/*** copyright end ***/

.has-error .form-control,
.has-error .form-select,
.has-error .input-group-text {
    border-color: #dc3545;
}

.has-error .help-block {
    color: #dc3545;
    font-size: 0.875em;
}

.has-success .form-control,
.has-success .form-select,
.has-success .input-group-text {
    border-color: #28a745;
}

.alert {
    margin-top: 15px;
}

.is-invalid, .was-validated .invalid-feedback:not(:empty) {
    border-color: #dc3545;
}
.invalid-feedback {
    display: none;
    color: #dc3545;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
}
.was-validated .invalid-feedback:not(:empty) {
    display: block;
}

/* column backgroung image with overlay start */
.bg-image-overlay {
    position: relative;
    background-image: url('../img/australia-university.jpg'); /* Replace with your actual image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*color: white;  optional: text color */
    z-index: 1;
}

.bg-image-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5); /* Grey color with 50% opacity */
    z-index: -1;
}

/* column backgroung image with overlay end */



        /**********  animated-background start   *********************************************************/
/* Logo slider start */
@keyframes slides {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
    width: 70%; /* Set your desired width */
    margin: 0 auto; /* Center horizontally */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .logos {
        width: 80%;
    }
}

@media (max-width: 992px) {
    .logos {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .logos {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .logos {
        width: 100%;
        padding: 30px 15px; /* Add horizontal padding on small screens */
    }
}

/* Gradient effects */
.logos:before, .logos:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0), rgb(255,255,255));
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), rgb(255,255,255));
}

.logo_items {
    display: inline-block;
    animation: 35s slides infinite linear;
}

.logos:hover .logo_items {
    animation-play-state: paused;
}

.logo_items img {
    height: 100px;
}

@media (max-width: 768px) {
    .logos:before,
    .logos:after {
        width: 100px;
    }
}
/* Logo slider end */

        /**** left right background animated shapes start ***/
        .animated-background {
            position: relative;
            overflow: hidden;
            height: auto;
            background: #f2f2f2;
            /* Add these flex properties */
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px 0; /* Add some vertical padding */
        }

        .shapes {
            position: absolute;
            top: 0;
            width: 50%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .shapes-left {
            left: 0;
        }

        .shapes-right {
            right: 0;
        }

        .shapes span {
            position: absolute;
            display: block;
            width: 10px;
            height: 10px;
            opacity: 0.6;
            border-radius: 50%;
            animation: move 20s linear infinite;
        }

        .shapes-left span {

            animation-direction: normal;
        }

        .shapes-right span {

            animation-direction: reverse;
        }

        .shapes-left span:nth-child(1) {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
            background: linear-gradient(135deg, #ed6116, #fbe8c2);
        }

        .shapes-left span:nth-child(2) {
            top: 25%;
            left: 20%;
            animation-delay: 2s;
            background: linear-gradient(135deg, #e916d0, #eec2fb);
        }

        .shapes-left span:nth-child(3) {
            top: 45%;
            left: 15%;
            animation-delay: 4s;
            background: linear-gradient(135deg, #1647e9, #c2d6fb);

        }

        .shapes-left span:nth-child(4) {
            top: 65%;
            left: 25%;
            animation-delay: 6s;

            background: linear-gradient(135deg, #b8e916, #f3fbc2);

        }

        .shapes-left span:nth-child(5) {
            top: 80%;
            left: 15%;
            animation-delay: 8s;
            background: linear-gradient(135deg, #f22f38, #eec2fb);
        }

        .shapes-left span:nth-child(6) {
            top: 95%;
            left: 5%;
            animation-delay: 10s;
            background: linear-gradient(135deg, #f1e615, #fbf6c2);
        }

        .shapes-right span:nth-child(1) {
            top: 10%;
            right: 10%;
            animation-delay: 1s;
            background: linear-gradient(135deg, #ed6116, #fbe8c2);

        }

        .shapes-right span:nth-child(2) {
            top: 25%;
            right: 20%;
            animation-delay: 3s;
            background: linear-gradient(135deg, #f22f38, #eec2fb);

        }

        .shapes-right span:nth-child(3) {
            top: 45%;
            right: 15%;
            animation-delay: 5s;
            background: linear-gradient(135deg, #1647e9, #c2d6fb);

        }

        .shapes-right span:nth-child(4) {
            top: 65%;
            right: 25%;
            animation-delay: 7s;
            background: linear-gradient(135deg, #e916d0, #eec2fb);

        }

        .shapes-right span:nth-child(5) {
            top: 80%;
            right: 15%;
            animation-delay: 9s;

            background: linear-gradient(135deg, #b8e916, #f3fbc2);
        }
        .shapes-right span:nth-child(6) {
            top: 90%;
            right: 5%;
            animation-delay: 9.5s;

            background: linear-gradient(135deg, #af7f06, #f3fbc2);
        }
   

        @keyframes move {
            0% {
                transform: translateX(0) translateY(0) scale(1);
            }

            50% {
                transform: translateX(100px) translateY(-50px) scale(1.2);
            }

            100% {
                transform: translateX(0) translateY(0) scale(1);
            }
        }

        .partner-logo-content {
    /* Remove width: 70vw from here */
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    color: #333;
    width: 100%; /* Make it full width of parent */
}

        /**********  animated-background end   *********************************************************/
         /********** *********************************************************/
            /**** recaptcha ***/
    @media (max-width: 576px) {
        .g-recaptcha {
            transform: scale(0.85) !important;
            transform-origin:0 0 !important;
        }
    }
    