/* ==========================================================================
   KALINGAEURO - Test Prep & Language Coaching Page Stylesheet
   ========================================================================== */

:root {
  --ke-font-display: 'Outfit', sans-serif;
  --ke-font-body: 'Montserrat', sans-serif;
  
  /* Brand color variables */
  --brand-primary: #ed5024;
  --brand-secondary: #21a95d;
  --brand-accent: #21a95d;
  --brand-dark: #1e293b;
  --brand-light: #f8fafc;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(15, 23, 42, 0.08);
}

.ke-tp-page-body {
  font-family: var(--ke-font-body) !important;
  background-color: var(--brand-light) !important;
  color: var(--brand-dark) !important;
  overflow-x: hidden;
}

.ke-tp-root h1, 
.ke-tp-root h2, 
.ke-tp-root h3, 
.ke-tp-root h4, 
.ke-tp-root h5, 
.ke-tp-root h6 {
  font-family: var(--ke-font-display) !important;
  font-weight: 700;
  color: var(--brand-dark);
}

/* Common Section Headers */
.ke-section-subtitle {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-primary);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.ke-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.ke-section-desc {
  font-size: 17px;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Custom Buttons */
.ke-btn-primary {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #fff !important;
  font-family: var(--ke-font-display);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(237, 80, 36, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.ke-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 80, 36, 0.35);
  background-color: #ff6a3d !important;
  border-color: #ff6a3d !important;
}

.ke-btn-outline {
  border: 2px solid var(--brand-dark) !important;
  color: var(--brand-dark) !important;
  background: transparent !important;
  font-family: var(--ke-font-display);
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  transition: all 0.3s ease !important;
}

.ke-btn-outline:hover {
  background-color: var(--brand-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Hero Section */
.ke-hero {
  position: relative;
  background: linear-gradient(135deg, #f3f6f9 0%, #eef2f6 100%);
  padding: 80px 0;
  overflow: hidden;
}

.ke-hero-bg-accent {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(237, 80, 36, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.relative-content {
  position: relative;
  z-index: 2;
}

.ke-hero-tag {
  display: inline-block;
  background-color: rgba(237, 80, 36, 0.1);
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(237, 80, 36, 0.15);
}

.ke-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.ke-hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 30px;
}

.ke-hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ke-hero-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.ke-hero-point-item i {
  color: var(--brand-secondary);
  font-size: 18px;
}

.ke-hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.ke-hero-card:hover {
  transform: translateY(-5px);
}

.ke-hero-card-header {
  background: var(--brand-dark);
  color: #fff;
  padding: 20px 25px;
}

.ke-hero-card-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff !important;
}

.ke-hero-card-body {
  padding: 25px;
}

.ke-fact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.ke-fact-item .label {
  font-weight: 600;
  color: #64748b;
}

.ke-fact-item .value {
  font-weight: 700;
  color: var(--brand-dark);
}

.ke-text-primary {
  color: var(--brand-primary, #ed5024) !important;
}

.ke-text-secondary {
  color: var(--brand-secondary, #21a95d) !important;
}

.ke-text-dark {
  color: var(--brand-dark, #1e293b) !important;
}

/* ==========================================================================
   Details / Outlines Styles
   ========================================================================== */
.ke-details-section {
  background-color: var(--brand-light);
}

.ke-detail-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 35px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.02);
  transition: all 0.3s ease;
}

.ke-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.05);
}

.ke-detail-card i {
  font-size: 32px;
  color: var(--brand-primary);
  margin-bottom: 20px;
  display: block;
}

.ke-detail-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ke-detail-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.ke-detail-card ul {
  padding-left: 20px;
  font-size: 14px;
  color: #64748b;
}

.ke-detail-card ul li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Pathway Cross-Sell Advisor Widget
   ========================================================================== */
.ke-advisor-section {
  background-color: #fff;
}

.ke-advisor-wrapper {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
  color: #fff;
}

.ke-advisor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 35px;
  text-align: left;
}

@media (min-width: 768px) {
  .ke-advisor-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ke-advisor-group {
  display: flex;
  flex-direction: column;
}

.ke-advisor-label {
  font-family: var(--ke-font-display);
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.ke-advisor-select {
  --bs-form-select-bg: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  font-size: 15px;
  padding: 10px 36px 10px 16px !important;
  border-radius: 8px;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.ke-advisor-select option {
  background-color: var(--brand-dark) !important;
  color: #fff !important;
}

.ke-advisor-select:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 4px rgba(237, 80, 36, 0.15) !important;
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Splits Pathway Output vs Course List */
.ke-advisor-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
}

@media (min-width: 992px) {
  .ke-advisor-split {
    grid-template-columns: 1fr 1fr;
  }
}

.ke-adv-col {
  text-align: left;
}

.ke-adv-header {
  font-size: 19px;
  font-weight: 750;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
}

.ke-adv-header i {
  color: var(--brand-primary);
}

/* Recommended Track Box */
.ke-recommendation-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}

.ke-rec-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.ke-rec-track-name {
  font-family: var(--ke-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-secondary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.ke-rec-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

.ke-rec-courses-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ke-rec-course-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}

.ke-rec-course-item i {
  color: var(--brand-primary);
  font-size: 18px;
}

/* ==========================================================================
   Consultation Lead Form Section
   ========================================================================== */
.ke-consultation-section {
  background-color: #fff;
}

.ke-form-wrapper {
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.ke-form-info-side {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0f172a 100%);
  color: #fff;
  padding: 50px;
  display: flex;
  align-items: center;
}

.ke-form-info-content h3 {
  color: #fff !important;
  font-size: 26px;
  margin-bottom: 20px;
}

.ke-form-info-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.ke-form-bullets {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
  margin-bottom: 0;
}

.ke-form-bullets li {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ke-form-bullets li i {
  color: var(--brand-secondary);
  font-size: 20px;
}

.ke-form-field-side {
  padding: 50px;
}

.ke-form-container h2 {
  font-size: 26px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.ke-form label {
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-dark);
}

.ke-form .input-group-text {
  background-color: var(--brand-light);
  border-color: #d1d5db;
  color: #64748b;
}

.ke-form .form-control,
.ke-form .form-select {
  border-color: #d1d5db;
  font-size: 15px;
  padding: 10px 14px;
}

.ke-form .form-control:focus,
.ke-form .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(237, 80, 36, 0.15);
}

.ke-btn-submit {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #fff !important;
  font-family: var(--ke-font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(237, 80, 36, 0.25);
  transition: all 0.3s ease !important;
}

.ke-btn-submit:hover {
  background: #ff6a3d !important;
  border-color: #ff6a3d !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 80, 36, 0.35);
}

.ke-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.ke-success-box {
  background-color: rgba(33, 169, 93, 0.08);
  border: 1px solid rgba(33, 169, 93, 0.2);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(33, 169, 93, 0.05);
}

.ke-success-box i {
  font-size: 48px;
  color: var(--brand-secondary);
  display: block;
  margin-bottom: 16px;
}

.ke-success-box h4 {
  color: var(--brand-secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

.ke-success-box p {
  margin-bottom: 0;
  color: var(--brand-dark);
}

/* ==========================================================================
   Viewport Scroll Reveal Animations
   ========================================================================== */
.js-active .ke-reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-active .reveal-fade-up {
  transform: translateY(30px);
}

.js-active .reveal-fade-right {
  transform: translateX(-30px);
}

.js-active .reveal-fade-left {
  transform: translateX(30px);
}

.js-active .ke-reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .ke-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Responsive media queries */
@media (max-width: 991px) {
  .ke-hero-title {
    font-size: 34px;
  }
  .ke-form-info-side, .ke-form-field-side {
    padding: 40px;
  }
  .ke-advisor-wrapper {
    padding: 35px 25px;
  }
}

@media (max-width: 575px) {
  .ke-hero-title {
    font-size: 28px;
  }
  .ke-section-title {
    font-size: 26px;
  }
  .ke-form-info-side, .ke-form-field-side {
    padding: 30px 20px;
  }
  .ke-advisor-wrapper {
    padding: 30px 15px;
  }
}
