/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00a652;
  --secondary: #0077be;
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --light: #f5f5f5;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --glass: rgba(255, 255, 255, 0.1);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: #f8f9fa;
}

/* Preloader with Rotating Image */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00a652 0%, #0077be 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.rotating-image {
  width: 80px;
  height: 80px;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.5rem 5%;
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo span {
  font-size: 2rem;
  margin-right: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
#navbar {
  position: sticky;
  top: 0;

  padding: 1rem;
}

section {
  padding-top: 60px; /* Same as navbar height */
}

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

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.register-btn {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 166, 82, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 166, 82, 0.4);
}

.login-btn {
  padding: 0.75rem 2rem;
  background: #28a745;
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #00a652 0%, #0077be 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    bottom no-repeat;
  background-size: cover;
}

.hero-content {
  text-align: center;
  color: white;
  padding: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.logos {
  margin-bottom: 1rem;
}

.logos img {
  max-height: 80px;
  width: auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.1;
}

.hero-theme {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #ffd700;
  margin-bottom: 1rem;
  font-weight: 600;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

.hero-info {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: #28a745;
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-secondary:hover {
  background: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Floating Elements */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float-random 20s infinite;
}

.shape:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  animation-duration: 25s;
}

.shape:nth-child(2) {
  top: 60%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-duration: 30s;
}

.shape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  width: 60px;
  height: 60px;
  background: white;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-duration: 35s;
}

@keyframes float-random {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Countdown Timer */
.countdown-section {
  padding: 4rem 5%;
  background: white;
  position: relative;
}

.countdown-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.countdown-title {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 2rem;
  font-weight: 700;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem;
  border-radius: 20px;
  min-width: 150px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px);
}

.countdown-value {
  font-size: 3rem;
  font-weight: 800;
  display: block;
}

.countdown-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* About Section */
.about-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
/* HariEdit ************************************************************/
.about-container {
  display: flex;
  gap: 2rem;
  align-items: stretch; /* Forces equal height */
}

.about-content, 
.about-image {
  flex: 1;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Youtube Video */

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  min-height: 400px;
  width: 100%;

  /* Gradient background behind video */
  background: linear-gradient(135deg, #00a652, #0077be);
}

.video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  background: transparent; /* no black fill from iframe container */
}



.about-placeholder {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  z-index: 2; /* above video */
}

.about-stats {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  z-index: 2;
}

.stat-item {
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
}

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








/* HariEdit End*******************************************/

/* .about-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00a652, #0077be);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
} */

/* .about-stats {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
} */

/* .stat-item {
  text-align: center;
} */

/* .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
} */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
}

/* Themes Section */
.themes-section {
  padding: 5rem 5%;
  background: white;
}

.themes-container {
  max-width: 1400px;
  margin: 0 auto;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.theme-card {
  background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.theme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.theme-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.theme-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.theme-topics {
  list-style: none;
  color: #666;
}

.theme-topics li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.theme-topics li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Speakers Section */
.speakers-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.speakers {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.speaker {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.speaker:hover {
  transform: translateY(-5px);
}

/* Papers Section */
.papers-section {
  padding: 5rem 5%;
  background: white;
  text-align: center;
}

.papers-timeline {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.papers-timeline li {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 2rem;
  margin: 1rem 0;
  border-radius: 50px;
  font-weight: 600;
}

/* Venue Section */
.venue-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.venue-container {
  max-width: 1200px;
  margin: 0 auto;
}

.venue-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.venue-info h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.venue-details {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.venue-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.venue-item:last-child {
  border-bottom: none;
}

.venue-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 1rem;
  width: 40px;
}

.venue-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  height: 400px;
}

/* Gallery and Glimpses Sections */
.gallery-section,
.glimpses-section {
  padding: 5rem 5%;
  background: white;
  text-align: center;
}

.gallery-section:nth-of-type(even),
.glimpses-section:nth-of-type(even) {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.gallery-placeholder,
.glimpses-placeholder {
  background: rgba(0, 166, 82, 0.1);
  padding: 4rem 2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  color: var(--primary);
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-brand p {
  color: #aaa;
  line-height: 1.8;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  color: white;
}

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

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

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-logos img {
  max-height: 50px;
  width: auto;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.mobile-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu {
    display: flex;
  }

  .mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-container,
  .venue-content {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .countdown {
    gap: 1rem;
  }

  .countdown-item {
    min-width: 120px;
    padding: 1.5rem 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links li {
    width: 100%;
    margin: 0.5rem 0;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    text-align: center;
  }
}