/* ============================================================
   BridgeToConnect v2 — Home Page Styles (home.css)
============================================================ */

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 50%, rgba(0,229,160,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(96,165,250,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.hero-content { max-width: 640px; }

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 20px;
}

.hero-accent {
  background: linear-gradient(90deg, var(--accent), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 36px;
  align-self: stretch;
  max-width: 520px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  flex-shrink: 0;
  margin: 0 24px;
}

/* ─── WHY ─── */
.why-section { padding: 100px 0; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.why-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-4px);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── COURSES ─── */
.courses-section { padding: 100px 0; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.course-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-6px);
}

.featured-course {
  border-color: rgba(0,229,160,0.3);
  background: rgba(0,229,160,0.04);
}

.featured-course:hover {
  border-color: rgba(0,229,160,0.5);
  background: rgba(0,229,160,0.07);
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.course-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-icon { background: rgba(0,229,160,0.12); color: var(--accent); }
.python-icon    { background: rgba(96,165,250,0.12); color: var(--sky); }
.ml-icon        { background: rgba(167,139,250,0.12); color: var(--lavender); }

.course-level {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
}

.level-beginner { background: rgba(0,229,160,0.12);  color: var(--accent); }
.level-inter    { background: rgba(96,165,250,0.12);  color: var(--sky); }
.level-adv      { background: rgba(167,139,250,0.12); color: var(--lavender); }

.course-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.course-meta span {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}

.course-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.course-card:hover .course-footer svg {
  transform: translateX(4px);
  transition: transform 0.2s;
}

/* ─── ABOUT ─── */
.about-section { padding: 100px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.about-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}

.asc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.asc-item {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}

.asc-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.asc-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

.asc-quote {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
}

/* ─── TEAM ─── */
.team-section { padding: 100px 0; }

.team-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.team-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-4px);
}

.ceo-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.team-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.team-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  transition: background 0.2s;
}

.team-links a:hover {
  background: var(--accent-dim);
}

/* ─── SPOTLIGHT ─── */
.spotlight-section { padding: 80px 0; }

.spotlight-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,229,160,0.06), rgba(96,165,250,0.04));
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: var(--r-xl);
  padding: 48px;
}

.spotlight-img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0,229,160,0.4);
}

.spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-text .eyebrow { margin-bottom: 10px; }

.spotlight-text h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.spotlight-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.spotlight-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,160,0.3);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ─── CONTACT ─── */
.contact-section { padding: 100px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 16px;
}

.contact-left p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-reasons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cr-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .ceo-card  { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 860px) {
  .why-grid     { grid-template-columns: 1fr 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .about-inner  { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner{ grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 38px; }
  .hero-stats { max-width: 100%; padding: 18px 20px; }
  .stat-divider { margin: 0 14px; }
  .why-grid   { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  .ceo-card   { flex-direction: column; }
  .spotlight-card { flex-direction: column; text-align: center; }
  .spotlight-img  { margin: 0 auto; }
}
