:root {
  --bg: #0a0a0c;
  --text: #dfe9ff;
  --neon-cyan: #00eaff;
  --neon-purple: #9d4dff;
  --gradient: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* -------------------------------------------------
   NAVBAR (DESKTOP)
-------------------------------------------------- */

.nav-holder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10,10,12,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 14px 22px;
}

/* Left side */
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  height: 70px;
  width: 70px;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  transition: 0.25s;
}
.nav-links a:hover {
  color: white;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 24px;
  cursor: pointer;
}
.hamburger span {
  height: 2px;
  background: var(--neon-cyan);
  border-radius: 4px;
  transition: 0.3s;
}

.mobile-menu{
  display:none;
}
/* -------------------------------------------------
   MOBILE NAV (CYBERPUNK)
-------------------------------------------------- */
@media (max-width: 768px) {

  /* Hide desktop links */
  .nav-links {
    display: none !important;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
    z-index: 3000;
  }

  /* Holo slide-in sidebar */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;

    background: rgba(15,15,25,0.8);
    backdrop-filter: blur(16px);
    border-right: 1px solid rgba(0,255,255,0.2);
    box-shadow: 0 0 22px rgba(0,255,255,0.15);

    padding: 30px 20px;
    border-radius: 0 16px 16px 0;

    display: flex;
    flex-direction: column;
    gap: 22px;

    transition: left 0.55s cubic-bezier(0.4, 0, 0.1, 1);
    z-index: 2500;
  }

  .mobile-menu.open {
    left: 0;
  }

  .mobile-menu a {
    text-decoration: none;
    color: #bde7ff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 6px;
    transition: 0.3s;
  }

  .mobile-menu a:hover {
    color: #00eaff;
    transform: translateX(6px);
  }

  .mobile-menu a::before {
    content: "✦";
    font-size: 1.1rem;
    color: #00eaff;
    opacity: 0.8;
    transition: 0.3s;
  }

  .mobile-menu a:hover::before {
    text-shadow: 0 0 12px #00eaff;
    opacity: 1;
  }

  /* Dark overlay behind menu */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    display: none;
    z-index: 2000;
  }
  .menu-overlay.show {
    display: block;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }

  /* --- SRC badge inside mobile menu --- */
.mobile-src-box {
  padding: 18px 14px;
  border-radius: 16px;
  background: rgba(0, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 255, 0.25);
  box-shadow: 0 0 14px rgba(0,255,255,0.25);
  margin-bottom: 12px;
  text-align: left;
}

.mobile-src-box h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: var(--neon-cyan);
}

.mobile-src-box p {
  font-size: 0.85rem;
  opacity: 0.85;
}

}


/* -------------------------------------------------
   HERO — DESKTOP LAYOUT (TEXT LEFT, SVG RIGHT)
-------------------------------------------------- */
.hero {
  position: relative;
  min-height: 80vh;
  padding-top: 140px;     /* space for fixed navbar */
  padding-bottom: 80px;
  padding-left: 5vw;
  padding-right: 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LEFT TEXT BLOCK */
.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 10;
}

.title {
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-top: 18px;
  margin-bottom: 22px;
}

.btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: 0.25s;
  color: white;
}
.btn:hover {
  transform: translateY(-3px);
}

.primary { border-color: var(--neon-cyan); background: rgba(0,234,255,0.12); }
.ghost   { border-color: var(--neon-purple); }

/* RIGHT SIDE SVG (FULL OPACITY) */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.hero-visual img.holo {
  width: 100%;
  max-width: 650px;
  opacity: 1;                /* FULL OPACITY */
  transform: translateY(0);
  pointer-events: none;
  animation: floatHolo 6s ease-in-out infinite alternate;
}

/* floating effect */
@keyframes floatHolo {
  from { transform: translateY(-14px); }
  to   { transform: translateY(14px); }
}

/* -------------------------------------------------
   MOBILE — SVG BELOW TEXT, BOTH CENTERED
-------------------------------------------------- */
@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 160px;  /* extra for fixed navbar + logo */
    padding-bottom: 60px;
  }

  .hero-content {
    order: 1;
    max-width: 92%;
  }

  .hero-visual {
    order: 2;
    margin-top: 30px;
    width: 100%;
  }

  .hero-visual img.holo {
    width: 90%;
    max-width: 500px;
    opacity: 1;            /* still full opacity */
    animation: none;       /* optional on mobile */
  }

  .title {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .btns {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}


/* -------------------------------------------------
   SECTIONS
-------------------------------------------------- */
.section {
  padding: 70px 20px;
  text-align: center;
}
.container {
  max-width: 900px;
  margin: auto;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer {
  margin-top: 60px;
  padding: 50px 20px 30px;
  background: linear-gradient(180deg, #0b0b0d 0%, #050506 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-sub {
  font-size: 0.95rem;
  opacity: 0.75;
}
.footer-dev {
  font-size: 0.95rem;
  opacity: 0.85;
}
.footer-dev a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
}
.footer-socials {
  margin-top: 12px;
  display: flex;
  gap: 14px;
}
.footer-icon {
  width: 32px;
  height: 32px;
  color: var(--neon-cyan);
  opacity: 0.9;
  transition: 0.25s;
}
.footer-icon:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* SRC-GPT SECTION -------------------------------------- */

.src-gpt-section {
  margin-top: 80px;
  padding: 80px 20px;
}

.src-gpt-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.src-gpt-subtitle {
  font-size: 1.05rem;
  opacity: 0.75;
  margin-bottom: 40px;
}

.src-gpt-box {
  padding: 35px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 25px rgba(0,234,255,0.15);
  border: 1px solid rgba(0,234,255,0.2);
  backdrop-filter: blur(12px);
  max-width: 850px;
  margin: auto;
}

.src-gpt-heading {
  font-size: 1.6rem;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.src-gpt-text {
  line-height: 1.7rem;
  opacity: 0.9;
  margin-bottom: 25px;
}

.src-gpt-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 14px;
  background: rgba(0,234,255,0.15);
  border: 1px solid var(--neon-cyan);
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.25s;
}

.src-gpt-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px var(--neon-cyan);
}

/* Parallax Effect */
  .parallax-bg {
    background-attachment: fixed;
    transform: translateZ(0);
  }

  /* Neon text glow */
  .neon-text {
    text-shadow: 0 0 8px #00ffff, 0 0 14px #00ffff, 0 0 22px #00ffff;
  }

  /* Softer glow for paragraph */
  .neon-faint {
    text-shadow: 0 0 4px rgba(0,255,255,0.5);
  }

  /* ----------------------------------------
   PARALLAX SECTION FOR ABOUT SRC
----------------------------------------- */

.src-parallax {
  position: relative;
  width: 100%;
  height: 95vh;
  background: url("../assets/iiserh.webp") center/cover fixed;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dark hologram overlay */
.src-parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
}

/* Glassmorphism card */
.src-parallax-content {
  position: relative;
  width: 60%;
  padding: 30px 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  z-index: 3;
  animation: holoFade 1.2s ease-out;
}

/* Neon gradient title */
.src-parallax-title {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}

/* Body text */
.src-parallax-text {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65rem;
  opacity: 0.95;
}

/* Fade entry */
@keyframes holoFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ----------------------------------------
   Mobile Responsive
----------------------------------------- */
@media (max-width: 768px) {
  .src-parallax {
    height: auto;
    padding: 90px 0;
    background-attachment: scroll;
  }

  .src-parallax-content {
    width: 90%;
    padding: 25px;
  }

  .src-parallax-title {
    font-size: 1.8rem;
  }
}
