@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.6;
}

.top-image-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(167, 9, 9);
  padding: 10px 20px;
  gap: 10px;
}

.left-logo, .right-logo {
  flex: 0 0 auto;
  height: auto;
  max-height: 80px;
  max-width: 70px;
  object-fit: contain;
}

.top-text {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  min-width: 0; /* Prevent overflow */
}

.main-heading {
  font-size: 20px;
  font-weight: bold;
  color: rgb(253, 249, 249);
  word-wrap: break-word;
}

.sub-text, .address-text {
  font-size: 16px;
  color: rgb(253, 251, 251);
  margin-top: 4px;
  word-wrap: break-word;
}

/* Tablet Screens */
@media (max-width: 768px) {
  .left-logo, .right-logo {
    max-height: 60px;
    max-width: 50px;
  }

  .main-heading {
    font-size: 16px;
  }

  .sub-text, .address-text {
    font-size: 12px;
  }
}

/* Mobile Screens */
@media (max-width: 480px) {
  .top-image-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .left-logo, .right-logo {
    max-height: 50px;
    max-width: 40px;
  }

  .main-heading {
    font-size: 14px;
  }

  .sub-text, .address-text {
    font-size: 10px;
  }

  .top-text {
    padding: 0 5px;
  }
}


/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: center; /* Center the nav links */
  align-items: center;
  background-color: #0a4c8f;
  padding: 12px 24px;
  margin: 0;
  border: none;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* Nav Link Styling */
.nav-links li a {
  text-decoration: none;
  color: #070707;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.5rem;
}

.nav-links li a:hover {
  background-color: #f8f5f2;
  transform: translateY(-1px);
}



.footer {
  background-color: #222;
  color: #eee;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-column h3 {
  margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
  color: #ccc;
  text-decoration: none;
  margin: 5px 0;
  display: block;
}

.footer-column a:hover {
  color: #fff;
}

/* Email form styling */
.email-form input {
  padding: 8px;
  width: 70%;
  margin-right: 5px;
}

.email-form button {
  padding: 8px 15px;
  background-color: #0d6efd;
  color: white;
  border: none;
  cursor: pointer;
}

.email-form button:hover {
  background-color: #0b5ed7;
}

/* Social icons aligned horizontally */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

/* Style for Download Brochure as a button */
.downloads a {
  display: inline-block;
  background-color: #0d6efd;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  margin-top: 10px;
  text-align: center;
  transition: background-color 0.3s;
}

.downloads a:hover {
  background-color: #0b5ed7;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
}

hr {
  border: 0.5px solid #444;
  margin-top: 30px;
}



/* Choose Event Type Section */
#choose-event-type {
  background-image: url('../images/Background_Image.JPG'); /* Add your background image here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: rgb(255, 255, 255);
  backdrop-filter: brightness(0.7);
}

#choose-event-type h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

@media (max-width: 768px) {
  #choose-event-type {
    padding: 40px 15px;
    backdrop-filter: brightness(0.8);
  }

  #choose-event-type h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  #choose-event-type h2 {
    font-size: 1.4em;
  }
}


/* Events Section Background */
.events-section {
  padding: 50px 15px;
  color: white;
  text-align: center;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 1000px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Section Title */
.section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  color: #ffdc00;
  text-shadow: 2px 2px 4px #000;
}

/* Event Card */
.event-card {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 18px;
  padding: 15px;
  margin: 10px;
  width: 260px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: scale(1.02);
}

/* Poster Image and Container */
.poster-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.poster-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: opacity 0.3s ease;
}

/* Poster Label */
.poster-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 13px;
  cursor: pointer;
  z-index: 2;
}

/* Hover Content */
.hover-content {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.poster-container:hover .hover-content {
  opacity: 1;
}

/* Register Buttons */
.register {
  background-color: #ffdc00;
  border: none;
  border-radius: 16px;
  padding: 6px 10px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  color: #000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.register:hover {
  background-color: #ffd700;
}

.register.internal {
  background-color: #00ffcc;
}

.register.internal:hover {
  background-color: #00e6b8;
}

.register.external {
  background-color: #ff6699;
}

.register.external:hover {
  background-color: #ff4d88;
}

/* Event Title Button */
.event-title {
  margin-top: 12px;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 16px;
  background-color: #ffffff;
  color: #000;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.event-title:hover {
  background-color: #f1f1f1;
}

@media screen and (max-width: 768px) {
  .event-card {
    width: 90%;
    margin: 15px auto;
  }

  .section-title {
    font-size: 1.8em;
  }

  .register {
    font-size: 12px;
    padding: 5px 8px;
  }

  .event-title {
    font-size: 1em;
    padding: 6px 12px;
  }
}



/* Coordinators Section Styles */
.coordinators-section {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.section-heading {
  background-color: #075013;
  color: white;
  font-size: 1.6rem;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.coordinator-container {
  display: flex;
  justify-content: center; /* or center if desired */
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 30px;
  overflow-x: auto; /* Enable horizontal scroll if needed */
  padding-bottom: 10px;
}

.coordinator-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 220px;
}

.coordinator-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 0; /* No rounding */
  margin-bottom: 10px;
  border: 2px solid #ccc;
}


.coordinator-card h4 {
  margin: 10px 0 5px;
  font-size: 1.1rem;
  color: #f30505;
}

.coordinator-card p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

/* Media Query for Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .coordinators-section {
    padding: 30px 15px; /* Adjust padding for smaller screens */
  }

  .section-heading {
    font-size: 1.4rem; /* Slightly smaller font size */
    padding: 8px;
  }

  .coordinator-container {
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: center; /* Center the items */
    gap: 20px; /* Smaller gap between cards */
    overflow-x: hidden; /* Remove horizontal scroll */
  }

  .coordinator-card {
    width: 45%; /* Two per row on tablets */
    padding: 15px;
    flex: 1 1 auto; /* Make card size flexible */
    max-width: 220px; /* Limit max width */
  }

  .coordinator-card img {
    width: 100%; /* Make image width responsive */
    height: auto; /* Maintain aspect ratio */
  }

  .coordinator-card h4 {
    font-size: 1rem;
  }

  .coordinator-card p {
    font-size: 0.85rem;
  }
}

/* Media Query for Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .coordinators-section {
    padding: 20px 10px; /* Reduce padding for small phones */
  }

  .section-heading {
    font-size: 1.2rem; /* Smaller font size */
    padding: 6px;
  }

  .coordinator-container {
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center; /* Center items */
    gap: 15px; /* Smaller gap between cards */
    overflow-x: hidden; /* Remove horizontal scroll */
  }

  .coordinator-card {
    width: 100%; /* Full width for smaller screens */
    padding: 10px; /* Adjust padding for small screens */
    flex: 1 1 auto; /* Make card size flexible */
  }

  .coordinator-card img {
    width: 100%; /* Make image width responsive */
    height: auto; /* Maintain aspect ratio */
  }

  .coordinator-card h4 {
    font-size: 0.95rem;
  }

  .coordinator-card p {
    font-size: 0.8rem;
  }
}





html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body > *:not(.footer) {
  flex: 1;
}

.container, .navbar, .gallery, .footer-container, .coordinator-container {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.about-department-section {
  background-color: #9f74e0;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-department-section h2 {
  text-align: center;
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 20px;
}

.about-department-section p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333;
  text-align: center;
}

.vision-mission-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-around;
  margin-top: 30px;
}

.vision, .mission {
  background: #eef1fa; /* soft indigo blue */
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 400px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.vision img, .mission img {
  width: 80px;
  margin-bottom: 15px;
}

.vision h3, .mission h3 {
  color: #1e3c72;
  font-size: 1.5em;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .about-department-section {
    padding: 30px 15px;
    margin: 15px auto;
    max-width: 95%;
  }

  .about-department-section h2 {
    font-size: 1.7em;
  }

  .about-department-section p {
    font-size: 1.05em;
  }

  .vision-mission-container {
    gap: 30px;
    flex-direction: column;
  }

  .vision, .mission {
    padding: 18px;
    flex: 1 1 100%;
  }

  .vision img, .mission img {
    width: 70px;
  }

  .vision h3, .mission h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .about-department-section {
    padding: 20px 10px;
    margin: 10px auto;
    max-width: 100%;
  }

  .about-department-section h2 {
    font-size: 1.5em;
  }

  .about-department-section p {
    font-size: 1em;
  }

  .vision, .mission {
    padding: 15px;
  }

  .vision img, .mission img {
    width: 60px;
  }

  .vision h3, .mission h3 {
    font-size: 1.2em;
  }
}

/* Specific adjustments for OnePlus mobile screens (typically 360px to 412px width) */
@media (max-width: 412px) and (min-width: 360px) {
  .about-department-section {
    padding: 20px 15px; /* Slightly reduced padding for tighter content */
    margin: 10px auto;
    max-width: 95%; /* Ensure full-width content */
  }

  .about-department-section h2 {
    font-size: 1.6em; /* Adjust font size for better readability */
  }

  .about-department-section p {
    font-size: 1.05em; /* Ensure text is readable on smaller screens */
  }

  .vision-mission-container {
    gap: 20px; /* Adjust gap for better spacing */
    flex-direction: column; /* Stack content vertically */
  }

  .vision, .mission {
    padding: 15px; /* Slightly reduced padding */
    flex: 1 1 100%; /* Full-width cards */
  }

  .vision img, .mission img {
    width: 60px; /* Keep image size optimized for smaller screens */
  }

  .vision h3, .mission h3 {
    font-size: 1.3em; /* Adjust header size for better fit */
  }
}





/* Styling the carousel container */
.carousel-inner {
  max-width: 100%;
  max-height: 80vh; /* Dynamic height based on screen */
  overflow: hidden;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Optional: Custom styling for the "Our Memories" section */
.our-memories-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
}

.gallery-counsel {
  text-align: center;
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
}






/* Contact Heading as Button */
#contact-heading {
  background-color: #1f2937;
  padding: 60px 20px;
  text-align: center;
}

.section-button {
  background-color: #ffcc00;
  color: #000;
  font-size: 2rem;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-weight: bold;
  border: none;
  font-family: 'Segoe UI', sans-serif;
}

/* Contact Us Main Section */
#contact-us {
  background-color: #e6f0ff; /* Light themed background */
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

/* Wrapper for both sections */
.contact-wrapper {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

/* Individual contact section (form or details) */
.contact-section {
  background: linear-gradient(to bottom right, #ffffff, #f0f0f0); /* subtle gradient */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  min-width: 300px;
  flex: 1;
  max-width: 500px;
  position: relative;
}

/* Section Headers styled as buttons */
.contact-section h2.section-button {
  background-color: #ffcc00;
  color: #000;
  font-size: 1.6rem;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 25px auto;
  display: table;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 28px;
  height: 28px;
}

.contact-item h3 {
  margin: 0;
  font-size: 1.1rem;
}

.contact-item p {
  margin: 5px 0 0;
  font-size: 0.95rem;
}

/* Form Section */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-form p {
  text-align: center;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 15px; /* Extra spacing between fields */
}

.contact-form button {
  padding: 10px;
  background-color: #ffcc00;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 0 auto;
}

.contact-form button:hover {
  background-color: #e6b800;
}

@media (max-width: 768px) {
  .section-button,
  .contact-section h2.section-button,
  .contact-form button {
    font-size: 1.4rem;
    padding: 8px 20px;
  }

  .contact-form button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section-button,
  .contact-section h2.section-button,
  .contact-form button {
    font-size: 1.2rem;
    padding: 6px 16px;
  }

  .contact-form button {
    max-width: 100%;
  }
}


.popup-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.fest-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #111;
}

.poster-image {
  width: 180px;
  margin: 10px auto;
  display: block;
  border-radius: 10px;
}

.countdown-text {
  font-size: 1.2rem;
  margin: 15px 0;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.time-box {
  background: #fff;
  border: 2px solid #0c0c43;
  border-radius: 5px;
  width: 70px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.time-box span {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  background: #0c0c43;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.time-box p {
  margin: 0;
  padding: 5px 0;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0c0c43;
}

.fest-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  text-shadow:
    0 0 5px #ff4d00,
    0 0 10px #ff4d00,
    0 0 20px #ff4d00,
    0 0 40px #ff9900,
    0 0 80px #ff9900;
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  0%   { opacity: 1; }
  50%  { opacity: 0.85; text-shadow: 0 0 5px #ff6600, 0 0 15px #ff3300; }
  100% { opacity: 1; }
}

@media (max-width: 480px) {
  .popup-content {
    padding: 20px 15px;
  }

  .fest-title {
    font-size: 1.4rem;
    text-shadow:
      0 0 3px #ff4d00,
      0 0 6px #ff4d00,
      0 0 12px #ff4d00,
      0 0 24px #ff9900;
  }

  .poster-image {
    width: 140px;
  }

  .countdown-text {
    font-size: 1rem;
  }

  .time-box {
    width: 60px;
  }

  .time-box span {
    font-size: 1.2rem;
    padding: 8px 0;
  }

  .time-box p {
    font-size: 0.75rem;
  }

  .close-btn {
    font-size: 20px;
    top: 8px;
    right: 10px;
  }
}


#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2b1055; /* Violet-Indigo mix */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

#splash-screen h1 {
  color: #ffd700; /* Yellow */
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@media (max-width: 768px) {
  #splash-screen h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  #splash-screen h1 {
    font-size: 1.5rem;
  }
}


.announcement-header {
  font-weight: bold;
  color: #ffcc00;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.announcement-scroll {
  overflow: hidden;
  background-color: #1a2a6c;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 20px;
  position: relative;
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLeft 15s linear infinite;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* Fest Videos Section Styles */
.fest-videos-section {
  padding: 40px 20px;
  background-color: #2f4f4f;
  text-align: center;
}

.fest-videos-section h2 {
  font-size: 2em;
  color: #ffb84d;
  margin-bottom: 20px;
}

.memories-button {
  background-color: #ff6600;
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 10px;
  display: inline-block;
  cursor: pointer;
}

.memories-button:hover {
  background-color: #e55b00;
}

.memories-subtitle {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 20px;
}




@media (max-width: 768px) {
  .fest-videos-section {
    padding: 30px 15px;
  }

  .fest-video-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .memories-button {
    font-size: 16px;
    padding: 8px 16px;
  }

  .memories-subtitle {
    font-size: 1em;
  }

  .fest-videos-section h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .fest-videos-section {
    padding: 20px 10px;
  }

  .memories-button {
    font-size: 14px;
    padding: 6px 12px;
  }

  .fest-videos-section h2 {
    font-size: 1.6em;
  }

  .memories-subtitle {
    font-size: 0.9em;
  }
}






.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.explore-events-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.explore-events-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(209, 196, 233, 0.6);
  z-index: 1;
}

.explore-content {
  position: relative;
  z-index: 2;
}

.explore-button {
  background-color: #ff6600;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 14px 34px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
  transition: background 0.3s ease, transform 0.2s ease;
}

.explore-button:hover {
  background-color: #ff8533;
  transform: scale(1.05);
}



.main-header {
  text-align: center;
}

.memories-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(135deg, #ff5e62, #ff9966);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: center;
  margin: 10px auto;
}

.memories-button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff9966, #ff5e62);
}

.memories-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #fdfbfb;
  font-style: italic;
  margin-top: 10px;
  padding: 0 10px;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a4c8f;
  padding: 12px 10px; /* Adjusted padding */
  position: relative;
  overflow: hidden; /* Prevent any overflow */
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: nowrap; /* No wrapping of items */
  gap: 12px; /* Reduced gap for smaller screens */
  margin: 0;
  padding: 0;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

/* Nav Link Style */
.nav-links li a {
  text-decoration: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 18px;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap; /* Prevent wrapping */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover Effects */
.nav-links li a:hover {
  background-color: rgb(230, 90, 10);
  transform: translateY(-1px);
}

/* Responsive tweak for tablets and smaller screens (max-width: 768px) */
@media (max-width: 768px) {
  .nav-links {
    gap: 8px; /* Slightly reduced gap */
  }

  .nav-links li a {
    font-size: 0.9rem; /* Adjust font size */
    padding: 4px 8px; /* Adjust padding */
  }
}

/* Responsive tweak for mobile screens (max-width: 480px) */
@media (max-width: 480px) {
  .nav-links {
    gap: 6px; /* Further reduce gap for mobile */
  }

  .nav-links li a {
    font-size: 0.85rem; /* Further reduce font size */
    padding: 3px 6px; /* Further reduce padding */
  }
}


  @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

  .about-section {
  margin-top: 20px;
  background: linear-gradient(135deg, #0d3b66, #1c1e26);
  color: #ffffff;
  padding: 40px 15px;
  text-align: center;
}


.main-header {
  flex: 1 1 300px;
  text-align: center;
}

.dept-heading {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #f3f0f0;
}

.fire-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  background: linear-gradient(90deg, #ff9933, #ff3c00, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(255, 140, 0, 0.7),
    0 0 20px rgba(255, 69, 0, 0.6),
    0 0 30px rgba(255, 0, 0, 0.5);
  margin: 30px 0;
}

.mechonance-logo {
  display: inline-block;
  padding: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 246, 246, 0.993), transparent);
  box-shadow: 0 0 25px rgba(159, 116, 224, 0.6);
  transition: transform 0.3s ease-in-out;
}

.mechonance-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(226, 130, 3, 0.8);
}
.mechonance-logo img {
  width: 150px;
  max-width: 80%;
  margin: 20px auto 10px;
  display: block;
  filter: drop-shadow(0 0 6px #ff6600);
}

.about-us-button {
  display: inline-block;
  margin: 20px auto 30px;
  padding: 10px 30px;
  background-color: #ff6600;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
  text-decoration: none;
}

  .about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.about-box {
  width: 400px;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.about-box:hover {
  transform: translateY(-10px);
}

.mechonance-box {
  background-color: rgba(255, 140, 0, 0.1);
}

.college-box {
  color: #ffffff;
  position: relative;
}

.college-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  z-index: 1;
}

.college-box .box-header,
.college-box p,
.college-box .college-link {
  position: relative;
  z-index: 2;
}

.college-box .college-link {
  margin-top: 15px;
  display: inline-block;
  padding: 8px 20px;
  background-color: #ff6600;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.college-box .college-link:hover {
  background-color: #ff8533;
}


.about-box .box-header {
  background-color: #ff6600;
  color: #fff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.about-box p {
  font-size: 1rem;
  line-height: 1.6;
}
.cta-section {
  margin-top: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #ffcc66;
}

.cta-button {
  background-color: #ff6600;
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #ff8533;
}

  @media (max-width: 768px) {
    .dept-heading {
      font-size: 1.4rem; /* Decreased font size for tablets */
      white-space: nowrap; /* Prevents wrapping */
    }
  
    .fire-text {
      font-size: 2rem;
      text-shadow:
        0 0 6px rgba(255, 140, 0, 0.6),
        0 0 12px rgba(255, 69, 0, 0.5),
        0 0 20px rgba(255, 0, 0, 0.4);
    }
  
    .mechonance-logo img {
      width: 120px;
    }
  
    .about-box {
      width: 90%;
      padding: 20px;
    }
  
    .about-box .box-header {
      font-size: 1rem;
      padding: 6px 16px;
    }
  
    .about-box p {
      font-size: 0.95rem;
    }
  
    .about-us-button,
    .college-box .college-link,
    .cta-button {
      font-size: 1rem;
      padding: 8px 20px;
    }
  
    .cta-section p {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .dept-heading {
      font-size: 1.2rem; /* Further decrease font size for mobile */
      white-space: nowrap; /* Prevents wrapping */
    }
  
    .fire-text {
      font-size: 1.4rem;
    }
  
    .about-box {
      padding: 15px;
    }
  
    .about-us-button,
    .cta-button {
      font-size: 0.9rem;
      padding: 7px 18px;
    }
  }
  
  
  .sponsors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .sponsors-list img {
    height: 70px;
    max-width: 160px;
    object-fit: contain;
    flex: 0 0 48%; /* Ensures two images per row on desktop */
  }
  
  /* Style for "Our Sponsors" as a button */
  .sponsors-button {
    background-color: #ff6600; /* Background color like a button */
    color: white;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .sponsors-button:hover {
    background-color: #e55b00;
  }
  
  /* Background style for popup container */
  .popup-content {
    background-color: #08c79e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* For tablets and smaller (<= 768px) */
  @media (max-width: 768px) {
    .sponsors-list {
      gap: 15px;
      justify-content: space-around;
    }
  
    .sponsors-list img {
      height: 60px;
      max-width: 140px;
      flex: 0 0 48%;
    }
  }
  
  /* For small mobile screens (<= 480px) */
  @media (max-width: 480px) {
    .sponsors-list {
      gap: 12px;
      justify-content: space-around;
    }
  
    .sponsors-list img {
      height: 55px;
      max-width: 130px;
      flex: 0 0 48%;
    }
  }
  











  
  
  
  
  
  