:root {
  --bg-main: #0e1016;
  --bg-dark: #0a0c11;
  --card-bg: #161a23;
  --accent: #00c2ff;
  --text-muted: #a0a6b1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background: var(--bg-main);
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-dark);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 60px;
}

.nav-links a {
  margin-left: 18px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

/* HERO */
.hero {
  padding: 40px 24px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===================== */
/* SLIDESHOW */
/* ===================== */
.slideshow {
  position: relative;
  height: 360px; /* mobile */
  overflow: hidden;
  border-radius: 16px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

/* ===================== */
/* HERO PROFILE */
/* ===================== */
.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Founder image */
.hero-profile img {
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  border: 1px solid rgba(0,194,255,0.35);
  box-shadow: 0 20px 50px rgba(0, 194, 255, 0.08);
}

/* Profile card */
.profile-card {
  background: linear-gradient(
    180deg,
    rgba(22,26,35,0.95),
    rgba(16,18,25,0.95)
  );
  padding: 18px 22px;
  border-radius: 14px;
  text-align: center;
  max-width: 400px;
  border: 1px solid rgba(255,255,255,0.06);
}

.profile-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.profile-card .role {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--accent);
}

.profile-card .qualification {
  margin: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Tags */
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.profile-tags span {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(0,194,255,0.08);
  border: 1px solid rgba(0,194,255,0.25);
  color: var(--accent);
}

/* ===================== */
/* HERO CONTENT */
/* ===================== */
.hero-content {
  margin-top: 40px;
  max-width: 720px;
}

.hero-content h1 {
  font-size: 34px;
}

.hero-content p {
  margin: 16px 0;
  color: var(--text-muted);
}

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

/* BUTTONS */
.btn {
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.primary {
  background: var(--accent);
  color: #000;
}

.outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* SECTIONS */
.section {
  padding: 60px 24px;
}

.section.dark {
  background: var(--bg-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* FEATURES */
.features {
  display: grid;
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 10px;
}

/* LEARN */
.learn-grid {
  display: grid;
  gap: 18px;
}

.learn-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ===================== */
/* DESKTOP */
/* ===================== */
@media (min-width: 768px) {
  .hero-top {
    flex-direction: row;
    align-items: flex-start; /* important */
    justify-content: space-between;
    gap: 50px;
  }

  .slideshow {
    width: 95%;        /* balanced */
    height: 615px;    /* cinematic */
  }

  .hero-profile img {
    max-width: 420px;
  }

  .features {
    grid-template-columns: repeat(4, 1fr);
  }

  .learn-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
