/* Hero Section */
.hero {
  padding: 32px;
  display: grid;
  place-items: center; /* centers the container */
}

/* Container uses grid instead of flex */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns: text + image */
  align-items: center;
  gap: 60px; /* spacing between columns */
  width: 100%;
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
}

/* Left text */
.hero-text {
  padding-right: 20px;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.2;
}

/* Flag image inside the heading */
.hero-text h1 img {
  width: 40px;
  height: auto;
  display: inline-block;
  vertical-align: middle; /* align with text baseline */
  margin-left: 10px;
  position: static; /* reset old positioning */
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.5;
}

/* Button */
.hero-button {
  display: inline-block;
  padding: 15px 35px;
  color: #fff;
  background-color: #111;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hero-button:hover {
  color: #888;
}

/* Right image wrapper */
.hero-image {
  width: 100%;
}

/* Image container */
.image-placeholder {
  height: 300px;
  background-color: #e0e0e0;
  border-radius: 20px;
  display: flex;
  font-size: 1.2rem;
  color: #888;
  overflow: hidden;
}

/* Main hero image */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops nicely */
  border-radius: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr; /* stack */
    padding: 40px 20px;
    border-radius: 16px;
    gap: 30px;
  }
  
  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h1 img {
    width: 28px;
    margin-left: 8px;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-image {
    padding-left: 0;
  }

  .image-placeholder {
    height: 220px;
  }
}
