/* --- About Header --- */
.about-header {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 49, 37, 0.6) 0%, rgba(15, 49, 37, 0.9) 100%), url('../assets/about-us-desktop.jpg') center/cover no-repeat;
}
.about-header h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}
.about-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* --- About Intro Section --- */
.about-intro-section {
  padding: 40px 0;
  background-color: var(--bg-secondary);
}

.philosophy-card {
  background: #ffffff;
  padding: 60px;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(17, 48, 37, 0.08);
  border: 1px solid rgba(17, 48, 37, 0.03);
  max-width: 100%;
  margin: 0 auto;
}

.philosophy-content .highlight-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--bg-color);
  line-height: 1.4;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.philosophy-content p {
  color: var(--bg-color);
  opacity: 0.8;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.philosophy-content .italic-summary {
  font-family: var(--font-subheading);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--bg-color);
  opacity: 0.95;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px dashed rgba(17, 48, 37, 0.15);
  margin-bottom: 0;
}

.philosophy-footer {
  border-top: 1px solid rgba(17, 48, 37, 0.1);
  padding-top: 30px;
}

.philosophy-footer p {
  color: var(--bg-color);
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 768px) {
  .philosophy-card { padding: 30px; }
  .philosophy-content .highlight-text { font-size: 1.4rem; }
  .philosophy-content .italic-summary { font-size: 1.25rem; }
}

/* --- Founders --- */
.founders {
  padding: 40px 0;
  background: var(--bg-color);
  color: var(--bg-secondary); /* Text outside cards will be beige */
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.founder-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  color: var(--bg-secondary);
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.founder-img-wrapper {
  width: 240px;
  height: 300px;
  aspect-ratio: auto;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(230, 221, 212, 0.15);
  padding: 8px;
  transition: border-color 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
}



/* Elegant WhatsApp Chat Button for Founder */
.founder-chat-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #c5a367; /* Gold */
  color: var(--bg-color); /* Deep green */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
              background-color 0.4s ease, 
              color 0.4s ease, 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.founder-chat-btn:hover {
  transform: scale(1.18) translateY(-3px);
  background-color: var(--bg-color);
  color: #c5a367;
  border-color: #c5a367;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(197, 163, 103, 0.2);
}

.founder-chat-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.founder-chat-btn:hover svg {
  transform: scale(1.05);
}

.founder-card:hover .founder-img-wrapper {
  border-color: #c5a367;
}

.founder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.6s ease;
}

.founder-card:hover img {
  transform: scale(1.03);
}

.founder-card h3 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--bg-secondary);
  letter-spacing: -0.5px;
  font-family: var(--font-subheading);
}

.founder-card .role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #c5a367;
  margin-bottom: 15px;
}

.founder-card .bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-transform: none;
  opacity: 0.9;
  max-width: 320px;
}

.story-highlight {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-style: italic;
  line-height: 1.2;
  color: var(--bg-secondary);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  padding: 0 40px;
}

.story-highlight::before,
.story-highlight::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--bg-secondary);
  opacity: 0.3;
}

.story-highlight::before { left: 0; }
.story-highlight::after { right: 0; }

.founder-intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  color: var(--bg-secondary);
}

@media (max-width: 992px) {
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 500px;
    margin: 60px auto 0;
  }
}

@media (max-width: 768px) {
  .story-highlight { font-size: 1.8rem; padding: 0 20px; }
  .story-highlight::before, .story-highlight::after { display: none; }
  .founder-img-wrapper {
    width: 200px;
    height: 250px;
    margin-bottom: 15px;
  }
  .founder-card h3 { font-size: 28px; }
}

/* --- Gallery Section --- */
.gallery-section {
  padding: 45px 0;
  background-color: var(--bg-secondary);
  color: var(--bg-color);
}
.masonry {
  display: flex;
  gap: 20px;
  margin-top: 35px;
}
.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.masonry-column img {
  width: 100%;
  border-radius: 4px;
}

/* --- Team Talks --- */
.team-talks {
  padding: 40px 0;
  background: var(--bg-color);
  color: var(--bg-secondary);
  text-align: center;
}
.review-card {
  max-width: 800px;
  margin: 0 auto 25px;
}
.review-card p {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  margin-bottom: 15px;
}
.review-card span {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .about-header {
    padding: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    background: linear-gradient(180deg, rgba(15, 49, 37, 0.6) 0%, rgba(15, 49, 37, 0.9) 100%), url('../assets/about-us-mobile.jpg') center/cover no-repeat !important;
  }
  .about-header h1 {
    font-size: 3rem !important;
  }
  .masonry { flex-direction: column; }
}

/* --- Impact Statement --- */
.impact-statement {
  margin-top: 80px;
  padding: 40px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.impact-content {
  max-width: 900px;
  margin: 0 auto;
}

.impact-content p {
  font-family: var(--font-body);
  font-size: 2rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 300;
  letter-spacing: -0.5px;
}

.impact-content p strong {
  font-weight: 600;
  color: var(--bg-secondary);
}

@media (max-width: 768px) {
  .impact-content p {
    font-size: 1.5rem;
  }
}

/* --- Team Grid (Team Members) --- */
.team-members-section {
  width: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.team-member-card {
  background: #ffffff;
  padding: 25px 15px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(17, 48, 37, 0.03);
  box-shadow: 0 8px 30px rgba(17, 48, 37, 0.02);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  color: var(--bg-color);
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #c5a367;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-member-card:hover::before {
  transform: scaleX(1);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(17, 48, 37, 0.08);
}

.team-img-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(17, 48, 37, 0.12);
  padding: 4px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  transition: border-color 0.4s ease;
}

.team-member-card:hover .team-img-wrapper {
  border-color: #c5a367;
}

.team-img-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.team-member-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-member-card:hover img {
  transform: scale(1.05);
}

.placeholder-avatar {
  background: var(--bg-color);
  color: var(--bg-secondary);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: background 0.4s ease, color 0.4s ease;
}

.team-member-card:hover .placeholder-avatar {
  background: #c5a367;
  color: var(--bg-color);
}

.avatar-initials {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
}

.team-member-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--bg-color);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  font-family: var(--font-subheading);
}

.team-member-card .team-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #c5a367;
  margin-top: 3px;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .team-member-card {
    padding: 20px 10px;
  }
  .team-member-card h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
