/********** Template CSS **********/

:root {
    --primary: #0463FA;
    --light: #EFF5FF;
    --dark: #1B2C51;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Fully white background */
    display: flex;
    align-items: center;
    justify-content: center;
    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;
}

/* Custom Spinner Rotation */
#custom-spinner {
    width: 7rem; /* Much larger size */
    height: 7rem;
    border: 10px solid #007bff; /* Blue border */
    border-top: 10px solid transparent; /* Create the spinning effect */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Rotate animation */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark); /* Use your theme color */
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary); /* Use your primary color */
}

/* Dropdown Menu Styles */
.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: var(--primary); /* Use your primary color */
    color: #fff;
}

.navbar .dropdown-header {
    font-size: 0.9rem;
    color: var(--primary) !important; /* Use your primary color */
    padding-top: 10px;
    padding-bottom: 5px;
    font-weight: 600;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

/* Sticky Navbar */
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Brand and Button Height */
.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

/*** Header ***/
.header-carousel .owl-carousel-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 3rem;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: url(../img/header-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service-item {
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team Section ***/
.team-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
}

.team-item img {
    width: 100%;
    height: 300px; /* Set a fixed height */
    object-fit: cover; /* Ensures images maintain aspect ratio */
    transition: 0.5s ease-in-out;
}

.team-item:hover img {
    transform: translateY(-30px); /* Moves image up on hover */
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: 0.5s;
    background: #f8f9fa;
    padding: 20px;
    width: 100%;
    flex-grow: 1; /* Ensures all cards have equal height */
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: 0.5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #ffffff;
    border-radius: 40px;
    transition: 0.3s;
    margin: 3px;
}

.team-item .team-social .btn:hover {
    color: #ffffff;
    background: var(--primary);
}



/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/*** Logo Section ***/
/*** Logo Section ***/
.learning-boost {
    text-align: center;
    margin: 40px 0;
    font-family: Arial, sans-serif;
}

.learning-boost h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000; /* Black color */
}

.learning-boost p {
    font-size: 20px;
    color: #000000; /* Black color */
    margin-bottom: 20px;
}

/* Logo Marquee */
  /* Marquee Styles */
  .logo-marquee-container {
    position: relative;
    width: 100%;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 2rem;
}

.marquee-item img {
max-width: 120px;
max-height: 60px;
width: auto;
height: auto;
object-fit: contain;
/* Removed grayscale and opacity */
transition: transform 0.3s ease;
}

.marquee-item img:hover {
transform: scale(1.05); /* Keep hover effect */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .marquee-item {
        padding: 0 1.5rem;
    }
    .marquee-item img {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .marquee-item {
        padding: 0 1rem;
    }
    .marquee-item img {
        max-width: 80px;
    }
    .marquee-track {
        animation-duration: 20s;
    }
}

@media (max-width: 576px) {
    .marquee-item {
        padding: 0 0.75rem;
    }
    .marquee-item img {
        max-width: 60px;
    }
}
/*** Logo Ends ***/

/***recognisation***/
/*** Recognition Section ***/
.recognition {
    text-align: center;
    margin: 40px 0;
    font-family: Arial, sans-serif;
}

.recognition h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
}

.recognition p {
    font-size: 20px;
    color: #000000;
    margin-bottom: 20px;
}

.recognition-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.recognition-logos img {
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.recognition-logos img:hover {
    transform: scale(1.1);
    opacity: 1;
}
/***recognisation***/

/* ==== TESTIMONIAL FIX ==== */

/* Carousel container fix */
.testimonial-carousel {
  display: flex;
  justify-content: center; /* horizontally center carousel items */
  align-items: center;     /* vertically center items */
  flex-wrap: nowrap;       /* prevent wrapping */
  width: 100%;
  overflow: hidden;        /* prevent overflow */
  padding: 20px;
  box-sizing: border-box;
}

/* Ensure testimonial items stay centered and responsive */
.testimonial-carousel .testimonial-item {
  flex: 0 0 auto;
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Style fix for testimonial text box */
.testimonial-carousel .testimonial-text {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  min-height: 250px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering of text */
}

/* Profile image centering */
.testimonial-carousel img {
  display: block;
  margin: 20px auto 10px auto;
  border-radius: 50%;
  border: 4px solid #2563eb;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

/* Carousel nav buttons alignment */
.owl-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.owl-nav button {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.owl-nav button:hover {
  background: #1e40af !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-carousel .testimonial-text {
    padding: 20px;
    min-height: 200px;
  }

  .testimonial-carousel img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .testimonial-carousel {
    flex-direction: column;
  }

  .testimonial-carousel .testimonial-item {
    width: 95%;
  }
}



/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;  /* Set to left instead of right */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeIn 1s ease-out; /* Intro animation */
}


.whatsapp-icon img {
    width: 35px;
    height: 35px;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Start slightly below */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Settle to its position */
    }
}

  
  /* Animation Keyframes */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px); /* Start slightly below */
    }
    to {
      opacity: 1;
      transform: translateY(0); /* Settle to its position */
    }
  }
  
 /* Certification Section Styles */
.certification-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.certification-card {
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.certification-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: white;
}

.card-back {
    transform: rotateY(180deg);
    background: #f8f9fa;
}

.card-front img {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.certification-title {
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .certification-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .certification-card {
        height: 180px;
    }
    
    .card-front img {
        max-width: 80px;
        max-height: 60px;
    }
}

