/* ---- 1. General & Body Styles ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f8f4ff !important; /* Consider removing !important if possible */
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* ---- 2. Hero Section ---- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1200px;
  color: white;
}

.hero-header {
  font-size: 4rem;
  font-weight: bold;
  opacity: 0; /* Set for GSAP animation */
  transform: translateY(50px);
}

.hero-description {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 20px auto 0;
  opacity: 0; /* Set for GSAP animation */
  transform: translateY(50px);
}

/* ---- 3. Content Section ---- */
.content-section {
  background: linear-gradient(135deg, #2E368F 0%, #1A237E 100%);
  color: white;
  display: flex;
  justify-content: center;
  padding: 100px 0;
  width: 100%;
}

.container {
  width: 95vw;
  max-width: 95%;
  display: flex;
}

.left-side {
  width: 40%;
  position: relative;
  margin-left: 4rem;
}

.sticky-heading {
  font-size: 3.3em;
  font-weight: bold;
  position: sticky;
  top: 100px; /* 20px padding + 80px assumed navbar height */
  line-height: 1.2;
}

.right-side {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.content-block {
  padding: 20px 0;
}

.content-block h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.content-block p {
  font-size: 1.8rem;
  line-height: 1.8;
}

/* ---- 4. Team Section ---- */
.team-section {
  padding: 50px 0;
  background-color: #f8f4ff;
}

.section-header {
  text-align: left;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
  margin-left: 6rem;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 90vw;
  margin: 0 auto;
  padding: 0;
}

.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
}

.team-member img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.team-member .content-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  z-index: 2;
}

.team-member h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #fff;
}

.team-member p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 10px;
}

.linkedin-icon {
  font-size: 20px;
  color: #00b7ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.linkedin-icon:hover {
  color: #0055a5;
}

.team-member:hover {
  transform: scale(1.03);
}

/* ---- 5. Responsive Media Queries ---- */
@media (max-width: 768px) {
  /* Hero */
  .hero-header { font-size: 3rem; }
  .hero-description { font-size: 1.2rem; }

  /* Content Section */
  .content-section {
    padding: 50px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .left-side {
    width: 100%;
    margin-left: 0;
    margin-bottom: 2rem;
  }
  .sticky-heading {
    position: static; /* Unstick the heading on mobile */
    font-size: 2.5rem;
  }
  .right-side {
    width: 100%;
    gap: 30px;
  }
  .content-block h2 { font-size: 1.8rem; }
  .content-block p { font-size: 1.2rem; }

  /* Team Section */
  .team-container {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 95vw;
  }
  .section-header { margin-left: 2rem; }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-header { font-size: 2.5rem; }
  .hero-description { font-size: 1rem; }

  /* Team Section */
  .team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0 15px;
  }
  .team-member {
    width: 100%;
    max-width: 300px;
  }
  .section-header { margin-left: 1rem; text-align: center; }
}