/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background: #0d0d0d;
  color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
}
.navwrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}
.brand {
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .dot {
  width: 10px;
  height: 10px;
  background: orange;
  border-radius: 50%;
}
.navlinks a {
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.2s;
}
.navlinks a:hover {
  color: orange;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.float-ball {
  position: absolute;
  width: 90px;
  top: 15%;
  right: 15%;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-10px);}
}
.hero__content {
  position: relative;
  z-index: 5;
}
.name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
}
.glow {
  color: orange;
  text-shadow: 0 0 10px orange, 0 0 20px orange;
}
.tagline {
  font-size: 1.4rem;
  margin-top: 8px;
  min-height: 1.4rem;
}
.btn {
  display: inline-block;
  margin: 14px 8px 0;
  padding: 10px 20px;
  border: 2px solid orange;
  color: orange;
  border-radius: 4px;
  transition: background 0.3s;
}
.btn--primary {
  background: orange;
  color: #0d0d0d;
}
.btn:hover {
  background: orange;
  color: #0d0d0d;
}
.scrollhint {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Sections ===== */
section {
  padding: 80px 20px;
}
.container {
  max-width: 1100px;
  margin: auto;
}
.section-kicker {
  text-transform: uppercase;
  font-weight: 600;
  color: orange;
  margin-bottom: 6px;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 24px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.about-photo {
  position: relative;
}
.court-lines {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(255,165,0,0.4);
}

/* ===== Achievements ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}
.card .cicon {
  font-size: 2rem;
}
.card .year {
  font-weight: 700;
  margin-top: 6px;
}
.card .ctitle {
  font-weight: 600;
  margin-top: 4px;
  color: orange;
}
.card .cdesc {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 6px;
}

/* ===== Gallery ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.grid img {
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}
.grid img:hover {
  transform: scale(1.05);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
}

/* ===== Stats ===== */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.stat {
  flex: 1;
  text-align: center;
}
.stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: orange;
}
.stat .label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== Contact ===== */
.input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: none;
  border-radius: 4px;
}
.submit-hoop {
  background: orange;
  color: #0d0d0d;
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  opacity: 0.7;
}
.back-portfolio {
  display: inline-block;
  margin-bottom: 8px;
  color: orange;
}
/* ===== Animated Top Background ===== */
.top-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 750px; /* height of animated area */
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,102,0,0.3), transparent 60%);
  pointer-events: none;
  z-index: 999;
}
/* Fade-up + typing */
.fade-up-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  font-size: 1.2rem;
  line-height: 1.6rem;
  color: white;
}

.fade-up-text.show {
  opacity: 1;
  transform: translateY(0);
}
/* soc vertical */
.soc-vertical{
  position:fixed;left:18px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:30
}
.soc{
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--glass);backdrop-filter: blur(6px);
  color:var(--muted);text-decoration:none;transition:transform .2s var(--ease);
}
.soc:hover{transform:translateX(6px);color:#fff;box-shadow:var(--card-shadow)}
/* Tablet & below */
@media (max-width: 768px) {
  /* Navbar */
  .navwrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .navlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
  .navlinks a {
    margin: 0;
    font-size: 0.9rem;
  }

  /* Hero */
  .name {
    font-size: 2.4rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .float-ball {
    width: 60px;
    top: 10%;
    right: 5%;
  }

  /* Sections */
  section {
    padding: 60px 16px;
  }
  .section-title {
    font-size: 1.5rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }
  .fade-up-text {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  /* Achievements */
  .timeline {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .stats-grid {
    flex-direction: column;
    align-items: center;
  }
  .stat {
    width: 100%;
  }

  /* Contact form */
  .submit-hoop {
    width: 100%;
    justify-content: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .name {
    font-size: 1.8rem;
  }
  .tagline {
    font-size: 0.9rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
