:root {
  --blue: #2f6bff;
  --deep-blue: #1a47b8;
  --orange: #f9a825;
  --bg: #f5f7fb;
  --border: #e5eaf3;
  --text: #1f2d3d;
  --muted: #5b6b7f;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(22, 56, 136, 0.12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 50px 0; }
.centered { text-align: center; }
.section-heading h2, .section-heading h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 12px 22px; font-weight: 600; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(47, 107, 255, 0.25); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 10px 22px rgba(249, 168, 37, 0.26); }
.btn-small { padding: 10px 16px; font-size: .95rem; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(229, 234, 243, .75); backdrop-filter: blur(10px);
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img, .custom-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-text-group { display: flex; flex-direction: column; }
.brand-title { font-weight: 800; letter-spacing: .02em; font-size: 1.25rem; line-height: 1.1; }
.brand-tagline { font-size: .78rem; color: var(--muted); line-height: 1.2; }
.main-navigation ul { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; margin: 0; }
.main-navigation a { font-size: .95rem; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-link { color: var(--muted); font-weight: 500; }
.menu-toggle {
  display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 0;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px auto; }

 



.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(90deg, #1b49bd 0%, #2f6bff 100%);
}
.hero-banner-card {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
}
.hero-banner-hotspot {
  position: absolute;
  left: var(--hero-cta-left, 2.85%);
  top: var(--hero-cta-top, 68.85%);
  width: var(--hero-cta-width, 18.55%);
  height: var(--hero-cta-height, 14.8%);
  display: block;
  z-index: 2;
  border-radius: 14px;
}
.hero-banner-hotspot:focus-visible {
  outline: 3px solid rgba(255,255,255,.95);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(47,107,255,.25);
}
.courses-section { background: #fff; padding-top: 18px; margin-top: -14px; position: relative; z-index: 2; }
.courses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.course-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(18, 43, 101, 0.08); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 34px rgba(18, 43, 101, 0.18);
  border-color: rgba(47, 107, 255, .25);
}
.course-card:hover .course-thumb img { transform: scale(1.04); }
.course-thumb { background: linear-gradient(180deg, #eef4ff, #f8fbff); padding: 14px; min-height: 158px; display: flex; align-items: center; justify-content: center; }
.course-thumb img { max-height: 132px; width: auto; transition: transform .28s ease; }
.course-body { padding: 16px; }
.course-body h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.35; }
.course-body p { margin: 0 0 10px; font-size: .9rem; color: var(--muted); }
.course-rating { color: var(--orange); font-size: .92rem; font-weight: 600; }
.course-rating span { color: var(--muted); font-weight: 500; font-size: .8rem; margin-left: 6px; }
.section-cta { text-align: center; margin-top: 28px; }

.features-section { background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { text-align: center; padding: 10px 16px; }
.feature-visual {
  width: 190px; height: 120px; margin: 0 auto 16px; border-radius: 999px;
  background: radial-gradient(circle at center, rgba(47,107,255,.12), rgba(47,107,255,.03));
  display: flex; align-items: center; justify-content: center;
}
.feature-visual img { max-height: 90px; max-width: 100%; width: auto; object-fit: contain; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.partners-strip { padding: 18px 0 8px; background: #fff; }
.partners-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0;
}
.partner-item { display: flex; justify-content: center; align-items: center; gap: 12px; color: #49617f; font-weight: 600; text-align: left; }
.partner-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 14px rgba(26,71,184,.10); flex-shrink: 0; }
.partner-item span { line-height: 1.3; }

.stats-section { background: linear-gradient(180deg, #f9fbff, #eef4ff); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card {
  background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: 18px;
  text-align: center; padding: 26px 16px; box-shadow: 0 8px 16px rgba(26,71,184,.06);
}
.stat-card h3 { margin: 0 0 4px; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--deep-blue); }
.stat-card p { margin: 0; color: var(--muted); font-weight: 500; }

.newsletter-section { background: #f2f6fe; padding: 34px 0 44px; }
.newsletter-wrap {
  background: linear-gradient(180deg, #ffffff, #f9fbff); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); padding: 24px; text-align: center;
}
.newsletter-wrap h2 { margin: 0 0 18px; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.newsletter-form { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 760px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; min-width: 0; height: 52px; border-radius: 12px; border: 1px solid var(--border);
  padding: 0 18px; font: inherit; background: #fff;
}

.site-footer {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #1e56d5 0%, #153b95 100%); padding-top: 58px;
}
.footer-wave {
  position: absolute; top: 0; left: 0; right: 0; height: 24px;
  background: linear-gradient(168deg, transparent 37%, var(--orange) 37%, var(--orange) 46%, rgba(255,255,255,.14) 46%, rgba(255,255,255,.14) 53%, transparent 53%);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .8fr; gap: 24px; padding-bottom: 24px; }
.footer-logo-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-line img { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-brand h3 { margin: 0; font-size: 1.35rem; }
.footer-tagline { margin: 0; font-size: .85rem; color: rgba(255,255,255,.76); }
.footer-brand p, .footer-contact p { color: rgba(255,255,255,.85); }
.footer-contact h4, .footer-social h4 { margin: 0 0 10px; font-size: 1.1rem; }
.footer-contact a { color: #fff; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-weight: 700;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0 24px;
}
.footer-navigation .menu { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.footer-navigation a, .copyright { color: rgba(255,255,255,.85); font-size: .94rem; }

.content-area { min-height: 40vh; }
.entry-content iframe, .entry-content img { max-width: 100%; }
.comment-list { padding-left: 20px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

@media (max-width: 991px) {
  .features-grid, .footer-grid, .courses-grid, .stats-grid, .partners-grid { grid-template-columns: 1fr 1fr; }
  .header-wrap { flex-wrap: wrap; padding: 12px 0; }
  .main-navigation { width: 100%; display: none; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0 0; }
  .menu-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 680px) {
  .container { width: min(var(--container), calc(100% - 20px)); }
  .courses-grid, .features-grid, .stats-grid, .partners-grid, .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form, .footer-bottom, .header-wrap { flex-direction: column; align-items: stretch; }
  .header-actions { justify-content: space-between; width: 100%; }
  .site-branding { justify-content: center; }
  .section { padding: 42px 0; }
  .course-thumb { min-height: 140px; }
  .feature-visual { width: 170px; height: 108px; }
  .footer-bottom { text-align: center; }
  .footer-navigation .menu { justify-content: center; flex-wrap: wrap; }
  .hero-banner-hotspot {
    left: var(--hero-cta-mobile-left, var(--hero-cta-left, 2.85%));
    top: var(--hero-cta-mobile-top, var(--hero-cta-top, 68.85%));
    width: var(--hero-cta-mobile-width, 26%);
    height: var(--hero-cta-mobile-height, 15%);
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .hero-banner-hotspot {
    border-radius: 6px;
  }
}


.payment-gateways-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0 0 1.5rem;
}
