/* ============================================
   Cards (glassmorphism shared)
*============================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 1.5rem;
}


.card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.2rem;
  transition: background var(--transition-smooth),
              box-shadow var(--transition-smooth),
              transform var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.card:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pale), var(--glass-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  box-shadow: 0 0 9px 4px rgba(122, 158, 118, 0.12);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--muted);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* --- Approach Section --- */
.approach-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
}

/* Approach cards — glassmorphism on green backgrounds */
.approach-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--glass-bg), var(--pale));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 9px 4px rgba(122, 158, 118, 0.2);
}

.approach-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--muted);
}

.card--approach {
  text-align: center;
}

.card--approach h3 {
  margin-bottom: 0.6rem;
}

.card--approach p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* --- Timeline / Roadmap --- */
.timeline {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 33px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: -4px;
  bottom: -2rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--light), var(--pale), transparent);
}

.timeline-item {
  max-width: 520px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot-wrap {
  flex-shrink: 0;
  width: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
}

/* Timeline dots: sizing/border-radius set; background + shadow interpolated by JS */
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(122, 158, 118, 0.12);
}

.timeline-content {
  flex: 1;
}

.timeline-divider {
  border: none;
  height: 0;
  background: linear-gradient(to right, var(--pale), transparent);
  margin: 1.5rem 33px 2rem 33px;
}

.timeline-phase {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  opacity: 0.9;
  margin-bottom: 0.3rem;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.timeline-item p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  display: flex;
  background-color: var(--muted);
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 3rem;
  font-size: 0.72rem;
  opacity: 0.55;
}

.footer a.rungta-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream-deep);
}

.footer a.rungta-brand:hover {
  opacity: 0.85;
}

.footer img {
  height: 45px;
  width: auto;
}

.footer p {
  font-size: 0.72rem !important;
  color: var(--cream-deep);
  letter-spacing: 0.04em;
  margin: 0;
}

.footer .venture-text {
  font-size: 0.72rem !important;
  color: var(--dark);
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.footer p:last-child {
  font-size: 0.72rem !important;
  text-align: right;
  white-space: nowrap;
  margin: 0;
}

/* Mobile footer */
@media (max-width: 768px) {
   .footer {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
   }

     /* base rule handles flex-direction for .rungta-brand */
   .footer p:last-child {
    text-align: center;
   }
}

/* --- Contact Section --- */
.contact {
  text-align: center;
  padding-bottom: 4rem;
}

.contact h2 {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.contact .section-intro {
  text-align: center;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2.2rem;
  background: var(--muted);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth);
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(122, 158, 118, 0.32);
}

/* --- Responsive --- */
@media (max-width: 60rem) {
    .cards-3,
    .approach-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: 90vh;
    }

    .section {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

.hero.team-hero {
    min-height: 60vh;
    justify-content: center;
}

.hero.team-hero .hero-tagline {
    margin-top: 1.5rem;
}

/* --- Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 760px;
  margin: 2rem auto 0;
}

.team-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem 2.8rem;
  box-shadow: var(--shadow-soft);
  transition: background var(--transition-smooth),
              box-shadow var(--transition-smooth),
              transform var(--transition-smooth);
  text-align: center;
}

.team-card:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: .5rem auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--muted), var(--light));
  box-shadow: 0 4px 20px rgba(45, 91, 61, 0.2);
}

.team-initials {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.02em;
}

/* Single card in a grid gets full width */
.team-grid:has(> .team-card:not(:nth-child(n+2))) {
  max-width: 640px;
}

@media (max-width: 768px) {
      .team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
      }
}

/* --- Selection Color --- */
::selection {
  background: var(--pale);
  color: var(--dark);
}
