﻿/* --------------------------------------- LANDING PAGE ---------------------------- */
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Simple Carousel Styles */
.simple-carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
  z-index: 10;
}

.simple-carousel-track {
  display: flex;
  animation: simpleCarousel 60s linear infinite;
  width: fit-content;
}

.simple-carousel-track:hover {
  animation-play-state: paused;
}

.simple-carousel-slide {
  display: flex;
  gap: 2rem;
  padding-inline: 1rem;
}

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

.simple-carousel-card {
  /* flex: 0 0 300px; */
  width: 325px;
  height: 256px;
}

.simple-carousel-card:hover .simple-card-image {
  transform: scale(1.05);
}

.simple-card-image {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.simple-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.simple-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
}

.simple-card-subtitle {
  color: #0E81C1;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Testimonial Card Styles */
.testimonial-card {
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  border-radius: 8px;
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.company-logo img.logo-img {
  height: 1.5rem;
  filter: invert(1) brightness(100%);
}

.category-label {
  font-size: 0.75rem;
  background-color: rgba(75, 75, 75, 0.7);
  color: #d4d4d4;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.testimonial-quote p {
  color: #d4d4d4;
  font-size: 0.875rem;
  line-height: 1.5;
}

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

.author-image {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  overflow: hidden;
  margin-right: 0.5rem;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.author-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.author-info p {
  font-size: 0.75rem;
  color: rgba(168, 168, 168, 1);
  margin: 0;
}

/* Media Queries */
@media (max-width: 768px) {
  /* .simple-carousel-card {
    flex: 0 0 280px;
    height: 230px;
  } */
  
  .simple-carousel-slide {
    gap: 1.5rem;
    padding-inline: 0.75rem;
  }
}

/* FAQ animation styles */
.question-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.question-body.active {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.chevron-up {
  transition: transform 0.3s ease;
}

.qb-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Card and hover styling */
.question-card {
  transition: all 0.3s ease;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid transparent;
}

.question-header {
  background-color: rgba(12, 11, 17, 0.7) !important;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  border-radius: 7px;
  gap: 5px;
}
.question-header h3 {
  font-size: 1rem;
}

.question-card:hover {
  box-shadow: 0 0 10px rgba(14, 129, 193, 0.15);
  border: 1px solid rgba(14, 129, 193, 0.1);
  transform: translateY(-2px);
  transition-duration: 300ms;
}

.question-card:hover .question-header {
  background-color: rgba(25, 25, 35, 0.7) !important;
}

.get-started-section {
width: calc(100% - 2rem);
}
.min-width-20 {
  min-width: 20px;
}

/* -----------------------------
   SMOOTH MARQUEE ANIMATION   
   Replaces the old scrollLeft
----------------------------- */
.marquee {
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: 1.5rem; /* matches md:gap-6 */
  /* duration will be controlled with a CSS var so we can slow it later */
  animation: marqueeScroll var(--marquee-duration, 8s) linear infinite;
  will-change: transform;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-move, 0px))); }
}

/* Pause when user hovers over the group */
.group:hover .marquee__track {
  animation-play-state: paused;
}

/* Converted Tailwind classes to regular CSS */
/* Typography */
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-xs { font-size: 0.75rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-blue-300 { color: #125480; }
.text-blue-400 { color: #0E81C1; }
.text-green-400 { color: #0E81C1; }

.underline { text-decoration: underline; }

.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-\[\#061224\] { --tw-gradient-from: #061224; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 18, 36, 0)); }
.via-\[\#03224B\] { --tw-gradient-stops: var(--tw-gradient-from), #03224B, var(--tw-gradient-to, rgba(3, 34, 75, 0)); }
.to-\[\#125480\] { --tw-gradient-to: #125480; }
.from-\[\#03224B\] { --tw-gradient-from: #03224B; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(3, 34, 75, 0)); }
.to-\[\#0E81C1\] { --tw-gradient-to: #0E81C1; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }

.bg-\[\#191919\] { background-color: #191919; }
.bg-\[\#0c0b11\] { background-color: #0c0b11; }

/* Layout */
.hero-container { 
  width: calc(100% - 2rem); 
  padding-left: 1rem; 
  padding-right: 1rem; 
  margin-left: auto; 
  margin-right: auto; 
}
.container { width: calc(100% - 4rem); padding-left: 1rem; padding-right: 1rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-5 { height: 1.25rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.max-w-\[480px\] { max-width: 480px; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.space-y-4 > * + * { margin-top: 1rem; }

.order-1 { order: 1; }
.order-2 { order: 2; }

/* Spacing */
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
.mt-20 { margin-top: 5rem; }
.mr-0\.5 { margin-right: 0.125rem; }

.p-2 { padding: 0.5rem; }
.p-\[1px\] { padding: 1px; }
.p-8 { padding: 2rem; }
/* .px-4 { padding-left: 1rem; padding-right: 1rem; } */
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-12 { padding-top: 3rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pl-8 { padding-left: 2rem; }

/* Borders */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-7px { border-radius: 7px; }

.border { border-width: 1px; }
.border-\[\#rgba\(14\,129\,193\,0\.1\)\] { border-color: rgba(14, 129, 193, 0.1); }

/* Effects */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-duration-300 { transition-duration: 300ms; }

.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:bg-\[rgba\(255\,255\,255\,0\.08\)\]:hover { background-color: rgba(255, 255, 255, 0.08); }
.hover\:border-\[rgba\(14\,129\,193\,0\.2\)\]:hover { border-color: rgba(14, 129, 193, 0.2); }
.hover\:translate-y-\[-2px\]:hover { transform: translateY(-2px); }
.hover\:text-blue-300:hover { color: #0E81C1; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Object Fit */
.object-contain { object-fit: contain; }

/* Invert */
.invert { filter: invert(1); }

/* Position */
.relative { position: relative; }

/* Responsive design classes */
@media (min-width: 640px) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-2\/5 { width: 40%; }
  .md\:w-3\/5 { width: 60%; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:px-0 { padding-left: 0; padding-right: 0; }
  .md\:pl-8 { padding-left: 2rem; }
  .md\:pr-8 { padding-right: 2rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.h-\[270px\] { height: 270px; }

/* Custom utilities */
.bg-gradient-text-blue-accent {
  /* Gradient removed for better contrast - using white instead */
  color: #ffffff;
}

.bg-gradient-text-dark-blue {
  /* Gradient removed for better contrast - using white instead */
  color: #ffffff;
}