/* ================= RESPONSIVE FIXES ================= */

/* Hero section font scaling */
@media (max-width: 768px) {
  .event-title {
    font-size: 2rem;
  }

  .event-title .big-z {
    font-size: 3rem;
  }

  .college-name {
    font-size: 1rem;
  }

  .tagline {
    font-size: 0.9rem;
  }
}

/* Cards height auto for small devices */
@media (max-width: 576px) {
  .card {
    height: auto;
  }
}

/* About Us Section */
@media (max-width: 768px) {
  .member img {
    width: 100px;
    height: 100px;
  }

  .member p {
    font-size: 14px;
  }
}

/* Social Media Section */
.social-media {
  flex-wrap: wrap;
}





body {
  background-color: #000;
  color: #fff;
}

/*----------------------------------------------------------*/

/* Load the Harry Potter font */

/* Apply font to event title and tagline */
.event-title {
  font-family: 'Parry Hotter', serif;
  font-size: 4rem;
  letter-spacing: 2px;
}

/* Make the Z bigger */
.event-title .big-z {
  font-size: 5.5rem;
  display: inline-block;
}

.college-name,
{
font-family: 'Parry Hotter', serif;
font-size: 1.3rem;
}


/*----------------------------------------------------------*/

/* Full screen hero background */
.hero {
  height: 100vh;
  background: url('https://r4.wallpaperflare.com/wallpaper/932/891/825/hogwarts-legacy-video-games-dragon-owl-harry-potter-hd-wallpaper-9846ad3860f06c28e07ce1ae58d2244a.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

/* Overlay to make text stand out */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  z-index: 1;
  text-align: center;
}


.event-logo {
  max-width: 80%;
  /* responsive scaling */
  height: auto;
  display: block;
  margin: 0 auto;
  /* center horizontally */
  z-index: 1;
  /* ensures it stays above overlay */
  position: relative;
}



.college-name {
  color: #fff;
  font-size: 1.2rem;
}

.tagline {
  color: #ccc;
}

.section-title {
  color: #ff4d4d;
  margin-bottom: 20px;
}

.section-text {
  color: #ddd;
}

.event-card {
  color: white;
  background-color: #111;
  border: 1px solid #ff4d4d;
  transition: transform 0.3s;
}

.event-card:hover {
  transform: scale(1.0);
}

footer {
  background-color: #111;
  color: #aaa;
}


/*____button______*/
/* Star Button Effect */
.star-btn {
  position: relative;
  padding: 12px 35px;
  background: #11171d;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  border: 3px solid #fec195;
  border-radius: 8px;
  box-shadow: 0 0 0 #fec1958c;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.star-btn svg {
  width: 100%;
  height: 100%;
}

.star-btn .fil0 {
  fill: #fffdef;
}

/* Stars default position */
.star-btn div {
  position: absolute;
  filter: drop-shadow(0 0 0 #000000);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-1 {
  top: 20%;
  left: 20%;
  width: 25px;
}

.star-2 {
  top: 45%;
  left: 45%;
  width: 15px;
}

.star-3 {
  top: 40%;
  left: 40%;
  width: 5px;
}

.star-4 {
  top: 20%;
  left: 40%;
  width: 8px;
  transition-duration: 0.8s;
}

.star-5 {
  top: 25%;
  left: 45%;
  width: 15px;
  transition-duration: 0.6s;
}

.star-6 {
  top: 5%;
  left: 50%;
  width: 5px;
  transition-duration: 0.8s;
}

/* Hover effect */
.star-btn:hover {
  background: transparent;
  color: #fec195;
  box-shadow: 0 0 25px #fec1958c;
}

.star-btn:hover .star-1 {
  top: -80%;
  left: -30%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-2 {
  top: -25%;
  left: 10%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-3 {
  top: 55%;
  left: 25%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-4 {
  top: 30%;
  left: 80%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-5 {
  top: 25%;
  left: 115%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-6 {
  top: 5%;
  left: 60%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}


/*_______________________style__________________*/
/* 3D Hover Rotate Card Effect */
.card {
  overflow: visible;
  width: 100%;
  height: 300px;
}

.content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 300ms;
  box-shadow: 0px 0px 10px 1px #000000ee;
  border-radius: 5px;
}

.front,
.back {
  background-color: #151515;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
}

.back {
  justify-content: center;
  display: flex;
  align-items: center;
}

.back::before {
  position: absolute;
  content: '';
  display: block;
  width: 160px;
  height: 160%;
  background: linear-gradient(90deg, transparent, #ff9966, #ff9966, #ff9966, #ff9966, transparent);
  animation: rotation_481 5000ms infinite linear;
}

.back-content {
  position: absolute;
  width: 99%;
  height: 99%;
  background-color: #151515;
  border-radius: 5px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px;
  text-align: center;
}

.card:hover .content {
  transform: rotateY(180deg);
}

@keyframes rotation_481 {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

.front {
  transform: rotateY(180deg);
  color: white;
  padding: 15px;
}

.front-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.front-content .badge {
  background-color: #00000055;
  padding: 2px 10px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  width: fit-content;
}

.description {
  box-shadow: 0px 0px 10px 5px #00000088;
  width: 100%;
  padding: 10px;
  background-color: #00000099;
  backdrop-filter: blur(5px);
  border-radius: 5px;
}

.title {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.card-footer {
  color: #ffffff88;
  margin-top: 5px;
  font-size: 12px;
}

.img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #ffbb66;
  position: relative;
  filter: blur(15px);
  animation: floating 2600ms infinite linear;
}

#bottom {
  background-color: #ff8866;
  left: 50px;
  top: 0px;
  width: 150px;
  height: 150px;
  animation-delay: -800ms;
}

#right {
  background-color: #ff2233;
  left: 160px;
  top: -80px;
  width: 30px;
  height: 30px;
  animation-delay: -1800ms;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/*-----phot0------*/
/* About Us Section */
/* About Us Section */
.scroll-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
  background: #000;
  /* Black background */
}

.scroll-container {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLeft 60s linear infinite;
  /* right to left */
}

@keyframes scrollLeft {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.member {
  display: inline-block;
  text-align: center;
  margin: 0 30px;
}

.member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid red;
}

.member p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
  color: red;
  /* Red text */
}

/* Social Media Section */
/* Social Media Container */
.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

/* Star Button Effect */
.star-btn {
  position: relative;
  padding: 12px 35px;
  background: #11171d;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  border: 3px solid #ffdbc3;
  border-radius: 8px;
  box-shadow: 0 0 0 #241c16b9;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.star-btn i {
  font-size: 18px;
}

.star-btn svg {
  width: 100%;
  height: 100%;
}

.star-btn .fil0 {
  fill: #fffdef;
}

/* Stars default position */
.star-btn div {
  position: absolute;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-1 {
  top: 20%;
  left: 20%;
  width: 25px;
}

.star-2 {
  top: 45%;
  left: 45%;
  width: 15px;
}

.star-3 {
  top: 40%;
  left: 40%;
  width: 5px;
}

.star-4 {
  top: 20%;
  left: 40%;
  width: 8px;
  transition-duration: 0.8s;
}

.star-5 {
  top: 25%;
  left: 45%;
  width: 15px;
  transition-duration: 0.6s;
}

.star-6 {
  top: 5%;
  left: 50%;
  width: 5px;
  transition-duration: 0.8s;
}

/* Hover effect */
.star-btn:hover {
  background: transparent;
  color: #fec195;
  box-shadow: 0 0 25px #fec1958c;
}

.star-btn:hover .star-1 {
  top: -80%;
  left: -30%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-2 {
  top: -25%;
  left: 10%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-3 {
  top: 55%;
  left: 25%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-4 {
  top: 30%;
  left: 80%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-5 {
  top: 25%;
  left: 115%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.star-btn:hover .star-6 {
  top: 5%;
  left: 60%;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 2;
}

.about-text {
  text-align: justify;
}

.workshop-desc {
  text-align: justify;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-size: 1.25rem;
  /* keep it readable */
  line-height: 1.8;
  /* nice spacing */
  color: #fff;
  /* matches your theme */
  margin-top: 20px;
}


/* Poster styling */
.poster-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.poster-roll {
  width: 500px;   /* adjust size */
  border-radius: 15px;
 
}

/* Center align text */
.workshop-text {
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-size: 1.2rem;
  margin: 20px auto;
  max-width: 800px;
}

/* Down button */
.down-btn {
  margin-top: 20px;
}

.down-btn a {
  display: inline-block;
  font-size: 2rem;
  color: #6a68ea9a;   /* change color if needed */
  animation: bounce 1.5s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}


.contact-section {
  padding: 60px 20px;
  background: #111;
}

.contact-section h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 2.5rem;
}

.contact-text {
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ddd;
}

.contact-card {
  background: #1c1c1c;
  border-radius: 12px;
  color: #ccc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.social-links a {
  font-size: 1.8rem;
  margin: 0 10px;
  color: #ddd;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ff0000;
}

.location h5 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffcc00;
}

.location p {
  font-size: 1.1rem;
  color: #ddd;
  font-family: "Times New Roman", Times, serif;
}

/* Poster Styling */
.poster-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.poster-roll {
  width: 100%;              /* take full width of container */
  max-width: 900px;         /* don’t stretch too much on big screens */
  height: auto;             /* keep aspect ratio */
  border-radius: 15px;      /* rounded edges */
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}



