/* ========== CSS VARIABLES ========== */
:root {
  --primary-purple: #8b5cf6;
  --secondary-purple: #a855f7;
  --dark-purple: #6d28d9;
  --light-purple: #ede9fe;
  --accent-pink: #ec4899;
  --dark-bg: #0f0f23;
  --card-bg: #1a1a2e;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-2: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 50%, #ec4899 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  /* CRITICAL: Add padding to body to prevent content hiding behind header */
  padding-top: 80px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

/* ========== HEADER STYLES - FIXED POSITIONING ========== */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1050 !important;
  background: rgba(15, 15, 35, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
  transform: translateY(0) !important;
}

/* Header scroll states */
.site-header.navbar-scrolled {
  background: rgba(15, 15, 35, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

/*.site-header.navbar-hidden {
  transform: translateY(-100%) !important;
}*/

/* Ensure navbar is properly positioned */
.navbar {
  position: relative !important;
  z-index: 1051 !important;
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--text-light);
}

.navbar-brand img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

.brand-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary-purple) !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* ========== HERO SECTION - ADJUSTED FOR FIXED HEADER ========== */
#hero {
  min-height: calc(100vh - 80px) !important;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 2rem !important;
}

/* Skip to main content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-purple);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* ========== ANIMATED BACKGROUND ========== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--dark-bg);
}

.animated-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(139, 92, 246, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(236, 72, 153, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(109, 40, 217, 0.2) 0%,
      transparent 50%
    );
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ========== GLASS MORPHISM EFFECT ========== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

/* ========== BUTTON STYLES ========== */
.btn-primary {
  background: var(--gradient-1);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  background: var(--gradient-1);
}

.btn-outline-primary {
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
  background: transparent;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-purple);
  color: white;
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--gradient-1);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* ========== HERO TITLE IMAGE STYLES ========== */
.hero-title-image {
  animation-delay: 0.1s;
}

.hero-title-img {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
  transition: all 0.3s ease;
  opacity: 0.9;
}

.hero-title-img:hover {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 15px 40px rgba(139, 92, 246, 0.5));
  opacity: 1;
}

/* ========== HERO CAROUSEL STYLES ========== */
.hero-carousel {
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.carousel-item {
  height: 500px;
  position: relative;
}

.carousel-sample-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.carousel-sample-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.carousel-sample-image i {
  z-index: 2;
  position: relative;
}

.slide-1 {
  background: var(--gradient-1);
}

.slide-2 {
  background: var(--gradient-2);
}

.slide-3 {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-caption p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ========== CAROUSEL CONTROLS ========== */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--primary-purple);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

/* ========== CAROUSEL INDICATORS ========== */
.carousel-indicators {
  bottom: -40px;
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin: 0 6px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: scale(1.2);
}

.carousel-indicators button:hover {
  background: var(--secondary-purple);
  border-color: var(--secondary-purple);
}

/* ========== MEDIA CAROUSEL STYLES ========== */
.carousel-media-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.carousel-media:hover {
  transform: scale(1.02);
}

.carousel-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* ========== VIDEO PLAY OVERLAY ========== */
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-play-overlay.playing {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-purple);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: all;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.video-play-btn i {
  margin-left: 3px;
}

/* ========== IMAGE OVERLAY FOR NON-VIDEO SLIDES ========== */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-media-container:hover .image-overlay {
  opacity: 1;
}

.overlay-icon {
  font-size: 4rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

/* ========== REST OF YOUR EXISTING STYLES (keeping them as they were) ========== */
#clients {
  background: rgba(26, 26, 46, 0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

#clients::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(139, 92, 246, 0.1) 0%,
    transparent 50%
  );
  z-index: -1;
}

.clients-slider-container {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
}

.clients-slider {
  display: flex;
  align-items: center;
  animation: slide 30s linear infinite;
  width: calc(200px * 16);
}

.client-logo {
  flex: 0 0 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.logo-img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover .logo-img {
  filter: grayscale(0%) brightness(1) invert(0);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 8));
  }
}

.clients-slider-container:hover .clients-slider {
  animation-play-state: paused;
}

.trust-indicator {
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.trust-indicator:hover {
  transform: translateY(-5px);
}

.trust-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--secondary-purple)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease;
}

.trust-indicator:hover .trust-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.service-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
  border-color: var(--primary-purple);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.stats-section {
  background: var(--card-bg);
  border-radius: 30px;
  padding: 4rem 2rem;
  margin: 5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-text {
  font-size: 24px;
}

.about-image {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-10px);
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-1);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.calendar-container {
  background: var(--dark-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
  position: relative;
}

.calendar-iframe {
  border: 0;
  background: var(--dark-bg);
  border-radius: 20px;
  transition: all 0.3s ease;
  filter: brightness(0.9) contrast(1.1) saturate(0.9);
}

.calendar-iframe:hover {
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.calendar-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 35, 0.1) 0%,
    rgba(26, 26, 46, 0.1) 50%,
    rgba(139, 92, 246, 0.05) 100%
  );
  pointer-events: none;
  border-radius: 20px;
  z-index: 1;
}

.footer {
  background: var(--card-bg);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

/* Modal and form styles */
.modal-content {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  border-radius: 10px;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
  color: var(--text-light);
}

.form-control::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

.form-label {
  color: var(--text-light);
  font-weight: 600;
}

.register-option {
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  border-radius: 20px;
}

.register-option:hover {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.register-option .card-body {
  padding: 2rem;
}

.register-option h5 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.register-option p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.register-option .btn {
  width: 100%;
}

.login-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  border-radius: 10px;
  padding: 12px 15px;
}

.login-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
  color: var(--text-light);
}

.password-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 15px;
  border-radius: 0 10px 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--primary-purple);
}

.form-check-input:checked {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
}

.form-check-input:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
}

/* Loading and animation styles */
.carousel-media[data-loading="true"] {
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-media[data-loading="true"]::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-1 {
  animation-delay: 0.1s;
}
.stagger-2 {
  animation-delay: 0.2s;
}
.stagger-3 {
  animation-delay: 0.3s;
}
.stagger-4 {
  animation-delay: 0.4s;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  body {
    padding-top: 70px !important;
  }

  #hero {
    min-height: calc(100vh - 70px) !important;
    padding-top: 1rem !important;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .hero-carousel {
    height: 350px;
  }

  .carousel-item {
    height: 350px;
  }

  .carousel-sample-image {
    font-size: 3rem;
  }

  .carousel-caption {
    bottom: 15px;
    left: 15px;
    right: 15px;
    padding: 1rem;
  }

  .carousel-caption h5 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 15px;
  }

  .carousel-control-next {
    right: 15px;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .overlay-icon {
    font-size: 3rem;
  }

  .about-image {
    height: 300px;
  }

  .hero-title-img {
    max-width: 150px;
  }

  .hero-title-image {
    margin-bottom: 2rem !important;
  }

  .clients-slider {
    animation-duration: 20s;
  }

  .client-logo {
    flex: 0 0 150px;
    padding: 0 15px;
  }

  .clients-slider {
    width: calc(150px * 16);
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 8));
    }
  }

  .logo-img {
    max-height: 40px;
  }

  .trust-indicator {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .trust-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .calendar-iframe {
    height: 1200px;
    border-radius: 15px;
  }

  .calendar-container {
    border-radius: 15px;
  }
}

@media (max-width: 576px) {
  .hero-title-img {
    max-width: 120px;
  }

  .hero-title-image {
    margin-bottom: 1.5rem !important;
  }

  #clients h2 {
    font-size: 2rem;
  }

  #clients .lead {
    font-size: 1rem;
  }

  .client-logo {
    flex: 0 0 120px;
    height: 60px;
  }

  .clients-slider {
    width: calc(120px * 16);
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-120px * 8));
    }
  }

  .logo-img {
    max-height: 30px;
  }

  .calendar-iframe {
    height: 1100px;
    border-radius: 10px;
  }

  .calendar-container {
    border-radius: 10px;
    margin: 0 -15px;
  }
}

/* Accessibility and performance */
@media (prefers-reduced-motion: reduce) {
  .clients-slider {
    animation: none;
  }

  .clients-slider-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .client-logo {
    flex: 0 0 auto;
  }

  .animated-bg::before {
    animation: none;
  }

  .fade-up {
    animation: none;
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-img {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.logo-img[src] {
  background: none;
  animation: none;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
}

.nav-link:focus-visible {
  outline: 2px solid var(--primary-purple);
  outline-offset: 4px;
  border-radius: 4px;
}

@media print {
  .animated-bg,
  .navbar,
  .carousel,
  .video-play-overlay,
  .calendar-container {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}
