* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
  /*overflow-y: hidden;*/
}

/* Header */

.header {
  background: #fff;
  color: #000;
  padding: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: #6a5acd;
  line-height: 1.2;
  margin-left: 30px;
  transform: translateY(10px);
}

.logo span {
  font-weight: 400;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.phone {
  font-weight: 600;
}

.call-button {
  background: #2ecc71;
  border: none;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}

.lang-switch a {
  text-decoration: none;
  color: #000;
  margin-left: 5px;
}

/* Меню */

.menu-wrapper {
  position: relative;
}

#menu-toggle {
  display: none;
}

.menu-title {
  font-weight: 500;
  cursor: pointer;
  color: #000;
  user-select: none;
}

/* Основное выпадающее меню */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: #000;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 230px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.menu-wrapper:hover .dropdown,
#menu-toggle:checked + .menu-title + .dropdown {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown > li {
  position: relative;
  list-style: none;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown > li:hover {
  background-color: #f3f3f3;
}

.dropdown > li > a {
  color: #000;
  text-decoration: none;
  display: block;
}

/* Подменю */
.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #f9f9f9;
  padding: 10px 0;
  border-radius: 8px;
  min-width: 230px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.submenu li {
  list-style: none;
  padding: 10px 20px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 15px;
}

.submenu li:hover {
  background-color: #eeeeee;
}

.dropdown > li:hover .submenu {
  display: block;
}

/* HERO SECTION */

.hero {
  background: url('fon.png') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
}

.features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.features li {
  margin: 10px 0;
  position: relative;
  padding-left: 25px;
  font-weight: 600;
}

.features li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: red;
}

.cta-button {
  background: #ff5722;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  flex: 1 1 300px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 300px;
}

.stat img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 2px;
}

#burger-toggle {
  display: none;
}

#burger-toggle:checked + label + .nav {
  display: flex;
  flex-direction: column;
}

/* ---------- Адаптивность ---------- */
@media (max-width: 768px) {
  .nav {
    display: none;
    width: 100%;
    background: #fff;
    padding: 20px;
    gap: 10px;
  }

  .burger {
    display: flex;
  }

  .nav a,
  .menu-title,
  .phone,
  .call-button,
  .lang-switch {
    display: block;
    width: 100%;
    text-align: left;
  }

  .dropdown,
  .submenu {
    position: static;
    box-shadow: none;
    padding: 10px 15px;
    background: #f2f2f2;
    width: 100%;
    border-radius: 0;
  }

  .dropdown > li {
    padding: 10px 10px;
  }

  .submenu {
    margin-top: 10px;
  }

  .dropdown > li:hover .submenu {
    display: none;
  }

  .dropdown > li:focus-within .submenu,
  .dropdown > li:has(input:checked) .submenu {
    display: flex;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .cta-button {
    width: 100%;
    font-size: 14px;
  }

  .container {
    padding: 0 20px;
  }
}

.menu-title .arrow {
  font-size: 8px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* поворот стрелки при открытии */
#menu-toggle:checked + .menu-title .arrow {
  transform: rotate(180deg);
}


.course-hero {

  background: url('fon.png') no-repeat center center;
  height: 90vh;
  color: #fff;
  padding: 60px 40px;
}

.course-container {
  max-width: 1200px;
  padding-top: 70px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.course-left {
  flex: 1 1 500px;
}

.course-left h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 30px;
}

.course-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.course-features li {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.course-features .arrow {
  margin-right: 10px;
  color: yellow;
}

.highlight {
  color: #ffff00;
}

.cta-button {
  background: #ff5722;
  border: none;
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.course-right {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 15px;
  line-height: 1.4;
}

.info-block img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

/* Адаптив */
@media (max-width: 768px) {
  .course-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-left h1 {
    font-size: 36px;
  }

  .cta-button {
    width: 100%;
  }
}

.webdesign-intro {
  background: linear-gradient(to right, #1a005e, #421dc0);
  padding: 80px 20px;
  color: #000;
}

.container-web {
  max-width: 1000px;
  margin: auto;
}

.container-web h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

.text-box {
  background-color: #fff;
  border-radius: 30px;
  padding: 40px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.for-whom {
  color: black;
  background: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
}

.container-whom {
  max-width: 1200px;
  margin: 0 auto;
}

.for-whom h2 {
  color: black;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 50px;
}

.whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: left;
}

.whom-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.whom-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.whom-item p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}


.why-trust {
  color: black;
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.container-why {
  max-width: 1200px;
  margin: 0 auto;
}

.why-trust h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  text-align: left;
  position: relative;
}

.why-item {
  position: relative;
}

.num {
  position: absolute;
  top: -30px;
  left: -10px;
  font-size: 100px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  z-index: 0;
}

.why-item h3 {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  z-index: 1;
}

.why-item p {
  position: relative;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  z-index: 1;
}


.how-study {
  background-color: #161e59;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.container-study {
  max-width: 1200px;
  margin: 0 auto;
}

.how-study h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 50px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
  text-align: left;
}

.step {
  position: relative;
  padding-top: 20px;
}

.circle {
  width: 40px;
  height: 40px;
  background: #fff;
  color: red;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 18px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
}



.course-program {
  color: black;
  background-color: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
}

.container-program {
  max-width: 1000px;
  margin: 0 auto;
}

.course-program h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.course-program .description {
  font-size: 16px;
  margin-bottom: 40px;
  color: #555;
}

.syllabus-box {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.syllabus-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.syllabus-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  position: relative;
  padding-left: 25px;
}

.syllabus-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2ecc71;
  font-weight: bold;
}

.download-btn {
  display: inline-block;
  background-color: #ff5722;
  color: #fff;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background-color: #e64a19;
}



.instructors {

  padding: 80px 20px;
  background: linear-gradient(to right, #1a005e, #421dc0);
}

.container-instructors {
  max-width: 1200px;
  margin: 0 auto;
}

.instructors h2 {

  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
}

.instructor-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.instructor-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  flex: 1 1 calc(33.333% - 30px);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.instructor-card img {
  width: 80px;
  height: 110px;
  border-radius: 10%;
  object-fit: cover;
  margin-right: 20px;
  flex-shrink: 0;
}

.instructor-content h3 {
  color: black;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.instructor-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.instructor-content a {
  color: #0077b5;
  font-weight: 600;
  text-decoration: none;
}

.instructor-content a:hover {
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
  .instructor-grid {
    flex-direction: column;
  }

  .instructor-card {
    flex: 1 1 100%;
  }
}


.course-goal {
  background-color: #fff;
  padding: 80px 20px;
}

.container-goal {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.course-goal h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.goal-text {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.skills-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  margin-top: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  text-align: center;
}

.skill-item {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
}

.skill-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.skill-item p {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
}


.contact-page {
  height: 100vh;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.contact-container {
  display: flex;
  width: 100%;
  max-width: 1300px;
  height: 90vh;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-left,
.contact-right {
  flex: 1;
  padding: 50px 40px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

.contact-left h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
}

.contact-left p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-left a {
  color: #0077b5;
  text-decoration: none;
}

.contact-left a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.social-links a {
  font-weight: 600;
  font-size: 15px;
  color: #444;
}

.contact-right iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* Адаптив */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    height: auto;
  }

  .contact-left, .contact-right {
    padding: 30px 20px;
    height: auto;
  }

  .contact-right {
    height: 300px;
  }
}

.logo img {
  height: 40px;      /* или 40px, если нужно компактнее */
  width: auto;
  object-fit: contain;
}

.footer {
  background: linear-gradient(to right, #1a005e, #421dc0);
  color: #ffffff;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 14px;
  color: #cccccc;
}

.footer-links,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00bfff;
}

.footer-contacts p {
  font-size: 14px;
  line-height: 1.5;
  color: #dddddd;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-contacts {
    align-items: center;
  }
}
