/* === CSS Variables === */
:root {

  --text-dark: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

/* === Enhanced Services Overview Section === */
.trial-services-overview {
  padding: var(--spacing-xl) var(--spacing-sm);
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.trial-services-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.trial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.trial-section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.trial-section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.trial-section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--text-dark), var(--primary-color));
  border-radius: 2px;
}

.trial-section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.trial-header-decoration {
  position: relative;
  margin-bottom: 30px;
}

.trial-decoration-circle,
.trial-decoration-square {
  position: absolute;
  opacity: 0.1;
}

.trial-decoration-circle {
  width: 100px;
  height: 100px;
  border: 3px solid var(--text-dark);
  border-radius: 50%;
  top: -30px;
  left: 10%;
}

.trial-decoration-square {
  width: 80px;
  height: 80px;
  border: 3px solid var(--primary-color);
  top: -20px;
  right: 15%;
  transform: rotate(45deg);
}

.trial-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.trial-service-category {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.trial-service-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.trial-service-category:hover::before {
  left: 100%;
}

.trial-service-category:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.trial-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary-color);
  position: relative;
}

.trial-category-header h3 {
  color: var(--text-dark);
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.trial-category-header h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-dark), var(--primary-color));
  transition: width 0.3s ease;
}

.trial-service-category:hover .trial-category-header h3::after {
  width: 80px;
}

.trial-category-header h3 i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.trial-service-category:hover .trial-category-header h3 i {
  transform: rotate(5deg) scale(1.05);
}

.trial-service-count {
  background: rgba(255, 193, 7, 0.15);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.trial-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.trial-service-item {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trial-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
  transition: left 0.5s ease;
}

.trial-service-item:hover::before {
  left: 100%;
}

.trial-service-item:hover {
  border-left-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(5px);
}

.trial-service-item strong {
  color: var(--text-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.trial-service-item span {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
}

.trial-service-item:last-child {
  margin-bottom: 0;
}

.trial-service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-color);
}

.trial-starting-price {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.trial-learn-more-btn {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.trial-learn-more-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Individual category accent colors */
.trial-service-category:nth-child(1) {
  border-top: 4px solid var(--text-dark);
}

.trial-service-category:nth-child(2) {
  border-top: 4px solid var(--primary-color);
}

.trial-service-category:nth-child(3) {
  border-top: 4px solid #ff6b6b;
}

/* Floating animation */
@keyframes serviceCardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.trial-service-category {
  animation: serviceCardFloat 8s ease-in-out infinite;
}

.trial-service-category:nth-child(2) {
  animation-delay: 2.5s;
}

.trial-service-category:nth-child(3) {
  animation-delay: 5s;
}

/* === Form Section === */
.trial-form-section {
  padding: var(--spacing-xl) var(--spacing-sm);
  background: var(--bg-white);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.form-container {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

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

.form-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.form-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.form-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.free-trial-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: var(--spacing-sm);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* === Enhanced Service Selection === */
.service-selection {
  margin-bottom: var(--spacing-lg);
  /* padding: var(--spacing-lg); */
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

 .service-selection .service-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

 .service-selection .service-categories .service-category {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

 .service-selection .service-categories .service-category:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

 .service-selection .service-categories .service-category h4 {
  margin: 0 0 var(--spacing-md) 0;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

 .service-selection .service-categories .service-category h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-dark), var(--primary-color));
  transition: width 0.3s ease;
}

 .service-selection .service-categories .service-category:hover h4::after {
  width: 80px;
}

 .service-selection .service-categories .service-category h4 i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.service-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.service-option:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 193, 7, 0.2);
  transform: translateX(5px);
}

.service-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-white);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  margin-top: 0.15rem;
}

.service-option input[type="checkbox"]:hover {
  border-color: var(--primary-color);
}

.service-option input[type="checkbox"]:checked {
  border-color: var(--primary-color);
}

.service-option input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.service-label {
  flex: 1;
  cursor: pointer;
}

.service-name {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.selected-count {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(51, 51, 51, 0.05));
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  border: 1px solid rgba(255, 193, 7, 0.2);
  transition: var(--transition);
}

.selected-count.has-selection {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(51, 51, 51, 0.08));
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

/* === Upload Section === */
.upload-section {
  margin: var(--spacing-lg) 0;
}

.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  background: var(--bg-light);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.upload-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.upload-area:hover::before {
  left: 100%;
}

.upload-area:hover {
  border-color: var(--primary-color);
  background: rgba(255, 193, 7, 0.05);
  transform: translateY(-2px);
}

.upload-area i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.upload-area h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.upload-area p {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
  font-family: inherit;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 1.25rem 2rem;
  margin-top: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.file-info {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(255, 193, 7, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

/* === How It Works Section === */
.how-it-works {
  padding: var(--spacing-xl) var(--spacing-sm);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--spacing-md) auto var(--spacing-md);
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.step:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.step h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 var(--spacing-sm) 0;
}

.step p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* === Responsive Design === */
@media (min-width: 768px) {
  .trial-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
   .service-selection .service-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
  
  .step {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
}

@media (min-width: 1024px) {
  .trial-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
   .service-selection .service-categories {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .trial-section-header h2 {
    font-size: 3rem;
  }
  
  .form-header h2 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .trial-service-category {
    padding: var(--spacing-lg);
  }
  
  .form-container {
    padding: var(--spacing-lg);
  }
  
  /* .service-selection {
    padding: var(--spacing-md);
  } */
  
  .step {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
}

/* Animation for checked items */
@keyframes checkmarkPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.service-option input[type="checkbox"]:checked {
  animation: checkmarkPop 0.3s ease-out;
}

/* Selection counter animation */
@keyframes countPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.selected-count.has-selection {
  animation: countPulse 0.3s ease-out;
}