@import url('https://googleapis.com');

:root {
  --bg: #000000;
  --bg2: #000000;
  --aqua: #00e5ff;
  --blue: #009dff;
  --purple: #7c3aed;
  --glass: rgba(86, 190, 204, 0.72);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color: #fff;
  overflow-x: hidden;
}

a:link {
  color: #ffffff; /* Replace with your preferred color */
}

a:visited {
  color: #ffffff; /* Replace with your preferred color or hex code */
}

a.button {
    padding: 1px 3px;
    border-radius: 5px;
    border-width: 14px;
    color: rgb(86, 190, 204);
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.95;
    
}
/* 🌐 cyber grid glow layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(0, 229, 255, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 60%,
      rgba(124, 58, 237, 0.07),
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(0, 157, 255, 0.05),
      transparent 50%
    );

  filter: blur(60px);
  transform: scale(1.2);
}

/* optional: subtle noise feel (modern cyber texture) */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle, transparent 60%, rgba(0,0,0,0.6));
}
nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  padding: 18px 6%;
  background: rgba(26, 222, 236, 0.7);
  backdrop-filter: blur(14px);
  z-index: 10;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
}
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem;

  /* background image */
  /*background-image: url("../img/bg5.png");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}
.accent {
  color: var(--aqua);
}
.btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--aqua);
  color: white;
}

section {
  padding: 90px 8%;
}
.section-title {
  font-size: 2.4rem;
  margin-bottom: 30px;
  
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--glass);
  border: 1px solid rgba(0, 229, 255, 0.18);
  backdrop-filter: blur(16px);
  padding: 24px;
  border-radius: 18px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  padding: 25px;
  background: var(--glass);
  border-radius: 16px;
  text-align: center;
}
.marquee {
  overflow: hidden;
}
.track {
  display: flex;
  width: max-content;
  animation: scroll 80s linear infinite;
}
.logo {
  width: 230px;
  height: 100px;
  padding: 18px 32px;
  margin: 10px;
  border-radius: 12px;
  
}
.logo img {
  width: 100%;        /* Fills the container's width */
  height: 100%;       /* Fills the container's height */
  object-fit: contain; /* Prevents stretching, maintains aspect ratio */
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.timeline {
  border-left: 2px solid var(--aqua);
  padding-left: 20px;
}
.event {
  margin-bottom: 25px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 14px;
  margin: 8px 0;
  background: #111827;
  color: white;
  border: 1px solid #334155;
  border-radius: 8px;
}

footer {
  padding: 50px;
  text-align: center;
  border-top: 1px solid #1e293b;
}
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== TESTIMONIALS SECTION (hts-unique) ===== */
.hts-testimonials-section {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.hts-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hts-section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1A2A3F, #1e4a76);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.hts-section-header p {
  font-size: 1.2rem;
  color: #2c3e50;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

.hts-bubbles-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  perspective: 800px;
}

.hts-bubble-card {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  border-radius: 3rem;
  padding: 1.8rem 1.8rem 2rem;
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.2s;
}

.hts-bubble-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 48px -16px rgba(0, 0, 0, 0.25);
}

.hts-chat-bubble {
  position: relative;
  background: #ffffff;
  border-radius: 2rem 2rem 2rem 1rem;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.02);
}

.hts-bubble-card:first-child .hts-chat-bubble {
  border-radius: 2rem 2rem 1rem 2rem;
}

.hts-chat-bubble::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 28px;
  width: 20px;
  height: 20px;
  background: inherit;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
  transform: rotate(15deg);
  border-radius: 0 0 0 8px;
}

.hts-bubble-card:last-child .hts-chat-bubble::before {
  left: auto;
  right: 28px;
  transform: rotate(-15deg) scaleX(-1);
}

.hts-feedback-text {
  font-size: 1.2rem;
  line-height: 1.45;
  color: #1f2e3a;
  font-weight: 500;
  margin-bottom: 1rem;
  word-break: break-word;
}

.hts-feedback-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  border-top: 1px solid #eef2f8;
  padding-top: 0.9rem;
}

.hts-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2c7da0, #1f5068);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.hts-author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f3b4c;
}

.hts-author-info span {
  font-size: 0.8rem;
  color: #5a6e7c;
}

.hts-swap-animation-area {
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 3.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
}

.hts-section-subtitle {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f3e48;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hts-swap-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  position: relative;
}

.hts-animated-bubble-wrapper {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  perspective: 1200px;
}

.hts-rotating-bubble {
  background: white;
  border-radius: 2.5rem;
  padding: 1.8rem 2rem;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: hts-fadeSlideUp 0.45s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.hts-rotating-bubble::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 32px;
  width: 20px;
  height: 20px;
  background: white;
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
  transform: rotate(10deg);
  border-radius: 0 0 0 6px;
}

@keyframes hts-fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hts-rotating-bubble .hts-quote-icon {
  font-size: 2rem;
  color: #2c7da0;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hts-rotating-bubble .hts-stars {
  color: #f4b942;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.hts-mini-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hts-mini-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #3b8db0, #1e6280);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.hts-swap-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.hts-nav-btn {
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f5e7e;
  background: #fefefe;
}

.hts-nav-btn:hover {
  background: #eef3fc;
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.hts-nav-btn:active {
  transform: scale(0.96);
}

.hts-indicator-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.4rem 0 0.5rem;
}

.hts-dot {
  width: 8px;
  height: 8px;
  background: #b9cfdf;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
}

.hts-dot.hts-active {
  width: 28px;
  background: #2c7da0;
  border-radius: 12px;
}

.hts-extra-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #4b6f7e;
}

@media (max-width: 750px) {
  .hts-bubbles-showcase {
    flex-direction: column;
    align-items: center;
  }
  .hts-section-header h2 {
    font-size: 1.9rem;
  }
  .hts-rotating-bubble .hts-feedback-text {
    font-size: 1rem;
  }
  .hts-swap-animation-area {
    padding: 1.5rem;
  }
}

/* ===== TESTIMONIALS SECTION - Clean & Minimal ===== */
.hts-testimonials-section {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.hts-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hts-section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1A2A3F, #1e4a76);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.hts-section-header p {
  font-size: 1.2rem;
  color: #dfdfdf;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

.hts-swap-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  position: relative;
  margin: 2rem 0;
}

.hts-animated-bubble-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.hts-rotating-card {
  background: transparent;
  padding: 2rem;
  position: relative;
  animation: hts-fadeSlideUp 0.45s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes hts-fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hts-feedback-text {
  font-size: 1.35rem;
  line-height: 1.55;
  color: #c4c4c5;
  font-weight: 450;
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
}

.hts-author-info {
  text-align: center;
}

.hts-author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color:aqua;
  margin: 0 0 0.2rem 0;
}

.hts-author-org {
  font-size: 0.9rem;
  color: aquamarine;
  margin: 0;
}

.hts-swap-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.hts-nav-btn {
  background: white;
  border: 1px solid #dce5ec;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f5e7e;
}

.hts-nav-btn:hover {
  background: #f0f4f8;
  transform: scale(1.05);
  border-color: #bdd4e2;
}

.hts-nav-btn:active {
  transform: scale(0.96);
}

.hts-indicator-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
}

.hts-dot {
  width: 8px;
  height: 8px;
  background: #cbdbe2;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
}

.hts-dot.hts-active {
  width: 28px;
  background: #1e4a76;
  border-radius: 12px;
}

.hts-extra-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #ffffff;
}

@media (max-width: 700px) {
  .hts-section-header h2 {
    font-size: 1.8rem;
  }
  .hts-feedback-text {
    font-size: 1.1rem;
  }
  .hts-rotating-card {
    padding: 1.2rem;
  }
}


/* ===== Cyber Skills Level-Up! ===== */

/* Root color variables for aqua-grey theme */
    :root {
      --aqua: #3ccfcf;
      --aqua-soft: #9be7e7;
      --dark: #0f172a;
      --gray: #64748b;
      --bg: #f5f8fa;
      --card: #ffffff;
      --link-green: #7fffd4;
    }

    /* Body and typography */
    .cslu-body {
      margin: 0;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      color: var(--dark);
      background: var(--bg);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    .cslu-header {
      background: linear-gradient(180deg, #ffffff, #f5f5f5);
      text-align: center;
      padding: 5rem 1.5rem 4rem;
    }

    /* CSLU Logo placeholder */
    .cslu-logo-placeholder {
      margin: 0 auto 1.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--aqua);
      font-weight: 600;
      font-size: 0.85rem;
    }

    /* Headings 
    h1 { font-size: 2.4rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
    h2 { color: var(--aqua); margin-top: 3.5rem; font-size: 1.6rem; letter-spacing: -0.015em; }
    h3 { margin-top: 2rem; font-size: 1.1rem; letter-spacing: -0.01em; }

    p.lead { max-width: 720px; margin: 0.75rem auto 0; font-size: 1.1rem; color: var(--gray); }

    main { max-width: 980px; margin: 0 auto; padding: 3.5rem 1.5rem; }
    section { margin-bottom: 3.5rem; }
    ul { padding-left: 1.25rem; }
    li { margin-bottom: 0.4rem; }*/

    p.lead { max-width: 1200px; margin: 0.75rem auto 0; font-size: 2.1rem; color: var(--gray); }

    /* Event grid cards */
    .cslu-event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; margin-top: 1.75rem; }
    .cslu-event-card {
      background: var(--card);
      padding: 1.75rem;
      border-radius: 14px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.04);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .cslu-event-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
    .cslu-event-card h3 { margin-top: 0; margin-bottom: 0.4rem; }

    /* Collaboration CTA section */
    .cta {
      background: linear-gradient(180deg, #020617, #020617);
      color: #e5e7eb;
      padding: 3rem 2rem;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    }
    .cta p { max-width: 640px; margin: 0.75rem auto 0; color: #94a3b8; }
    .cta a, .cta button {
      display: inline-block;
      margin-top: 1.5rem;
      padding: 0.75rem 1.75rem;
      border-radius: 12px;
      border: 2px solid var(--aqua);
      color: #e5e7eb;
      text-decoration: none;
      font-weight: 600;
      background: none;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .cta a:hover, .cta button:hover { background: var(--aqua); color: #020617; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(94,234,212,0.35); }

    /*footer { text-align: center; padding: 2.5rem 1.5rem; font-size: 0.9rem; color: var(--gray); }*/

    /* Light green hyperlinks 
    a.light-green { color: var(--link-green); text-decoration: underline; }
    a.light-green:hover { color: var(--aqua); }*/

    /* Modal overlay for Quick Start Guide */
    .cslu-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.7); }
    .cslu-modal-content { background-color: var(--card); color: var(--dark); margin: 10% auto; padding: 2rem; border-radius: 16px; max-width: 650px; position: relative; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
    .cslu-modal-content .close { position: absolute; top: 1rem; right: 1rem; color: var(--gray); font-size: 1.5rem; font-weight: bold; cursor: pointer; transition: color 0.2s ease; }
    .cslu-modal-content .close:hover { color: var(--aqua); }
    .cslu-modal-content h2, .cslu-modal-content h3 { color: var(--aqua); }
    .cslu-modal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }

    /* Dark mode */
    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #0b1220;
        --card: #111827;
        --dark: #e5e7eb;
        --gray: #94a3b8;
        --aqua: #5eead4;
        --aqua-soft: #134e4a;
        --link-green: #7fffd4;
      }
      body { background: var(--bg); color: var(--dark); }
      header { background: linear-gradient(180deg, #0f172a, #020617); }
      .event-card { box-shadow: 0 12px 32px rgba(0,0,0,0.65); }
      footer { color: var(--gray); }
    }

    /* Events */
         /* body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background: url("https://www.rehack.xyz/home/assets/img/mobile-fallback.png")
          no-repeat center center fixed;
        background-size: cover;
        color: aquamarine;
      }*/
      .ev-container {
        max-width: 2000px;
        margin: 20px auto;
        padding: 20px;
        border-radius: 10px;
      }
      .ev-tabs {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
      }
      .ev-tab {
        padding: 15px 30px;
        cursor: pointer;
        background: aquamarine;
        color: #000;
        border-radius: 5px;
        margin: 0 10px;
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
      }
      .ev-tab.active {
        background: #004d4d;
        color: aquamarine;
      }
      .ev-events-section {
        display: none;
      }
      .ev-events-section.active {
        display: block;
      }
      .ev-event {
        border: 1px solid aquamarine;
        margin-bottom: 20px;
        padding: 20px;
        border-left: 5px solid aquamarine;
        border-radius: 8px;
      }
      .ev-event h3 {
        margin: 0 0 10px;
        font-size: 1.5em;
        color: aquamarine;
      }
      .ev-event .date {
        color: #ccc;
        font-size: 1.2em;
      }
      .ev-event a {
        display: inline-block;
        margin-top: 10px;
        padding: 10px 15px;
        background-color: aquamarine;
        color: #004d4d;
        border-radius: 5px;
        text-decoration: none;
        font-size: 1em;
        font-weight: bold;
      }
      .ev-event a:hover {
        background-color: #004d4d;
        color: aquamarine;
      }

      /* Projects */
        .proj-event-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: left;
        margin: 20px;
      }
      .proj-event-card {
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        max-width: 400px;
        text-align: left;
        display: flex;
        flex-direction: column;
        color: #fff;
      }
      .proj-event-card img {
        width: 100%;
        height: auto;
      }
      .proj-event-card-content {
        padding: 15px;
      }
      .proj-event-card-content h2 {
        font-size: 18px;
        color: #00ffcc;
        margin: 0 0 10px;
      }
      .proj-event-card-content p {
        font-size: 14px;
        margin: 0 0 10px;
      }
      .proj-event-card-content a {
        color: #00ffcc;
        text-decoration: none;
        font-weight: bold;
      }