/* === FONT FACE DECLARATIONS === */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans[wght].ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* === GLOBAL RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --neutral: #010214;
  --bg-dark: #050816;
  --bg-dark-alt: #070b1f;
  --accent-purple: #7b5cff;
  --accent-purple-light: #a855ff;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-muted-light: rgba(255, 255, 255, 0.9);
  --border-color: rgba(255, 255, 255, 0.1);
  --Typo-Typo-1: #EEE;
  --Typo-Typo-2: rgba(255, 255, 255, 0.7);
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--neutral, #010214);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(var(--max-width), 100% - 3rem);
  margin-inline: auto;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--neutral, #010214);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
  padding-left: 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text-line1 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
}

.logo-text-line2 {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.navbar-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.25rem;
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-join {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-weight: 500;
}

.btn-join:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  background: rgba(5, 8, 22, 0.98);
  border-top: 1px solid var(--border-color);
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  color: var(--text-white);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mobile-nav-link:hover {
  background-color: rgba(123, 92, 255, 0.1);
}

.btn-join-mobile {
  margin-top: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.btn-join-mobile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* === HERO / INTRO === */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 280px;
  padding-bottom: 11rem;
  background: var(--neutral, #010214);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 1;
  position: relative;
}

.hero-design {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 500px;
  height: 500px;
}

.hero-design-left {
  left: -5%;
}

.hero-design-right {
  right: -5%;
}

.hero-design-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(123, 92, 255, 0.3));
}

.hero-design-right .hero-design-svg {
  transform: scaleX(-1);
}

.hero-label {
  display: none;
}

.hero-title {
  color: #FFF;
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 56px;
  font-style: normal;
  font-weight: 800;
  line-height: 64px; /* 114.286% */
  letter-spacing: -0.56px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--Typo-Typo-2, rgba(255, 255, 255, 0.7));
  text-align: center;
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 162.5% */
  max-width: 700px;
  margin: 0 auto 3rem;
}

.btn-register {
  display: flex;
  width: 205px;
  height: 50px;
  padding: 16px 39px;
  justify-content: center;
  align-items: center;
  border-radius: 159px;
  border: 1px solid #6747F6;
  background: linear-gradient(144deg, #6A52B4 11.39%, #3A208E 79.95%);
  color: #FFFFFF;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  transition: all 300ms ease-out;
  box-shadow: 0 2px 15px rgba(106, 82, 180, 0.3), 0 4px 20px rgba(58, 32, 142, 0.2);
  letter-spacing: 0.5px;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(106, 82, 180, 0.4), 0 6px 25px rgba(58, 32, 142, 0.3);
}

/* === TIMELINE === */
.timeline-section {
  padding-block: 5rem;
  background: var(--neutral, #010214);
}

.timeline-wrapper {
  position: relative;
  padding: 3rem 0;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.timeline-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  align-items: center;
  min-height: 200px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.timeline-star {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33px;
  height: 33px;
  z-index: 2;
  pointer-events: none;
}

.timeline-star-dull {
  opacity: 1.0;
  filter: brightness(1.0);
}

.timeline-star-bright,
.timeline-star-bright-fallback {
  opacity: 1.0;
  filter: brightness(1.0);
  width: 60px;
  height: 60px;
}

.timeline-month {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid #454444;
  padding: 6px 29px;
  border-radius: 40px;
  font-size: 0.85rem;
  color: rgba(150, 150, 150, 0.8);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  z-index: 3;
  font-weight: 400;
  margin-bottom: 2rem;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-item:hover .timeline-month {
  border-color: rgba(150, 150, 150, 0.5);
  color: rgba(200, 200, 200, 0.9);
}

.timeline-item-active .timeline-month {
  background: rgba(10, 10, 20, 0.95);
  border: none;
  color: #FFFFFF;
  position: relative;
  padding: calc(0.5rem + 2px) calc(1rem + 2px);
}

.timeline-item-active .timeline-month::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(90deg, #FF0066 0%, #A694F8 25%, #A694F8 50%, #6747F6 75%, #6747F6 100%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
  filter: drop-shadow(0 0 8px rgba(255, 0, 150, 0.6)) drop-shadow(0 0 12px rgba(103, 71, 246, 0.6));
}

.timeline-event {
  font-family: "Plus Jakarta Sans";
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: rgba(217, 217, 217, 0.7);
  margin-top: 5rem;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  white-space: normal;
  text-align: center;
  max-width: 100px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-item-active .timeline-event {
  color: #FFFFFF;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* === ABOUT THE COURSE === */
.about-section {
  padding-block: 6rem;
  padding-top: 80px;
  background: var(--neutral, #010214);
}

.section-title {
  font-family: "Plus Jakarta Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px; /* 120% */
  letter-spacing: -0.2px;
  color: var(--Typo-Typo-1, #EEE);
  margin-bottom: 2rem;
  text-align: center;
}

.about-content {
  width: 100%;
  margin: 0 0 4rem;
}

.about-text {
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 162.5% */
  color: var(--Typo-Typo-2, rgba(255, 255, 255, 0.7));
  text-align: justify;
}

.stats-strip {
  display: flex;
  gap: 0;
  margin-top: 4rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.stat-card {
  flex: 1;
  padding: 2.5rem 3rem;
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: "Plus Jakarta Sans";
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px; /* 75% */
  letter-spacing: -0.32px;
  color: #8D51F2;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(141, 81, 242, 0.4);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-white);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

/* === OUR PARTNERS === */
.partners-section {
  padding-block: 6rem;
  background: var(--neutral, #010214);
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(69, 42, 187, 0.12) 0%,
    rgba(69, 42, 187, 0.08) 30%,
    rgba(14, 15, 36, 0.2) 70%,
    rgba(14, 15, 36, 0.3) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.partners-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(69, 42, 187, 0.1) 0%,
    rgba(69, 42, 187, 0.03) 40%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
}

.partners-section .container {
  position: relative;
  z-index: 1;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.partner-card {
  background: rgba(30, 30, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  height: auto;
}

.partner-logo {
  max-width: 85%;
  max-height: 50px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* === THE THOUGHT BEHIND THE STORM === */
.thought-section {
  padding-block: 6rem;
  background: var(--neutral, #010214);
}

.thought-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.thought-left .section-title {
  text-align: left;
  margin-bottom: 0;
}

.thought-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-white);
  margin-bottom: 2.5rem;
}

.signature-block {
  margin-top: 2rem;
}

.signature-img {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.signature-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.signature-title {
  font-size: 0.95rem;
  color: var(--text-muted-light);
}

/* === RECAP GALLERY === */
.gallery-section {
  padding-block: 6rem;
  padding-top: 40px;
  background: var(--neutral, #010214);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.gallery-header .section-title {
  margin-bottom: 0;
  text-align: left;
}

.gallery-controls {
  display: flex;
  gap: 0.5rem;
}

.gallery-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-btn img,
.gallery-btn svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.gallery-container {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  overflow: hidden;
  min-width: 300px;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* === GET IN TOUCH / CONTACT === */
.contact-section {
  padding-block: 6rem;
  padding-top: 40px;
  background: var(--neutral, #010214);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: center;
}

.contact-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 8px 25px rgba(123, 92, 255, 0.15);
  transform: translateY(-2px);
}

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-weight: 500;
}

.contact-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.contact-btn:hover {
  background: rgba(123, 92, 255, 0.1);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 520px;
}

.contact-cta-block {
  margin-bottom: 1.5rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: min(520px, 100%);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border 0.2s, transform 0.2s;
}

.contact-pill:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.contact-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-pill-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.contact-pill-text {
  font-weight: 500;
  letter-spacing: 0.2px;
}

.contact-divider {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  min-height: 320px;
}

.convener-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.convener-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 8px 25px rgba(123, 92, 255, 0.15);
}

.convener-img {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: none;
}

.convener-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.convener-role {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  margin-bottom: 1.5rem;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.convener-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-icon:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.social-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* === FOOTER === */
.footer {
  background: var(--neutral, #010214);
  border-top: 1px solid var(--border-color);
  padding-block: 4rem 2rem;
  position: relative;
}


.footer-content {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 0 60px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-col-left {
  display: flex;
  flex-direction: column;
}

.footer-col-middle {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-logo-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
}

.footer-logo-location {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  margin-top:1.5rem;
  max-width: 300px;
}

.footer-follow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.follow-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.footer-social-icon:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

.footer-social-icon img,
.footer-social-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-purple);
}

.footer-bottom {
  text-align: right;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === RESPONSIVE DESIGN === */

/* Large Laptop and below (1400px) */
@media (max-width: 1400px) {
  .container {
    width: min(1200px, 100% - 3rem);
  }

  .timeline-items {
    gap: 0.5rem;
  }

  .timeline-item {
    flex: 1;
    min-width: 100px;
  }
}

/* Laptop and below (1200px) */
@media (max-width: 1200px) {
  .container {
    width: min(1000px, 100% - 2rem);
  }

  .timeline-items {
    gap: 0.5rem;
  }

  .timeline-item {
    flex: 1;
    min-width: 90px;
  }

  .timeline-month {
    padding: 6px 22px;
    font-size: 0.8rem;
  }

  .timeline-event {
    font-size: 12px;
    line-height: 18px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 56px);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 16px);
  }
}

/* Tablet and below (968px) */
@media (max-width: 968px) {
  .navbar-nav {
    display: none;
  }

  .btn-join {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 6rem;
    min-height: 70vh;
  }

  .hero-design {
    width: 350px;
    height: 350px;
  }

  .hero-design-svg {
    opacity: 0.4;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 56px);
    line-height: 1.2;
    text-align: center;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 16px);
    padding: 0 1rem;
    text-align: center;
    margin: 0 auto 3rem;
  }

  .timeline-section {
    padding-block: 4rem;
  }

  .timeline-wrapper {
    padding: 2rem 0;
  }

  .timeline-items {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .timeline-item {
    flex: 0 1 calc(25% - 0.5rem);
    min-width: 110px;
    min-height: 180px;
  }

  .timeline-month {
    padding: 5px 18px;
    font-size: 0.75rem;
  }

  .timeline-event {
    font-size: 11px;
    line-height: 16px;
  }

  .thought-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .thought-left .section-title {
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-divider {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem 0;
  }


  .footer-bottom {
    text-align: center;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 280px;
  }

  .about-section,
  .partners-section,
  .thought-section,
  .gallery-section,
  .contact-section {
    padding-block: 4rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 2rem);
  }

  .hero {
    min-height: 60vh;
    padding-top: 100px;
    padding-bottom: 4rem;
  }

  .hero-design {
    width: 280px;
    height: 280px;
  }

  .hero-design-svg {
    opacity: 0.3;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: clamp(0.85rem, 3vw, 1rem);
    margin-bottom: 2rem;
  }

  .btn-register {
    width: auto;
    padding: 14px 32px;
    font-size: 1rem;
  }

  .timeline-items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .timeline-item {
    flex: 0 1 calc(50% - 0.5rem);
    min-width: 130px;
    min-height: 160px;
  }

  .timeline-month {
    padding: 6px 20px;
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .timeline-event {
    font-size: 11px;
    line-height: 16px;
    margin-top: 1.5rem;
  }

  .timeline-item-active .timeline-event {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .section-title {
    font-size: clamp(28px, 6vw, 40px);
    line-height: clamp(34px, 7.2vw, 48px);
  }

  .about-text {
    font-size: 14px;
    line-height: 22px;
    padding: 0 1rem;
    text-align: justify;
  }

  .stats-strip {
    flex-direction: column;
    border-radius: 8px;
      gap: 0;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1rem;
    align-items: center;
    text-align: center;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .stat-number {
    font-size: clamp(40px, 10vw, 56px);
    line-height: clamp(32px, 8vw, 42px);
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .partner-card {
    padding: 1.5rem;
  }

  .thought-text {
    font-size: 1rem;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-pill {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .contact-pill-icon {
    width: 36px;
    height: 36px;
  }

  .contact-pill-icon img {
    width: 20px;
    height: 20px;
  }

  .convener-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .convener-img {
    width: 140px;
    height: 140px;
  }

  .convener-name {
    font-size: 1.1rem;
  }

  .convener-role {
    font-size: 0.85rem;
    max-width: 100%;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon img {
    width: 20px;
    height: 20px;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 250px;
  }

  .gallery-item img {
    height: 280px;
  }

  .gallery-btn {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
  }

  .gallery-btn img {
    width: 20px;
    height: 20px;
  }

  .footer-content {
    gap: 2.5rem 0;
  }

  .footer-social {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .footer-social-icon img {
    width: 20px;
    height: 20px;
  }
}

/* Small Mobile (640px and below) */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .navbar-inner {
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .logo-img {
    height: 32px;
  }

  .hero {
    min-height: 50vh;
    padding-top: 80px;
    padding-bottom: 3rem;
  }

  .hero::before {
    width: 60%;
    left: -20%;
  }

  .hero-design-left,
  .hero-design-right {
    display: none;
  }

  .timeline-section {
    padding-block: 3rem;
  }

  .timeline-wrapper {
    padding: 1.5rem 0;
  }

  .timeline-items {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .timeline-line {
    display: none;
  }

  .timeline-item {
    width: 100%;
    max-width: 280px;
    min-width: auto;
    min-height: auto;
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .timeline-item::before {
    display: none;
  }

  .timeline-star {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1rem auto;
    display: block;
  }

  .timeline-month {
    margin-bottom: 1rem;
    margin-top: 0;
    order: 1;
  }

  .timeline-event {
    margin-top: 1rem;
    margin-bottom: 0;
    order: 3;
  }

  .timeline-item-active .timeline-event {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .stats-strip {
    flex-direction: column;
    gap: 2rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .partner-card {
    padding: 1rem;
  }

  .gallery-item {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-title {
    font-size: 28px;
    line-height: 34px;
  }

  .about-section,
  .partners-section,
  .thought-section,
  .gallery-section,
  .contact-section,
  .timeline-section {
    padding-block: 3rem;
  }

  .navbar-inner {
    padding: 0.75rem 0;
  }

  .logo-img {
    height: 32px;
  }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
    padding: 0 0.5rem;
  }

  .navbar-inner {
    padding: 0.625rem 0.75rem;
  }

  .logo-img {
    height: 28px;
  }

  .hero {
    padding-top: 70px;
    padding-bottom: 2.5rem;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .btn-register {
    width: 100%;
    max-width: 260px;
    padding: 12px 24px;
    font-size: 0.9rem;
    min-height: 44px; /* Touch-friendly */
  }

  .timeline-month {
    padding: 5px 18px;
    font-size: 0.7rem;
  }

  .timeline-event {
    font-size: 10px;
    line-height: 14px;
  }

  .timeline-item-active .timeline-event {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .about-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .stat-number {
    font-size: 40px;
    line-height: 30px;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding-block: 3rem;
  }

  .contact-content {
    gap: 2rem;
  }

  .contact-intro {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0;
  }

  .contact-pill {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    min-height: 44px; /* Touch-friendly */
  }

  .contact-pill-icon {
    width: 32px;
    height: 32px;
  }

  .contact-pill-icon img {
    width: 18px;
    height: 18px;
  }

  .convener-card {
    padding: 1.25rem;
  }

  .convener-img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }

  .convener-name {
    font-size: 1rem;
    margin-bottom: 0.375rem;
  }

  .convener-role {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    min-width: 44px; /* Touch-friendly */
    min-height: 44px;
  }

  .social-icon img {
    width: 18px;
    height: 18px;
  }

  .gallery-section {
    padding-block: 3rem;
  }

  .gallery-item {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .gallery-item img {
    height: 220px;
  }

  .gallery-header {
    margin-bottom: 1.5rem;
  }

  .gallery-title {
    font-size: 1.5rem;
  }

  .footer {
    padding-block: 3rem 2rem;
  }

  .footer-content {
    gap: 2rem 0;
  }

  .footer-description {
    font-size: 0.85rem;
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
  }

  .footer-social {
    gap: 0.75rem;
  }

  .footer-social-icon {
    min-width: 44px; /* Touch-friendly */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-social-icon img {
    width: 20px;
    height: 20px;
  }

  .footer-heading {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .footer-links {
    font-size: 0.85rem;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
    text-align: center;
  }
}

/* Very Small Mobile (360px and below) */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 0.75rem);
    padding: 0 0.375rem;
  }

  .navbar-inner {
    padding: 0.5rem 0.5rem;
  }

  .logo-img {
    height: 24px;
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 2rem;
    min-height: 45vh;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .btn-register {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
  }

  .section-title {
    font-size: 22px;
    line-height: 28px;
  }

  .about-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .stat-number {
    font-size: 36px;
    line-height: 28px;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .partner-card {
    padding: 0.875rem;
    min-height: 70px;
  }

  .partner-logo {
    max-height: 40px;
  }

  .timeline-month {
    padding: 4px 12px;
    font-size: 0.65rem;
  }

  .timeline-event {
    font-size: 9px;
    line-height: 13px;
  }

  .contact-pill {
    padding: 0.625rem 0.875rem;
    font-size: 0.8rem;
  }

  .convener-img {
    width: 100px;
    height: 100px;
  }

  .convener-name {
    font-size: 0.95rem;
  }

  .convener-role {
    font-size: 0.75rem;
  }

  .gallery-item img {
    height: 200px;
  }

  .footer {
    padding-block: 2.5rem 1.5rem;
  }

  .footer-description {
    font-size: 0.8rem;
  }

  .footer-heading {
    font-size: 0.9rem;
  }

  .footer-links {
    font-size: 0.8rem;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }
}

