/* ===== BODY, HEADERS, SECTIONS ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  color: #fff;
}

h2.centered {
  text-align: center;
  margin-bottom: 30px;
}

a {
  color: #00ffff;
  text-decoration: none;
}

section {
  padding: 40px 20px;
}

.projects {
  margin-bottom: 50px;
}

.consulting, .education {
  margin-bottom: 70px;
}

.contacts {
  background-color: #141414;
  margin-bottom: 70px;
}

.intro {
  background-color: #1a1a1a;
  padding: 60px clamp(24px, 8vw, 80px);
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 70px;
}

.intro strong {
  color: #fff;
}


/* ===== LISTS ===== */
ul {
  padding-left: 20px;
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 24px;
  margin: 8px 8px 0 8px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  min-width: 160px;
  max-width: 90%;
  box-sizing: border-box;
}

.btn.pink {
  background-color: #ff85b5;
  color: #000;
}

.btn.lavender {
  background-color: #e0cffe;
  color: #000;
}

.btn.yellow {
  background-color: #ffff88;
  color: #000;
}

.btn.purple {
  background-color: #8028e9;
  color: #fff;
}

.btn.outline {
  border: 1px solid #00ffff;
  color: #00ffff;
  background: transparent;
}

.project .btn:hover, .service .btn:hover, .module .btn:hover {
  filter: brightness(1.5);
}


/* ===== HEADER ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 10px 20px;
}

.header-logo {
  max-height: 40px;
}

.benefits {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #ffffff;
}


/* ===== HERO ===== */
.hero {
  background: url('images/bg_image_s_50.jpg') no-repeat center center/cover;
  text-align: center;
  padding: 100px 20px;
}

.hero .logo {
  max-width: 120px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero p {
  color: #00ffff;
  font-size: 1.1rem;
  margin-bottom: 40px;
}


/* ===== PROJECTS ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.project {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 20px;
  will-change: transform;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  color: #ccc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project:hover {
  background-color: #292929;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.project h3 {
  text-align: center;
  font-size: 1.4rem;
}

.project .btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* ===== SERVICES ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.service {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 20px;
  will-change: transform;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  color: #ccc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service:hover {
  background-color: #292929;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.service h3 {
  text-align: center;
  font-size: 1.4rem;
}

.service .btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* ===== EDUCATION ===== */
.modules {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.module {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 20px;
  will-change: transform;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  color: #ccc;
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
}

.module:hover {
  background-color: #292929;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.module h3 {
  margin-top: 0;
  text-align: center;
  font-size: 1.4rem;
}

.module ul {
  text-align: left;
  display: inline-block;
}

.module .price {
  font-size: 1.3rem;
  color: #00ffff;
  font-weight: bold;
  margin: 16px 0 18px;
  text-align: center;
}

.module .btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* ===== CONTACTS ===== */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info {
  flex: 1;
}

.contact-content h3 {
  font-size: 1.4rem;
}

.map img {
  max-width: 100%;
  border-radius: 16px;
}


/* ===== FOOTER ===== */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
  background: #000;
  color: #888;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

.footer-socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-socials a {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ===== ADAPTIVE LAYOUT ===== */
@media (min-width: 768px) {
  .hero {
    background: url('images/bg_image_50.jpg') no-repeat center center/cover;
  }
  .modules {
    flex-direction: row;
  }

  .contact-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .info {
    max-width: 400px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    background: url('images/bg_image_50.jpg') no-repeat center center/cover;
  }
  .hero h1 {
    font-size: 3rem;
  }

  .modules, .services, .projects {
    gap: 40px;
  }

  .btn {
    min-width: 160px;
    max-width: 220px;
  }
}
