/* :root {
  --bg: linear-gradient(180deg, #0b1022, #0d1228);
  --card: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #e8eaf6;
  --muted: #b9bed6;
  --accent: #7c9cf5;
  --accent2: #2fb4ff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
:root.light {
  --bg: linear-gradient(180deg, #f7f9ff, #ecf0ff);
  --card: #ffffff;
  --stroke: #e8ecff;
  --text: #101226;
  --muted: #4a5272;
  --accent: #3b5bdb;
  --accent2: #2fb4ff;
  --shadow: 0 10px 25px rgba(20, 40, 120, 0.15);
} */
:root {
  --bg: linear-gradient(180deg, #0f1128, #070b19);
  --card: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.15);
  --text: #f0f2ff;
  --muted: #a2a8d3;
  --accent: #8c6fff;
  --accent2: #00e0ff;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

:root.light {
  --bg: linear-gradient(180deg, #f6f8ff, #e8eeff);
  --card: #ffffff;
  --stroke: #e2e8ff;
  --text: #1a1f36;
  --muted: #5c6688;
  --accent: #6d5dfc;
  --accent2: #008cff;
  --shadow: 0 8px 24px rgba(28, 52, 163, 0.12);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: clamp(15px, 1.05vw, 18px);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  transition: 0.25s all;
  cursor: pointer;
  user-select: none;
}
.btn svg {
  flex: 0 0 auto;
  flex: 0 0 auto;
  background: #f7f7ff;
  border-radius: 5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-secondary:hover {
  background: rgba(124, 156, 245, 0.12);
}
.btn-outline {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}
.btn.small {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
}
.chip {
  display: inline-block;
  background: rgba(124, 156, 245, 0.16);
  border: 1px solid rgba(124, 156, 245, 0.35);
  color: #cfe0ff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
}
.section {
  padding: clamp(72px, 6vw, 112px) 0;
  position: relative;
}
.section.alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}
.section-title {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin: 0 0 22px;
  letter-spacing: 0.2px;
}
.accent {
  color: var(--accent2);
}
.lead {
  font-size: 1.05rem;
  color: var(--muted);
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}
@media (max-width: 980px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 28, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
:root.light .site-header {
  background: rgba(255, 255, 255, 0.7);
  border-color: #eef2ff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-badge {
  height: clamp(49px, 5vw, 47px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.3px;
}
.nav {
  display: flex;
  gap: 18px;
}
.nav-link {
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.header-actions {
  display: flex;
  gap: 10px;
}
.theme-toggle,
.menu-btn {
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.6rem;
}
.menu-btn {
  display: none;
}
@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 64px 14px auto 14px;
    background: rgba(10, 14, 32, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    border-radius: 16px;
    display: none;
    flex-direction: column;
    z-index: 60;
  }
  :root.light .nav {
    background: rgba(255, 255, 255, 0.98);
  }
  .nav.open {
    display: flex;
  }
  .menu-btn {
    display: inline-flex;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(84px, 10vw, 120px) 0 90px;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
}
.title {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 3.4rem);
  line-height: 1.1;
  margin: 10px 0 12px;
}
.subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--muted);
  max-width: 720px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero-logos {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  opacity: 0.9;
}
.hero-logo {
  height: clamp(28px, 3.2vw, 36px);
  width: auto;
}
.hero-gsoc {
  height: clamp(28px, 4.2vw, 44px);
  width: auto;
}
.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}
.photo-frame {
  width: min(420px, 88%);
  aspect-ratio: 1;
  border-radius: 30px;
  background: radial-gradient(120% 120% at 80% 0%, rgba(124, 156, 245, 0.4), rgba(0, 0, 0, 0.2) 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transform: scale(1.4); */
  object-position: 50% 62%;
}
.floating-badges {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  right: -10px;
}
.badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  padding: 0.42rem 0.6rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
}
.bg-shapes .blob {
  position: absolute;
  filter: blur(60px);
  opacity: 0.35;
  z-index: -1;
}
.bg-shapes .b1 {
  width: 360px;
  height: 360px;
  background: #7c9cf5;
  left: -120px;
  top: -80px;
  border-radius: 50%;
}
.bg-shapes .b2 {
  width: 420px;
  height: 420px;
  background: #2fb4ff;
  right: -160px;
  top: 120px;
  border-radius: 50%;
}
.bg-shapes .grid {
  position: absolute;
  inset: auto 0 -42px 0;
  height: 66px;
  background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.info {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.info li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.info li span {
  display: inline-block;
  width: 92px;
  color: var(--muted);
}
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.card.highlight h3 {
  margin: 0 0 12px;
}
.glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 800px) {
  .glance {
    grid-template-columns: 1fr;
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
}

.timeline {
  margin-top: 26px;
  border-left: 2px dashed rgba(255, 255, 255, 0.18);
}
:root.light .timeline {
  border-color: #e6eaff;
}
.t-item {
  position: relative;
  padding: 18px 0 18px 18px;
}
.t-dot {
  position: absolute;
  left: -10px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(124, 156, 245, 0.18);
}
.t-content h4 {
  margin: 0 0 6px;
  font-family: Poppins, Inter, sans-serif;
}

.migration-card {
  margin-bottom: 18px;
}
.migration-card .chips {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.migration-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.compare-wrap {
  margin-top: 18px;
}
.compare-title {
  margin: 0 0 12px;
  font-size: 1.4rem;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}
.compare-table thead th {
  background: rgba(124, 156, 245, 0.16);
  font-weight: 800;
  letter-spacing: 0.2px;
}
.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}
.done-box h3 {
  margin: 0 0 8px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
}
.report-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
}
.list {
  margin: 0;
  padding-left: 18px;
}
.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}
.work-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 820px) {
  .repo-grid {
    grid-template-columns: 1fr;
  }
}
.repo-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  transition: 0.25s all;
}
.repo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.repo-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.repo-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 156, 245, 0.12);
  border: 1px solid rgba(124, 156, 245, 0.3);
}
.repo-meta h3 {
  margin: 0 0 4px;
}
.repo-meta p {
  margin: 0;
  color: var(--muted);
}
.repo-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
}

.mentor-card,
.org-card {
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.org-card img {
  height: 58px;
  width: auto;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
}
.contact-form {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 620px) {
  .contact-form .row {
    grid-template-columns: 1fr;
  }
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  font: inherit;
}
.contact-form button {
  justify-content: center;
  width: max-content;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 28, 0.5);
  backdrop-filter: blur(8px);
}
:root.light .site-footer {
  background: rgba(255, 255, 255, 0.7);
  border-color: #eef2ff;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot-brand img {
  height: 40px;
}
.foot-text {
  color: var(--muted);
  font-weight: 600;
}
.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--card);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 800px) {
  .bg-shapes .b2 {
    display: none;
  }
}

.org-div-logo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.summerOfcodeText {
  font-weight: 200;
}
.mentor-card,
.org-card {
  height: 253px;
}

.paginationImage {
  border-radius: 18px;
}

.fixed-btn {
  position: fixed;
  bottom: 30px; /* distance from bottom */
  right: 30px; /* distance from right */
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 100000000;
}
.fixed-btn:hover {
  background: linear-gradient(135deg, #0056b3, #003f88);
  transform: scale(1.08);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.25);
}
