/* About Section Container */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  padding: 10px;
  margin-left: -80px; /* only for large screens */
}

/* Image Container */
.about-image {
  flex: 0 0 450px;
  width: 100%;
 
}

.about-image img {
  height:450px;
  width: 100%;
 
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Text Content */
.about-text {
  margin-top: -15px;
  flex: 1;
  color: #444;
}

.about-text h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #2c3e50;
}

.about-text p {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Vision and Mission Cards Container */
.vision-mission-container {
  display: flex;
  gap: 50px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
/* Individual Card */
.card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 24px;
  flex: 1 1 350px;
  max-width: 400px;
  text-align: center;
  transition: all 0.3s ease;
  height: auto; /* ensures full content visible */
  cursor: pointer;
}

/* Hover effect - green background + lift effect */
.card:hover {
  background-color: #38a169; /* green-600 */
  color: white;
  transform: translateY(-10px) scale(1.03); /* lift and slight zoom */
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* bigger shadow */
}

/* Icons inside Cards */
.card-icon {
  font-size: 50px;
  color: #2c7a7b;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

/* Make icon color white on hover */
.card:hover .card-icon {
  color: white;
}

/* Responsive Styles */

/* Tablets */
@media (max-width: 1024px) {
  .about-container {
    margin-left: -40px; /* reduce shift */
  }

  .about-text h1 {
    font-size: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-container {
    margin-left: 0; /* reset on small devices */
    flex-direction: column;
    align-items: center;
  }

  .about-image {
    flex: 1 1 100%;
  }

  .about-text {
    flex: 1 1 100%;
    text-align: left;
  }

  .about-text h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  /* Stack cards vertically on mobile */
  .vision-mission-container {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }

  .card {
    max-width: 100%;
    width: 100%;
    /* Ensure full content is visible */
    height: auto;
  }
}
