/* body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.logo { height: 50px; }

.hero {
  text-align: center;
  padding: 80px 20px;
}

.btn {
  padding: 12px 30px;
  margin: 10px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.signup { background: #f59e0b; }
.login { background: #38bdf8; }

.performance-card {
  display: flex;
  align-items: center;
  margin: 50px;
  gap: 30px;
}

.performance-card.right {
  flex-direction: row-reverse;
}

.performance-card img {
  width: 300px;
  border-radius: 15px;
}

.organizers-track {
  display: flex;
  gap: 50px;
  overflow: hidden;
  animation: scroll 15s linear infinite;
}

.organizers-track img {
  height: 80px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feedback-box {
  text-align: center;
  padding: 40px;
}

.student-img {
  width: 120px;
  border-radius: 50%;
}

.circular-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
}

.circle {
  width: 90px;
  height: 90px;
  cursor: pointer;
}

.music-icon {
  position: absolute;
  top: 35px;
  left: 38px;
}
 */


.landing {
  width: 100%;
  background: linear-gradient(135deg, #2b2b2b, #444);
  color: white;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  height: 40px;
  width: auto;
}

.nav-links a {
  margin-left: 1.5rem;
  color: #f4c542;
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-family: "Georgia", serif;
  letter-spacing: 3px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.signup {
  background: #f4c542;
  color: #222;
}

.login {
  background: #333;
  color: white;
  border: 1px solid #f4c542;
}

.btn:hover {
  transform: scale(1.05);
}

/* Background Music */
.bg-music {
  position: fixed;
  bottom: 10px;
  left: 10px;
  opacity: 0.7;
}

/* ---------------- PERFORMANCE SECTION ---------------- */
.performance-section {
  background: #fef6d8;
  color: #222;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.performance-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.performance-card.show {
  opacity: 1;
  transform: translateY(0);
}

.performance-card.left {
  flex-direction: row;
}

.performance-card.right {
  flex-direction: row-reverse;
}

.performance-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0px 6px 20px rgba(0,0,0,0.25);
}

.performance-content {
  max-width: 600px;
}

.performance-content h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #222;
}

.performance-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ---------------- FEEDBACK SECTION ---------------- */
.feedback-section {
  background: #fef6d8;
  padding: 3rem 2rem;
  overflow-x: auto;
  white-space: nowrap;
}

.feedback-container {
  display: flex;
  gap: 2rem;
  animation: scrollFeedback 25s linear infinite;
}

@keyframes scrollFeedback {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feedback-card {
  background: #fff;
  color: #222;
  width: 260px;
  min-height: 320px;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid #add8e6;
  box-shadow: 0px 6px 16px rgba(0,0,0,0.15);
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.feedback-card:hover {
  transform: scale(1.05);
}

.student-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid #add8e6;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

.feedback-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.5;
  max-height: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.student-name {
  font-size: 1rem;
  font-weight: bold;
  color: #2b2b2b;
  margin-top: auto;
}

/* ---------------- RESPONSIVE ---------------- */

/* Tablets */
@media (max-width: 1024px) {
  .title {
    font-size: 3rem;
  }

  .performance-card {
    flex-direction: column;
    text-align: center;
  }

  .performance-card.right,
  .performance-card.left {
    flex-direction: column;
  }

  .performance-img {
    width: 180px;
    height: 180px;
  }

  .performance-content {
    max-width: 90%;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .title {
    font-size: 2.5rem;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .feedback-section {
    overflow-x: hidden;
  }

  .feedback-container {
    display: flex;
    gap: 1rem;
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .feedback-card {
    flex: 0 0 90%;
    margin: 0 auto;
    scroll-snap-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }

  .hero {
    padding: 0 0.5rem;
  }

  .performance-img {
    width: 150px;
    height: 150px;
  }

  .feedback-card {
    flex: 0 0 95%;
  }
}

/* 
.music-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1000;
  width: 280px;
}

.music-info {
  margin-bottom: 8px;
}

.music-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.music-desc {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

.bg-music {
  width: 100%;
  outline: none;
} */


.circular-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
  text-align: center;
  z-index: 1000;
}

.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 6;
}

.progress-ring-progress {
  fill: none;
  stroke: #4cafef;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}

.music-icon {
  font-size: 1.5rem;
  color: white;
  z-index: 2;
}

.rotate .music-icon {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.time-display {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #333;
}



.feedback-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.feedback-box {
  max-width: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 30px 25px;
  text-align: center;
  position: relative;
  transition: all 0.5s ease-in-out;
}

.student-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #4cafef;
}

.feedback-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 12px;
  font-style: italic;
}

.student-name {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
}

.dots {
  margin-top: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #4cafef;
}


.organizers-section {
  margin: 60px 0;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.organizers-slider {
  overflow: hidden;
  width: 100%;
}

.organizers-track {
  display: flex;
  gap: 60px;
  animation: scroll 25s linear infinite;
}

.organizer-card {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.organizer-logo {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.organizer-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.footer {
  background: #111;
  color: #ddd;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
  min-width: 250px;
  margin: 20px;
  text-align: center;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-center h3, .footer-right h3 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin-bottom: 8px;
}

.footer-center ul li a {
  text-decoration: none;
  color: #bbb;
  transition: 0.3s;
}

.footer-center ul li a:hover {
  color: #ff7eb3;
}

.footer-right p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #bbb;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ff7eb3;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0 5px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #aaa;
}


.organizer-card img{
  border-radius: 50%;
  width: 88px;
}



body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.logo { height: 50px; }

.hero {
  text-align: center;
  padding: 80px 20px;
}

.btn {
  padding: 12px 30px;
  margin: 10px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.signup { background: #f59e0b; }
.login { background: #38bdf8; }

.performance-card {
  display: flex;
  align-items: center;
  margin: 50px;
  gap: 30px;
}

.performance-card.right {
  flex-direction: row-reverse;
}

.performance-card img {
  width: 300px;
  border-radius: 15px;
}

.organizers-track {
  display: flex;
  gap: 50px;
  overflow: hidden;
  animation: scroll 15s linear infinite;
}

.organizers-track img {
  height: 80px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feedback-box {
  text-align: center;
  padding: 40px;
}

.student-img {
  width: 86px;
  border-radius: 50%;
}

.circular-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
}

.circle {
  width: 90px;
  height: 90px;
  cursor: pointer;
}

.music-icon {
  position: absolute;
  top: 35px;
  left: 38px;
}


.circular-player {
  width: 120px;
  cursor: pointer;
}

.circle {
  position: relative;
  width: 90px;
  height: 90px;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none; /* VERY IMPORTANT */
}

.music-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
}


.feedback-box {
  position: relative;
  max-width: 500px;
  margin: auto;
  text-align: center;
}

.feedback-item {
  display: none;
  animation: fade 0.6s ease-in-out;
}

.feedback-item.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dots {
  margin-top: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}


/* ================= GLOBAL RESPONSIVE FIXES ================= */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* ================= NAVBAR ================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    text-align: center;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-links a {
    margin: 0;
    font-size: 0.95rem;
  }
}

/* ================= HERO ================= */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 100px 16px 60px;
  }

  .title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* ================= PERFORMANCE SECTION ================= */
@media (max-width: 1024px) {
  .performance-card {
    flex-direction: column !important;
    text-align: center;
    margin: 30px 0;
  }

  .performance-img {
    width: 180px;
    height: 180px;
  }

  .performance-content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .performance-img {
    width: 140px;
    height: 140px;
  }

  .performance-content h2 {
    font-size: 1.4rem;
  }

  .performance-content p {
    font-size: 0.95rem;
  }
}

/* ================= FEEDBACK ================= */
@media (max-width: 768px) {
  .feedback-section {
    padding: 40px 15px;
  }

  .feedback-box {
    max-width: 100%;
    padding: 25px 18px;
  }

  .student-img {
    width: 70px;
    height: 70px;
  }

  .feedback-text {
    font-size: 0.95rem;
  }

  .student-name {
    font-size: 0.95rem;
  }
}

/* ================= ORGANIZERS SLIDER ================= */
@media (max-width: 768px) {
  .organizers-track {
    gap: 30px;
    animation-duration: 35s;
  }

  .organizer-logo {
    max-width: 90px;
    max-height: 60px;
  }
}

/* ================= MUSIC PLAYER ================= */
@media (max-width: 768px) {
  .circular-player {
    bottom: 16px;
    right: 16px;
    transform: scale(0.85);
  }
}

@media (max-width: 480px) {
  .circular-player {
    transform: scale(0.75);
  }
}

/* ================= FOOTER ================= */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    margin: 15px 0;
    text-align: center;
  }
}


/* ===== EVENT POPUP ===== */
.event-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.event-card {
  background: #fff;
  color: #222;
  max-width: 420px;
  width: 90%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  animation: popupFade 0.5s ease;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* .event-poster { */
  /* width: 100%; */
  /* max-height: 300px;          controls banner height */
  /* object-fit: contain;        keeps full poster visible */
  /* background: #000;           subtle frame for vertical posters */
/* } */

.event-poster {
  width: 100%;
  max-height: 260px;
  object-fit: cover;          /* cinematic crop */
  object-position: center;
}



.event-content {
  padding: 20px;
  text-align: center;
}

.event-content h2 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.event-tagline {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}

.event-details p {
  margin: 6px 0;
  font-size: 0.95rem;
}

.event-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #777;
}

.event-card {
  max-height: 90vh;           /* never exceed screen height */
  overflow-y: auto;           /* scroll if content overflows */
}


/* Mobile optimization */
@media (max-width: 480px) {
  .event-card {
    max-width: 95%;
    max-height: 90vh;           /* never exceed screen height */
    overflow-y: auto;

  }

  .event-content h2 {
    font-size: 1.4rem;
  }
}


/* ===== EVENT ACTIONS ===== */
.event-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.event-btn {
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}

.calendar-btn {
  background: #4cafef;
  color: #fff;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.register-btn {
  background: #ff7eb3;
  color: #fff;
}
/* COUNTDOWN */
.countdown {
  margin: 12px 0;
  padding: 10px;
  background: #fff3f3;
  color: #b71c1c;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-align: center;
}


/* ===== TOP BANNER ===== */
.event-banner {
  position: fixed;
  top: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 10px 16px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1500;
  font-size: 0.9rem;
}

.event-banner button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 480px) {
  .event-actions {
    gap: 8px;
  }
}
