@import url('https://fonts.googleapis.com/css2?family=Philosopher&display=swap');

@font-face {
  font-family: 'Philosopher';
  src: url("../users/fonts/Philosopher-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  line-height: 1.2;
  font-family: 'Philosopher' ;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  color: #5c5c77;
}


/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s ease-out, visibility 0s linear 0s;
}

/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Philosopher', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Philosopher', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Philosopher', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** 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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-danger {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-danger:hover {
    background: var(--bs-secondary);
    color: var(--bs-danger);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Philosopher', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}



.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-danger) !important;
} */

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
 background-color:rgb(41, 93, 169) !important;
    color:white;
}

@media(max-width: 991px){
.top-padding
{
    margin-bottom:10px;
}
}

@media screen and (width: 1024px) and (height: 600px) {
.top-padding
{
    margin-bottom:10px;
}
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-danger);
}

.navbar-nav .nav-link.active {
    color: #db2727 !important;
    font-weight: 600;
    position: relative;
}

/* Red underline for the active top-level link */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #db2727;
    border-radius: 2px;
}

.dropdown-item.active {
    background-color: #db2727 !important;
    color: #ffffff !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Philosopher', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-danger);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}


 .nav-item .dropdown-menu .dropdown-item:hover{
    background:var(--bs-danger);
    color:white;
 }

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header,
.page-header-new {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

/*** Hero Header ***/

/* .contact-header {
    background: url(../img/page-title.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px; 
} */

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../img/about-us.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/

/*** service Start ***/


.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    width: 100%;
    height: 100%;
    /* border-radius: 50% 20% / 10% 40%; */
    transition: 0.5s;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    /* border-radius: 50% 20% / 10% 40%; */
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-white);
}

.service-item:hover .service-content-inner a.btn-danger {
    background: var(--bs-white) !important;
    color: var(--bs-danger) !important;
}

.service-item .service-content-inner a.btn-danger:hover {
    background: var(--bs-danger) !important;
    color: var(--bs-white) !important;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgb(14, 47, 97));
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-danger) !important;
}

/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Philosopher&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Philosopher', sans-serif;
}

.wrapper{
  display: flex;
  max-width: 1200px;
  position: relative;
}
.wrapper i{
  top: 50%;
  height: 44px;
  width: 44px;
  color: #343F4F;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.9);
}
.wrapper i:hover{
  background: #f2f2f2;
}
.wrapper i:first-child{
  left: -22px;
  display: none;
}
.wrapper i:last-child{
  right: -22px;
}
.wrapper .carousel{
  font-size: 0px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}
.carousel.dragging{
  cursor: grab;
  scroll-behavior: auto;
}
.carousel.dragging img{
  pointer-events: none;
}
.carousel img{
  height: 340px;
  object-fit: cover;
  user-select: none;
  margin-left: 14px;
  width: calc(100% / 3);
}
.carousel img:first-child{
  margin-left: 0px;
}
@media screen and (max-width: 900px) {
  .carousel img{
    width: calc(100% / 2);
  }
}
@media screen and (max-width: 550px) {
  .carousel img{
    width: 100%;
  }
}
/*** Programs End ***/


/*** Events Start ***/
.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 30%;
    position: relative;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-text a.h4 {
    color: var(--bs-danger) !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-danger);
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: rgb(41,93,169) !important;
    /* border-radius: 0 0 10px 10px; */
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: none;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-danger);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/
.owl-carousel.owl-loaded {
    display: block;
}


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgb(14, 47, 97));
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-danger);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-white) !important;
}
/*** Footer End ***/

.bg-foot {
    background: linear-gradient(rgb(1, 22, 53));
}

.page-title-section {
    margin-top: 160px;
    padding: 100px 0 80px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
        url("../img/page-title.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
}

/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 991px) {
    .page-title-section {
        margin-top: 0px;
        padding: 80px 0 60px;        /* reduced height */
        background-size: cover;      /* prevent zoom overflow */
        background-position: top;
    }

    .page-title-section h1 {
        font-size: 32px;             /* responsive heading */
        line-height: 0.2;
    }
}

.contact-us{
    padding: 100px 0 80px;
    margin-top: 120px; /* HEADER HEIGHT */
}


  .body-content{
    padding-top: 50px;
    padding-bottom: 50px;
  }

/* overlay */
.overlay {
  position: relative;
}

.overlay::before {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(rgb(2, 2, 2));
  opacity: .8;
}

.section-title {
  margin-bottom: 30px;
}

.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-sm {
  padding-top: 40px;
  padding-bottom: 40px;
}

.text-justify{
    font-size: larger;
}

    /* =========================
   HERO SECTION (VIDEO)
========================= */

.hero-section-video {
    position: relative;
    width: 100%;
    height: 100vh; /* full screen */
    overflow: hidden;
}

@media (max-width: 991px){
    .hero-section-video {
    width: 100%;
    height: auto;
    overflow: hidden;
}
}

/* Video wrapper */
.banner {
    position: relative;
    width: 100%;
    display: inline-block; /* KEY: section height follows video */
}

/* Video */
.hero-video {
    width: 100%;
    height: auto; /* IMPORTANT */
    display: block;
}

/* OVERLAY TEXT FIX */
.hero-video-text {
    position: absolute; 
    inset: 0; 
    justify-content: flex-end;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    z-index: 2;
    padding-bottom: 150px;
}

/* HEADING */
.hero-video-text h1 {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    color: #db2727;
    max-width: 800px;
}

/* OPTIONAL SCROLL ICON */
.scroll-down {
    margin-top: 20px;
}

@media (max-width: 991px){
    .hero-video-text{
        position: absolute;
        padding-bottom: 10px;
    }
}

.hero-video-text h1 {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    color: #db2727;
}

/* Scroll Arrow */
/* .scroll-down {
    margin-top: 300px;
    padding-bottom: 60px;

} */

.scroll-down span {
    width: 25px;
    height: 25px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
    display: inline-block;
    animation: scrollDown 1.5s infinite;
}

@media(max-width: 991px){
.scroll-down span {
    width: 20px;
    height: 20px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
    display: inline-block;
    animation: scrollDown 1.5s infinite;
    }
}

@keyframes scrollDown {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(10px, 10px);
        opacity: 0;
    }
}

.hero-section-banner {
    width: 100%;
    overflow: hidden;
}

/* Slider wrapper */
.hero-slider {
    width: 100%;
}

/* Each slide */
.hero-slider-item.banner {
    position: relative;
    width: 100%;
    display: inline-block; /* IMPORTANT */
}

/* Image */
.hero-banner-img {
    width: 100%;
    height: auto; /* AUTO HEIGHT = FIX */
    display: block;
    padding-top: 170px;
}

/* Prevent slider libraries from forcing height */
.hero-slider .slick-slide,
.hero-slider .swiper-slide {
    height: auto !important;
}

@media (max-width: 991px){
    .hero-banner-img{
        padding-top: 0px;
    }
}

/* =====================================================
   TABLET RESPONSIVE (≤ 992px)
===================================================== */

@media (min-width: 481px) and (max-width: 1024px) {
    .hero-section-video {
    width: 100%;
    height: auto;
    overflow: hidden;
}
    .hero-video-text{
        position: absolute;
        padding-bottom: 15px;
    }

}

.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #fff;
    padding: 15px 0;
    border-top: 2px solid rgba(239, 33, 33, 0.74);
    border-left: 2px solid rgba(239, 33, 33, 0.74);
    border-right: 2px solid rgba(239, 33, 33, 0.74);
    border-bottom: 2px solid rgba(239, 33, 33, 0.74);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 15s linear infinite;
    

}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-track a img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.logo-track a:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .logo-track {
        gap: 30px;
    }

    .logo-track a img {
        height: 45px;
        transition: transform 0.6s ease, filter 0.6s ease;

    }
}

  .gallery {
        background: #EEE;
    }
 
    .text-red {
        color: #db2727;
    }
