/* ================= ABOUT US PAGE ================= */



/* hero */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.about-section {
  background-image: url("image/main.jpg");
  /* background-repeat: no-repeat;   repeat band */
  background-size: cover;         /* full cover */
  background-position: center;    /* center align */
  padding: 90px 0;
  margin-top: 90px;
}


.about-container {
  width: 800px;
  margin: auto;
  /* background: #f8f8f8; */
  display: flex;
  align-items: center;
  border-radius: 40px;
  overflow: hidden;
  text-align: center;
  padding: 50px;
  
  /* margin-bottom: 30px; */
  
}

/* LEFT CONTENT */
.about-content {
  flex: 3;
  padding: auto 40px;
}

.about-content h2 {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 15px;
  color: #777;
  margin-bottom: 25px;
}

.about-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #2f6fed;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: 0.3s;
}

.about-btn:hover {
  background: #1f55c8;
}

/* RIGHT IMAGE */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-content {
    padding: 30px;
  }
}

/* GENERAL */
body {
    font-family: 'Poppins', sans-serif;
    color: #111;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ===== ABOUT STORY ===== */

.story-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* IMAGE CONTAINER (NO DIV HOVER) */
.story-image {
    flex-shrink: 0;
    width: 500px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

/* IMAGE ONLY HOVER */
.story-image img {
    width: 100%;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* TEXT */
.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 36px;
    color: #2563eb;
    margin-bottom: 20px;
}

.story-text h3 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.story-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE STORY */
@media (max-width: 992px) {
    .story-grid {
        flex-direction: column-reverse;
        text-align: center;
    }

    .story-image {
        max-width: 400px;
        margin: auto;
    }
}

/* ===== TEAM MEMBERS ===== */
.about-team {
  background: #faf8f8;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.team-img {
  width: 100%;
  height: auto;      /* image safe */
  max-width: 1200px;
  margin: 0 auto 40px;
  display: block;
  border-radius: 10px;
}

.team-content h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.about-team h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.team-member img:hover {
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 14px;
    color: #777;
}

/* ===== STATS SECTION ===== */

.about-stats {
    background: #fff;
    padding: 80px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.stat h3 {
    font-size: 32px;
    color: #2563eb;
    margin-bottom: 10px;
}

.stat p {
    font-size: 16px;
    color: #555;
}

/* ===== CTA SECTION ===== */

.about-cta {
    background: linear-gradient(135deg,#2563eb,#1e40af);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 12px;
    margin: 80px 20px;
}

.about-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-cta {
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 576px) {
    .team-member img {
        width: 150px;
        height: 150px;
    }
}
