/* ====== Base Styles ====== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Manrope:wght@400;500;600&display=swap');

* {
   
  font-family: "Manrope", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
}
/* ====== ABOUT US SECTION ====== */
.about-us {
  padding: 80px 60px;
  background-color: #fff;

  overflow: hidden;
}

/* ====== SECTION TITLE ====== */
.section-title {
  font-size: 2.2rem; /* slightly smaller */
  color: #003366;
  text-align: center;
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(-50px);
}

.section-title .underline {
  display: block;
  width: 50px;
  height: 4px;
  background-color: #003366;
  margin: 10px auto 0;
  opacity: 0;
  transform: translateX(50px);
}

/* ====== MAIN LAYOUT ====== */
.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ====== LEFT IMAGE ====== */
.about-image {
  position: relative;
  width: 40%;
  min-width: 300px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  opacity: 0;
  transform: translateX(-50px);
}

.about-image img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* ====== IMAGE TEXT ====== */
.image-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #003366;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

.staff-name { font-size: 1.2rem; font-weight: 700; margin: 0; }
.staff-position { font-size: 0.95rem; margin: 0; }

/* ====== RIGHT TEXT ====== */
.about-text {
  width: 55%;
  min-width: 300px;
  color: #003366;
  text-align: justify;
}

.about-text p {
  line-height: 1.6;
  margin-bottom: 18px;
  font-size: 0.95rem; /* smaller text for description */
  opacity: 0;
  transform: translateX(50px);
}

.animate-slide-left { animation: slideLeft 0.5s forwards ease-out; }
.animate-slide-right { animation: slideRight 0.5s forwards ease-out; }
.animate-slide-bottom { animation: slideBottom 0.5s forwards ease-out; }
.animate-fade { animation: fadeIn 0.5s forwards ease-out; }

@keyframes slideLeft { to { opacity:1; transform:translateX(0); } }
@keyframes slideRight { to { opacity:1; transform:translateX(0); } }
@keyframes slideBottom { to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { to { opacity:1; } }


/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 900px) {
  .about-container { flex-direction: column; align-items: center; gap: 25px; }
  .about-image, .about-text { width: 100%; }
}
 /* ====== MISSION & VISION CARDS ====== */
.mv-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.mv-card {
  flex: 1 1 45%;
  background: #f9f9f9;
  padding: 18px 20px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.mv-card h3 {
  font-size: 2.0rem;
  color: #003366;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-card i {
  color: #003366;
  font-size: 2.0rem;
}

.mv-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #003366;
}

/* Responsive */
/* 900px */
@media (max-width: 900px) { }

/* 768px */
@media (max-width: 768px) {
  .about-us {
    margin-left: -5px;     /* was -10px */
    width: calc(100% + 5px);
  }
}

/* 600px */
@media (max-width: 600px) {
  .about-us {
    margin-left: -12px;    /* was -20px */
    width: calc(100% + 12px);
  }
}

/* 480px */
@media (max-width: 480px) {
  .about-us {
    margin-left: -25px;    /* was -32px */
    width: calc(100% + 25px);
  }
}

/* 360px */
@media (max-width: 360px) {
  .about-us {
    margin-left: -34px;    /* was -42px */
    width: calc(100% + 34px);
  }
}

/* 320–300px */
@media (max-width: 320px) {
  .about-us {
    margin-left: -40px;    /* was -50px */
    width: calc(100% + 40px);
  }
}
