/* General Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
}

/* Color Variables */
:root {
  --primary: #5851b0;      /* Vibrant purple */
  --primary-dark: #362d7e; /* Darker purple */
  --primary-light: #7a73d1; /* Lighter purple */
  --secondary: #4d83b8;    /* Bright blue */
  --secondary-dark: #2a5285; /* Darker blue */
  --accent: #c46fb2;       /* Lilac accent */
  --light: #e1c2eb;       /* Light lilac */
  --dark: #333;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
}

/* Media Logos */
.media-logo {
  max-height: 60px;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.media-logo:hover {
  opacity: 1 !important;
  transform: scale(1.05);
  filter: grayscale(0%);
}

.media-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100px;
  margin-bottom: 20px;
}

.testimonial-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  height: 100%;
}

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

.testimonial-content {
  padding: 2rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--primary-light);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: 20px;
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

/* Reviews Carousel */
#reviewsCarousel .carousel-control-prev-icon,
#reviewsCarousel .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  padding: 10px;
}

#reviewsCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--secondary), var(--primary), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgxMCkiPjxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjEuNSIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjEpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
  opacity: 0.5;
  pointer-events: none;
}

/* Trust Bar */
.trust-bar {
  font-size: 0.95rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Features */
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(90, 81, 176, 0.15), rgba(77, 131, 184, 0.15));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(90, 81, 176, 0.15);
}

/* Kit Form Styling */
#kit-form-container {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(220, 53, 69, 0.2);
  border-radius: 12px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
  position: relative;
  overflow: hidden;
}

#kit-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(178, 34, 52, 0.06));
  pointer-events: none;
  border-radius: 10px;
}

#kit-form-container > * {
  position: relative;
  z-index: 1;
}

/* Additional Kit form styling */
.formkit-form {
  border-radius: 8px !important;
  box-shadow: none !important;
  background: transparent !important;
}

.formkit-form .formkit-input {
  border: 2px solid rgba(90, 81, 176, 0.3) !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

.formkit-form .formkit-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(90, 81, 176, 0.1) !important;
}

/* Remove custom button styling to use Kit's default red color */
.formkit-form .formkit-submit {
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  /* Removed background override to use Kit's default red */
}

.formkit-form .formkit-submit:hover {
  transform: translateY(-2px) !important;
  /* Removed custom shadow to preserve Kit's red styling */
}

/* Assessment Styling */
.question-item {
  display: none;
  animation: fadeIn 0.5s;
}

.question-item.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn-response {
  text-align: left;
  padding: 12px 20px;
}

.btn-response.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Testimonials */
.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: #444;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

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

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

.testimonials-carousel .carousel-indicators {
  bottom: -50px;
}

.testimonials-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.5;
}

.testimonials-carousel .carousel-indicators .active {
  opacity: 1;
  background-color: var(--primary);
}

.author-profile {
  background: linear-gradient(135deg, var(--gray-light), white);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-profile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.author-profile-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.author-profile:hover .author-profile-image {
  transform: scale(1.05);
}

.author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  margin: 0 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

/* Accordion */
.accordion-button:not(.collapsed) {
  background-color: rgba(81, 88, 140, 0.1);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(81, 88, 140, 0.1);
}

/* Footer */
footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Image loading animations */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
