/* ===== About Section Styling ===== */
.about-section-styled {
  padding: 80px 20px; /* Spacing around the section */
  display: flex;
  justify-content: center; /* Center the content horizontally */
  background: #f5f7fa; /* Light background color */
}

/* Container holding the content */
.about-container {
  max-width: 1200px; /* Limit the width */
  width: 100%;
  text-align: center;
  background: #fff; /* White background */
  padding: 50px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.07); /* Soft shadow */
  border-radius: 12px; /* Rounded corners */
}

/* Gradient heading text */
.about-title {
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(to right, #0264d6, #00d4ff); /* Blue gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Show gradient inside text */
  margin-bottom: 30px;
}

/* Content layout (text and image) */
.about-content {
  display: flex;
  flex-direction: column-reverse; /* Image on top, text below (on mobile) */
  align-items: center;
  gap: 30px; /* Space between text and image */
}

/* Paragraph styling */
.about-text p {
  font-size: 18px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.6; /* Better readability */
}

/* Image container/frame */
.about-image-frame {
  background-color: #eef3f7;
  padding: 15px;
  border-radius: 15px;
  overflow: hidden;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Slight shadow for lift */
  transition: transform 0.3s ease-in-out;
}

/* Image styling */
.about-image-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  transition: transform 0.4s;
}

/* Hover effect on image */
.about-image-frame:hover {
  transform: scale(1.03); /* Slight zoom effect */
}

/* Responsive layout for medium and large screens */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row; /* Side by side layout */
    justify-content: space-between;
    text-align: left;
  }

  .about-text {
    flex: 1;
    padding-right: 30px; /* Space between text and image */
  }

  .about-image-frame {
    flex: 1;
    max-width: 500px;
  }
}

/* Section titles in general */
.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
}

/* Gradient text utility class */
.gradient-text {
  background: linear-gradient(90deg, #007cf0, #00dfd8); /* Gradient for any text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.read-more-btn:hover {
  background-color: #01416c; /* Darker on hover */
}

/* === Read More Button Styling === */
.read-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #022a44; /* Matches header color */
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #01416c; /* Slightly darker on hover */
}

/* Optional: basic styling for the section */
.home-about-excerpt {
  padding: 60px 20px;
  background-color: #f5f7fa;
  text-align: center;
}

.home-about-excerpt h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #022a44;
}

.home-about-excerpt p {
  font-size: 18px;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}


.team-section {
  background-color: #f4f4f4;
  padding: 80px 20px;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(90deg, #007cf0, #00dfd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.team-member {
  background-color: #ffffff;
  padding: 25px 20px;
  border-radius: 15px;
  width: 260px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member.director {
  width: 280px;
}

.team-photo-frame {
  width: 160px;
  height: 160px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #007cf0;
  background-color: #e6f0fa;
  box-shadow: 0 4px 10px rgba(0, 124, 240, 0.2);
}

.team-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #022a44;
}

.team-info .title {
  font-size: 0.95rem;
  color: #007cf0;
  font-weight: bold;
  margin-bottom: 5px;
}

.team-info .bio {
  font-size: 0.9rem;
  color: #555;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
}

.team-member:hover .bio {
  opacity: 1;
  max-height: 200px;
}

@media (max-width: 768px) {
  .team-member {
    width: 100%;
    max-width: 320px;
  }

  .team-photo-frame {
    width: 140px;
    height: 140px;
  }
}

