/* ED Spor Akademi — brand colors from logo */

:root {
  --ed-green: #7BC41D;
  --ed-green-dark: #5FA014;
  --ed-magenta: #D12B8A;
  --ed-magenta-dark: #A8216E;
  --ed-blue: #3BA7E0;
  --ed-blue-dark: #2B87B8;
  --ed-gray: #4A4A4A;
}

/* Hero banner typography */
.main-banner .banner-text {
  font-family: "Nunito", system-ui, sans-serif;
}

.main-banner .banner-text .banner-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-magenta);
  background: rgba(209, 43, 138, 0.1);
  border-radius: 999px;
  max-width: none;
}

.main-banner .banner-text > h1 {
  color: #1f2430;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  padding-right: 10px;
}

.main-banner .banner-text > h1 span {
  display: inline-block;
  position: relative;
  background: linear-gradient(90deg, var(--ed-green) 0%, var(--ed-magenta) 48%, var(--ed-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.main-banner .banner-text > h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.06em;
  width: 100%;
  height: 0.12em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ed-green), var(--ed-magenta), var(--ed-blue));
  opacity: 0.35;
}

.main-banner .banner-text > p.banner-lead,
.main-banner .banner-text > p {
  color: #4b5563;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  font-weight: 600;
  max-width: 34rem;
  margin-bottom: 28px;
}

@media (max-width: 767px) {
  .main-banner .banner-text > h1 {
    font-size: 2.35rem;
    line-height: 1.12;
  }
}

/* Header menu — a bit smaller than template default, still readable */
header .navigation-bar nav ul li a {
  font-size: 18px !important;
  padding: 0 2px !important;
}
header .navigation-bar nav ul li {
  margin-right: 40px !important;
}

/* Header logo + contact row — between original and compact */
header .header-content {
  padding: 20px 0 18px !important;
}
header .header-content .logo {
  flex: 0 0 30% !important;
  max-width: 30% !important;
}
header .header-content .logo img {
  max-height: 66px;
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}
header .header-content .contact-add {
  flex: 0 0 58% !important;
  max-width: 58% !important;
  align-items: center;
}
header .header-content .contact-add li .contact-info > img {
  width: 18px;
  height: auto;
  top: 4px !important;
}
header .header-content .contact-add li .contact-info .contact-tt {
  padding-left: 9px !important;
}
header .header-content .contact-add li .contact-info .contact-tt > h4 {
  font-size: 14px !important;
  margin-bottom: 3px !important;
  line-height: 1.25;
}
header .header-content .contact-add li .contact-info .contact-tt > span {
  font-size: 13px !important;
  line-height: 1.3;
}

/* Header login button (replaces address slot) */
header .header-content .contact-add li.ed-header-login {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
header .header-content .contact-add .ed-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ed-magenta);
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(209, 43, 138, 0.28);
  transition: background-color .2s ease, transform .2s ease;
}
header .header-content .contact-add .ed-login-btn:hover {
  background: var(--ed-magenta-dark);
  color: #fff !important;
  transform: translateY(-1px);
}
header .header-content .contact-add .ed-login-btn i {
  font-size: 16px;
}

/* Chat float button styles live in header <style> (#ed-chat-float) */

/* Course card titles — stronger, like homepage */
.classes-section .classes-col .class-info > h3,
.classes-section .classes-col .class-info > h3 a {
  color: #1f2430 !important;
  font-family: "Nunito", system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
}
.classes-section .classes-col .class-info > h3 a:hover {
  color: var(--ed-magenta) !important;
}
.classes-section .classes-col .class-info > span {
  color: #4b5563 !important;
  font-weight: 600 !important;
}
.classes-section .classes-col .class-info > p {
  color: #575757 !important;
  opacity: 1 !important;
}

/* ========== Overflow / double-scrollbar fix ========== */
html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}
.wrapper,
.about-us-section,
.classes-section {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/*
  Important: overflow-x:hidden alone makes overflow-y become "auto"
  and creates a nested scrollbar inside .main-section (header+hero).
  Use overflow:hidden on both axes to clip decorations without a 2nd scrollbar.
*/
.main-section {
  overflow: hidden !important;
  max-width: 100% !important;
}

/* Decorative giant title + orange balls — clip / hide so they don't create scroll junk */
.main-section .main-title {
  display: none !important;
}
.main-section .elements-bg {
  pointer-events: none;
  max-width: 100%;
}

@media only screen and (max-width: 1199px) {
  .main-section .elements-bg {
    display: none !important;
  }
}

@media only screen and (max-width: 991px) {
  .wrapper,
  .main-section,
  section,
  .container,
  .row {
    max-width: 100% !important;
  }
  img {
    max-width: 100% !important;
    height: auto;
  }
  .masonary,
  .abt-img {
    overflow: hidden !important;
    max-width: 100% !important;
  }
}

/* Primary = green (main CTAs) */
.btn-primary {
  background-color: var(--ed-green) !important;
  border-color: var(--ed-green) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--ed-green-dark) !important;
  border-color: var(--ed-green-dark) !important;
  color: #fff !important;
}

/* Magenta accent */
.btn-brand-magenta,
.btn-magenta {
  background-color: var(--ed-magenta) !important;
  border-color: var(--ed-magenta) !important;
  color: #fff !important;
}
.btn-brand-magenta:hover,
.btn-magenta:hover {
  background-color: var(--ed-magenta-dark) !important;
  border-color: var(--ed-magenta-dark) !important;
  color: #fff !important;
}

/* Light blue accent */
.btn-brand-blue,
.btn-info {
  background-color: var(--ed-blue) !important;
  border-color: var(--ed-blue) !important;
  color: #fff !important;
}
.btn-brand-blue:hover,
.btn-info:hover {
  background-color: var(--ed-blue-dark) !important;
  border-color: var(--ed-blue-dark) !important;
  color: #fff !important;
}

/* Outline variants */
.btn-outline-primary {
  color: var(--ed-green) !important;
  border-color: var(--ed-green) !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background-color: var(--ed-green) !important;
  color: #fff !important;
}

.btn-outline-info,
.btn-outline-brand-blue {
  color: var(--ed-blue) !important;
  border-color: var(--ed-blue) !important;
  background: transparent !important;
}
.btn-outline-info:hover,
.btn-outline-brand-blue:hover {
  background-color: var(--ed-blue) !important;
  color: #fff !important;
}

.btn-outline-brand-magenta {
  color: var(--ed-magenta) !important;
  border-color: var(--ed-magenta) !important;
  background: transparent !important;
}
.btn-outline-brand-magenta:hover {
  background-color: var(--ed-magenta) !important;
  color: #fff !important;
}

/* Soft secondary / iletişim tarzı */
.btn-outline-secondary {
  color: var(--ed-blue) !important;
  border-color: var(--ed-blue) !important;
  background: transparent !important;
}
.btn-outline-secondary:hover {
  background-color: var(--ed-blue) !important;
  border-color: var(--ed-blue) !important;
  color: #fff !important;
}

/* Course card action button — registration (not cart) */
.classes-section .classes-col .class-thumb .crt-btn {
  background: var(--ed-green) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(123, 196, 29, 0.35);
  transition: background-color .2s ease, transform .2s ease;
}
.classes-section .classes-col .class-thumb .crt-btn:hover {
  background: var(--ed-green-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.classes-section .classes-col .class-thumb .crt-btn i {
  font-size: 16px;
  line-height: 1;
}
.classes-section .classes-col .class-thumb .crt-btn img {
  display: none;
}

/* ——— Contact page ——— */
.ed-contact-page {
  padding: 72px 0 0;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(123, 196, 29, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 50% at 95% 0%, rgba(209, 43, 138, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 8%, rgba(59, 167, 224, 0.14), transparent 55%),
    linear-gradient(180deg, #eef6fb 0%, #f8fbfd 28%, #fff 55%);
  font-family: "Nunito", system-ui, sans-serif;
}

.ed-contact-intro {
  max-width: 720px;
  margin: 0 auto 40px;
}

.ed-contact-intro .banner-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.ed-contact-intro h2 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  color: #1f2430;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.ed-contact-intro p {
  color: #4b5563;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}

.ed-contact-actions {
  margin-bottom: 40px;
}

.ed-contact-cta {
  margin: 6px 6px;
  min-width: 160px;
  font-weight: 800 !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
}

.ed-contact-cta i {
  margin-right: 8px;
}

.btn-brand-green {
  background-color: var(--ed-green) !important;
  border-color: var(--ed-green) !important;
  color: #fff !important;
}
.btn-brand-green:hover {
  background-color: var(--ed-green-dark) !important;
  border-color: var(--ed-green-dark) !important;
  color: #fff !important;
}

.ed-contact-cards {
  margin-bottom: 28px;
}

.ed-contact-card {
  display: block;
  height: 100%;
  margin-bottom: 20px;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid rgba(31, 36, 48, 0.06);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(31, 36, 48, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-contact-card-link {
  text-decoration: none;
  color: inherit;
}

.ed-contact-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 36, 48, 0.1);
  text-decoration: none;
  color: inherit;
}

.ed-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  font-size: 1.35rem;
  color: #fff;
}

.ed-contact-icon-magenta { background: linear-gradient(145deg, var(--ed-magenta), var(--ed-magenta-dark)); }
.ed-contact-icon-green { background: linear-gradient(145deg, var(--ed-green), var(--ed-green-dark)); }
.ed-contact-icon-blue { background: linear-gradient(145deg, var(--ed-blue), var(--ed-blue-dark)); }
.ed-contact-icon-gray { background: linear-gradient(145deg, #6b7280, #4b5563); }

.ed-contact-card h3 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #1f2430;
  margin: 0 0 8px;
}

.ed-contact-card p {
  color: #374151;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 10px;
  min-height: 2.8em;
}

.ed-contact-card-hint {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ed-blue);
}

.ed-contact-social {
  margin-bottom: 48px;
}

.ed-contact-social .btn {
  margin: 4px 6px;
  font-weight: 700;
}

.ed-contact-map-wrap {
  padding: 40px 0 72px;
  background: linear-gradient(180deg, transparent 0%, #eef5fa 100%);
}

.ed-contact-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ed-contact-map-head h3 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #1f2430;
  margin: 0 0 4px;
}

.ed-contact-map-head p {
  margin: 0;
  color: #6b7280;
  font-weight: 600;
}

.ed-contact-map {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(31, 36, 48, 0.12);
  border: 3px solid #fff;
  background: #dbe7f0;
  min-height: 380px;
}

.ed-contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 767px) {
  .ed-contact-map iframe {
    height: 300px;
  }
  .ed-contact-card p {
    min-height: 0;
  }
}

/* ——— Homepage Google reviews ——— */
.ed-reviews-section {
  padding: 72px 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(209, 43, 138, 0.08), transparent 60%),
    #fff;
  font-family: "Nunito", system-ui, sans-serif;
}

.ed-reviews-head {
  max-width: 680px;
  margin: 0 auto 36px;
}

.ed-reviews-head .banner-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.ed-reviews-head h2 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #1f2430;
  margin: 0 0 12px;
}

.ed-reviews-head > p {
  color: #6b7280;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 20px;
}

.ed-reviews-score {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(31, 36, 48, 0.05);
}

.ed-reviews-score-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1f2430;
}

.ed-reviews-stars {
  color: #fbbc04;
  letter-spacing: 2px;
  font-size: 1.15rem;
}

.ed-reviews-score-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6b7280;
}

.ed-review-card {
  height: 100%;
  margin-bottom: 20px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid rgba(31, 36, 48, 0.07);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(31, 36, 48, 0.05);
}

.ed-review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ed-review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ed-blue), var(--ed-magenta));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ed-review-top strong {
  display: block;
  font-size: 0.98rem;
  color: #1f2430;
}

.ed-review-stars {
  color: #fbbc04;
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1.2;
}

.ed-review-google {
  margin-left: auto;
  color: #4285f4;
  font-size: 1.1rem;
  opacity: 0.85;
}

.ed-review-card > p {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ——— Kurumsal page ——— */
.ed-corp {
  font-family: "Nunito", system-ui, sans-serif;
  color: #374151;
}

.ed-corp .banner-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.ed-corp-hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 85% 60% at 20% -20%, rgba(123, 196, 29, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(209, 43, 138, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(59, 167, 224, 0.12), transparent 55%),
    linear-gradient(180deg, #eaf4fb 0%, #f7fafc 70%, #fff 100%);
}

.ed-corp-hero h1 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  color: #1f2430;
  margin: 0 0 14px;
  background: linear-gradient(90deg, var(--ed-green) 0%, var(--ed-magenta) 48%, var(--ed-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.ed-corp-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: #1f2430;
  margin: 0 0 12px;
  font-style: italic;
}

.ed-corp-hero-meta {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b7280;
}

.ed-corp-section {
  padding: 64px 0;
}

.ed-corp-section-alt {
  background: #f7fafc;
}

.ed-corp-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.ed-corp-section-head h2,
.ed-corp-aside h2,
.ed-corp-closing h2 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  color: #1f2430;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.ed-corp-section-head > p,
.ed-corp-section > p,
.ed-corp-section .col-lg-8 > p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 16px;
  color: #4b5563;
}

.ed-corp-lead {
  font-size: 1.12rem !important;
  font-weight: 600 !important;
  color: #1f2430 !important;
  line-height: 1.7 !important;
}

.ed-corp-aside {
  position: sticky;
  top: 24px;
  margin-bottom: 24px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(31, 36, 48, 0.06);
  box-shadow: 0 12px 32px rgba(31, 36, 48, 0.06);
}

.ed-corp-aside-roles {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ed-magenta);
}

.ed-corp-quote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--ed-green);
  background: rgba(123, 196, 29, 0.08);
  border-radius: 0 14px 14px 0;
}

.ed-corp-quote p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: #1f2430;
  line-height: 1.55;
}

.ed-corp-quote-light {
  background: rgba(255, 255, 255, 0.12);
  border-left-color: #fff;
}

.ed-corp-quote-light p {
  color: #fff;
}

.ed-corp-subhead {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #1f2430;
  margin: 8px 0 20px;
}

.ed-corp-branch {
  height: calc(100% - 16px);
  margin-bottom: 16px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid rgba(31, 36, 48, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(31, 36, 48, 0.04);
}

.ed-corp-section-alt .ed-corp-branch {
  background: #fff;
}

.ed-corp-branch h4 {
  font-weight: 800;
  font-size: 1.05rem;
  color: #1f2430;
  margin: 0 0 8px;
}

.ed-corp-branch p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #6b7280;
}

.ed-corp-two {
  margin-top: 12px;
}

.ed-corp-panel {
  height: calc(100% - 16px);
  margin-bottom: 16px;
  padding: 26px 24px;
  background: linear-gradient(160deg, #fff 0%, #f3f9fc 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 167, 224, 0.15);
}

.ed-corp-panel h3 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #1f2430;
  margin: 0 0 12px;
}

.ed-corp-panel p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
  margin: 0 0 12px;
}

.ed-corp-panel p:last-child {
  margin-bottom: 0;
}

.ed-corp-vm {
  height: calc(100% - 16px);
  margin-bottom: 16px;
  padding: 32px 28px;
  border-radius: 18px;
  color: #fff;
}

.ed-corp-vm-vision {
  background: linear-gradient(145deg, var(--ed-blue) 0%, var(--ed-blue-dark) 100%);
}

.ed-corp-vm-mission {
  background: linear-gradient(145deg, var(--ed-magenta) 0%, var(--ed-magenta-dark) 100%);
}

.ed-corp-vm-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.ed-corp-vm p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.65;
}

.ed-corp-closing {
  padding: 72px 0;
  text-align: center;
  background:
    linear-gradient(145deg, #1f2430 0%, #2a3344 55%, #1a3a4a 100%);
  color: rgba(255, 255, 255, 0.88);
}

.ed-corp-closing .banner-eyebrow {
  color: var(--ed-green);
  background: rgba(123, 196, 29, 0.15);
}

.ed-corp-closing h2 {
  color: #fff;
  margin-bottom: 18px;
}

.ed-corp-closing > .container > p {
  max-width: 720px;
  margin: 0 auto 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.ed-corp-sign-brand {
  margin-top: 28px !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: 0.04em;
}

.ed-corp-sign-line {
  font-style: italic;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75) !important;
}

.ed-corp-sign-name {
  margin-top: 20px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.ed-corp-sign-roles {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-bottom: 28px !important;
}

.ed-corp-closing-actions .btn {
  margin: 6px;
  font-weight: 800;
}

@media (max-width: 991px) {
  .ed-corp-aside {
    position: static;
  }
}

/* ——— Footer (light) ——— */
/* Template sets footer { padding: 219px 0 72px } — override hard */
footer.ed-footer {
  position: relative;
  font-family: "Nunito", system-ui, sans-serif;
  background:
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(123, 196, 29, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 70% at 100% 0%, rgba(59, 167, 224, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 50% at 80% 100%, rgba(209, 43, 138, 0.07), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 45%, #f3f8fb 100%) !important;
  color: #4b5563;
  padding: 0 0 0 !important;
  overflow: hidden;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ed-green), var(--ed-magenta), var(--ed-blue)) 1;
}

footer.ed-footer::before,
footer.ed-footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
footer.ed-footer::before {
  width: 180px;
  height: 180px;
  right: -40px;
  top: 40px;
  background: radial-gradient(circle, rgba(123, 196, 29, 0.18), transparent 70%);
}
footer.ed-footer::after {
  width: 140px;
  height: 140px;
  left: -30px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(59, 167, 224, 0.16), transparent 70%);
}

footer.ed-footer > .container {
  position: relative;
  z-index: 1;
}

footer.ed-footer .ed-footer-top {
  padding: 48px 0 28px !important;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

footer.ed-footer .ed-footer-logo {
  max-width: 118px;
  height: auto;
  margin-bottom: 14px;
  display: block;
  filter: none;
}

footer.ed-footer .ed-footer-about > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  margin: 0 0 16px;
  max-width: 320px;
}

footer.ed-footer .widget-title {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  color: #1f2430 !important;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 8px;
}

footer.ed-footer .widget-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ed-green), var(--ed-magenta));
}

footer.ed-footer .ed-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.ed-footer .ed-footer-links ul li {
  margin: 0 0 8px;
}

footer.ed-footer .ed-footer-links ul li a {
  color: #374151;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

footer.ed-footer .ed-footer-links ul li a:hover {
  color: var(--ed-magenta);
  padding-left: 4px;
  text-decoration: none;
}

footer.ed-footer .ed-footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.ed-footer .ed-footer-contact ul li {
  margin: 0 0 12px;
}

footer.ed-footer .ed-footer-contact strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-blue);
  margin-bottom: 3px;
}

footer.ed-footer .ed-footer-contact a,
footer.ed-footer .ed-footer-contact span {
  color: #1f2430;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
  text-decoration: none;
}

footer.ed-footer .ed-footer-contact a:hover {
  color: var(--ed-magenta);
}

footer.ed-footer .ed-footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

footer.ed-footer .ed-footer-social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(31, 36, 48, 0.08);
  color: #1f2430;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(31, 36, 48, 0.04);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

footer.ed-footer .ed-footer-social li a:hover {
  background: var(--ed-magenta);
  border-color: var(--ed-magenta);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

footer.ed-footer .ed-footer-bottom {
  padding: 12px 0 14px !important;
  text-align: center;
  border-top: none !important;
  background: rgba(255, 255, 255, 0.55);
}

footer.ed-footer .ed-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.35;
}

footer.ed-footer .ed-footer-sep {
  margin: 0 6px;
  opacity: 0.5;
}

footer.ed-footer .ed-footer-credit {
  color: #1f2430;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 36, 48, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}

footer.ed-footer .ed-footer-credit:hover {
  color: var(--ed-magenta);
  border-bottom-color: var(--ed-magenta);
  text-decoration: none;
}

@media (max-width: 767px) {
  footer.ed-footer .ed-footer-top {
    padding: 36px 0 20px !important;
  }
  footer.ed-footer .widget {
    margin-bottom: 22px;
  }
  footer.ed-footer .ed-footer-about > p {
    max-width: none;
  }
  footer.ed-footer .ed-footer-bottom {
    padding: 10px 0 12px !important;
  }
}

/* ——— Courses list page ——— */
.ed-courses-page {
  padding: 64px 0 72px !important;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(123, 196, 29, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(59, 167, 224, 0.1), transparent 50%),
    #fff;
  font-family: "Nunito", system-ui, sans-serif;
}

.ed-courses-intro {
  max-width: 680px;
  margin: 0 auto 40px;
}

.ed-courses-intro .banner-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.ed-courses-intro h1 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: #1f2430;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.ed-courses-intro p {
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

/* ——— Course detail ——— */
.ed-course-detail {
  font-family: "Nunito", system-ui, sans-serif;
}

.ed-course-hero {
  padding: 64px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 55% at 20% -10%, rgba(123, 196, 29, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(209, 43, 138, 0.1), transparent 50%),
    linear-gradient(180deg, #eef6fb 0%, #fff 100%);
}

.ed-course-hero .banner-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.ed-course-hero h1 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: #1f2430;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.ed-course-lead {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #4b5563;
  font-weight: 600;
}

.ed-course-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 22px;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.92rem;
}

.ed-course-meta i {
  color: var(--ed-magenta);
  margin-right: 6px;
}

.ed-course-actions .btn {
  margin: 6px;
  font-weight: 800;
}

.ed-course-body {
  padding: 20px 0 56px;
}

.ed-course-main-photo {
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(31, 36, 48, 0.1);
}

.ed-course-main-photo img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.ed-course-copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 14px;
}

.ed-course-short {
  font-weight: 700;
  color: #1f2430 !important;
}

.ed-course-highlights {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.ed-course-highlights li {
  background: #f7fafc;
  border: 1px solid rgba(31, 36, 48, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  color: #1f2430;
  font-size: 0.92rem;
}

.ed-course-highlights i {
  color: var(--ed-green);
  margin-right: 8px;
}

.ed-course-aside {
  background: #fff;
  border: 1px solid rgba(31, 36, 48, 0.07);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 12px 32px rgba(31, 36, 48, 0.06);
  position: sticky;
  top: 20px;
}

.ed-course-aside h2 {
  font-weight: 900;
  font-size: 1.25rem;
  color: #1f2430;
  margin: 0 0 6px;
}

.ed-course-aside > p {
  color: #6b7280;
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.ed-course-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.ed-course-gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eef2f6;
}

.ed-course-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.ed-course-gallery-item:hover img {
  transform: scale(1.05);
}

.ed-course-aside-cta {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(209, 43, 138, 0.08), rgba(59, 167, 224, 0.08));
}

.ed-course-aside-cta strong {
  display: block;
  color: #1f2430;
  margin-bottom: 4px;
}

.ed-course-aside-cta p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 10px;
}

.ed-course-others {
  padding: 48px 0 72px;
  background: #f7fafc;
}

.ed-course-others-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.ed-course-others-head h2 {
  font-weight: 900;
  font-size: 1.4rem;
  color: #1f2430;
  margin: 0;
}

.ed-course-others-head a {
  font-weight: 800;
  color: var(--ed-magenta);
}

.ed-course-other-card {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(31, 36, 48, 0.06);
  box-shadow: 0 8px 20px rgba(31, 36, 48, 0.04);
  transition: transform 0.15s ease;
}

.ed-course-other-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.ed-course-other-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.ed-course-other-card span {
  display: block;
  padding: 12px 14px;
  font-weight: 800;
  color: #1f2430;
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .ed-course-aside {
    position: static;
    margin-top: 28px;
  }
  .ed-course-main-photo img {
    height: 240px;
  }
  .ed-course-highlights {
    grid-template-columns: 1fr;
  }
}
