/* DESIGN SYSTEM: Structured Zen */
:root {
  --primary: #2c3e50; /* Deep Slate Blue */
  --accent: #10b981; /* Zen Green / Mint */
  --accent-dark: #059669;
  --bg-light: #f0f9f6; /* Very light mint/grey */
  --bg-white: #ffffff;
  --text-main: #334155;
  --text-light: #64748b;

  --container: 1160px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  --font-head: "Manrope", sans-serif;
  --font-body:
    "PT Serif", serif; /* Using Serif for body to give "Book/Academic" feel */
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-white);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* UTILS */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
img.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-dark {
  background-color: var(--primary);
  color: #fff;
}
.text-white {
  color: #fff;
}
.text-white p {
  color: rgba(255, 255, 255, 0.8);
}
.text-white h2 {
  color: #fff;
}
.txt-green {
  color: var(--accent);
}
.center {
  text-align: center;
}
.narrow-container {
  max-width: 800px;
  margin: 0 auto;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}
.btn-submit:hover {
  background: var(--accent-dark);
}

.link-arrow {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-head);
  border-bottom: 2px solid transparent;
}
.link-arrow:hover {
  border-bottom-color: var(--accent);
}

/* HEADER */
.z-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  z-index: 100;
}
.h-flex {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-head);
}
.logo-text span {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}
.logo-text small {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 600;
}

.z-nav {
  display: flex;
  gap: 30px;
}
.z-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}
.z-nav a:hover {
  color: var(--accent);
}

.h-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

/* MOBILE MENU */
.mob-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: 0.4s ease;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}
.mob-drawer.active {
  transform: translateX(0);
}
.mob-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
}
#closeMob {
  background: none;
  border: none;
  cursor: pointer;
}
.mob-list a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.mob-btn {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-top: 30px;
  font-family: var(--font-head);
  font-weight: 700;
}

/* HERO */
.hero {
  padding-top: 130px;
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.rating-box {
  font-size: 0.9rem;
  font-family: var(--font-head);
}
.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.hero-img-wrap {
  position: relative;
  max-width: 600px;
}
.hero-img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.float-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--primary);
}
.float-card i {
  color: var(--accent);
}

/* METHOD */
.sec-title {
  margin-bottom: 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.feat-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid #eee;
  transition: 0.3s;
}
.feat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.fc-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.text-content-block {
  background: #fff;
  padding: 40px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.text-content-block h3 {
  margin-bottom: 15px;
}

/* PROGRAMMES */
.courses-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.course-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s;
}
.course-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.cc-img {
  height: 100%;
  min-height: 300px;
}
.cc-img img {
  height: 100%;
}
.cc-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.cc-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text-light);
}
.tag-h {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.cc-list {
  margin: 20px 0;
  padding-left: 20px;
  list-style-type: disc;
  color: var(--text-main);
}
.cc-list li {
  margin-bottom: 5px;
}
.cc-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

/* CAREER */
.career-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lead-text {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
}
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-item span {
  font-size: 0.8rem;
  opacity: 0.7;
  font-family: var(--font-head);
  text-transform: uppercase;
}
.check-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
}
.check-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}
.rounded-img {
  border-radius: var(--radius);
}

/* FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.acc-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}
.acc-header {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: #fff;
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  background: #fff;
}
.acc-body p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* CONTACT */
.contact-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.contacts-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.cl-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.icon-box {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cl-item strong {
  display: block;
  font-family: var(--font-head);
  color: var(--primary);
}
.cl-item span {
  color: var(--text-light);
}

.simple-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 1rem;
  transition: 0.3s;
}
.form-group input:focus {
  border-color: var(--accent);
  outline: none;
}
.captcha-group input {
  width: 100px;
}
.privacy-note {
  font-size: 0.8rem;
  color: #999;
  margin-top: 15px;
  text-align: center;
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.f-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.logo-col p {
  opacity: 0.7;
  font-size: 0.9rem;
}
.f-col h5 {
  font-family: var(--font-head);
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1rem;
}
.f-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.f-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.ph-link {
  font-size: 1.2rem !important;
  color: #fff !important;
  font-weight: 700;
  margin-top: 10px;
}
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* COOKIE */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 320px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent);
  display: none;
  z-index: 500;
}
.cb-content {
  margin-bottom: 15px;
  font-size: 0.9rem;
}
#acceptCookie {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .desk-nav {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero-grid,
  .career-layout,
  .contact-block,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-img-wrap {
    order: -1;
    margin: 0 auto;
  }
  .hero-text {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .course-card {
    grid-template-columns: 1fr;
  }
  .cc-img {
    min-height: 250px;
  }
  .cc-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .float-card {
    left: 0;
    bottom: -20px;
  }

  h1 {
    font-size: 2.2rem;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
