body.education-body {
  background: #071326 !important;
}

body.education-body main.main {
  background:
    linear-gradient(180deg, #071326 0, #071326 100vh, #eef4ff 100vh, #eef4ff 100%) !important;
  overflow: hidden;
}

body.education-body .education-page-title {
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 107, 237, 0.38) 0, transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(221, 185, 31, 0.18) 0, transparent 30%),
    linear-gradient(135deg, #071326 0%, #0f1e3d 48%, #0058c7 100%) !important;
  border-bottom: 0;
  height: auto !important;
  min-height: 100vh !important;
  padding: 112px 0 62px !important;
  position: relative;
  overflow: hidden;
}

body.education-body .education-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

body.education-body .education-page-title::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(221, 185, 31, 0.2);
  border-radius: 50%;
}

body.education-body .education-page-title .heading,
body.education-body .education-page-title .container,
body.education-body .education-page-title .row,
body.education-body .education-page-title .section-title {
  position: relative;
  z-index: 2;
}

body.education-body .education-page-title .container {
  max-width: 1280px;
}

body.education-body .education-hero-layout {
  min-height: calc(100vh - 175px);
}

body.education-body .education-page-title .section-title {
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

body.education-body .education-hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left !important;
}

body.education-body .education-hero-media {
  position: relative;
}

body.education-body .education-image-collage {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(3, 165px);
  max-width: 650px;
  min-height: 0;
  position: relative;
}

body.education-body .education-image-collage::before {
  background: linear-gradient(135deg, rgba(221, 185, 31, 0.95), rgba(0, 107, 237, 0.9));
  border-radius: 999px;
  content: "";
  height: 180px;
  left: 18px;
  opacity: 0.18;
  position: absolute;
  top: 28px;
  width: 180px;
}

body.education-body .education-collage-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  height: auto !important;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: auto !important;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.education-body .education-collage-card:hover {
  border-color: rgba(221, 185, 31, 0.68);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
  transform: translateY(-5px);
}

body.education-body .education-collage-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.education-body .education-collage-card figcaption {
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, rgba(7, 19, 38, 0.88), rgba(0, 107, 237, 0.72));
  bottom: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  left: 0;
  line-height: 1.25;
  padding: 10px 12px;
  position: absolute;
  right: 0;
}

body.education-body .collage-main {
  grid-row: 1 / 3;
  left: auto;
  top: auto;
  z-index: 4;
}

body.education-body .collage-top {
  right: auto;
  top: auto;
  z-index: 3;
}

body.education-body .collage-middle {
  right: auto;
  top: auto;
  z-index: 5;
}

body.education-body .collage-bottom {
  bottom: auto;
  grid-column: 1;
  left: auto;
  z-index: 6;
}

body.education-body .collage-accent {
  bottom: auto;
  grid-column: 2;
  right: auto;
  z-index: 2;
}

body.education-body .education-kicker {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 9px;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding: 9px 16px;
  text-transform: uppercase;
}

body.education-body .education-kicker i {
  color: #ddb91f;
}

body.education-body .education-page-title h1 {
  color: #ffffff !important;
  font-family: Poppins, sans-serif;
  font-size: clamp(34px, 3.8vw, 56px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em;
  line-height: 1.05 !important;
  margin: 0 0 30px !important;
  max-width: 660px;
  padding: 0 !important;
  text-wrap: balance;
}

body.education-body .education-page-title h1 span {
  background: linear-gradient(135deg, #fff2a8 0%, #ddb91f 65%, #ffca28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  font-size: 0.82em;
  line-height: 1.12;
  margin-top: 8px;
}

body.education-body .education-hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto 34px;
  max-width: 820px;
}

body.education-body .education-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  margin: 0;
  max-width: 560px;
}

body.education-body .education-btn-primary,
body.education-body .education-btn-secondary,
body.education-body .education-whatsapp {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
  justify-content: center;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.education-body .education-btn-primary,
body.education-body .education-whatsapp {
  background: linear-gradient(135deg, #ffdd45 0%, #ddb91f 100%);
  box-shadow: 0 18px 40px rgba(221, 185, 31, 0.28);
  color: #12203b !important;
  padding: 13px 24px;
}

body.education-body .education-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  padding: 13px 24px;
}

body.education-body .education-btn-primary:hover,
body.education-body .education-btn-secondary:hover,
body.education-body .education-whatsapp:hover {
  transform: translateY(-3px);
}

body.education-body .education-hero-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 850px;
}

body.education-body .education-stat {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.76);
  padding: 18px;
}

body.education-body .education-stat strong {
  color: #ffffff;
  display: block;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 6px;
}

body.education-body .education-services-intro {
  height: 82px;
  margin: 0 auto 20px;
  max-width: 1180px;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

body.education-body .education-intro-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 30px;
}

body.education-body .education-intro-panel span,
body.education-body .education-section-label {
  color: #006bed;
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

body.education-body .education-intro-panel h2 {
  color: #0d1e3d;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.08;
  margin: 0;
}

body.education-body .education-intro-panel p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

body.education-body .main > section.section-1,
body.education-body .main > section.section-2,
body.education-body .main > section.section-3,
body.education-body .main > section.section-4 {
  background: transparent !important;
  color: #162033 !important;
  display: block !important;
  max-width: 1240px;
  margin: 0 auto 36px !important;
  overflow: visible !important;
  padding: 0 20px !important;
  position: relative;
  scroll-margin-top: 110px;
}

body.education-body .main > section.section-1 > h1,
body.education-body .main > section.section-2 > h1,
body.education-body .main > section.section-3 > h1,
body.education-body .main > section.section-4 > h1 {
  background: #ffffff;
  border: 1px solid #e4ebf5;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  color: #0d1e3d !important;
  font-family: Poppins, sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 0 !important;
  padding: 40px 44px 10px;
  position: relative;
  text-align: left !important;
}

body.education-body .main > section.section-1 > h1::before,
body.education-body .main > section.section-2 > h1::before,
body.education-body .main > section.section-3 > h1::before,
body.education-body .main > section.section-4 > h1::before {
  background: linear-gradient(135deg, #006bed, #ddb91f);
  border-radius: 999px;
  content: "";
  display: block;
  height: 5px;
  margin-bottom: 18px;
  width: 86px;
}

body.education-body .service-container {
  align-items: stretch !important;
  background: #ffffff;
  border-left: 1px solid #e4ebf5;
  border-right: 1px solid #e4ebf5;
  display: grid !important;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 360px;
  padding: 26px 44px 34px !important;
  width: 100% !important;
}

body.education-body .main > section:nth-of-type(even) .service-container {
  grid-template-columns: 360px minmax(0, 1fr);
}

body.education-body .main > section:nth-of-type(even) .service-image {
  order: -1;
}

body.education-body .service-list {
  margin: 0 !important;
  padding: 0 !important;
}

body.education-body .service-list ul {
  display: grid;
  gap: 12px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.education-body .service-list li {
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #e4ebf5;
  border-radius: 18px;
  color: #334155;
  display: flex;
  font-size: 14px;
  font-weight: 750;
  gap: 10px;
  line-height: 1.45;
  margin: 0 !important;
  padding: 14px 16px;
}

body.education-body .service-list li::before {
  align-items: center;
  background: #e8f1ff;
  border-radius: 999px;
  color: #006bed;
  content: "\F26A";
  display: inline-flex;
  flex: 0 0 auto;
  font-family: "bootstrap-icons";
  font-size: 13px;
  height: 24px;
  justify-content: center;
  margin-top: 1px;
  width: 24px;
}

body.education-body .service-image {
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(221, 185, 31, 0.22), transparent 44%),
    linear-gradient(135deg, #0f1e3d 0%, #006bed 100%);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
  padding: 18px;
  text-align: center;
}

body.education-body .service-image img {
  aspect-ratio: 4 / 3;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  height: auto !important;
  max-width: none !important;
  object-fit: cover;
  width: 100% !important;
}

body.education-body .service-image a {
  background: #25d366;
  border-radius: 999px;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 14px;
  font-weight: 900;
  margin-top: 16px !important;
  padding: 12px 18px !important;
  text-decoration: none !important;
}

body.education-body .service-image a::before {
  content: "\F618";
  font-family: "bootstrap-icons";
  margin-right: 8px;
}

body.education-body .section-content {
  background: #ffffff !important;
  border: 1px solid #e4ebf5;
  border-radius: 0 0 32px 32px !important;
  border-top: 0;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
  margin: 0 !important;
  padding: 0 44px 40px !important;
  width: 100% !important;
}

body.education-body .section-content p {
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid #e4ebf5;
  border-radius: 22px;
  color: #475569;
  font-size: 15px;
  line-height: 1.72;
  margin: 0;
  padding: 24px 26px;
}

body.education-body #courses-course-details {
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 107, 237, 0.34), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(221, 185, 31, 0.14), transparent 28%),
    linear-gradient(135deg, #071326 0%, #0b1931 48%, #0f1e3d 100%) !important;
  margin-top: 54px;
  overflow: visible !important;
  padding: 96px 20px 110px !important;
}

body.education-body #courses-course-details::before {
  content: none;
}

body.education-body #courses-course-details::after {
  content: none;
}

body.education-body #courses-course-details .container {
  max-width: 1120px;
  padding: 0 !important;
}

body.education-body #courses-course-details .main-timeline-2 {
  display: block !important;
}

body.education-body #courses-course-details .timeline-2 {
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
}

body.education-body #courses-course-details .card {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #162033 !important;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: visible;
}

body.education-body #courses-course-details .education-contact-info {
  background:
    radial-gradient(circle at 10% 18%, rgba(221, 185, 31, 0.26), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 107, 237, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  backdrop-filter: blur(10px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 42px;
  position: relative;
}

body.education-body #courses-course-details .education-contact-info::after {
  border: 42px solid rgba(221, 185, 31, 0.16);
  border-radius: 50%;
  bottom: -82px;
  content: "";
  height: 220px;
  position: absolute;
  right: -74px;
  width: 220px;
}

body.education-body .education-contact-eyebrow {
  color: #ddb91f;
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

body.education-body #courses-course-details .education-contact-info h3 {
  color: #ffffff;
  font-family: Poppins, sans-serif;
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 18px;
}

body.education-body #courses-course-details .education-contact-info p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 28px;
}

body.education-body #courses-course-details .education-contact-info ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.education-body #courses-course-details .education-contact-info li {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  padding: 13px 15px;
}

body.education-body #courses-course-details .education-contact-info li i {
  color: #ddb91f;
}

body.education-body .education-contact-logo {
  margin-top: 34px;
  max-width: 220px;
  position: relative;
  z-index: 2;
}

body.education-body #courses-course-details .education-contact-logo img {
  height: auto;
  margin: 0 !important;
  width: 100% !important;
}

body.education-body #courses-course-details .card-img-top {
  max-width: 190px;
}

body.education-body #courses-course-details .card-body {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  padding: 42px !important;
}

body.education-body #courses-course-details h4 {
  color: #0d1e3d !important;
  font-family: Poppins, sans-serif;
  font-weight: 900;
}

body.education-body #courses-course-details h4.datos {
  background: #eef4ff;
  border-radius: 20px;
  color: #0d1e3d !important;
  font-size: 21px;
  margin-top: 0 !important;
  padding: 18px 22px;
}

body.education-body #courses-course-details hr {
  border-color: #e4ebf5 !important;
  margin: 20px 0 24px;
  opacity: 1;
}

body.education-body #courses-course-details label {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 7px;
}

body.education-body #courses-course-details .form-control {
  background: #f8fbff;
  border: 1px solid #dbe7f6;
  border-radius: 16px;
  color: #0d1e3d;
  min-height: 52px;
  padding: 13px 16px;
}

body.education-body #courses-course-details .form-control:focus {
  background: #ffffff;
  border-color: #006bed;
  box-shadow: 0 0 0 4px rgba(0, 107, 237, 0.1);
}

body.education-body #courses-course-details textarea.form-control {
  min-height: 118px;
}

body.education-body #courses-course-details .btn-buy {
  background: linear-gradient(135deg, #006bed 0%, #004eb1 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(0, 107, 237, 0.24);
  color: #ffffff;
  font-weight: 900;
  padding: 14px 26px;
  width: 100%;
}

@media (max-width: 991px) {
  body.education-body .education-page-title {
    min-height: auto !important;
    padding: 130px 18px 86px !important;
  }

  body.education-body .education-hero-layout {
    gap: 38px;
    min-height: auto;
  }

  body.education-body .education-hero-content {
    align-items: center;
    text-align: center !important;
  }

  body.education-body .education-hero-actions {
    justify-content: center;
  }

  body.education-body .education-image-collage {
    margin: 0 auto;
    max-width: 650px;
    min-height: 0;
  }

  body.education-body .collage-main {
    left: auto;
    top: auto;
  }

  body.education-body .collage-top {
    right: auto;
    top: auto;
  }

  body.education-body .collage-middle {
    right: auto;
    top: auto;
  }

  body.education-body .collage-bottom {
    bottom: auto;
    left: auto;
  }

  body.education-body .collage-accent {
    bottom: auto;
    right: auto;
  }

  body.education-body .education-hero-stats,
  body.education-body .education-intro-panel,
  body.education-body .service-container {
    grid-template-columns: 1fr;
  }

  body.education-body .main > section:nth-of-type(even) .service-container {
    grid-template-columns: 1fr;
  }

  body.education-body .main > section:nth-of-type(even) .service-image {
    order: 0;
  }

  body.education-body #courses-course-details .card {
    grid-template-columns: 1fr;
  }

  body.education-body #courses-course-details .education-contact-info,
  body.education-body #courses-course-details .card-body {
    padding: 30px !important;
  }

  body.education-body .main > section.section-1 > h1,
  body.education-body .main > section.section-2 > h1,
  body.education-body .main > section.section-3 > h1,
  body.education-body .main > section.section-4 > h1,
  body.education-body .service-container,
  body.education-body .section-content {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
}

@media (max-width: 640px) {
  body.education-body .education-hero-stats {
    grid-template-columns: 1fr;
  }

  body.education-body .education-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.education-body .education-image-collage {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  body.education-body .education-collage-card {
    height: 150px !important;
    left: auto !important;
    position: relative;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto !important;
  }

  body.education-body .collage-main {
    grid-column: 1 / -1;
    height: 190px !important;
  }

  body.education-body .education-page-title h1 {
    font-size: 30px !important;
  }
}

/* Contact block: landing-style layout */
body.education-body #courses-course-details {
  background:
    radial-gradient(circle at 14% 28%, rgba(0, 107, 237, 0.32), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(221, 185, 31, 0.12), transparent 28%),
    linear-gradient(135deg, #061124 0%, #0c1f55 48%, #102a82 100%) !important;
  margin-top: 60px;
  padding: 105px 20px 120px !important;
}

body.education-body #courses-course-details .container {
  max-width: 1180px;
}

body.education-body #courses-course-details .card {
  align-items: center;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
}

body.education-body #courses-course-details .education-contact-info {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
  min-height: 0;
  padding: 0 !important;
}

body.education-body #courses-course-details .education-contact-info::after {
  content: none;
}

body.education-body .education-contact-eyebrow {
  color: #ddb91f;
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}

body.education-body #courses-course-details .education-contact-info h3 {
  color: #ffffff;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.02;
  max-width: 620px;
}

body.education-body #courses-course-details .education-contact-info p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
  margin-top: 28px;
  max-width: 620px;
}

body.education-body #courses-course-details .education-contact-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

body.education-body #courses-course-details .education-contact-info li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  padding: 12px 16px;
}

body.education-body .education-contact-logo {
  margin-top: 36px;
  max-width: 210px;
}

body.education-body #courses-course-details .card-body {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  padding: 34px !important;
}

body.education-body #courses-course-details h4.datos {
  background: transparent;
  color: #ffffff !important;
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 8px !important;
  padding: 0;
  text-align: left !important;
}

body.education-body #courses-course-details hr {
  border-color: rgba(255, 255, 255, 0.16) !important;
  margin: 20px 0 24px;
}

body.education-body #courses-course-details .form_reseccion .row {
  display: grid;
  gap: 16px 14px;
  grid-template-columns: 1fr 1fr;
}

body.education-body #courses-course-details .form_reseccion .row > * {
  margin-bottom: 0 !important;
  max-width: none;
  width: auto;
}

body.education-body #courses-course-details .form_reseccion .row > :nth-child(3),
body.education-body #courses-course-details .form_reseccion .row > :nth-child(4),
body.education-body #courses-course-details .form_reseccion .row > :nth-child(5),
body.education-body #courses-course-details .form_reseccion .row > button {
  grid-column: 1 / -1;
}

body.education-body #courses-course-details label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.education-body #courses-course-details .form-control {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #ffffff;
  min-height: 48px;
}

body.education-body #courses-course-details .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.education-body #courses-course-details .form-control:focus {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(221, 185, 31, 0.65);
  box-shadow: 0 0 0 4px rgba(221, 185, 31, 0.12);
  color: #ffffff;
}

body.education-body #courses-course-details select.form-control option {
  color: #0d1e3d;
}

body.education-body #courses-course-details textarea.form-control {
  min-height: 96px;
}

body.education-body #courses-course-details .btn-buy {
  background: linear-gradient(135deg, #ffdc3d 0%, #ddb91f 100%);
  box-shadow: 0 18px 35px rgba(221, 185, 31, 0.28);
  color: #10203d;
  margin-top: 6px;
}

@media (max-width: 991px) {
  body.education-body #courses-course-details .card {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  body.education-body #courses-course-details .education-contact-info h3 {
    font-size: clamp(34px, 8vw, 50px);
  }
}

@media (max-width: 640px) {
  body.education-body #courses-course-details .form_reseccion .row {
    grid-template-columns: 1fr;
  }
}

/* Final contact section override: dark landing style, matching the reference */
body.education-body #courses-course-details {
  background:
    radial-gradient(circle at 78% 22%, rgba(0, 107, 237, 0.34), transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(221, 185, 31, 0.08), transparent 28%),
    linear-gradient(135deg, #071326 0%, #102061 52%, #182b86 100%) !important;
  padding: 115px 20px 125px !important;
}

body.education-body #courses-course-details .container {
  max-width: 1180px !important;
}

body.education-body #courses-course-details .card {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 72px !important;
  grid-template-columns: minmax(0, 1.05fr) 420px !important;
  overflow: visible !important;
}

body.education-body #courses-course-details .education-contact-info {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  padding: 0 !important;
}

body.education-body #courses-course-details .education-contact-info h3 {
  color: #ffffff !important;
  font-size: clamp(44px, 5.3vw, 72px) !important;
  font-weight: 950 !important;
  letter-spacing: -0.055em !important;
  line-height: 1.02 !important;
  margin: 0 !important;
  max-width: 650px !important;
}

body.education-body #courses-course-details .education-contact-info p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  margin: 28px 0 0 !important;
  max-width: 620px !important;
}

body.education-body #courses-course-details .education-contact-info li {
  background: transparent !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  padding: 0 !important;
}

body.education-body #courses-course-details .education-contact-logo img {
  filter: brightness(0) invert(1);
  max-width: 190px !important;
}

body.education-body #courses-course-details .card-body {
  background: rgba(39, 64, 150, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
  padding: 34px !important;
}

body.education-body #courses-course-details h4.datos {
  background: transparent !important;
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1.22 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: left !important;
}

body.education-body #courses-course-details label {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.education-body #courses-course-details .form-control {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

body.education-body #courses-course-details .form-control::placeholder {
  color: rgba(255, 255, 255, 0.52) !important;
}

body.education-body #courses-course-details .btn-buy {
  background: linear-gradient(135deg, #ffce21 0%, #ddb91f 100%) !important;
  color: #10203d !important;
}

@media (max-width: 991px) {
  body.education-body #courses-course-details .card {
    grid-template-columns: 1fr !important;
  }
}

/* Hard reset for the final consultation section */
body.education-body #courses-course-details,
body.education-body #courses-course-details * {
  backdrop-filter: none !important;
}

body.education-body #courses-course-details .card {
  background: transparent !important;
  background-color: transparent !important;
}

body.education-body #courses-course-details .education-contact-card,
body.education-body #courses-course-details .timeline-2.education-contact-card,
body.education-body #courses-course-details .left-2.education-contact-card {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
}

body.education-body #courses-course-details .education-contact-info {
  background:
    radial-gradient(circle at 8% 16%, rgba(221, 185, 31, 0.2), transparent 28%),
    linear-gradient(135deg, #071326 0%, #102061 100%) !important;
  background-color: #071326 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26) !important;
  min-height: 520px !important;
  padding: 42px !important;
}

body.education-body #courses-course-details .education-contact-info h3,
body.education-body #courses-course-details .education-contact-info p,
body.education-body #courses-course-details .education-contact-info li {
  opacity: 1 !important;
  text-shadow: none !important;
}

body.education-body #courses-course-details .education-contact-info h3 {
  color: #ffffff !important;
}

body.education-body #courses-course-details .education-contact-info p {
  color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 768px) {
  body.education-body main.main {
    overflow-x: hidden !important;
  }

  body.education-body .education-page-title {
    min-height: auto !important;
    padding: 112px 14px 58px !important;
  }

  body.education-body .education-page-title h1 {
    font-size: 30px !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  body.education-body .education-kicker {
    align-self: center !important;
    font-size: 10px !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  body.education-body .education-hero-content {
    align-items: center !important;
  }

  body.education-body .education-hero-actions a {
    width: 100% !important;
  }

  body.education-body .education-image-collage {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    width: 100% !important;
  }

  body.education-body .education-collage-card,
  body.education-body .collage-main {
    grid-column: auto !important;
    height: 180px !important;
  }

  body.education-body .service-container,
  body.education-body .section-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.education-body #courses-course-details {
    padding: 72px 14px 82px !important;
  }

  body.education-body #courses-course-details .card {
    gap: 24px !important;
    grid-template-columns: 1fr !important;
  }

  body.education-body #courses-course-details .education-contact-info {
    min-height: auto !important;
    padding: 28px 20px !important;
  }

  body.education-body #courses-course-details .education-contact-info h3 {
    font-size: 34px !important;
    text-align: center !important;
  }

  body.education-body #courses-course-details .education-contact-info p,
  body.education-body #courses-course-details .education-contact-info li {
    text-align: center !important;
  }

  body.education-body #courses-course-details .card-body {
    padding: 24px 18px !important;
  }

  body.education-body #courses-course-details .form_reseccion .row {
    grid-template-columns: 1fr !important;
  }
}

body.education-body #courses-course-details .education-contact-info li {
  color: #ffffff !important;
}

body.education-body #courses-course-details .card-body {
  background: #253f9a !important;
  background-color: #253f9a !important;
}
