/* Global Styles */
:root {
  --primary-font: "Onest", sans-serif;
  --secondary-font: "Inter", sans-serif;
  --primary-color: #1c0950;
  --secondary-color: #6366f1;
  --accent-color: #f7345e;
  --light-bg: #f8fafc;
}

.gradient-bg {
  background: linear-gradient(180deg, #d181e93d 0%, rgba(209, 129, 233, 0.1) 70%, rgba(255, 255, 255, 0) 100%);
}

[multiple], 
[type=date], 
[type=datetime-local], 
[type=email], 
[type=month], 
[type=number], 
[type=password], 
[type=search], 
[type=tel], 
[type=text], 
[type=time], 
[type=url], 
[type=week], 
select, 
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-color: #6b7280;
    border-width: 1px;
    border-radius: 0;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.5rem;
    --tw-shadow: 0 0 #0000;
}


/* ==== Custom Enhancements (non-destructive) ==== */

/* Beautiful Video Play Button */
.video-play-button {
  position: relative;
  background: linear-gradient(135deg, #be01f6, #d181e9);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 8px 32px rgba(190, 1, 246, 0.3),
    0 0 0 0 rgba(190, 1, 246, 0.7);
  overflow: hidden;
}

.video-play-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-play-button::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #be01f6, #d181e9, #be01f6);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: pulse-ring 2s infinite;
}

.video-play-button:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 12px 40px rgba(190, 1, 246, 0.4),
    0 0 0 20px rgba(190, 1, 246, 0.1);
}

.video-play-button:hover::before {
  opacity: 1;
}

.video-play-button:hover::after {
  opacity: 1;
}

.video-play-button:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.video-play-button .play-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
  z-index: 2;
  position: relative;
}

.video-play-button:hover .play-icon {
  transform: scale(1.2);
}

/* Pulse animation for the outer ring */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Floating animation for the button */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.video-play-button {
  animation: float 3s ease-in-out infinite;
}

/* Glow effect around the button container */
.video-button-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-button-container::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(190, 1, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Hero ambient gradients and animated blobs */
.hero-ambient {
  position: relative;
}

/* Hero heading/body spacing refinement */
.hero-copy h1 { letter-spacing: -0.02em; line-height: 48px; }
.hero-copy p { opacity: 0.9; }

/* Modern Modal Container */
.modern-modal {
  border: none;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  backdrop-filter: blur(20px);
  max-width: 1000px;
  width: 95vw;
}

/* Modern Header */
.modern-header {
  background: linear-gradient(135deg, #be01f6 0%, #d946ef 50%, #e879f9 100%);
  border: none;
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.header-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-text .modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  font-family: var(--primary-font);
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 1.1rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-weight: 400;
}

.modern-close {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.modern-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Progress Indicator */
.progress-container {
  /* background: #f8fafc;
  padding: 1.5rem 2rem; */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.progress-bar-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
}

.step-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.progress-step.active .step-circle {
  background: linear-gradient(135deg, #be01f6, #d946ef);
  color: white;
  border-color: rgba(190, 1, 246, 0.3);
  box-shadow: 0 0 0 6px rgba(190, 1, 246, 0.1);
  transform: scale(1.1);
}

.progress-step.active .step-label {
  color: #be01f6;
  font-weight: 600;
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
}

.progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #be01f6, #d946ef);
  width: var(--progress-width, 33%);
  transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modern Body */
.modern-body {
  padding: 2.5rem;
  background: white;
}

.modern-form {
  position: relative;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-step.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Headers */
.step-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  font-family: var(--primary-font);
  letter-spacing: -0.02em;
}

.step-description {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Modern Input Groups */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
  display: block;
  font-family: var(--primary-font);
}

.input-container,
.select-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #9ca3af;
  font-size: 1.1rem;
  z-index: 2;
  transition: all 0.3s ease;
}

.modern-input .form-control,
.modern-select .form-select {
  height: 60px;
  padding: 0 1rem 0 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  background: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modern-input .form-control:focus,
.modern-select .form-select:focus {
  border-color: #be01f6;
  box-shadow: 
    0 0 0 4px rgba(190, 1, 246, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.modern-input .form-control:focus + .input-icon,
.modern-select .form-select:focus + .input-icon {
  color: #be01f6;
  transform: scale(1.1);
}

.modern-input .form-control.is-valid,
.modern-select .form-select.is-valid {
  border-color: #10b981;
  background-image: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modern-input .form-control.is-invalid,
.modern-select .form-select.is-invalid {
  border-color: #ef4444;
  background-image: none;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Plan Selection Cards */
.membership-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.plan-option {
  position: relative;
}

.plan-option input[type="radio"] {
  display: none;
}

.plan-card {
  display: block;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.plan-card:hover {
  border-color: #be01f6;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.plan-option input[type="radio"]:checked + .plan-card {
  border-color: #be01f6;
  background: linear-gradient(135deg, rgba(190, 1, 246, 0.05) 0%, rgba(217, 70, 239, 0.05) 100%);
  transform: translateY(-4px);
  box-shadow: 
    0 15px 35px rgba(190, 1, 246, 0.15),
    0 0 0 1px rgba(190, 1, 246, 0.1);
}

.popular-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: linear-gradient(135deg, #be01f6, #d946ef);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  font-family: var(--primary-font);
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.currency {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 500;
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.period {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.plan-features {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #4b5563;
  font-weight: 500;
}

.feature i {
  color: #10b981;
  font-size: 0.9rem;
  width: 16px;
}

.plan-badge {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #374151;
  text-align: center;
  padding: 0.875rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.plan-option input[type="radio"]:checked + .plan-card .plan-badge {
  background: linear-gradient(135deg, #be01f6, #d946ef);
  color: white;
}

/* Navigation Buttons */
.step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  gap: 1rem;
}

.btn-next,
.btn-submit {
  background: linear-gradient(135deg, #be01f6 0%, #d946ef 100%);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(190, 1, 246, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--primary-font);
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(190, 1, 246, 0.4);
  background: linear-gradient(135deg, #a601d6 0%, #c946df 100%);
}

.btn-back {
  background: white;
  border: 2px solid #e5e7eb;
  color: #6b7280;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--primary-font);
}

.btn-back:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
  transform: translateY(-1px);
}

/* Modern Checkboxes */
.form-options {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modern-checkbox {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.modern-checkbox:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.modern-checkbox .form-check-input {
  margin-right: 1rem;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
}

.modern-checkbox .form-check-input:checked {
  background-color: #be01f6;
  border-color: #be01f6;
}

.modern-checkbox .form-check-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  margin: 0;
}

.modern-checkbox .form-check-label i {
  color: #6b7280;
  font-size: 1.1rem;
}

.modern-checkbox .form-check-label a {
  color: #be01f6;
  text-decoration: none;
  font-weight: 600;
}

.modern-checkbox .form-check-label a:hover {
  text-decoration: underline;
}

/* Validation Feedback */
.invalid-feedback {
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.invalid-feedback::before {
  content: '⚠';
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-modal {
    margin: 1rem;
    border-radius: 20px;
  }
  
  .modern-header {
    padding: 1.5rem;
  }
  
  .header-content {
    gap: 1rem;
  }
  
  .header-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .header-text .modal-title {
    font-size: 1.5rem;
  }
  
  .modal-subtitle {
    font-size: 1rem;
  }
  
  .modern-body {
    padding: 1.5rem;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .step-description {
    font-size: 1rem;
  }
  
  .membership-plans {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .plan-card {
    padding: 1.5rem;
  }
  
  .step-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-navigation .btn {
    width: 100%;
  }
  
  .progress-bar-custom {
    max-width: 300px;
  }
  
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
}

/* Font utilities */
.font-inter { font-family: var(--secondary-font); }
.font-onest { font-family: var(--primary-font); }

/* Hero overlap */
.hero-ambient { overflow: visible; }
.hero-image-overlap {
  position: relative;
  z-index: 3;
  transform: translateY(28px);
}
@media (min-width: 992px) { /* lg */
  .hero-image-overlap { transform: translateY(40px); }
}

.btn-hero-cta {
  border: 1px solid #be01f6;
  background: #e49ef9;
  color: #000000;
  border-radius: 20px;
  padding: 15px 20px;
  transition: background-color .2s ease, color .2s ease;
}

.btn-hero-cta:hover {
  background: #be01f6;
  color: #ffffff;
}

/* Values section soft cards and hover lift */
.values-item {
  background: #ffffff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* Simple carousel for Apps & Features */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s ease; gap: 24px; }
.carousel-slide { min-width: 80%; max-width: 334px; flex: 0 0 auto; border-radius: 24px; overflow: hidden; position: relative; }
@media (min-width:1024px){ .carousel-slide { min-width: 30%; } }
.carousel-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: 1px solid rgba(0,0,0,0.1); width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; cursor: pointer; }
.carousel-button:hover { background: #ffffff; }
.carousel-button.prev { left: 8px; }
.carousel-button.next { right: 8px; }
.slide-glow::before { content: ""; position: absolute; inset: -15%; background: radial-gradient(closest-side, rgba(190,1,246,0.25), rgba(190,1,246,0)); filter: blur(24px); z-index: -1; }

/* Phone glow (App Download section) */
.glow-behind { position: relative; }
.glow-behind::before { content: ""; position: absolute; inset: -15%; background: radial-gradient(closest-side, rgba(190,1,246,0.35), rgba(190,1,246,0)); filter: blur(30px); z-index: -1; }

/* Pricing toggle */
.price-oval-container {border-top-left-radius: 165px; border-top-right-radius: 165px;}
.price-amount { transition: transform .3s ease, opacity .2s ease; display: inline-block; }
.price-amount.updating { transform: translateY(-6px); opacity: .5; }
.popular-badge { position: absolute; top: -12px; left: 16px; background: linear-gradient(90deg, #be01f6, #d181e9); color: #fff; padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }

/* MacBook mockup and video modal */
.macbook-mock { 
  position: relative; 
  display: flex; 
  justify-content: center; 
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  animation: macbook-float 6s ease-in-out infinite;
}

@keyframes macbook-float {
  0%, 100% {
    transform: translateY(0px) rotateY(0deg);
  }
  50% {
    transform: translateY(-15px) rotateY(2deg);
  }
}

.macbook-frame { 
  width: 100%; 
  height: auto; 
  max-width: 800px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.macbook-screen { 
  position: absolute; 
  top: 8%; 
  left: 10%; 
  right: 10%; 
  bottom: 12%; 
  background: #000; 
  border-radius: 8px; 
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.macbook-screen > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

/* Custom Video Controls */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  backdrop-filter: blur(10px);
  padding: 12px 16px 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 20;
}

.video-controls.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 12px;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 8px;
  overflow: hidden;
}

.progress-bar:hover {
  height: 8px;
  margin-bottom: 7px;
}

.progress-filled {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #be01f6, #d946ef);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 2px solid #be01f6;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress-bar:hover .progress-handle {
  opacity: 1;
}

/* Time Display */
.time-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* Controls Row */
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-controls,
.right-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Control Buttons */
.control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
  backdrop-filter: blur(5px);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.control-btn:active {
  transform: scale(0.95);
}

.control-btn svg {
  width: 18px;
  height: 18px;
}

.play-pause-btn {
  width: 42px;
  height: 42px;
  background: rgba(190, 1, 246, 0.9);
}

.play-pause-btn:hover {
  background: rgba(190, 1, 246, 1);
}

.play-pause-btn svg {
  width: 20px;
  height: 20px;
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider-container {
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease;
}

.volume-control:hover .volume-slider-container {
  width: 80px;
}

.volume-slider {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid #be01f6;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid #be01f6;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.volume-slider::-webkit-slider-track {
  background: linear-gradient(90deg, #be01f6 0%, rgba(255, 255, 255, 0.3) 0%);
  height: 4px;
  border-radius: 2px;
}

.volume-slider::-moz-range-track {
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  border-radius: 2px;
  border: none;
}

/* Fullscreen Button */
.fullscreen-icon {
  transition: transform 0.2s ease;
}

.control-btn:hover .fullscreen-icon {
  transform: scale(1.1);
}

/* Video Overlay Controls */
.video-overlay {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.video-overlay:hover {
  opacity: 1 !important;
}

.video-control-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #333;
}

.video-control-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Video Loading State */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  z-index: 10;
}

/* Video Status Indicator */
.video-status {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-status.visible {
  opacity: 1;
}

/* Auto-play animation effect */
@keyframes autoPlayGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(190, 1, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(190, 1, 246, 0.6);
  }
}

.video-container.auto-playing {
  animation: autoPlayGlow 2s ease-in-out;
}

/* Responsive adjustments for MacBook mock */
@media (max-width: 768px) {
  .macbook-mock {
    max-width: 600px;
  }
  
  .macbook-frame {
    max-width: 600px;
  }
  
  .macbook-screen {
    top: 8.5%;
    left: 10.5%;
    right: 10.5%;
    bottom: 13%;
  }
  
  .video-control-button {
    width: 50px;
    height: 50px;
  }
  
  .video-control-button svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .video-status {
    font-size: 11px;
    padding: 3px 6px;
  }
  
  /* Custom controls responsive */
  .video-controls {
    padding: 10px 12px 12px;
  }
  
  .control-btn {
    width: 32px;
    height: 32px;
  }
  
  .control-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .play-pause-btn {
    width: 38px;
    height: 38px;
  }
  
  .play-pause-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .time-display {
    font-size: 11px;
  }
  
  .volume-control:hover .volume-slider-container {
    width: 60px;
  }
  
  .volume-slider {
    width: 60px;
  }
  
  .left-controls,
  .right-controls {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .macbook-mock {
    max-width: 400px;
  }
  
  .macbook-frame {
    max-width: 400px;
  }
  
  .macbook-screen {
    top: 9%;
    left: 11%;
    right: 11%;
    bottom: 14%;
  }
  
  .video-control-button {
    width: 45px;
    height: 45px;
  }
  
  .video-control-button svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .video-status {
    font-size: 10px;
    padding: 2px 5px;
    bottom: 5px;
    left: 5px;
  }
  
  /* Ensure video container maintains aspect ratio on small screens */
  .video-container {
    min-height: 120px;
  }
  
  /* Custom controls mobile adjustments */
  .video-controls {
    padding: 8px 10px 10px;
  }
  
  .control-btn {
    width: 28px;
    height: 28px;
  }
  
  .control-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .play-pause-btn {
    width: 34px;
    height: 34px;
  }
  
  .play-pause-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .time-display {
    font-size: 10px;
    margin-bottom: 6px;
  }
  
  .progress-bar {
    height: 5px;
    margin-bottom: 6px;
  }
  
  .progress-bar:hover {
    height: 6px;
    margin-bottom: 5px;
  }
  
  .progress-handle {
    width: 12px;
    height: 12px;
  }
  
  .volume-control:hover .volume-slider-container {
    width: 50px;
  }
  
  .volume-slider {
    width: 50px;
    height: 3px;
  }
  
  .volume-slider::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
  }
  
  .volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
  }
  
  .left-controls,
  .right-controls {
    gap: 6px;
  }
  
  /* Hide some controls on very small screens */
  .right-controls {
    display: none;
  }
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .video-control-button {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  .video-status {
    backdrop-filter: blur(10px);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .macbook-mock {
    animation: none;
  }
  
  .video-container.auto-playing {
    animation: none;
  }
  
  .video-control-button {
    transition: none;
  }
  
  .video-overlay {
    transition: none;
  }
}

/* Ensure video button container is properly positioned */
.video-button-container {
  position: relative;
  z-index: 10;
}

/* Tablet mockup (keeping for reference) */
.tablet-mock { position: relative; border-radius: 28px; border: 10px solid #111; background: #000; box-shadow: 0 20px 40px rgba(0,0,0,0.25); overflow: hidden; }
.tablet-mock::before { content:""; position:absolute; top:10px; left:50%; transform:translateX(-50%); width:64px; height:6px; border-radius:3px; background:#222; }
.video-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); z-index: 50; }
.video-modal.active { display: flex; }
.video-modal .modal-content { width: min(900px, 92%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.35); position: relative; }
.video-modal .close-btn { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 9999px; background: rgba(255,255,255,0.85); display: grid; place-items: center; cursor: pointer; }

/* Reveal input CTA */
.reveal-wrap { display: inline-block; }
.reveal-input { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; opacity: 0; }
.reveal-input.open { max-height: 120px; opacity: 1; }

/* Vertical tabs (Every Mind Matters) */
.tabs-vertical { position: sticky; top: 20px; max-height: 70vh; overflow: auto; padding-right: 4px; }
.tab-btn { border-radius: 14px; border: 1px solid rgba(0,0,0,0.08); background: #be01f64c; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.tab-btn.active, .tab-btn:hover { background: #be01f6; color: #fff; transform: translateX(4px); box-shadow: 0 10px 20px rgba(190,1,246,0.25); }

/* Mobile menu enhancements */
#mobileMenu { transition: max-height .3s ease; overflow: hidden; }
.menu-open #mobileMenu { display: block; max-height: 360px; }

/* Desktop nav dropdowns */
.desktop-nav .has-dropdown { position: relative; }
.desktop-nav .dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  padding: 10px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 30;
}
.desktop-nav .dropdown-link { display: block; padding: 8px 10px; border-radius: 8px; color: #000; text-decoration: none; }
.desktop-nav .dropdown-link:hover { background: rgba(0,0,0,0.04); }
.desktop-nav .has-dropdown:hover .dropdown-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
/* Keep open for keyboard and while interacting inside */
.desktop-nav .has-dropdown:focus-within .dropdown-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Offcanvas custom width (not full screen) */
.offcanvas.custom-width { width: min(85vw, 360px); }

/* Mobile submenu toggles with rotating arrow */
.mobile-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mobile-toggle .arrow { transition: transform .2s ease; }
.mobile-toggle[aria-expanded="true"] .arrow { transform: rotate(180deg); }

/* ============ Figma-aligned Aesthetic ============ */
/* Soft marble background approximation */
.marble-bg {
  background-image:
    radial-gradient(1200px 600px at -10% -20%, rgba(209,129,233,0.12), rgba(255,255,255,0) 60%),
    radial-gradient(900px 500px at 120% 10%, rgba(255,214,245,0.28), rgba(255,255,255,0) 60%),
    radial-gradient(800px 500px at 80% 120%, rgba(255,220,200,0.25), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #ffffff, #ffffff);
}

/* Pill primary button */
.pill-primary {
  background: linear-gradient(180deg, #be01f6 0%, #a400cf 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 22px;
  box-shadow: 0 10px 24px rgba(190,1,246,0.25);
}
.pill-primary:hover { filter: brightness(1.05); box-shadow: 0 14px 28px rgba(190,1,246,0.3); }

/* Ensure Onest is used where font-onest class appears */
.font-onest { font-family: var(--primary-font); }

/* Section subtle divider wave (optional container) */
.section-divider { position: relative; }
.section-divider::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,0.02));
  pointer-events: none;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; background: #000; color: #fff; padding: 8px 12px; border-radius: 6px; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); border-top: 1px solid rgba(0,0,0,0.08); box-shadow: 0 -10px 20px rgba(0,0,0,0.08); z-index: 60; }
.cookie-inner { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.cookie-actions { display: flex; gap: 8px; }
.btn-secondary { border: 1px solid rgba(0,0,0,0.15); border-radius: 10px; padding: 10px 14px; background: #fff; }
.btn-primary { border: 1px solid #be01f6; border-radius: 10px; padding: 10px 14px; background: #be01f6; color: #fff; }
.btn-primary:hover,.btn-primary:focus { background: #a400cf; border: 1px solid #a400cf;}

/* Preferences modal */
.prefs-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); z-index: 70; }
.prefs-modal.active { display: flex; }
.prefs-content { width: min(680px, 92%); background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }


/* Vertical Tabs (from tab.html) */

.vertical-tabs {
  display: flex;
  height: 555px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.tab-list {
  width: 320px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.tab-container { height: 100%; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

.tab-item {
  padding: 25px;
  height: 140px;
  background-color: rgba(99, 102, 241, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* margin-bottom: 7px;
  margin-right: 7px; */
  border: 5px solid white;
}

.tab-item:first-child {
  border-top: 0;
}

.tab-item:hover { background-color: rgba(99, 102, 241, 0.05); }
.tab-item.active { background-color: #f4e1fa; animation: pulse 0.5s ease; }
.tab-item:last-child { border-bottom: 0;}
.tab-icon {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(99, 102, 241, 0.1);
}

.tab-icon i { font-size: 20px; color: var(--secondary-color); }

.tab-title { font-size: 18px; font-weight: 700; margin: 0 0 8px 0;display: flex; justify-content: space-between; align-items: center; }
.tab-desc { font-size: 14px; opacity: 0.8; margin: 0; line-height: 1.4; }

.tab-content { flex: 1; position: relative; background-color: #f4e1fa; overflow: hidden; }

.pagination-container { position: absolute; bottom: 13px; right: 30px; display: flex; align-items: center; gap: 15px; z-index: 10; }
.pagination { font-size: 16px; font-weight: 600; color: var(--primary-color); background: rgba(255,255,255,0.9); padding: 8px 16px; border-radius: 20px; backdrop-filter: blur(10px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

.pagination-dots { display: flex; gap: 8px; background: rgba(255, 255, 255, 0.9); padding: 8px 12px; border-radius: 20px; backdrop-filter: blur(10px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.dot { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(28, 9, 80, 0.3); transition: all 0.3s ease; cursor: pointer; }
.dot.active { background-color: var(--accent-color); transform: scale(1.2); }

.nav-buttons { display: flex; gap: 10px; }
.nav-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.9); color: var(--primary-color); border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.08); backdrop-filter: blur(10px); }
.nav-btn:hover { background: var(--accent-color); color: #fff; transform: translateY(-2px); }
.nav-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.nav-btn:disabled:hover { background: rgba(255, 255, 255, 0.9); color: var(--primary-color); }

.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; padding: 50px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.slide.active { opacity: 1; z-index: 1; }
.slide-title { font-size: 28px; font-weight: 800; margin-bottom: 20px; color: var(--primary-color); display: none; }
.slide-description { font-size: 16px; line-height: 1.6; margin-bottom: 30px; max-width: 500px; opacity: 0.9; }
.slide-media { width: 100%; max-width: 640px; height: 440px; border-radius: 12px; overflow: hidden; }
.slide-media video { width: 100%; height: 100%; object-fit: cover; }
.slide-btn { align-self: flex-start; background: var(--accent-color); color: #fff; border: none; padding: 12px 24px; border-radius: 30px; font-weight: 600; font-size: 16px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(247, 52, 94, 0.3); }
.slide-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(247, 52, 94, 0.4); }

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

@media (max-width: 900px) {
  .vertical-tabs { flex-direction: column; height: auto; max-height: none; }
  .tab-list { width: 100%; height: 200px; }
  .tab-container { display: flex; overflow-x: auto; overflow-y: hidden; }
  .tab-item { min-width: 280px; height: 120px; padding: 20px; }
  .slide { padding: 30px; }
  .slide-media { height: 250px; }
  .pagination-container { bottom: 15px; right: 15px; top: auto; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .slide-title { font-size: 24px; }
  .slide-description { font-size: 14px; }
}

/*sccreenshot css*/
.screen-slider-content {
  position: relative
}

.screenshot-frame {
  background-image: url(../images/phone-frame2.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: block;
  width: 285px;
  height: 518px;
  position: absolute;
  top: 0;
  left: calc(50% + 0.5px);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 40px;
}
@media (min-width: 320px) and (max-width: 1200px){
  .screenshot-frame{
      display: none;
  }
}
.screen-carousel .owl-item img {
  height: 536px;
  width: 360px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  -webkit-transform: scale(.85);
  transform: scale(.85);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border: 1px solid #ebebeb;
  border-radius: 28px
}

.screen-carousel .owl-item.active.center img {
  width: 253px;
  height: 497px;
  object-fit: contain;
}

.screen-carousel .owl-item.active.center img {
  -webkit-transform: scale(1);
  transform: scale(1)
}

/* Ensure carousel content sits behind the frame and is centered */
.screen-slider-content { min-height: 540px; display: flex; align-items: center; justify-content: center; position: relative; }
.screen-carousel { position: relative; z-index: 1; }
.screen-carousel .owl-stage-outer { padding-top: 0; }
.screen-carousel .owl-item { display: flex; align-items: center; justify-content: center; }

/* Arrow navigation for screenshot carousel */
.screen-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.screen-carousel .owl-nav button.owl-prev,
.screen-carousel .owl-nav button.owl-next {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: background .2s ease, transform .2s ease;
  pointer-events: auto;
}
.screen-carousel .owl-nav button.owl-prev:hover,
.screen-carousel .owl-nav button.owl-next:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.screen-carousel .owl-nav i {
  font-size: 18px;
  color: #1c0950;
}

@media (max-width: 1200px) {
  /* On smaller screens the frame is hidden; allow images to be responsive */
  .screen-carousel .owl-item img { width: 100%; height: auto; border-radius: 20px; }
}

.dot-indicator.owl-theme button.owl-dot span{
  display: inline-block;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  background: #d8d8d8;
  border-radius: 50%;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  transition: 0.3s;
}
.dot-indicator.owl-theme button.owl-dot:focus{
  border: none;
  outline: none;
}
.dot-indicator.owl-theme button.owl-dot.active span{
  background: #9629e6;
  border: 2px solid transparent;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
}
.screen-carousel.dot-indicator.owl-theme .owl-nav.disabled+.owl-dots{
  margin-top: 20px;
}

/* ============ Scroll/Load Reveal Animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.reveal-in { opacity: 1; transform: none; }

/* Direction modifiers */
.reveal.reveal-up { transform: translateY(24px); }
.reveal.reveal-left { transform: translateX(-24px); }
.reveal.reveal-right { transform: translateX(24px); }
.reveal.reveal-fade { transform: none; }

/* Subtle hover lift for revealed card-like elements */
.reveal.reveal-in.hover-lift:hover {
  transform: translateY(-4px);
}

/* Video Testimonials Styles */
.video-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.video-post-wrap {
  margin-bottom: 2rem;
}

.wigdet-video-post {
  height: 100%;
}

.portfolio-item-wrapper {
	height: auto;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-item-wrapper:hover {
	transform: translateY(-4px);
	box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.portfolio-item {
  height: auto;
}

.portfolio-image-link {
	display: block;
	height: auto;
	text-decoration: none;
	cursor: pointer;
	aspect-ratio: 16/9;
}

/* Enhanced YouTube container styles */
.video-grid-container .video-post-wrap ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.video-grid-container .YouTubeVideoContainer {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	cursor: pointer;
	padding: 0;
}

.video-grid-container .YouTubeVideoItem {
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.video-grid-container .YouTubeVideoItem::before {
	content: "";
	position: absolute;
	inset: 0px;
	background: rgba(0, 0, 0, 0.3);
	transition: background 0.3s;
}

.video-grid-container .YouTubeVideoItem:hover::before {
	background: rgba(0, 0, 0, 0.5);
}

.video-grid-container .YouTubePlayButton {
	position: relative;
  opacity: 1;
	z-index: 2;
	width: 60px;
	height: 60px;
	background: rgba(190, 1, 246, 0.9);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(190, 1, 246, 0.4);
}

.video-grid-container .YouTubePlayButton::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 20px solid white;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	margin-left: 4px;
}

.video-grid-container .YouTubePlayButton:hover {
	background: rgb(190, 1, 246);
	transform: scale(1.1);
	box-shadow: rgba(190, 1, 246, 0.6) 0px 6px 20px;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
}

/* Enhanced Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Simple Bootstrap Modal Design */
.modal-content {
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: visible;
  background: white;
  position: relative;
}

.modal-close-outside {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.modal-close-outside:hover {
  background: rgba(0, 0, 0, 0.9);
}

.ratio-16x9 iframe {
  border: none;
}

/* Simple Loading State */
.modal-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: white;
  font-size: 0.9rem;
}

/* Beautiful Video Unavailable Overlay */
.video-unavailable-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  padding: 2rem;
  text-align: center;
}

.video-unavailable-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.video-unavailable-icon::before {
  content: '▶';
  font-size: 2rem;
  color: white;
  margin-left: 3px;
}

.video-unavailable-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-unavailable-message {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.video-unavailable-button {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-unavailable-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-modal .modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: black;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
  transform: scale(1);
}

.video-modal .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-modal .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Video Grid Layout */
.video-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.video-post-wrap {
  margin-bottom: 2rem;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .video-grid-container .YouTubePlayButton {
    width: 60px;
    height: 60px;
  }
  
  .video-grid-container.YouTubePlayButton::before {
    border-left: 15px solid white;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
  }
}

/* Section header styles */
.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  font-family: 'Onest', sans-serif;
}

.testimonials-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: 'Onest', sans-serif;
}

/* Loading state */
.video-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  background: #f3f4f6;
  border-radius: 12px;
}

.video-loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #be01f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Inner Page Styles */
.star-rating {
  color: #7f7f7f;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* About Us page */
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


/* Service Page */

.modal-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
}

.modal-enter {
    animation: modalEnter 0.3s ease-out forwards;
}

.modal-exit {
    animation: modalExit 0.2s ease-in forwards;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalExit {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
}

.read-all-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.content-container:hover .read-all-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Page */
.related-post-article .owl-nav {
    text-align: center;
    margin-top: 30px;
}

.related-post-article .owl-nav button {
    background: linear-gradient(to right, #a855f7, #9333ea) !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    margin: 0 10px;
    color: white !important;
    font-size: 20px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(107, 70, 193, 0.3);
}

.related-post-article .owl-nav button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(107, 70, 193, 0.4);
}

.related-post-article .owl-dots {
    margin-top: 20px;
}

.related-post-article .owl-dot span {
    background: #cbd5e1 !important;
    transition: all 0.3s ease;
}

.related-post-article .owl-dot.active span {
    background: #9333ea !important;
    transform: scale(1.2);
}

/* Contact-us Page */
.bg-primary-important {
    background-color: rgb(190 1 246)!important;
}

.contact_frame_slider__container {
    position: relative;
    width: 290px;
    height: 550px;
    margin: 0 auto;
}

.contact_frame_slider__container .phone-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
}

.contact_frame_slider__container .slider-container {
  position: absolute;
  top: 18px;
  left: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 45px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact_frame_slider__container .slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.contact_frame_slider__container .slides {
  width: 600%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.contact_frame_slider__container .slide_item {
  width: 100%;
  height: 100%;
  position: relative;
}

.contact_frame_slider__container .slide_item img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}


@media (max-width: 768px) {
  .contact_frame_slider__container {
      width: 300px;
      height: 600px;
  }
}

/* Membership Modal */
.membershipModal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.membershipModal .btn-close:focus {
  box-shadow: none;
}

.membershipModal .form-control {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
}

.membershipModal .form-control:focus {
	border-color: #be01f6;
	box-shadow: none;
}

.membershipModal .btn-primary {
    background: linear-gradient(135deg, #be01f6 0%, #a501d5 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.membershipModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(190, 1, 246, 0.4);
}

/* Modal Animations */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.modal-enter {
    animation: modalEnter 0.3s ease-out;
}

.modal-exit {
    animation: modalExit 0.2s ease-in;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalExit {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
}