*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #e63428;
  --orange: #f5a623;
  --blue: #1a3c8f;
  --dark: #1a1a2e;
  --text: #333;
  --light-bg: #f8f8f8;
  --border: #e5e5e5;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 60px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-logo-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.btn-past {
  background: transparent;
  color: var(--blue) !important;
  border: 2px solid var(--blue);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-past i,
.btn-register i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-past:hover {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(26, 60, 143, 0.2);
  transform: translateY(-1px);
}

.btn-past:hover i {
  transform: rotate(-30deg);
}

.btn-register {
  background: linear-gradient(135deg, var(--red) 0%, #ff5247 100%);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(230, 52, 40, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  animation: register-pulse 2s infinite ease-in-out;
}

@keyframes register-pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(230, 52, 40, 0.3);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 6px 25px rgba(230, 52, 40, 0.55);
    transform: translateY(-1px);
  }
}

.btn-register:hover {
  background: linear-gradient(135deg, #d0281e 0%, #e63428 100%);
  box-shadow: 0 8px 24px rgba(230, 52, 40, 0.6);
  transform: translateY(-3px) scale(1.02);
  animation: none; /* pause pulse on hover */
}

.btn-register:hover i {
  transform: rotate(45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 !important;
}

.hero picture {
  display: block;
  width: 100%;
}

.hero picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 70px 60px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 14px;
  color: #666;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.tag-red {
  background: #fff0ee;
  color: var(--red);
  border: 1px solid #ffc5bf;
}

.tag-blue {
  background: #eef2ff;
  color: var(--blue);
  border: 1px solid #c5d1f8;
}

.tag-orange {
  background: #fff8ee;
  color: var(--orange);
  border: 1px solid #fddda0;
}

.tag-green {
  background: #efffef;
  color: #27ae60;
  border: 1px solid #a8e6b0;
}

/* ===== STATS ===== */
.stats-section {
  background: #fff;
  padding: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.04;
  z-index: 1;
}

.stat-card:nth-child(1)::after,
.stat-card:nth-child(4)::after {
  background: var(--red);
}

.stat-card:nth-child(2)::after,
.stat-card:nth-child(5)::after {
  background: var(--orange);
}

.stat-card:nth-child(3)::after,
.stat-card:nth-child(6)::after {
  background: var(--blue);
}

.stat-card:hover::after {
  height: 100%;
}

.stat-card .stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.stat-card .stat-num {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: #555;
}

.stat-card:nth-child(1) .stat-num,
.stat-card:nth-child(4) .stat-num {
  color: var(--red);
}

.stat-card:nth-child(2) .stat-num,
.stat-card:nth-child(5) .stat-num {
  color: var(--orange);
}

.stat-card:nth-child(3) .stat-num,
.stat-card:nth-child(6) .stat-num {
  color: var(--blue);
}

.stat-card:nth-child(1) .stat-icon {
  color: var(--red);
}

.stat-card:nth-child(2) .stat-icon {
  color: var(--orange);
}

.stat-card:nth-child(3) .stat-icon {
  color: var(--blue);
}

.stat-card:nth-child(4) .stat-icon {
  color: var(--red);
}

.stat-card:nth-child(5) .stat-icon {
  color: var(--orange);
}

.stat-card:nth-child(6) .stat-icon {
  color: var(--blue);
}

.stat-card:nth-child(1) {
  border-bottom: 3px solid var(--red);
}

.stat-card:nth-child(2) {
  border-bottom: 3px solid var(--orange);
}

.stat-card:nth-child(3) {
  border-bottom: 3px solid var(--blue);
}

.stat-card:nth-child(4) {
  border-bottom: 3px solid var(--red);
}

.stat-card:nth-child(5) {
  border-bottom: 3px solid var(--orange);
}

.stat-card:nth-child(6) {
  border-bottom: 3px solid var(--blue);
}

/* ===== ABOUT ===== */
.about-section {
  background: #fff;
  padding: 70px 60px;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-images {
  flex: 0 0 420px;
  position: relative;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 210px;
}

.about-img-bottom {
  margin-top: 12px;
  height: 210px;
}

.about-img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  position: relative;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-images:hover .about-img-wrapper img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  top: 216px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--orange);
  color: #fff;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 6px 25px rgba(245, 166, 35, 0.4);
  z-index: 2;
  border: 5px solid #fff;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.about-images:hover .about-badge {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.6);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 24px;
}

.info-box {
  background: linear-gradient(135deg, rgba(26, 60, 143, 0.02) 0%, rgba(26, 60, 143, 0.07) 100%);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(26, 60, 143, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-box:hover {
  transform: translateX(6px);
  background: linear-gradient(135deg, rgba(26, 60, 143, 0.05) 0%, rgba(26, 60, 143, 0.1) 100%);
  box-shadow: 0 6px 20px rgba(26, 60, 143, 0.06);
}

.info-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.info-box p {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

/* ===== WHY ATTEND ===== */
.why-section {
  background: var(--light-bg);
  padding: 70px 60px;
}

.why-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-content {
  flex: 1;
}

.why-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.wave-icon {
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 16px;
}

.why-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 24px;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-item {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  border-left: 4px solid;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-item:hover {
  transform: translateX(6px) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.why-item:nth-child(1) {
  border-color: var(--blue);
}

.why-item:nth-child(2) {
  border-color: var(--red);
}

.why-item:nth-child(3) {
  border-color: var(--orange);
}

.why-item:nth-child(4) {
  border-color: #27ae60;
}

.why-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.why-item p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.why-image {
  flex: 0 0 420px;
}

.why-image img {
  width: 100%;
  border-radius: 10px;
  border: 4px solid var(--orange);
  box-shadow: 10px 10px 0 var(--blue);
}

/* ===== KEY HIGHLIGHTS ===== */
.highlights-section {
  background: #fff;
  padding: 70px 60px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.highlight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--blue), var(--orange));
  border-radius: 14px 14px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(26, 60, 143, 0.1);
  border-color: rgba(26, 60, 143, 0.15);
}

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-card:hover .highlight-icon-placeholder {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--blue) 0%, #2a52b8 100%);
  color: #fff;
}

.highlight-icon-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f4fd, #d0e8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
  box-shadow: 0 4px 10px rgba(26, 60, 143, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-icon-placeholder svg {
  width: 32px;
  height: 32px;
  display: block;
}

.highlight-icon-placeholder .primary-path {
  stroke: var(--blue);
  stroke-width: 1.75;
  transition: stroke 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-icon-placeholder .secondary-path {
  stroke: var(--orange);
  stroke-width: 1.75;
  transition: stroke 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover .primary-path {
  stroke: #ffffff;
}

.highlight-card:hover .secondary-path {
  stroke: #ffc27a; /* elegant soft orange/gold contrast on blue background */
}

.highlight-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ===== SPEAKERS ===== */
.speakers-section {
  background: var(--light-bg);
  padding: 70px 60px;
}

.speakers-scroll-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px; /* leave room for floating navigation arrows */
}

.speakers-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 24px;
  padding: 15px 5px 25px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* hide default scrollbar on Firefox */
}

/* Hide default scrollbar on Chrome, Safari, and Opera */
.speakers-grid::-webkit-scrollbar {
  display: none;
}

.speaker-card {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 380px;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(26, 60, 143, 0.2); /* theme blue */
}

/* Photo card frame — fills the area, crops from the bottom so faces stay visible */
.speaker-img-container {
  width: 100%;
  height: 230px;
  overflow: hidden;           /* hard clip so no scrollbar ever shows here */
  position: relative;
  background: #e8ecf3;
  border-bottom: 1px solid #eaeaea;
  flex-shrink: 0;
}

.speaker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fills the frame completely */
  object-position: top center; /* keeps the face / head in frame */
  display: block;
  transition: transform 0.45s ease;
}

.speaker-card:hover .speaker-img {
  transform: scale(1.06);
}

.speaker-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8ecf3;
  position: absolute;
  top: 0; left: 0;
}

.speaker-img-placeholder i {
  font-size: 60px;
  color: #cdd4e0;
}

.speaker-info {
  padding: 16px;
  border-top: 3px solid var(--red);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  background: #fff;
}

.speaker-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.35;
}

.speaker-info p {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.45;
  word-wrap: break-word;
}

/* Premium Floating Arrow Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--blue);
  font-size: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.scroll-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(26, 60, 143, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.scroll-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: -8px;
}

.next-btn {
  right: -8px;
}

/* ===== SPEAKER DOT INDICATORS ===== */
.speaker-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.speaker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d5e0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
  display: inline-block;
  flex-shrink: 0;
}

.speaker-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--red);
}

/* ===== EVENT CONTACT ===== */
.contact-section {
  background: #fff;
  padding: 70px 60px;
}

/* Two-column row: event card left | image right — equal height & width */
.contact-inner {
  display: flex;
  align-items: stretch;   /* both columns grow to the same height */
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Both columns take exactly half the row width */
.contact-card-col,
.contact-img {
  flex: 1 1 0;
  min-width: 0;
}

/* Event card fills full column height */
.contact-card-col {
  display: flex;
  flex-direction: column;
}

.contact-card-col .event-card-link,
.contact-card-col .event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card-col .event-card-details {
  flex: 1;            /* stretches the details area to fill remaining card height */
  justify-content: center;
}

/* Image fills full column height and width, cropped cleanly */
.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: block;
}

.event-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.event-card-link:hover .event-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 60, 143, 0.15);
}

.event-card {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(26, 60, 143, 0.08);
  width: 100%;           /* fills the right column fully */
  border-left: 4px solid var(--blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Header strip inside the card */
.event-card-header {
  background: linear-gradient(135deg, var(--blue) 0%, #2a52b8 100%);
  padding: 20px 24px 18px;
}

.event-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

/* Details block */
.event-card-details {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Each detail row */
.event-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Circular icon badge */
.event-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-detail-icon i {
  font-size: 14px;
  color: var(--blue);
}

/* Label + value stacked */
.event-detail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #999;
}

.event-detail-value {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.45;
}

/* Badge in header */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.event-badge i {
  font-size: 8px;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.contact-img {
  flex: 0 0 420px;
}

.contact-img img {
  width: 100%;
  border-radius: 10px;
}

/* ===== UNIVERSITIES ===== */
.universities-section {
  background: var(--light-bg);
  padding: 70px 60px;
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns for a perfect 25-card layout */
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

.uni-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 95px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  text-decoration: none;
}

.uni-card img {
  max-height: 55px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.uni-card {
  cursor: pointer;
}

.uni-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(26, 60, 143, 0.12);
  border-color: var(--blue);
}

.uni-card:hover img {
  transform: scale(1.05);
}

.uni-name-fallback {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  line-height: 1.35;
  padding: 0 4px;
}

.uni-card-placeholder {
  width: 50px;
  height: 50px;
  background: #eee;
  border-radius: 6px;
}

.explore-btn {
  display: block;
  margin: 0 auto;
  background: var(--orange);
  color: #fff;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.explore-btn:hover {
  background: #e09216;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.uni-india-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== PAST GLIMPSES ===== */
.glimpses-section {
  background: #fff;
  padding: 70px 60px;
}

/* ===== OPENING CRAWL — marquee rows ===== */

/* Outer mask — clips overflow and fades edges */
.crawl-track-wrap {
  overflow: hidden;
  margin-bottom: 16px;
  /* Fade the left and right edges for a cinematic look */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* The scrolling strip — wider than viewport */
.crawl-track {
  display: flex;
  gap: 14px;
  width: max-content;   /* as wide as all images combined */
}

/* === Scroll LEFT animation === */
.crawl-left {
  animation: crawl-to-left 30s linear infinite;
}

/* === Scroll RIGHT animation === */
.crawl-right {
  animation: crawl-to-right 30s linear infinite;
}

/* === Slower third row === */
.crawl-slow {
  animation-duration: 55s;
}

@keyframes crawl-to-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% = exactly one set of images (we duplicated them) */
}

@keyframes crawl-to-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Pause on hover for accessibility */
.crawl-track-wrap:hover .crawl-track {
  animation-play-state: paused;
}

/* Individual image tile */
.crawl-img {
  flex-shrink: 0;
  width: 260px;
  height: 175px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.crawl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.crawl-img:hover img {
  transform: scale(1.06);
}

/* ===== FOOTER ===== */
footer {
  background: #0f1526;
  color: #ccc;
  padding: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.footer-links a::before {
  content: '»';
  color: var(--orange);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  transform: scale(1.2);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-item i {
  color: var(--orange);
  font-size: 14px;
  margin-top: 2px;
}

.contact-item span {
  font-size: 13px;
  color: #aaa;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}

.social-links a.fb {
  background: #3b5998;
  color: #fff;
}

.social-links a.tw {
  background: #1da1f2;
  color: #fff;
}

.social-links a.ig {
  background: #e1306c;
  color: #fff;
}

.social-links a.li {
  background: #0077b5;
  color: #fff;
}

.footer-contact-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 20px 0 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #666;
}

/* Dots decoration */
.dots-deco {
  position: absolute;
  opacity: 0.15;
}

/* ============================================================
   RESPONSIVE — Tablet  ≤ 900px
   ============================================================ */
@media (max-width: 900px) {

  /* --- Global anchor --- */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* --- Navbar --- */
  nav {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-logo img {
    height: 36px;
  }

  .nav-links {
    gap: 10px;
  }

  .btn-past,
  .btn-register {
    padding: 7px 14px;
    font-size: 12px;
  }

  /* --- Sections common --- */
  section,
  .about-section,
  .why-section,
  .highlights-section,
  .speakers-section,
  .contact-section,
  .universities-section,
  .glimpses-section {
    padding: 50px 20px;
  }

  footer {
    padding: 40px 20px;
  }

  /* --- Stats --- */
  .stats-section {
    padding: 50px 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  /* --- About --- */
  .about-inner {
    flex-direction: column;
    gap: 36px;
  }

  .about-images {
    flex: unset;
    width: 100%;
    position: relative;
  }

  .about-img-grid {
    height: 180px;
  }

  .about-img-bottom {
    height: 200px;
  }

  .about-badge {
    width: 100px;
    height: 100px;
    font-size: 11px;
    top: 186px;
    transform: translate(-50%, -50%);
    border-width: 4px;
  }

  .about-content {
    width: 100%;
  }

  .about-content h2 {
    font-size: 24px;
  }

  /* --- Why Attend --- */
  .why-inner {
    flex-direction: column;
    gap: 36px;
  }

  .why-image {
    flex: unset;
    width: 100%;
  }

  .why-image img {
    box-shadow: 6px 6px 0 var(--blue);
  }

  .why-content h2 {
    font-size: 24px;
  }

  /* --- Highlights --- */
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  /* --- Speakers --- */
  .speakers-scroll-container {
    padding: 0;
  }

  .scroll-btn {
    display: none;
  }

  /* --- Contact / Event --- */
  .contact-inner {
    flex-direction: column;
    gap: 28px;
  }

  .contact-img,
  .contact-card-col {
    width: 100%;
    flex: unset;
  }

  .contact-img img {
    height: 220px;
  }

  /* --- Universities --- */
  .uni-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }

  .uni-india-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Glimpses --- */
  /* Scroll track has marquee, no grid needed */

  /* --- Footer --- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================================
   RESPONSIVE — Phone  ≤ 480px
   ============================================================ */
@media (max-width: 480px) {

  /* --- Navbar --- */
  nav {
    padding: 10px 16px;
  }

  .nav-links {
    gap: 8px;
  }

  .btn-past,
  .btn-register {
    padding: 6px 12px;
    font-size: 11px;
    gap: 5px;
  }

  /* --- Sections --- */
  section,
  .about-section,
  .why-section,
  .highlights-section,
  .speakers-section,
  .contact-section,
  .universities-section,
  .glimpses-section,
  .stats-section {
    padding: 40px 16px;
  }

  footer {
    padding: 36px 16px;
  }

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

  .section-sub {
    font-size: 13px;
  }

  /* --- Stats: single column on phones --- */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 14px;
  }

  .stat-card .stat-num {
    font-size: 26px;
  }

  /* --- About badge hidden on very small screens --- */
  .about-badge {
    display: none;
  }

  .about-content h2 {
    font-size: 20px;
  }

  /* --- Why --- */
  .why-content h2 {
    font-size: 20px;
  }

  /* --- Highlights: single column --- */
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  /* --- Speaker card width --- */
  .speaker-card {
    flex: 0 0 200px;
  }

  /* --- Contact card full width --- */
  .event-card {
    max-width: 100%;
  }

  .contact-img img {
    height: 200px;
  }

  /* --- Universities: 2 columns on phone --- */
  .uni-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .uni-india-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Glimpses: Marquee Sizing --- */
  .crawl-img {
    width: 170px;
    height: 115px;
  }

  /* --- Footer brand --- */
}

/* ============================================================
   RESPONSIVE — Narrow Tablet & Big Phone ≤ 600px
   ============================================================ */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
  }
  .nav-logo {
    justify-content: center;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }
}

/* ===== HERO ANIMATION ===== */
.hero picture img {
  animation: heroZoomIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes heroZoomIn {
  0% {
    transform: scale(1.06);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== SCROLL REVEAL SYSTEM ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(35px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== GLOBAL PREMIUM STYLES ===== */
::selection {
  background-color: var(--blue);
  color: #fff;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(to right, var(--blue), var(--orange), var(--red));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Floating Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(26, 60, 143, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--red);
  box-shadow: 0 6px 20px rgba(230, 52, 40, 0.45);
  transform: translateY(-3px) scale(1.08);
}

#back-to-top:active {
  transform: translateY(-1px) scale(0.95);
}

/* Hero Section Visual Polish */
.hero-overlay-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
  z-index: 2;
}

/* Scroll Down Mouse Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
  display: block;
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.mouse-icon .wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
}

/* Adjustments for smaller screens */
@media (max-width: 600px) {
  #back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .scroll-down-indicator {
    display: none; /* hide mouse scroll on small mobiles to save space */
  }
  .hero-overlay-fade {
    height: 80px;
  }
}

