:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --accent-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --white: #ffffff;
  --light-blue: #e6f2ff;
  --transition: all 0.3s ease;


}

/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* Navbar Styles */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 3rem;
  background-color: var(--white);
  min-height: 80px;
}

/* Mobile navbar adjustments */
@media (max-width: 991px) {
  .navbar {
    padding: 1.25rem 1.5rem;
    min-height: 70px;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-toggler {
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 1rem 1.25rem;
    min-height: 65px;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Interactive Logo Styles */
#interactive-logo-container {
  width: 350px;
  height: 50px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: var(--transition);
  margin-right: 20px;
  margin-left: 10px;
}

#interactive-logo-container:hover {
  transform: translateY(-2px);
}

#interactive-logo-container svg {
  width: 100%;
  height: auto;
  max-height: 50px;
}

/* Mobile responsive logo */
@media (max-width: 991px) {
  #interactive-logo-container {
    width: 280px;
    height: 42px !important;
    margin-right: 10px;
  }

  #interactive-logo-container svg {
    max-height: 42px;
  }
}

@media (max-width: 576px) {
  #interactive-logo-container {
    width: 220px;
    height: 35px !important;
    margin-right: 8px;
  }

  #interactive-logo-container svg {
    max-height: 35px;
  }
}

/* Hide navbar on scroll up */
.navbar {
  transition: transform 0.4s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-hidden {
  transform: translateY(-100%);
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

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

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

.navbar-toggler {
  border: none;
  position: relative;
  width: 20px;
  height: 15px;
  background: transparent;
  padding: 0;
}

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

/* Hide the default Bootstrap icon */
.navbar-toggler-icon {
  display: none;
}

/* Custom hamburger lines */
.navbar-toggler span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--dark-color);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.navbar-toggler span:nth-child(1) {
  top: 0px;
}

.navbar-toggler span:nth-child(2),
.navbar-toggler span:nth-child(3) {
  top: 6px;
}

.navbar-toggler span:nth-child(4) {
  top: 12px;
}

/* Transform to X when NOT collapsed (when menu is open) */
.navbar-toggler:not(.collapsed) span:nth-child(1) {
  top: 6px;
  width: 0%;
  left: 50%;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: rotate(-45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(4) {
  top: 6px;
  width: 0%;
  left: 50%;
}



/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 123, 255, 0.85), rgba(0, 123, 255, 0.85)), url('../img/setup.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.service-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  margin-bottom: 2rem;
  background-color: var(--white);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card .card-title {
  color: var(--primary-color);
  font-weight: 600;
}

/* Doctor Profile */
.doctor-profile {
  background-color: var(--light-blue);
  padding: 4rem 0;
}

.doctor-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  margin: 0 auto;
}

.doctor-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: var(--transition);
}

.doctor-image:hover img {
  transform: scale(1.03);
}

/* Reviews Section */
.review-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.review-card .stars {
  color: var(--warning-color);
  margin-bottom: 0.5rem;
}

.review-card .patient-name {
  font-weight: 600;
  color: var(--primary-color);
}

/* Dashboard Styles */
.dashboard-card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.sidebar .nav-link {
    padding: 0.8rem 1rem;
    color: #333;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.sidebar .nav-link:hover {
    background-color: rgba(0,123,255,0.1);
}

.sidebar .nav-link.active {
    background-color: #007bff;
    color: white;
}

.stats-card {
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.table td, .table th {
    padding: 1rem;
    vertical-align: middle;
}

/* Appointment Form */
.appointment-form {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.5rem 2rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
  transform: translateY(-2px);
}

/* Location Section */
.location-container {
  height: 400px;
  margin-bottom: 2rem;
}

#map {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clinic-address {
  position: relative !important;
  overflow: visible !important;
  min-height: 300px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem 2rem 2rem 2rem;
  padding-right: 220px;
}

.clinic-address i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.directions-btn {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.directions-btn:hover {
  background-color: #218838;
  border-color: #1e7e34;
  transform: translateY(-2px);
}

/* QR Code Corner Styling */
.qr-corner-section {
  position: absolute;
  top: 20px;
  right: 20px;
  text-align: center;
  z-index: 10;
  width: 180px;
}

.qr-corner-image {
  width: 180px;
  height: 180px;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.qr-corner-text {
  font-size: 0.8rem;
  color: #666;
  margin-top: 6px;
  margin-bottom: 0;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Responsive QR corner */
@media (max-width: 768px) {
  .clinic-address {
    padding-right: 2rem;
  }

  .qr-corner-section {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 2rem;
    width: 100%;
  }

  .qr-corner-image {
    width: 150px;
    height: 150px;
  }

  .qr-corner-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .qr-corner-image {
    width: 130px;
    height: 130px;
  }

  .qr-corner-text {
    font-size: 0.7rem;
  }
}



/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 2rem;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li {
  margin-bottom: 0.75rem;
}

footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--white);
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Gallery */
.gallery {
  margin: 2rem 0;
}

.gallery-item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.gallery-item:hover img {
  transform: scale3d(1.05, 1.05, 1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 0.75rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Enhanced Scroll Animations - Optimized for performance */
.fade-in {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.slide-up {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.slide-up.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.slide-up-delayed {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: 0.05s;
  will-change: opacity, transform;
}

.slide-up-delayed.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.slide-up-stagger {
  opacity: 0;
  transform: translate3d(0, 35px, 0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}

.slide-up-stagger.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.scale-in {
  opacity: 0;
  transform: scale3d(0.95, 0.95, 1) translate3d(0, 20px, 0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}

.scale-in.visible {
  opacity: 1;
  transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  will-change: auto;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .doctor-image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Payment Method Selection */
.payment-method-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment-method-card {
  flex: 1;
  min-width: 120px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-card:hover {
  border-color: var(--primary-color);
}

.payment-method-card.selected {
  border-color: var(--primary-color);
  background-color: var(--light-blue);
}

.payment-method-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Success Page */
.success-page {
  text-align: center;
  padding: 4rem 0;
}

.success-icon {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 2rem;
}

/* Loader */
.loader {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 2rem auto;
  display: none;
}

.loader:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid var(--primary-color);
  border-color: var(--primary-color) transparent var(--primary-color) transparent;
  animation: loader 1.2s linear infinite;
}

@keyframes loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Calendar trigger cursor */
.cursor-pointer {
  cursor: pointer;
  transition: all 0.3s ease;
}

.cursor-pointer:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

/* Time slot selection */
.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.time-slot {
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.time-slot:hover {
  background-color: var(--light-blue);
  border-color: var(--primary-color);
}

.time-slot.selected {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.time-slot.disabled {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}
/* Enhanced Star Rating Styles */
.star-rating {
    font-size: 28px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 1rem 0;
}

.star-btn {
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.star-btn:hover {
    transform: scale(1.25);
    background-color: rgba(255, 193, 7, 0.1);
}

.star-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.star-btn i {
    transition: all 0.2s ease;
}

/* Rating feedback styling */
.rating-feedback {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-feedback .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

/* Rating validation feedback */
.star-rating.was-validated {
    border-radius: 8px;
    position: relative;
}

#rating-error {
    color: #dc3545;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
    text-align: center;
    font-weight: 500;
}

/* Reviews page enhancements */
.reviews-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.reviews-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>');
    background-size: cover;
}

/* Animated Testimonials */
.testimonials-wrapper {
    height: 600px;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.testimonials-track {
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.testimonial-row {
    display: flex;
    gap: 2rem;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    white-space: nowrap;
    will-change: transform;
}

.testimonial-row.moving-right {
    animation: slideRight 60s linear infinite;
}

.testimonial-row.moving-left {
    animation: slideLeft 60s linear infinite;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 400px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    white-space: normal;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-info h6 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Pause animation on hover */
.testimonials-wrapper:hover .testimonial-row {
    animation-play-state: paused;
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Mobile responsive testimonials */
@media (max-width: 768px) {
    .testimonials-wrapper {
        height: 500px;
    }

    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }

    .testimonial-row.moving-right,
    .testimonial-row.moving-left {
        animation-duration: 45s;
    }
}

@media (max-width: 576px) {
    .testimonials-wrapper {
        height: 450px;
    }

    .testimonial-card {
        width: 280px;
        padding: 1.25rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
    }
}

.review-form-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.review-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.review-display-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.review-display-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.review-display-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--warning-color), #ffc107);
}

.review-guidelines-card {
    background: linear-gradient(145deg, var(--light-blue) 0%, rgba(0, 123, 255, 0.05) 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.review-guidelines-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.1);
}



/* Service Page Cards */
.services-page-card {
    overflow: hidden;
    transition: all 0.4s ease;
}

.services-page-card .img-fluid {
    transition: all 0.5s ease;
    transform-origin: center;
}

.services-page-card:hover .img-fluid {
    transform: scale(0.9);
}

.services-page-card .card-body {
    transition: all 0.5s ease;
    transform-origin: center;
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.95);
}

.services-page-card:hover .card-body {
    transform: translateX(-10px);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.services-page-card .card-title {
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.services-page-card .card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}

.services-page-card:hover .card-title:after {
    width: 100%;
}

.services-page-card ul {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.services-page-card:hover ul {
    opacity: 1;
    transform: translateX(10px);
}



/* Additional Services Cards Styling */
.services-page-card .card-body i {
    transition: transform 0.3s ease, color 0.3s ease;
    transform-origin: center;
}

.services-page-card:hover .card-body i {
    transform: scale(1.2);
    color: var(--accent-color);
}

.services-page-card .card-body.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transform: translateY(0);
}

.services-page-card:hover .card-body.text-center {
    transform: translateY(-10px);
}

/* Doctor Credentials Highlight */
.highlight-credential {
    position: relative;
    padding: 4px 8px;
    margin: 6px 0;
    border-left: 3px solid var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.highlight-credential:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateX(5px);
}

.highlight-credential i {
    transition: transform 0.3s ease;
}

.highlight-credential:hover i {
    transform: scale(1.2);
}



/* Add any custom styles here */

/* Registration form divider */
.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 0.9em;
}

/* Services Overview Section */
.services-overview {
  padding: 4rem 0;
}

.services-overview .container {
  max-width: 1200px;
}

.services-overview .row {
  margin: 0 -15px;
}

.services-overview [class*="col-"] {
  padding: 0 15px;
}

/* Emergency Ticker */
.emergency-ticker {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 14px 0;
  margin: 3rem 0 1rem 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.emergency-ticker-content {
  display: flex;
  width: 200%;
  animation: scroll-right 20s linear infinite;
}

.emergency-ticker:hover .emergency-ticker-content {
  animation-play-state: paused;
}

.emergency-text {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 50%;
  justify-content: space-evenly;
  padding: 0 1rem;
}

.emergency-text .phone-number {
  color: #ffff99;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

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

/* Mobile specific emergency ticker adjustments */
@media (max-width: 768px) {
  .emergency-ticker-content {
    animation: scroll-right 25s linear infinite;
  }

  .emergency-text {
    gap: 1.5rem;
    padding: 0 1rem;
    justify-content: space-evenly;
  }

  .emergency-text .phone-number {
    padding: 0.25rem 0.75rem;
    font-size: 1rem;
    min-width: fit-content;
  }
}

@media (max-width: 576px) {
  .emergency-ticker-content {
    animation: scroll-right 30s linear infinite;
  }

  .emergency-text {
    gap: 1rem;
    padding: 0 0.5rem;
    font-size: 0.9rem;
  }

  .emergency-text .phone-number {
    padding: 0.2rem 0.6rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }
}

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

/* Responsive emergency ticker */
@media (max-width: 768px) {
  .emergency-text {
    font-size: 0.9rem;
  }

  .emergency-ticker {
    margin: 2.5rem 0 0.75rem 0;
    border-radius: 12px;
  }
}

@media (max-width: 576px) {
  .emergency-text {
    font-size: 0.85rem;
  }

  .emergency-ticker {
    margin: 2rem 0 0.5rem 0;
    border-radius: 10px;
  }
}