:root {
  --bg-color: #ffffff;
  --surface-color: #f8f9fa;
  --surface-secondary: #edf2f4;
  --primary-red: #d90429;
  --accent-red: #ef233c;
  --dark-navy: #000000;
  --text-main: #000000;
  --text-muted: #8d99ae;
  --border-color: #dee2e6;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.2s ease;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 10px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-red), #ff7b7d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-primary-red {
  color: var(--primary-red) !important;
}

/* Navbar */
.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar-brand img {
  height: 100px !important;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 15px;
  opacity: 0.8;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red) !important;
  opacity: 1;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 22px;
  position: relative;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001; /* Above sidebar */
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-icon {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: 0.25s ease-in-out;
}

/* Toggler Animation to X */
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Left Sidebar Mobile Menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 100px 30px 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: block !important;
    overflow-y: auto;
    margin-top: 0 !important;
    border-radius: 0 !important;
  }

  .navbar-collapse.show {
    left: 0;
  }

  .navbar-nav {
    flex-direction: column;
    text-align: left !important;
  }

  .nav-item {
    margin: 15px 0 !important;
    text-align: left !important;
  }

  .nav-link {
    margin: 0 !important;
    font-size: 1.1rem;
    padding: 5px 0;
    opacity: 1;
  }

  .nav-item.ms-lg-4 {
    margin-left: 0 !important;
    margin-top: 25px !important;
  }

  .navbar-brand img {
    height: 100px !important;
  }
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
  color: #fff !important;
  border: none;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 59, 63, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
  z-index: -1;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom:hover {
  background: var(--accent-red);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(217, 4, 41, 0.4);
}

.btn-primary-custom:focus,
.btn-primary-custom:active {
  background: var(--primary-red);
  color: #fff;
  box-shadow: none;
  outline: none;
}

.btn-details-custom {
  background: transparent;
  color: #000;
  border: 2px solid #000;
  border-radius: 50px;
  font-weight: 700;
  padding: 8px 20px;
  transition: var(--transition);
  text-transform: capitalize;
}

.btn-details-custom:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark-custom {
  background: transparent;
  color: var(--dark-navy) !important;
  border: 2px solid var(--dark-navy);
  padding: 13px 35px;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-outline-dark-custom:hover {
  background: var(--dark-navy);
  color: #fff !important;
  transform: translateY(-4px);
}

/* Hero Section */
.hero-banner {
  background-color: #f8f9fa; /* Placeholder color */
  background-image:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.9) 30%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    url("../images/hero-banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}
.hero-banner-1 {
  background-color: #f8f9fa; /* Placeholder color */
  background-image:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.9) 30%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    url("../images/hero-banner-1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.hero-slider {
  z-index: 2;
  position: relative;
}

.hero-slider .item {
  height: 90vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Owl Carousel Custom Dots */
.hero-slider .owl-theme .owl-dots {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
}

.owl-theme .owl-dots {
  margin-top: 40px !important;
  text-align: center;
}

.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 6px;
  background: rgba(0, 0, 0, 0.1);
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: var(--primary-red);
  width: 35px;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--primary-red);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-btns {
  display: flex;
  align-items: center;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 20px;
  display: block;
  font-size: 0.85rem;
  animation: fadeInDown 0.8s ease-out both;
}

.hero-title {
  font-size: 50px;
  line-height: 0.95;
  margin-bottom: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -3px;
  color: var(--dark-navy);
}

@media (max-width: 500px) {
  .hero-title {
    font-size: 35px;
  }
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
  animation: none;
}

.hero-image-wrapper {
  position: relative;
  padding-left: 50px;
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(217, 4, 41, 0.1) 0%,
    transparent 70%
  );
  z-index: -1;
  border-radius: 50%;
}

.hero-img-floating {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
}

.stats-card {
  position: absolute;
  bottom: 30px;
  left: 0;
  background: #fff;
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.stats-card.second {
  top: 30px;
  right: -20px;
  left: auto;
  bottom: auto;
}

.stats-icon {
  font-size: 2rem;
  background: rgba(217, 4, 41, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.hero-content .btn-primary-custom {
  padding: 14px 35px;
}

/* Custom Owl Nav */
.hero-slider .owl-nav {
  display: none !important;
}

.hero-slider .owl-nav button {
  width: 60px;
  height: 60px;
  background: var(--primary-red) !important;
  border-radius: 50% !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  margin: 0 30px;
  transition: var(--transition) !important;
  pointer-events: auto;
  border: none !important;
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3) !important;
}

.hero-slider .owl-nav button span {
  display: block;
  line-height: 1;
  transform: translateY(-2px); /* Subtle adjustment for visual centering */
}

.hero-slider .owl-nav button:hover {
  background: var(--dark-navy) !important;
  transform: scale(1.1);
}

.hero-slider .owl-dots {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.hero-slider .owl-dot span {
  width: 12px !important;
  height: 12px !important;
  margin: 5px 8px !important;
  background: rgba(0, 0, 0, 0.1) !important;
  transition: var(--transition) !important;
}

.hero-slider .owl-dot.active span {
  background: var(--primary-red) !important;
  width: 30px !important;
}

/* Sections */
.section-padding {
  padding: 60px 0;
}
.section-padding-top {
  padding-top: 60px;
}

/* Page Header Design */
.bg-page-header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/banner.webp");
  background-size: cover;
  background-position: center;
  padding: 100px 0 80px;
  color: #fff;
  position: relative;
  text-align: center;
  border-bottom: 5px solid var(--primary-red);
}

.bg-page-header h1 {
  color: #fff !important;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.bg-page-header .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bg-page-header {
    padding: 60px 0;
  }
  .bg-page-header h1 {
    font-size: 2.2rem;
  }
}

.breadcrumb-custom {
  margin-top: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: var(--transition);
}

.breadcrumb-custom a:hover {
  color: var(--primary-red) !important;
}

.breadcrumb-custom .sep {
  color: var(--primary-red);
  margin: 0 12px;
}

.breadcrumb-custom .current {
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-weight: 700;
  font-size: 50px;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 5px;
  background: var(--primary-red);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}
@media (max-width: 500px) {
  .section-title h2 {
    font-size: 35px;
  }
}

/* Facility Cards */
.facility-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(217, 4, 41, 0.1);
  border-color: rgba(217, 4, 41, 0.1);
}

.facility-icon {
  width: 70px;
  height: 70px;
  background: rgba(217, 4, 41, 0.05);
  color: var(--primary-red);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.facility-card:hover .facility-icon {
  background: var(--primary-red);
  color: #fff;
  transform: rotateY(360deg);
}

.facility-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
  transition: var(--transition);
}

.facility-card:hover h4 {
  color: var(--primary-red);
}

/* Cards */
.course-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 10;
}

.course-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-card:hover .course-img-wrapper img {
  transform: scale(1.1);
}

.course-content {
  padding: 30px;
  text-align: left;
}

.course-price {
  font-size: 1.3rem;
  color: var(--primary-red);
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.price-prefix {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  background: #f8f9fa;
  padding: 2px 10px;
  border-radius: 50px;
  border: 1px solid #eee;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.course-price div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-price small {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-red);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.course-price {
  font-size: 1.3rem;
  color: var(--primary-red);
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.course-content {
  padding: 30px;
}

.course-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* Feature Cards (Why Choose IMS) */
.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(217, 4, 41, 0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.feature-icon-box i {
  font-size: 2rem;
  color: var(--primary-red);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(10deg);
}

.feature-card:hover .feature-icon-box i {
  color: #fff;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  transition: var(--transition);
}

.feature-card:hover .feature-title,
.feature-card:hover .feature-text {
  color: #fff;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
  transition: var(--transition);
}

/* Background Shapes */
.bg-shape {
  position: absolute;
  filter: blur(40px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
}

/* About Section */
.about-img {
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-img:hover {
  transform: rotate(-1deg) scale(1.02);
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin: 15px;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-red);
}

.stars {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.user-info h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.user-info small {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.quote-mark {
  width: 40px;
  height: 40px;
  background: rgba(217, 4, 41, 0.1);
  color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* FAQ Accordion */
.accordion-item {
  border: 1px solid var(--border-color) !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-button {
  padding: 20px 25px;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 59, 63, 0.05);
  color: var(--primary-red);
}

.accordion-button:focus {
  box-shadow: none;
}
/* CTA Section */
.cta-bg {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.3) 100%),
    url("../images/banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Removed fixed attachment for smoother scroll */
}

/* Footer */
.footer {
  background: #0a0b10;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-logo {
  height: 100px;
  width: auto;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.8;
}

.widget-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links li a:hover {
  color: var(--primary-red);
  padding-left: 10px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 12px;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  color: #fff !important;
  background: var(--primary-red);
  transform: translateY(-5px);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-info li i {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info li:hover i {
  background: var(--primary-red);
  color: #fff;
  transform: translateY(-5px);
}

.contact-info li span {
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-info li:hover span {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Top Bar */
.top-bar {
  background-color: var(--dark-navy);
  color: #fff;
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.top-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.top-info a:hover {
  color: var(--primary-red);
}

.top-marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.top-join a {
  color: #fff;
  text-decoration: none;
  padding: 6px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: var(--transition);
  font-size: 0.8rem;
  display: inline-block;
}

.top-join a:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #fff !important;
  transform: translateY(-2px);
}

.badge-new {
  background: var(--primary-red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
  vertical-align: middle;
  margin-right: 15px;
  margin-left: 15px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Marquee Styles */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  position: relative;
}

.marquee-text {
  display: inline-flex;
  animation: marquee 30s linear infinite;
  padding-left: 0;
}

.top-bar .marquee-text {
  animation: marquee 30s linear infinite;
  padding-left: 0;
}

.services-marquee .marquee-text {
  animation: marquee 50s linear infinite;
}

.marquee-text span {
  display: inline-block;
  white-space: nowrap;
}

.services-list span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 50px;
  font-size: 0.9rem;
}

.whitespace-nowrap {
  white-space: nowrap;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.services-marquee {
  border-top: 2px solid var(--primary-red);
  border-bottom: 2px solid var(--primary-red);
}

.bg-dark-navy {
  background-color: var(--dark-navy) !important;
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  z-index: 1000;
}

.whatsapp-btn,
.back-to-top {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.whatsapp-btn,
.back-to-top {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
  background-color: #25d366;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  width: 55px;
  justify-content: center;
}

.whatsapp-text {
  max-width: 0;
  opacity: 0;
  font-size: 15px;
  font-weight: 700;
  margin-left: 0;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.whatsapp-btn:hover {
  width: 155px;
  background-color: #128c7e;
  justify-content: flex-start;
  padding-left: 20px;
  color: #fff !important;
}

.whatsapp-btn i {
  color: #fff !important;
}

.whatsapp-btn:hover .whatsapp-text {
  max-width: 100px;
  opacity: 1;
  margin-left: 10px;
  color: #fff !important;
}

.back-to-top {
  background-color: var(--primary-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--dark-navy);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .whatsapp-btn,
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

.about-icon-sm {
  width: 45px;
  height: 45px;
  background: rgba(217, 4, 41, 0.1);
  color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.about-icon-sm:hover {
  background: var(--primary-red);
  color: #fff;
  transform: translateY(-3px);
}

.about-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.hero-subtitle {
  color: var(--primary-red);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.marquee-text {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

.contact-info a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--primary-red);
}

.contact-info span a,
.top-info a,
.footer-links a {
  cursor: pointer;
}

/* Global Link Styling */
a,
.contact-info a,
.top-info a,
.footer-links a,
.footer-bottom a {
  color: inherit !important;
  text-decoration: none !important;
  transition: var(--transition);
  cursor: pointer;
}

a:hover,
.contact-info a:hover,
.top-info a:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--primary-red) !important;
}
