@font-face {
  font-family: "SAMARN";
  src: url("../assets/Font/SAMARN__.TTF");
}

/* General Body and Container */
body {
  background-color: #f8f9fa;
  color: #343a40;
}

.container.team-page-container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  padding-top: 12vh; /* Space for the fixed navbar */
}

.hindi-font {
  font-family: "SAMARN", sans-serif;
  font-weight: normal;
  font-size: 2.5rem;
  color: #90ce70;
  border-left: 5px solid #90ce70;
  padding-left: 10px;
  height: 40px;
}

/* === Meet the Team Section === */
.team-section {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Founder Profile Styles */
.founder-profile {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.founder-image {
  flex: 1 1 300px;
  max-width: 300px;
  margin: 0 auto;
}

.founder-image img {
  width: 100%;
  border-radius: 15px;
  /* border: 5px solid #90ce70; */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.founder-details {
  flex: 2 1 500px;
}

.founder-details h3 {
  font-size: 2rem;
  color: #343a40;
  /* margin-bottom: 1rem; */
  display: flex;
  align-items: center;
  gap: 1rem;
}

.founder-details h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #34495e;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.founder-details p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

/* Team Category Title */
.team-category-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #34495e;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.team-category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #90ce70;
}

/* Other Team Members Grid */
.other-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.team-member-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.team-member-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.team-member-card p {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.6;
}

.ownerdesignation {
  color: #90ce70 !important;
  font-size: 1.5rem !important;
  margin: 0px !important;
  margin-bottom: 1rem !important;
}

/* --- Alignment Fix for Founder Details --- */

.founder-details h1 {
  text-align: left; /* Overrides any centered alignment */
  margin-bottom: 0; /* Adjust spacing */
}

.founder-signature {
  display: block; /* Ensures it takes its own line */
  width: 250px; /* Adjust size as needed */
  height: auto;
  margin-bottom: 0.5rem; /* Space below the signature */
  margin-left: -5px; /* Minor adjustment for visual alignment */
}
.mb-3 {
  margin-bottom: 20px !important;
}

.leftline {
  border-left: 5px solid #90ce70;
}
/* Responsive Design */
@media (max-width: 768px) {
  .founder-profile {
    flex-direction: column;
    text-align: center;
  }
  .founder-details h3 {
    justify-content: center;
  }
  .hindi-font {
    font-size: 2rem;
  }
}
