:root {
  --gold: #c9a84c;
  --gold-light: #e2b96a;
  --orange: #f5a623;
  --dark: #0d1117;
  --dark2: #131920;
  --dark3: #1a2230;
  --dark4: #1e2a3a;
  --text: #e8ecf0;
  --text-muted: #7a8a9a;
  --white: #ffffff;
  --radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ====== NAVBAR ====== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img {
  height: 44px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  transition:
    color 0.2s,
    background 0.2s;
}
.lang-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}
.lang-btn.active {
  color: var(--gold);
}
.lang-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.lang-globe-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.lang-globe-btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a2230;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  min-width: 150px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 999;
}
.lang-dropdown.open {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.lang-option:hover {
  background: rgba(255, 255, 255, 0.07);
}
.lang-option img {
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-switcher {
  position: relative;
}

/* Social icons */
.nav-socials {
  display: flex;
  gap: 10px;
}
.nav-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.nav-socials a:hover {
  opacity: 0.8;
}
.nav-socials .wa {
  background: #25d366;
}
.nav-socials .tg {
  background: #2aabee;
}
.nav-socials svg {
  width: 16px;
  height: 16px;
  fill: white;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ====== CONTAINER ====== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

/* ====== HERO ====== */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 70% at 70% 50%,
      rgba(201, 168, 76, 0.08) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 50% at 10% 30%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.hero-inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
}

.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: #e09015;
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e2a38;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-dark:hover {
  background: #26364a;
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  max-height: 580px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.hero-image-placeholder {
  width: 100%;
  max-width: 520px;
  height: 500px;
  background: var(--dark3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px;
}

/* ====== SECTION COMMON ====== */
section {
  padding: 90px 48px;
}
section > .container,
section > * {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

/* ====== ABOUT ====== */
#about {
  background: var(--dark2);
  padding: 90px 48px;
}
.about-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.about-img-placeholder {
  width: 100%;
  height: 420px;
  background: var(--dark3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 32px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
}

/* ====== LICENSES ====== */
#licenses {
  background: var(--dark);
  text-align: center;
}
.licenses-inner {
  max-width: 1140px;
  margin: 0 auto;
}
#licenses .section-title {
  margin-bottom: 50px;
}

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.license-card {
  background: var(--dark3);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s,
    border-color 0.2s;
  cursor: pointer;
}
.license-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
}
.license-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ====== STATS ====== */
#stats {
  background: #f4f5f7;
  color: #111;
  background-image: radial-gradient(circle, #c0c0c0 1px, transparent 1px);
  background-size: 28px 28px;
}
#stats .section-tag {
  color: var(--orange);
}
#stats .section-title {
  color: #111;
}
#stats .stat-num {
  color: #111;
}
#stats .stat-label {
  color: #555;
}
#stats .stat-desc {
  color: #555;
}
#stats .stat-item {
  border-top-color: #ccc;
}
.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.stats-header {
  margin-bottom: 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 48px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 48px;
}
.stat-num {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.stat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====== COURSES ====== */
#courses {
  background: var(--dark);
}
.courses-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.courses-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.courses-subtitle span {
  color: var(--orange);
  font-weight: 700;
}

.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--dark2);
  transition: border-color 0.2s;
}
.accordion-item:hover {
  border-color: rgba(201, 168, 76, 0.2);
}
.accordion-item.open {
  border-color: rgba(201, 168, 76, 0.35);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.accordion-header h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.accordion-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.3s,
    background 0.2s;
}
.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
  background: rgba(245, 166, 35, 0.15);
}
.accordion-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--text);
  fill: none;
}
.accordion-item.open .accordion-arrow svg {
  stroke: var(--orange);
}

.accordion-body {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.accordion-item.open .accordion-body {
  display: block;
}
.accordion-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-top: 16px;
}
.accordion-body ol {
  padding-left: 20px;
}
.accordion-body ol li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 4px;
}

/* ====== FAQ ====== */
#faq {
  background: var(--dark2);
}
.faq-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 100px;
}
.faq-left .section-title {
  margin-bottom: 14px;
}
.faq-left p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark3);
}
.faq-item.open {
  border-color: rgba(245, 166, 35, 0.3);
}

.faq-q {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  gap: 12px;
}
.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.faq-arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-muted);
  fill: none;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-item.open .faq-arrow svg {
  stroke: var(--orange);
}

.faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}
.faq-item.open .faq-a {
  display: block;
}

/* ====== CTA ====== */
#cta {
  background: #f4f5f7;
  text-align: center;
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle, #c0c0c0 1px, transparent 1px);
  background-size: 28px 28px;
}
#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-tag {
  margin-bottom: 20px;
}
#cta .section-title {
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: 40px;
  color: #111;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cta-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.cta-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.cta-social-link:hover {
  color: var(--white);
}
.cta-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-social-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}
.cta-wa {
  background: #25d366;
}
.cta-tg {
  background: #2aabee;
}

/* ====== CONTACT FORM ====== */
#contact {
  background: var(--dark2);
}
.contact-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.contact-left > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text);
}
.contact-info-icon {
  width: 38px;
  height: 38px;
  background: var(--dark3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 16px;
  height: 16px;
}

/* Form */
.form-title {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-group label span {
  color: #e05252;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(245, 166, 35, 0.5);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.phone-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  margin-top: 8px;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-submit:hover {
  background: #e09015;
  transform: translateY(-1px);
}

/* ====== FOOTER ====== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 50px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.footer-logo img {
  height: 52px;
}
.footer-logo-placeholder {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  color: var(--gold);
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}
.modal h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.modal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.modal-success {
  text-align: center;
  display: none;
}
.modal-success .check {
  font-size: 48px;
  margin-bottom: 16px;
}
.modal-success h3 {
  margin-bottom: 8px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 60px 24px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image {
    justify-content: center;
  }
  .hero-image img {
    max-width: 100%;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #about {
    padding: 60px 24px;
  }
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #faq {
    padding: 60px 24px;
  }
  .faq-left {
    position: static;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #contact {
    padding: 60px 24px;
  }

  .licenses-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    padding: 24px 0;
    border-right: none !important;
    margin-right: 0 !important;
  }
  .about-checklist {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 24px;
  }
  #licenses {
    padding: 60px 24px;
  }
  #stats {
    padding: 60px 24px;
  }
  #cta {
    padding: 60px 24px;
  }
  footer {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
