/*
Theme Name: Elite Global Admission
Theme URI: https://eliteglobaladmission.com
Author: Codex
Author URI: https://openai.com
Description: A premium WordPress theme for international university admissions consulting agencies, with a polished Chinese landing page, service pillars, pricing, process, founder story, FAQ, and consultation form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elite-global-admission
Tags: education, consulting, landing-page, custom-logo, custom-menu, responsive-layout
*/

:root {
  --ega-ink: #06172a;
  --ega-ink-2: #0b2239;
  --ega-gold: #c49a4f;
  --ega-gold-light: #e3c27c;
  --ega-paper: #ffffff;
  --ega-soft: #f6f7f8;
  --ega-line: #e7e3dc;
  --ega-text: #192434;
  --ega-muted: #687385;
  --ega-shadow: 0 22px 60px rgba(6, 23, 42, 0.12);
  --ega-radius: 8px;
  --ega-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ega-paper);
  color: var(--ega-text);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.ega-container {
  width: min(var(--ega-max), calc(100% - 48px));
  margin: 0 auto;
}

.ega-site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: #fff;
}

.ega-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
}

.ega-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}

.ega-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(227, 194, 124, 0.82);
  color: var(--ega-gold-light);
  font-size: 22px;
  letter-spacing: 0;
}

.ega-brand-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.ega-brand-sub {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.ega-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.ega-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.ega-nav a:hover {
  color: var(--ega-gold-light);
}

.ega-header-cta,
.ega-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(135deg, #e5c47d, #b98a42);
  color: #07182a;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(196, 154, 79, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ega-header-cta:hover,
.ega-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(196, 154, 79, 0.3);
}

.ega-button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.ega-hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ega-ink);
  color: #fff;
}

.ega-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 23, 42, 0.98) 0%, rgba(6, 23, 42, 0.86) 34%, rgba(6, 23, 42, 0.24) 68%, rgba(6, 23, 42, 0.08) 100%),
    url("assets/images/hero-campus.png") center right / cover no-repeat;
}

.ega-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(0deg, rgba(6, 23, 42, 0.58), transparent);
}

.ega-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 86px;
}

.ega-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

.ega-hero-lead {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.3vw, 25px);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.ega-hero-sub {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

.ega-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ega-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -78px;
  background: #fff;
  border: 1px solid var(--ega-line);
  box-shadow: var(--ega-shadow);
}

.ega-stat {
  padding: 28px 26px;
  border-right: 1px solid var(--ega-line);
}

.ega-stat:last-child {
  border-right: 0;
}

.ega-stat strong {
  display: block;
  color: var(--ega-ink);
  font-size: 30px;
  line-height: 1;
}

.ega-stat span {
  display: block;
  margin-top: 8px;
  color: var(--ega-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.ega-section {
  padding: 88px 0;
}

.ega-section-soft {
  background: var(--ega-soft);
}

.ega-section-dark {
  background: var(--ega-ink);
  color: #fff;
}

.ega-section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.ega-section-title {
  margin: 0;
  color: var(--ega-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.ega-section-dark .ega-section-title {
  color: #fff;
}

.ega-section-copy {
  margin: 0;
  color: var(--ega-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ega-section-dark .ega-section-copy {
  color: rgba(255, 255, 255, 0.68);
}

.ega-rule {
  width: 54px;
  height: 2px;
  margin: 18px 0 0;
  background: var(--ega-gold);
}

.ega-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ega-card {
  background: #fff;
  border: 1px solid var(--ega-line);
  border-radius: var(--ega-radius);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(6, 23, 42, 0.06);
}

.ega-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid rgba(196, 154, 79, 0.4);
  color: var(--ega-gold);
  font-size: 25px;
}

.ega-card h3,
.ega-price h3,
.ega-founder h3 {
  margin: 0 0 12px;
  color: var(--ega-ink);
  font-size: 21px;
  line-height: 1.25;
}

.ega-card p,
.ega-price p,
.ega-founder p,
.ega-faq p {
  margin: 0;
  color: var(--ega-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.ega-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ega-feature {
  min-height: 176px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ega-radius);
  background: rgba(255, 255, 255, 0.045);
}

.ega-feature strong {
  display: block;
  color: var(--ega-gold-light);
  font-size: 30px;
  line-height: 1;
}

.ega-feature h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.ega-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.ega-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ega-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  min-height: 520px;
  background: #fff;
  border: 1px solid var(--ega-line);
  border-radius: var(--ega-radius);
}

.ega-price-featured {
  background: var(--ega-ink);
  color: #fff;
  border-color: var(--ega-ink);
  box-shadow: var(--ega-shadow);
}

.ega-price-featured h3,
.ega-price-featured p {
  color: #fff;
}

.ega-price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--ega-gold-light);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.ega-price-value {
  margin: 10px 0 18px;
  color: var(--ega-ink);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.ega-price-featured .ega-price-value {
  color: var(--ega-gold-light);
}

.ega-price ul,
.ega-materials ul {
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.ega-price li,
.ega-materials li {
  position: relative;
  padding-left: 23px;
  margin: 10px 0;
}

.ega-price li::before,
.ega-materials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ega-gold);
}

.ega-price .ega-button {
  margin-top: auto;
}

.ega-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ega-step {
  position: relative;
  padding: 24px 22px;
  border-top: 1px solid var(--ega-line);
}

.ega-step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid var(--ega-gold);
  border-radius: 50%;
  color: var(--ega-gold);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.ega-step h3 {
  margin: 0 0 8px;
  color: var(--ega-ink);
  font-size: 19px;
}

.ega-step p {
  margin: 0;
  color: var(--ega-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.ega-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.ega-founder {
  padding: 34px;
  border: 1px solid var(--ega-line);
  border-radius: var(--ega-radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 23, 42, 0.06);
}

.ega-founder-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #102942, #07182a);
  color: rgba(227, 194, 124, 0.7);
  font-size: 54px;
}

img.ega-founder-photo {
  display: block;
  object-fit: cover;
}

.ega-founder-list {
  display: grid;
  gap: 14px;
}

.ega-founder-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--ega-line);
}

.ega-founder-item:last-child {
  border-bottom: 0;
}

.ega-founder-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ega-ink);
  font-size: 20px;
}

.ega-founder-item span {
  color: var(--ega-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ega-materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ega-faq-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.ega-faq details {
  border-bottom: 1px solid var(--ega-line);
  padding: 18px 0;
}

.ega-faq summary {
  cursor: pointer;
  color: var(--ega-ink);
  font-size: 17px;
  font-weight: 700;
}

.ega-faq p {
  padding-top: 12px;
}

.ega-form {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ega-line);
  border-radius: var(--ega-radius);
  box-shadow: var(--ega-shadow);
}

.ega-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ega-form label {
  display: grid;
  gap: 7px;
  color: var(--ega-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.ega-form input,
.ega-form select,
.ega-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--ega-line);
  border-radius: 4px;
  background: #fff;
  color: var(--ega-text);
  font: inherit;
}

.ega-form textarea {
  min-height: 110px;
  resize: vertical;
}

.ega-form .ega-full {
  grid-column: 1 / -1;
}

.ega-cf7 .wpcf7 {
  margin-top: 20px;
}

.ega-cf7 .wpcf7-form {
  display: grid;
  gap: 16px;
}

.ega-cf7 .wpcf7-form-control-wrap {
  display: block;
}

.ega-cf7 .wpcf7-submit {
  border: 1px solid transparent;
  cursor: pointer;
}

.ega-cf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b4532f;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.ega-cf7 .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 4px;
  color: var(--ega-text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.ega-note {
  margin-top: 18px;
  color: var(--ega-muted);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.ega-site-footer {
  background: var(--ega-ink);
  color: #fff;
  padding: 38px 0;
}

.ega-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.ega-footer-meta {
  color: rgba(255, 255, 255, 0.62);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.ega-footer-links {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

@media (max-width: 980px) {
  .ega-header-inner {
    min-height: 76px;
  }

  .ega-nav {
    display: none;
  }

  .ega-hero {
    min-height: 640px;
  }

  .ega-hero::before {
    background:
      linear-gradient(90deg, rgba(6, 23, 42, 0.97) 0%, rgba(6, 23, 42, 0.9) 58%, rgba(6, 23, 42, 0.42) 100%),
      url("assets/images/hero-campus.png") center right / cover no-repeat;
  }

  .ega-stats,
  .ega-pillars,
  .ega-feature-grid,
  .ega-pricing,
  .ega-process,
  .ega-materials {
    grid-template-columns: repeat(2, 1fr);
  }

  .ega-section-head,
  .ega-split,
  .ega-faq-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ega-container {
    width: min(100% - 28px, var(--ega-max));
  }

  .ega-brand {
    min-width: 0;
  }

  .ega-brand-name {
    font-size: 13px;
  }

  .ega-brand-sub,
  .ega-header-cta {
    display: none;
  }

  .ega-hero {
    min-height: 610px;
  }

  .ega-hero h1 {
    font-size: 42px;
  }

  .ega-stats,
  .ega-pillars,
  .ega-feature-grid,
  .ega-pricing,
  .ega-process,
  .ega-materials,
  .ega-form-grid,
  .ega-footer-inner {
    grid-template-columns: 1fr;
  }

  .ega-stat {
    border-right: 0;
    border-bottom: 1px solid var(--ega-line);
  }

  .ega-section {
    padding: 64px 0;
  }
}
