* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

  background-color: black;
  color: #e7e7e7;
  min-height: 100vh;
  line-height: 1.5;
}

/* background decorations */
.image-gradient {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
  z-index: -1;
}

.layer-blur {
  height: 0;
  width: 30rem;
  position: absolute;
  top: 20%;
  right: 0;
  box-shadow: 0 0 700px 15px white;
  rotate: -30deg;
  z-index: -1;
}

/* layout container */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

/* NAVBAR */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5rem;
  z-index: 999;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 300;
}

nav {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-left: -5%;
}

nav a {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  transition: color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

nav a:hover {
  color: #a7a7a7;
}

.btn-signing {
  background-color: #a7a7a7;
  color: black;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.btn-signing:hover {
  background-color: white;
}

/* HERO AREA */
main {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;     /* horizontal center */
  min-height: calc(90vh - 6rem); /* full height minus header */
}

.content {
  max-width: 40rem;
  z-index: 999;
}

/* tag pill */
.tag-box {
  position: relative;
  width: 18rem;
  height: 2.5rem;
  border-radius: 50px;
  background: linear-gradient(to right, #656565, #7f42a7, #6600c5);
  background-size: 200%;
  animation: animationGradient 2.5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  margin-bottom: 1.5rem;
}

@keyframes animationGradient {
  to {
    background-position: 200%;
  }
}

.tag-box .tag {
  position: absolute;
  inset: 3px;
  background-color: black;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.tag-box .tag:hover {
  color: #5300a0;
}

/* main heading + text */
.content h1 {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  margin: 2rem 0 1rem;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description {
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
  max-width: 35rem;
  color: gray;
}

/* buttons row */
.buttons {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.btn-get-started {
  text-decoration: none;
  border: 1px solid #2a2a2a;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  color: #e7e7e7;
}

.btn-get-started:hover {
  background-color: #1a1a1a;
}

.btn-signing-main {
  text-decoration: none;
  background-color: black;
  color: whitesmoke;
  padding: 0.7rem 2.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
}
.btn-gmail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* space between text and icon */
}

.gmail-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gmail-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}


.btn-signing-main:hover {
  background-color: black;
}
.college-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid #1c1c1c;
}

.college-inner {
  max-width: 60rem;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a7a7a7;
  margin-bottom: 0.5rem;
}

.college-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.college-inner p {
  color: #b3b3b3;
  margin-bottom: 0.7rem;
  font-size: 1rem;
  max-width: 45rem;
}
.achievements-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid #1c1c1c;
}

.achievements-inner {
  max-width: 60rem;
  margin: 0 auto;
}

.achievements-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* timeline layout */

.timeline {
  position: relative;
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid #2d2d2d;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -0.65rem;
  top: 0.25rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #7f42a7 60%, #6600c5 100%);
  box-shadow: 0 0 12px rgba(127, 66, 167, 0.8);
}

.timeline-content {
  padding-left: 0.5rem;
}

.timeline-year {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a7a7a7;
  margin-bottom: 0.2rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.timeline-content p {
  color: #b3b3b3;
  font-size: 0.98rem;
  max-width: 40rem;
}
.tech-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid #1c1c1c;
}

.tech-inner {
  max-width: 70rem;
  margin: 0 auto;
}

.tech-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* grid of cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

/* individual card */
.tech-card {
  background: #050505;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #1f1f1f;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(127, 66, 167, 0.4);
  border-color: #7f42a7;
}

.tech-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tech-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-image-wrapper img {
  transform: scale(1.06);
}

.tech-body {
  padding: 1rem 1.2rem 0.5rem;
}

.tech-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.tech-body p {
  font-size: 0.95rem;
  color: #b3b3b3;
}

.tech-footer {
  padding: 0.9rem 1.2rem 1.2rem;
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

/* explore button */
.tech-btn {
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(to right, #7f42a7, #6600c5);
  color: #f5f5f5;
  transition: filter 0.2s ease, transform 0.1s ease;
}

.tech-btn:hover {
  filter: brightness(1.1);
}

.tech-btn:active {
  transform: scale(0.97);
}
.about-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid #1c1c1c;
}

.about-inner {
  max-width: 70rem;
  margin: 0 auto;
}

.about-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.about-block {
  margin-bottom: 3rem;
}

.about-heading {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* horizontal gallery row */
.gallery-row {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;              /* enables left/right scroll */
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory; /* optional: snap effect */
}

.gallery-row::-webkit-scrollbar {
  height: 6px;
}

.gallery-row::-webkit-scrollbar-track {
  background: #050505;
}

.gallery-row::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 999px;
}

/* individual card */
.gallery-card {
  min-width: 220px;
  max-width: 260px;
  background: #050505;
  border-radius: 1rem;
  border: 1px solid #1f1f1f;
  padding: 0.8rem;
  scroll-snap-align: start;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.gallery-image-wrapper {
  width: 100%;
  border-radius: 0.8rem;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  font-size: 0.9rem;
  color: #c0c0c0;
}
.social-links {
  display: flex;
  flex-direction: column;  /* stack IG and GitHub vertically */
  gap: 0.4rem;
  margin-top: 1rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;      /* centers icon + text vertically */
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.icon-link:hover {
  transform: scale(1.03);
}

.icon {
  width: 24px;
  height: 24px;
}

.icon-text {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.gradient-text {
  background: linear-gradient(90deg, #ffffff, #9b5bff, #ff4ecd, #ffffff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textGradient 5s linear infinite;
}
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 1.00;        
}


.image-gradient {
  display: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), rgba(0,0,0,0.85));
  z-index: -1;
}



@keyframes textGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}







/* ---------- RESPONSIVE ---------- */

@media (max-width: 1300px) {
  header {
    padding: 1rem 2rem;
  }

  .content {
    margin-top: 3rem;
  }
}

/* Phone / tablet */
@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 1.25rem;
  }

  header {
    padding: 0.75rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 0.9rem;           /* smaller gap for mobile */
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.75rem;
  }

  header h1 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
  }
  .gmail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 8px 16px;            /* smaller & more horizontal */
  font-size: 0.9rem;
  border-radius: 12px;
}

.gmail-logo {
  width: 20px;
  height: 20px;
}


  .btn-signing {
    padding: 0.4rem 1.1rem;
    font-size: 0.75rem;
    border-radius: 999px;
    align-self: flex-end;
  }
  .btn-gmail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* space between text and icon */
}

.gmail-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gmail-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}


  main {
    min-height: auto;
    margin-top: 1.5rem;
    align-items: flex-start;
  }

  .content {
    max-width: 100%;
    margin: 3rem 0 0 0;
  }

  .tag-box {
    width: 11rem;
    height: 2.2rem;
  }

  .tag-box .tag {
    font-size: 0.75rem;
  }

  .content h1 {
    font-size: 2.3rem;
    margin: 1.5rem 0 0.5rem;
  }

  .description {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .btn-get-started,
  .btn-signing-main {
    width: auto;
    font-size: 0.8rem;
    padding: 0.7rem 1.8rem;
  }
  .achievements-section {
  padding: 3rem 0 4rem;
}

.timeline {
  margin-left: 0;
  padding-left: 1.2rem;
}

.timeline-content p {
  font-size: 0.9rem;
}
.about-inner h2 {
  font-size: 1.9rem;
}

.about-heading {
  font-size: 1.2rem;
}

.gallery-card {
  min-width: 200px;
  max-width: 220px;
}



}
