/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 65px;
    z-index: 99;
}
.btn-ppp {
    color: #000;
    background-color: #2bb008;
    border-color: #2bb008;
}
/* ===== TOP BAR CONTAINER ===== */
.top-marquee-row {
  background: #b10000;
  padding: 8px 15px;
  justify-content: space-between;
  align-items: center;
}

/* ===== BUTTON STYLES ===== */
.action-btn {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.action-btn svg {
  transition: transform 0.3s ease;
}

.action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.call-btn:hover {
  background-color: #0056b3;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
}

.action-btn:hover svg {
  transform: scale(1.2);
}

/* ===== MARQUEE TEXT CONTROL ===== */
.marquee-box {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  padding: 4px 0;
  letter-spacing: 0.5px;
  text-transform:uppercase;
}

/* Responsive behavior */
@media (max-width: 767.98px) {
  .top-marquee-row {
    flex-direction: column-reverse;
    text-align: center;
    gap: 12px;
  }

  .button-box {
    justify-content: center !important;
  }

  .marquee-box {
    font-size: 14px;
    padding: 2px 0;
  }
}
@keyframes buttonVibrate {
  0%   { transform: translate(0); }
  20%  { transform: translate(-1px, 1px); }
  40%  { transform: translate(1px, -1px); }
  60%  { transform: translate(-1px, -1px); }
  80%  { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

/* Apply vibrating animation to buttons */
.action-btn {
  animation: buttonVibrate 0.5s infinite;
}


.neon-text {
  font-size: 20px;
  font-weight: bold;
  color: #ffe706;
  animation: neonVibrate 1.2s infinite ease-in-out alternate;
  display: inline-block;
}

@keyframes neonVibrate {
  0% {
    transform: translate(0px, 0px);
    text-shadow:
      0 0 5px #ffe706,
      0 0 10px #ff9100,
      0 0 20px #ff0000,
      0 0 30px #ffe706;
    color: #ffe706;
  }

  25% {
    transform: translate(1px, -1px);
    text-shadow:
      0 0 6px #ffea00,
      0 0 12px #ff007f,
      0 0 18px #00ffe7,
      0 0 25px #ffe706;
    color: #ff9100;
  }

  50% {
    transform: translate(-1px, 1px);
    text-shadow:
      0 0 8px #ff00cc,
      0 0 14px #00ffe7,
      0 0 22px #ffff00,
      0 0 28px #ff007f;
    color: #ff007f;
  }

  75% {
    transform: translate(1px, 1px);
    text-shadow:
      0 0 10px #00ffe7,
      0 0 16px #ffe706,
      0 0 24px #ff00cc,
      0 0 32px #ff9100;
    color: #00ffe7;
  }

  100% {
    transform: translate(-1px, -1px);
    text-shadow:
      0 0 5px #ffe706,
      0 0 10px #ff9100,
      0 0 20px #ff0000,
      0 0 30px #ffe706;
    color: #ffe706;
  }
}


/*** 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;
}


/*** header ***/
/* Header wrapper */
.custom-header {
  background-color: #fff;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Base image styling */
.header-img {
  width: 100%;
  max-width: 100%;
  height: 240px;           /* Increased from 200px */
  display: block;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto;
  padding: 0;
}

/* Medium screens (tablets, small desktops) */
@media (max-width: 991.98px) {
  .header-img {
    height: 220px;
  }
}

/* Small devices (phones) */
@media (max-width: 767.98px) {
  .header-img {
    height: 200px;
  }
}

/* Very small phones */
@media (max-width: 575.98px) {
  .header-img {
    height: 180px;
  }
}



/*** Header carousel ***/
/* Carousel Caption Layer */
.carousel-caption {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* Carousel Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
  width: 10%; /* slightly smaller for better UX */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border: 6px solid var(--primary);
  border-radius: 50%;
}

/* Default Responsive Carousel */
#header-carousel .carousel-item {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

#header-carousel .carousel-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  top: 0;
  left: 0;
  display: block;
}

/* Small screen refinement */
@media (max-width: 768px) {
  #header-carousel .carousel-item {
    aspect-ratio: 16 / 9; /* keeps it responsive */
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 15%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    border: 4px solid var(--primary);
  }
}



/* Navigation buttons aligned center vertically and to left/right */
.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none; /* allow arrows only to catch clicks */
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto; /* enable click */
  transition: none;
  border-radius: 4px;
}

/*** Section Title ***/

.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}
.text-icon {
    color: black !important;
}

/*** Service ***/
.service-item {
    background:#ffcd00;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: #fff;
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: black !important;
}

/*** about ***/
/* About Us Image Container */
.about-image-wrapper {
  position: relative;
  width: 100%;
  min-height: 400px; /* You can adjust height as needed */
  overflow: hidden;
}

/* Responsive image inside container */
.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Use 'cover' if you want full image fill but may crop */
  display: block;
  position: static; /* Remove absolute to keep it flowing normally */
  padding: 10px;
}

/* Responsive padding for small devices */
@media (max-width: 768px) {
  .about-image-wrapper {
    min-height: auto;
    padding: 10px 0;
  }

  .about-image-wrapper img {
    height: auto;
    object-fit: contain;
  }
}


.mb-pp{
	color:dark black;
	font-size:18px;
	text-align:justify;
}
.animate-call-now {
  animation: pulseCall 1.5s infinite;
  font-weight: bold;
  border-radius: 5px;
}

@keyframes pulseCall {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}
.text-p{
	color:black;
}
.course-item {
  border: 6px solid #ffc107;
}
.custom-call-btn {
  background-color: #ff5900; /* Your preferred color */
  border-color: #e91e63;
  color: #fff;
}
.custom-call-btn:hover {
  background-color: #a0970c;
  border-color: #c2185b;
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: #b10000 !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: #b10000;
    border-color: #b10000;
}
.mb-N{
	margin-top: 0;
    margin-bottom: .5rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
}

/*** Footer ***/
.custom-footer {
  background-color: #8b0000;
  font-size: 15px;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.footer-heading {
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  text-transform: capitalize;
}

.footer-list li {
  list-style: none;
  padding: 4px 0;
}

.footer-list li a {
  text-decoration: none;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.footer-list li a:hover {
  color: #ffa500;
  padding-left: 5px;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  transition: 0.3s;
}

.btn-outline-light:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.footer-bottom {
  font-size: 14px;
}
.footer-list li {
  list-style: none;
  padding: 5px 0;
}

.footer-list li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-list li a:hover {
  color: #ffa500;
  text-decoration: underline;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: capitalize;
}
@media (max-width: 767.98px) {
  .mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #198754; /* Same as btn-success */
  }

  .mobile-fixed-buttons a {
    height: 60px;
    font-size: 16px;
    border-radius: 0;
  }

  .mobile-bottom-spacer {
    height: 60px; /* Same height as the fixed buttons */
    width: 100%;
  }
}
