/* ==========================================================
   EDUCATION LOAN PAGE STYLES
   Fresh green/teal theme for education
   ========================================================== */

/* ============ COLOR OVERRIDES ============ */
.edu-hero,
.edu-section {
  --edu-primary: #059669;
  --edu-primary-dark: #047857;
  --edu-primary-light: #10B981;
  --edu-accent: #14B8A6;
  --edu-grad: linear-gradient(135deg, #059669 0%, #10B981 100%);
  --edu-glow: rgba(5, 150, 105, 0.5);
}

/* ============ PAGE HERO ============ */
.edu-hero {
  position: relative;
  padding: 140px 0 160px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0fdf9 0%, #d1fae5 50%, #ecfdf5 100%);
}

.edu-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.18), transparent 65%);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}

.edu-hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 65%);
  animation: floatSlow 11s ease-in-out infinite;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.18);
  color: #059669;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.edu-hero h1 {
  font-family: var(--font-secondary);
  font-size: clamp(38px, 6.5vw, 78px);
  font-weight: 900;
  color: var(--headline);
  margin-bottom: 22px;
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
  display: inline-block;
  z-index: 2;
}

.edu-hero h1::after {
  content: '';
  display: block;
  width: 120px;
  height: 5px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, #059669, #10B981, #14B8A6);
  border-radius: 3px;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--body);
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(5, 150, 105, 0.12);
  border-radius: 100px;
  font-size: 14px;
  color: var(--body);
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: #059669; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--headline); font-weight: 600; }

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

/* ============ MAIN CONTENT SECTION ============ */
.edu-section {
  padding: 110px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.edu-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.06), transparent 70%);
  border-radius: 50%;
  animation: floatSlow 12s ease-in-out infinite;
  pointer-events: none;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---------- Left column ---------- */
.edu-text h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--headline);
  line-height: 1.2;
  margin-bottom: 26px;
  letter-spacing: -0.03em;
}

.edu-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 32px;
}

.edu-text p strong {
  color: var(--headline);
  font-weight: 700;
}

/* Dots-style sub-heading */
.sub-heading.dots-center {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 20px;
}
.sub-heading.dots-center::before,
.sub-heading.dots-center::after {
  content: '• • •';
  font-size: 10px;
  letter-spacing: 2px;
  color: #059669;
  opacity: 0.6;
}

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #f0fdf9, #ecfdf5);
  border: 1px solid #d1fae5;
  border-radius: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #059669, #14B8A6);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-list li:hover::before { transform: scaleY(1); }

.feature-list li:hover {
  transform: translateX(6px);
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 15px 35px -12px rgba(5, 150, 105, 0.25);
}

.feature-list strong {
  color: var(--headline);
  font-weight: 700;
}

.check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #059669, #10B981);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 15px -3px rgba(5, 150, 105, 0.5);
  margin-top: 2px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-list li:hover .check-icon {
  transform: rotate(-12deg) scale(1.12);
}

/* Buttons on this page use green gradient */
.edu-text .btn-primary {
  background: linear-gradient(135deg, #059669, #10B981);
  box-shadow: 0 10px 30px -8px rgba(5, 150, 105, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.edu-text .btn-primary:hover {
  box-shadow: 0 20px 45px -8px rgba(5, 150, 105, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ---------- Right column: image ---------- */
.edu-image {
  position: relative;
  perspective: 1500px;
}

.edu-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.edu-image-wrap > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 40px 80px -20px rgba(5, 150, 105, 0.25),
    0 15px 40px -10px rgba(20, 184, 166, 0.15);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.edu-image-wrap:hover > img {
  transform: scale(1.03);
}

/* Floating badge on image */
.image-badge {
  position: absolute;
  bottom: -22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.2);
  animation: floatSlow 4s ease-in-out infinite;
  z-index: 2;
}

.image-badge i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #059669, #10B981);
  color: var(--white);
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 10px 25px -6px rgba(5, 150, 105, 0.5);
}

.image-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.image-badge strong {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--headline);
  font-weight: 800;
}

.image-badge span {
  font-size: 12px;
  color: var(--body);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============ CTA BANNER ============ */
.loan-cta-section {
  padding: 20px 0 110px;
  background: var(--white);
}

.loan-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 65px;
  border-radius: 28px;
  background: linear-gradient(135deg, #032b1e 0%, #064e3b 100%);
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(5, 150, 105, 0.3),
    0 15px 40px -10px rgba(5, 150, 105, 0.15);
}

.loan-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(5, 150, 105, 0.3), transparent 45%);
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.5), transparent 60%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
}

.loan-cta-content {
  position: relative;
  z-index: 1;
}

.loan-cta-content h3 {
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.loan-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin: 0;
  max-width: 620px;
  line-height: 1.6;
}

.loan-cta-card .btn {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: #059669;
  box-shadow: 0 15px 40px -10px rgba(255, 255, 255, 0.35);
}

.loan-cta-card .btn:hover {
  background: linear-gradient(135deg, #059669, #10B981);
  color: var(--white);
  box-shadow: 0 20px 45px -10px rgba(5, 150, 105, 0.6);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .edu-hero { padding: 110px 0 130px; }
  .edu-section { padding: 90px 0 80px; }
  .edu-grid { gap: 50px; }
  .loan-cta-card { padding: 45px 40px; }
}

@media (max-width: 900px) {
  .edu-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .edu-image { order: -1; }
  .loan-cta-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .loan-cta-content p { margin: 0 auto; }
}

@media (max-width: 767px) {
  .edu-hero { padding: 90px 0 110px; }
  .edu-hero h1 { font-size: 38px; }
  .edu-hero h1::after { width: 80px; height: 4px; }
  .hero-subtitle { font-size: 15px; }

  .edu-section { padding: 70px 0 60px; }
  .edu-text h2 { font-size: 24px; }
  .edu-text p { font-size: 14.5px; }

  .feature-list li {
    padding: 14px 18px;
    font-size: 14.5px;
    gap: 12px;
  }
  .check-icon { width: 22px; height: 22px; font-size: 11px; }

  .image-badge {
    padding: 12px 16px;
    gap: 10px;
    bottom: -18px;
    left: 16px;
  }
  .image-badge i { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
  .image-badge strong { font-size: 14px; }
  .image-badge span { font-size: 10.5px; }

  .loan-cta-section { padding: 20px 0 70px; }
  .loan-cta-card { padding: 35px 25px; border-radius: 20px; }
  .loan-cta-content h3 { font-size: 22px; }
  .loan-cta-content p { font-size: 14.5px; }
}