:root {
  --primary-color: #FF4500;
  /* Fire Orange */
  --secondary-color: #FFD700;
  /* Sunlight Gold */
  --accent-color: #4A0E4E;
  /* Deep Cosmic Purple */
  --text-light: #FFFFFF;
  --text-dark: #2E0219;
  /* Deep Purple/Brown */
  --button-color: #8D1B1B;
  /* Keep generic fallback */
  --button-hover: #A52A2A;
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Cinzel', serif;
  /* Elegant font for "Aura 26" */
  --gradient-text: linear-gradient(135deg, #FFD700, #FF4500, #4A0E4E);
  --gradient-btn: linear-gradient(45deg, #FF4500, #FF8C00);
  --gradient-btn-hover: linear-gradient(45deg, #FF8C00, #FFD700);
}

/* Gradient Text Utility */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: #fff0e6;
  /* Very light warm peach/cream */
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: var(--accent-color);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center logo in mobile view if needed */
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  z-index: 1000;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.btn-register-nav {
  background: var(--gradient-btn);
  color: #fff !important;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  /* Slightly rounded for button feel */
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-register-nav:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
  color: #fff !important;
  /* Keep white on hover */
}

.menu-toggle {
  display: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    /* Black background as requested */
    /* Ensure solid background */
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    /* High z-index to sit above content */
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    z-index: 2001;
    /* Above the menu */
  }
}

/* Hero Section */
.hero {
  /* Gradient from screenshot: Dark Brown/Orange to lighter center */
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('Images/hero_bg.png') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  /* Make white as requested */
}

.hero p {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #ffffff !important;
  /* Force white text */
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 50px;
  /* Modern pill shape */
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
}

/* Section Common */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary-color);
  /* Fallback */
  margin-bottom: 2rem;
  position: relative;
  /* display: inline-block; Removed to allow center alignment */
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 10px auto 0;
}

/* About & Previous Events */
.about-content,
.events-content {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  background: #eee;
  height: 200px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #888;
  font-style: italic;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.contact-info,
.map-container {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0a0e27 0%, #16213e 100%);
  color: #e0e0e0;
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
  border-top: 3px solid var(--secondary-color);
  box-shadow: 0 -5px 30px rgba(255, 215, 0, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.college-info {
  margin-bottom: 0;
}

.college-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  line-height: 1.6;
}

.college-info p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #b0b0b0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-links p {
  margin: 0;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #888;
}

.footer-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section {
    padding: 0 1rem;
  }
}

/* Cards (Cultural & Sports) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  height: 180px;
  background-color: #ddd;
  /* Placeholder color */
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.card-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.card-btn {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Brochure Img */
.brochure-container {
  margin-top: 2rem;
}

.brochure-img {
  max-width: 90%;
  width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

/* Schedule Section */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.day-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--primary-color);
  transition: transform 0.3s;
}

.day-card:hover {
  transform: translateY(-5px);
}

.day-card h3 {
  text-align: center;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-family: var(--font-heading);
}

.event-category {
  margin-bottom: 1.5rem;
}

.event-category h4 {
  color: var(--button-color);
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.2rem;
}

.event-category ul {
  list-style: none;
  padding-left: 0.5rem;
}

.event-category ul li {
  padding: 0.3rem 0;
  font-size: 1rem;
  color: #444;
}

.event-category ul li::before {
  content: "•";
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.info-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 250px;
  text-align: center;
  max-width: 350px;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
}

.prize-card {
  border-bottom: 5px solid gold;
}

.fee-card {
  border-bottom: 5px solid var(--primary-color);
}

.coord-card {
  border-bottom: 5px solid var(--accent-color);
}

/* Video Placeholder Fallback */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.play-button {
  font-size: 4rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, background 0.3s;
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
  background: var(--primary-color);
}


/* Premium Card Gradients */
.gradient-1 {
  background: linear-gradient(135deg, #FF512F, #DD2476);
}

.gradient-2 {
  background: linear-gradient(135deg, #4568DC, #B06AB3);
}

.gradient-3 {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.gradient-4 {
  background: linear-gradient(135deg, #da22ff, #9733ee);
}

.gradient-5 {
  background: linear-gradient(135deg, #F2994A, #F2C94C);
}

.gradient-6 {
  background: linear-gradient(135deg, #e43a15, #e65245);
}

.gradient-7 {
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
}

.gradient-8 {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.gradient-9 {
  background: linear-gradient(135deg, #20002c, #cbb4d4);
}

.gradient-10 {
  background: linear-gradient(135deg, #C31432, #240b36);
}

.gradient-11 {
  background: linear-gradient(135deg, #f12711, #f5af19);
}

.gradient-12 {
  background: linear-gradient(135deg, #654ea3, #eaafc8);
}

.card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  /* Subtle overlay for better text contrast if we add text later */
}

/* Countdown Timer */
.countdown-container {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.time-box {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 10px;
  min-width: 80px;
  text-align: center;
  border: 1px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.time-value {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary-color);
  font-family: var(--font-heading);
}

.time-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* --- Modern Animations & Effects --- */

/* Scroll Animation Base Class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays for Cards */
.card:nth-child(2) {
  transition-delay: 0.1s;
}

.card:nth-child(3) {
  transition-delay: 0.2s;
}

.card:nth-child(4) {
  transition-delay: 0.3s;
}

.card:nth-child(5) {
  transition-delay: 0.4s;
}

/* Hero Entrance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero p {
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  /* Initial state for animation */
}

.countdown-container {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.hero .btn-primary {
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

/* Enhanced Hover Effects */
.card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 81, 0, 0.4);
  /* Glow effect matching primary color */
}

/* Glassmorphism for Navbar (Adjustment) */
.navbar {
  position: fixed;
  /* Fix to top to overlay Hero */
  top: 0;
  left: 0;
  width: 100%;
  /* Initial State: Transparent */
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  padding: 1.5rem 2rem;
  /* Spaced out initially */
  transition: all 0.4s ease;
  /* Smooth transition for scroll effect */
  z-index: 1000;
}

.navbar.scrolled {
  /* Scrolled State: Glassy */
  background: rgba(62, 39, 35, 0.3);
  /* Slightly darker for readability */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem;
  /* Compact on scroll */
}

/* Presented By Section */
.presented-by {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.presented-text {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  /* Gold color */
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  /* display: inline-block; Removed to allow text-align: center to work on the block itself */
}

.presented-text::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  margin: 5px auto 0;
}

.college-logo {
  max-width: 100%;
  width: 600px;
  /* Adjust based on logo aspect ratio */
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.college-logo:hover {
  transform: scale(1.02);
}

/* Registration Buttons Section */
.registration-buttons {
  padding: 2rem 0;
  /* Reduced padding compared to other sections */
  background-color: transparent;
}

.registration-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-payment:hover {
  background: linear-gradient(45deg, #FFC107, #FFD54F) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.6);
}

/* Card Modern Hover Glow */
.card:hover,
.day-card:hover,
.info-card:hover {
  box-shadow: 0 0 20px rgba(230, 81, 0, 0.3);
  border: 1px solid rgba(230, 81, 0, 0.2);
}

/* Payment Button - Green */
.btn-payment {
  background: #28a745 !important;
  /* Green color */
  color: #ffffff !important;
  box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-payment:hover {
  background: #218838 !important;
  /* Darker green on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.6);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    /* Prevent navbar overlap */
    min-height: 100vh;
    /* Ensure full height */
  }
}