@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');


/* Set the background color and font of About section of homepage */
.about-section {
  background-color: #F9FAFB;
  font-family: 'Inter', sans-serif;
  padding: 5rem 1rem;
}

/* About section container that hold all items */
.about-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* Styling for the images */
.about-img {
  flex: 0 0 20%;
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;         
  object-fit: cover;
}

/* Text Styling */

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1E40AF;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333333;
}

/* Read More button */
.btn-readmore {
  display: inline-block;
  background-color: #1E40AF;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-readmore:hover {
  background-color: #3B82F6;
  transform: translateY(-2px);
}

/* Mobile Optimization */
@media (max-width: 768px) {

  /* Make it a column layout */
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-img {
    flex: none;
    width: 70%;
    margin: 0 auto 2rem;
  }
  .about-text h2 {
    font-size: 1.75rem;
  }
}