* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== HEADER ===== */
.header {
  background: #222;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.nav a {
  color: #bbb;
  margin-left: 15px;
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  font-weight: bold;
}

/* ===== HERO ===== */
.hero {
  background: #f4f4f4;
  padding: 80px 0;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero__text {
  flex: 1;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  color: #555;
}

.hero__image img {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
}

/* ===== SECTIONS ===== */
.about,
.services,
.contact {
  padding: 60px 0;
}

.services {
  background: #fafafa;
}

.services__grid {
  display: flex;
  gap: 20px;
}

.service {
  background: #fff;
  padding: 25px;
  border: 1px solid #ddd;
  text-align: center;
  flex: 1;
}

.service img {
  width: 40px;
  margin-bottom: 15px;
}

.service h3 {
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}

/* ===== ABOUT  ===== */
.about__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about__image img {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
}

.about__text {
  flex: 1;
}

/* ===== ADAPTIVE ===== */

@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

@media (max-width: 768px) {
  .about__inner {
    flex-direction: column;
    text-align: center;
  }
}
  .services__grid {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 28px;
  }
}
