@import url("https://fonts.googleapis.com/css2?family=Monomakh&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  zoom: 0.97;
  /* This will reduce the whole page to 80% */
}

body {
  background-color: #fafafa;
  color: #111111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.header {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 150px; /* Set a fixed width */
  height: 150px; /* Set a fixed height */
  object-fit: contain; /* Ensures the image scales well */
  max-width: 100%; /* Ensures responsiveness */
}

.logo1 {
  width: 300px; /* Set a fixed width */
  height: 300px; /* Set a fixed height */
  object-fit: contain; /* Ensures the image scales well */
  max-width: 100%; /* Ensures responsiveness */
}

@media (max-width: 768px) {
  .header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .logo {
    width: 100px;
    height: 100px;
  }
  .logo1 {
    width: 200px;
    height: 200px;
    transform: translateY(2%);
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 5%;
  justify-items: center;
}

.content1 {
  align-items: center;
}
.headline {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  overflow: hidden;
}
.welcome {
  font-family: "Monomakh", sans-serif;
  font-size: larger;
  font-weight: 700;
}

.headline span {
  display: block;
  overflow: hidden;
}

.headline .text {
  display: inline-block;
  transform: translateY(250%);
}

.line {
  width: 80px;
  height: 4px;
  background-color: #111;
  margin: 2rem 0;
}

.fest-info {
  max-width: 600px;
  margin-bottom: 3rem;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.fest-info p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 1.5rem;
  margin-top:1rem;
  font-weight: lighter;
  line-height: 1.6;
  font-family: "Monomakh", sans-serif;
}

#typewriter {
  font-size: clamp(1.8rem, 4.3vw, 2.5rem);
  font-weight: 700;
  color: #4169e1; /* Royal Blue */
  display: inline-block;
  white-space: nowrap;
  border-right: 3px solid #4169e1; /* Cursor effect */
  padding-right: 5px;
  overflow: hidden;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}


.hashtag {
  font-family: "Consolas", monospace;
  font-weight: 700;
  color: #4169e1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.03);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  top: 20%;
  right: 10%;
  z-index: 1;
  opacity: 0.8;
}

.background-number {
  position: absolute;
  font-size: 40vw;
  font-weight: 800;
  color: rgba(17, 17, 17, 0.03);
  z-index: 0;
  line-height: 0.8;
  white-space: nowrap;
  bottom: 10%;
  right: -5%;
}

/* Enhanced Full-Width Carousel Styles */
.carousel-section {
  width: 100vw;
  margin: 5rem 0;
  position: relative;
  overflow: hidden;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 4rem 0;
}

.carousel-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.carousel-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-wrapper {
  position: relative;
  padding: 1rem 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(245, 247, 250, 1) 0%,
    rgba(245, 247, 250, 0) 100%
  );
}

.carousel-wrapper::after {
  right: 0;
}

.carousel {
  display: flex;
  width: fit-content;
  gap: 50px;
  padding: 20px 0;
}

.carousel-slide {
  position: relative;
  height: 500px;
  width: 400px;
  flex-shrink: 0;
  transition: transform 0.3s;
  overflow: hidden;
  border-radius: 12px;
  transform: perspective(800px) rotateY(0deg);
  transform-style: preserve-3d;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.carousel-slide:hover .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.event-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(65, 105, 225, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Base Styles */
.footer-content {
  background-color: #f8f9fa;
  padding: 1rem 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #e9ecef;
}

/* Website Link Styles */
.website-link {
  flex: 1;
  min-width: 200px;
}

.website-text {
  color: #4169e1;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.website-text:hover {
  color: #2a4ed1;
}

/* Social Links Container */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

/* Social Group Styles */
.kl-focus-social,
.hashinclude-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.social-group-label {
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Social Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9ecef;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
  background-color: #dee2e6;
  transform: scale(1.1);
}

.social-icon svg {
  transition: fill 0.3s ease;
}

.social-icon:hover svg {
  fill: #2a4ed1;
}

/* Copyright Styles */
.copyright {
  flex: 1;
  text-align: right;
  color: #6c757d;
  font-size: 0.9rem;
  min-width: 200px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .website-link,
  .social-links,
  .copyright {
    width: 100%;
    text-align: center;
    min-width: auto;
  }

  .social-links {
    gap: 2rem;
    flex-direction: column;
  }

  .kl-focus-social,
  .hashinclude-social {
    align-items: center;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .website-text,
  .social-icon {
    transition: none;
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    width: 250px;
    height: 350px;
  }

  .background-number {
    font-size: 50vw;
    bottom: 15%;
  }

  .carousel-title {
    font-size: 2rem;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 10%;
  }
}
.about-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin-top: 1.5%;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 10px;
  color: #333;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 80px;
  font-weight: 300;
}

.timeline-container {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  padding: 0 20px;
}

/* Timeline track (left side) */
.timeline-track {
  position: relative;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.timeline-track:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: rgba(65, 105, 225, 0.3);
  border-radius: 4px;
}

.timeline-progress {
  position: absolute;
  top: 0;
  width: 4px;
  background-color: #4169e1;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(65, 105, 225, 0.5);
  height: 0; /* Will be updated by JavaScript */
  transition: height 0.3s ease;
}

/* Timeline events (right side) */
.timeline-events {
  flex: 1;
}

.timeline-event {
  position: relative;
  margin-bottom: 100px;
  opacity: 0.3;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.timeline-event.active {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline dot */
.timeline-dot {
  position: absolute;
  left: -46px; /* Adjusted to center with timeline */
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid #4169e1;
  border-radius: 50%;
  z-index: 2;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.timeline-event.active .timeline-dot {
  background-color: #4169e1;
  opacity: 1;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 0 5px rgba(65, 105, 225, 0.3);
}

/* Content layout */
.timeline-content {
  display: flex;
  align-items: stretch;
  background: transparent;
}

.timeline-content.reverse {
  flex-direction: row-reverse;
}

.timeline-image {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  min-height: 400px;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.5s ease;
}

.timeline-event:hover .timeline-image img {
  transform: scale(1.05);
}

.timeline-event:hover .timeline-image {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.timeline-text {
  flex: 1;
  padding: 40px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-left: 30px;
  transition: all 0.3s ease;
}

.timeline-content.reverse .timeline-text {
  margin-left: 0;
  margin-right: 30px;
}

.timeline-event:hover .timeline-text {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.timeline-text h3 {
  color: #333;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 15px;
}

.timeline-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #4169e1;
  border-radius: 3px;
}

.timeline-text p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .timeline-content,
  .timeline-content.reverse {
    flex-direction: column;
  }

  .timeline-image {
    min-height: 300px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center; /* Centers image horizontally */
    align-items: center; /* Centers image vertically */
  }

  .timeline-image img {
    max-width: 100%; /* Ensures responsiveness */
    max-height: 100%; /* Keeps image within bounds */
    object-fit: contain; /* Ensures the whole image is visible */
  }

  .timeline-text,
  .timeline-content.reverse .timeline-text {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .timeline-container {
    padding-left: 40px;
  }

  .timeline-track {
    width: 40px;
  }

  .timeline-dot {
    left: -30px;
    width: 16px;
    height: 16px;
  }

  .timeline-text {
    padding: 25px;
  }
}

/* Sponsors Section */
.sponsors-section {
  text-align: center;
  padding: 30px 0;
  background: #f8f9fa;
}

.sponsors-section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.sponsors-section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

/* Sponsors Grid */
.sponsors-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1600px;
  margin: auto;
  padding-top: 80px;
}

/* Sponsor Card (Only Logo, No Background) */
.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;

  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sponsor-card img {
  width: 300px;
  max-height: 300px;
  object-fit: contain;
  transition: transform 0.3s ease;
  aspect-ratio: 3/2;
  mix-blend-mode: multiply;
}

/* Hover Effect */
.sponsor-card:hover {
  transform: scale(1.1);
  mix-blend-mode: multiply;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sponsors-container {
    flex-direction: column;
    align-items: center;
  }

  .sponsor-card img {
    width: 180px;
  }
}
