

/* Reset default margin and padding */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

.about-us-header {
  position: relative;
  background: url('https://eduflare.co.tz/images/study.webp') no-repeat center center/cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 60px;
}

.about-us-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-us-header .container {
  position: relative;
  text-align: center;
}

.about-us-header h2 {
  font-size: 36px;
}

.agency-story {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.agency-story .container {
  max-width: 1200px;
  margin: 0 auto;
}

.agency-story h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.agency-story .subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.agency-story .content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.agency-story .content .text-content {
  flex: 1;
  margin-right: 30px;
  color: #333;
}

.agency-story .content .text-content p {
  margin-bottom: 20px;
}

.agency-story .content .image {
  max-width: 500px;
  padding: 0px 60px;
}

.agency-story .content .image img {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {

  .about-us-header {
    margin-top: 40px;
  }
  .about-us-header h2 {
    font-size: 24px;
  }

  .agency-story h2 {
    font-size: 24px;
  }

  .agency-story .content {
    flex-direction: column;
  }

  .agency-story .content .text-content {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .agency-story .content .image {
    padding: 0px 5px;
  }
}
