/* ==========================================================================
   USHASHREE Theme - 2026 Trend Components, Modals & Widgets
   ========================================================================== */

/* ==========================================================================
   Test Preparation Section & Calculator
   ========================================================================== */
.testprep-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.testprep-tabs {
  display: flex;
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.testprep-tabs::-webkit-scrollbar {
  display: none;
}

.testprep-tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 1.25rem 1rem;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3.5px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
}

.testprep-tab-btn:hover {
  color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.testprep-tab-btn.active {
  color: var(--color-primary);
  background: #ffffff;
  border-bottom-color: var(--color-accent);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
}

.testprep-content {
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.testprep-info h3 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.testprep-info p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.testprep-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  margin-bottom: 2.25rem;
}

.testprep-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.testprep-calc-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 4px solid var(--color-accent);
  box-shadow: var(--shadow-md);
  position: relative;
}

.calc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calc-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.calc-score-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-weight: 800;
}

.calc-result-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  margin-top: 1.25rem;
  box-shadow: var(--shadow-xs);
}

.calc-result-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--color-emerald-tint);
  color: var(--color-emerald);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Student Success / Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.student-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.student-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--color-accent);
  box-shadow: var(--shadow-xs);
}

.student-info h4 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.student-admit {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.star-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
}

.visa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--color-emerald);
}

.scholarship-badge {
  font-weight: 800;
  color: var(--color-accent-hover);
  background: var(--color-accent-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(243, 112, 35, 0.2);
}

/* ==========================================================================
   University Partners Marquee
   ========================================================================== */
.partners-marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.partners-track {
  display: flex;
  gap: 2rem;
  animation: scrollMarquee 32s linear infinite;
  min-width: 100%;
}

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

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.partner-logo-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Comparison Table (DIY vs USHASHREE)
   ========================================================================== */
.compare-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 3.5rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  background: var(--color-surface-alt);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
}

.compare-table th.highlight-th {
  background: var(--color-primary);
  color: var(--color-accent);
}

.compare-table td.highlight-td {
  background: var(--color-accent-subtle);
  font-weight: 700;
  color: var(--color-primary);
  border-left: 2px solid rgba(243, 112, 35, 0.2);
  border-right: 2px solid rgba(243, 112, 35, 0.2);
}

/* ==========================================================================
   Blog / Insights Grid
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  margin-bottom: 0.85rem;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.blog-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-link:hover {
  color: var(--color-accent-hover);
  padding-left: 4px;
}

/* ==========================================================================
   High Impact CTA Banner
   ========================================================================== */
.cta-banner-section {
  background: 
    radial-gradient(circle at 80% 20%, rgba(243, 112, 35, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(243, 112, 35, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, var(--color-primary) 0%, #1e2554 100%);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--color-accent);
}

.cta-banner-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
}

.cta-banner-card h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.cta-banner-card p {
  color: #cbd5e1;
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.65;
}

.cta-fast-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-fast-input {
  flex: 1;
  min-width: 240px;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: #ffffff;
  color: var(--color-text-main);
  outline: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.cta-fast-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* ==========================================================================
   Modals & Date/Timeslot Customizer
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 17, 38, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
  position: relative;
  border-top: 4px solid var(--color-accent);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.85rem 2.25rem 1.35rem 2.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-primary);
}

.modal-close-btn {
  background: var(--color-surface-alt);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

.modal-body {
  padding: 2.25rem;
}

/* Multi-step Booking Form */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  position: relative;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
  z-index: 1;
}

.wizard-progress-bar {
  position: absolute;
  top: 17px;
  left: 10%;
  height: 2px;
  background: var(--color-accent);
  z-index: 1;
  transition: width var(--transition-normal);
  width: 0%;
}

.wizard-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.step-node-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-text-subtle);
  transition: all var(--transition-fast);
}

.wizard-step-node.active .step-node-circle {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(243, 112, 35, 0.5);
}

.wizard-step-node.completed .step-node-circle {
  border-color: var(--color-emerald);
  background: var(--color-emerald);
  color: #ffffff;
}

.step-node-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

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

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-size: 0.9375rem;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* ==========================================================================
   Interactive Date & Timeslot Customizer & Mode Selector
   ========================================================================== */
.counselling-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.mode-option-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mode-option-card:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.mode-option-card input[type="radio"]:checked + .mode-info-box,
.mode-option-card:has(input[type="radio"]:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.mode-info-box h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
}

.mode-info-box span {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-weight: 600;
}

.timeslot-container {
  margin-top: 1rem;
}

.timeslot-category-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-subtle);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.timeslot-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.timeslot-chip-label {
  position: relative;
  display: block;
  cursor: pointer;
}

.timeslot-chip-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.timeslot-chip-box {
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-main);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.timeslot-chip-label:hover .timeslot-chip-box {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
  transform: translateY(-2px);
}

.timeslot-chip-label input[type="radio"]:checked + .timeslot-chip-box {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(243, 112, 35, 0.4);
}

.timeslot-chip-label input[type="radio"]:checked + .timeslot-chip-box small {
  color: #ffffff;
}

.timeslot-chip-box small {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
  font-weight: 600;
}

.pill-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.pill-option-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  background: var(--color-surface);
}

.pill-option-label:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
  transform: translateY(-1px);
}

.pill-option-label input[type="radio"]:checked + span,
.pill-option-label:has(input[type="radio"]:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--color-primary);
  color: #ffffff;
  padding: 1.15rem 1.65rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-left: 4px solid var(--color-accent);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .destinations-grid,
  .courses-grid,
  .why-pillars-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .journey-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testprep-content {
    grid-template-columns: 1fr;
  }
  .timeslot-chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .destinations-grid,
  .courses-grid,
  .why-pillars-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero-search-form {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .journey-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .pill-selection-grid,
  .counselling-mode-grid {
    grid-template-columns: 1fr;
  }
  .timeslot-chips-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner-card {
    padding: 2.5rem 1.5rem;
  }
}
