
/* Keep the existing CSS from src/index.css and styles.css */

/* @tailwind base;
@tailwind components;
@tailwind utilities; */

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;

    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;

    --radius: 0.5rem;

    --sidebar-background: 0 0% 98%;

    --sidebar-foreground: 240 5.3% 26.1%;

    --sidebar-primary: 240 5.9% 10%;

    --sidebar-primary-foreground: 0 0% 98%;

    --sidebar-accent: 240 4.8% 95.9%;

    --sidebar-accent-foreground: 240 5.9% 10%;

    --sidebar-border: 220 13% 91%;

    --sidebar-ring: 217.2 91.2% 59.8%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

/* @layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }
} */


/* Hide scrollbar for WebKit browsers */
body::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

/* Allow scrolling */
body {
  overflow: scroll; /* Enable scrolling */
}

/* Custom styles for the website */
body {
  background-color: #0a0a0a;
  color: #f0f0f0;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar styling - compact and cylindrical */
.compact-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 8px 15px;
  z-index: 1000;
  width: auto;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5), 
              0 0 15px rgba(138, 54, 255, 0.3),
              0 0 30px rgba(255, 0, 106, 0.2);
  transition: all 0.4s ease;
}

.compact-nav.hidden {
  transform: translateX(-50%) translateY(100px);
}

.nav-links {
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glow-link {
  position: relative;
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.glow-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, rgba(138, 54, 255, 0.8), rgba(255, 0, 106, 0.8));
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 123, 0, 0.7);
}

.glow-link:hover::before {
  width: 100%;
}

.glow-link:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Main container */
.main-container {
  width: 100%;
  position: relative;
}

/* Section styling */
section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
  background-color: #0a0a0a;
}

.section-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.gradient-text {
  background: linear-gradient(to right, #ff7b00, #ff006a, #8a36ff, #2dd3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
  font-weight: 700;
}

.gradient-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ff7b00, #ff006a, #8a36ff, #2dd3ff);
  border-radius: 2px;
}

/* Hero section styling */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  overflow: hidden;
  width: 100%;
  background-color: #050505;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(74, 14, 127, 0.3), transparent 60%),
              radial-gradient(circle at bottom left, rgba(138, 54, 255, 0.2), transparent 60%);
  z-index: 0;
}

.hero-content-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero-content {
  width: 90%;
  max-width: 1400px;
  text-align: center;
  padding: 50px 0;
  position: relative;
  z-index: 3;
}

.logos-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.all-logos {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}

.rotary-district {
  margin-bottom: 30px;
}

.rotary-district span {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.rotary-district p {
  font-size: 1.1rem;
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.8);
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.event-title {
  margin-bottom: 30px;
}

.strangers-logo {
  max-width: 700px;
  width: 100%;
  height: auto;
}

.tagline {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(138, 54, 255, 0.8), rgba(255, 0, 106, 0.8));
  z-index: -1;
  transition: all 0.4s ease;
}

.btn-primary {
  color: white;
  border: none;
  box-shadow: 0 0 15px rgba(255, 0, 106, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 0, 106, 0.4);
}

.btn-outline {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}

.btn-outline:hover {
  color: white;
  border-color: rgba(138, 54, 255, 0.8);
  box-shadow: 0 0 15px rgba(138, 54, 255, 0.3);
  transform: translateY(-3px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.3) 0%, rgba(10, 10, 10, 0.9) 80%);
  z-index: 1;
}

/* Particles effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-50px) translateX(50px);
  }
  50% {
    transform: translateY(-100px) translateX(-50px);
  }
  75% {
    transform: translateY(-50px) translateX(-100px);
  }
}

/* Enhanced background elements */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.animated-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
}

.circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 106, 0.8), rgba(255, 0, 106, 0));
  top: -100px;
  left: -100px;
  animation: pulse 15s infinite alternate;
}

.circle-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138, 54, 255, 0.8), rgba(138, 54, 255, 0));
  bottom: -200px;
  right: -100px;
  animation: pulse 20s infinite alternate-reverse;
}

.circle-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 211, 255, 0.8), rgba(45, 211, 255, 0));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 25s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.2) translate(100px, 50px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* About section styling */
.about {
  background-color: #080808;
  padding-bottom: 0;
  margin-bottom: 0;

}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 30px;
  justify-content: center;
}

.about-card {
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 54, 255, 0.05), rgba(255, 0, 106, 0.05));
  z-index: -1;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 
              0 0 15px rgba(138, 54, 255, 0.1),
              0 0 30px rgba(255, 0, 106, 0.05);
}

.about-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  display: inline-block;
}

.about-card h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #ff7b00, #ff006a);
  transition: width 0.3s ease;
}

.about-card:hover h3::after {
  width: 100%;
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
  height: 100px; 
  display: flex;
  align-items: center; 
  justify-content: center; 
}

.rotary-logo, .rotaract-logo{
  max-height: 220%; /* Ensure the logo fits within the container */
  max-width: 110%; /* Ensure the logo fits within the container */
  height: auto;
  transition: all 0.4s ease;
}
.crr-logo {
  max-height: 120%; /* Ensure the logo fits within the container */
  max-width: 100%; /* Ensure the logo fits within the container */
  height: auto;
  transition: all 0.4s ease;
}

.about-card:hover .rotary-logo,
.about-card:hover .rotaract-logo,
.about-card:hover .crr-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(138, 54, 255, 0.3));
}

.card-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Projects section styling */

.projects {
  background-color: #060606;
}

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

.project-card {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 
              0 0 15px rgba(255, 123, 0, 0.1),
              0 0 30px rgba(45, 211, 255, 0.05);
}


.project-info {
  padding: 25px;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  display: inline-block;
}

.project-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, #2dd3ff, #8a36ff);
  transition: width 0.3s ease;
}

.project-card:hover .project-title::after {
  width: 100%;
}

.project-info p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
} */


.projects {
  padding: 60px 20px;
  background-color: #060606;
}


.project-image-slider {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.project-image-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.project-image-slider img.active {
  opacity: 1;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
  /* Adjust project grid layout */
  .projects-grid {
    grid-template-columns: 1fr; /* Stack project cards vertically */
    gap: 20px; /* Reduce spacing between cards */
  }

  /* Adjust project card */
  .project-card {
    border-radius: 10px; /* Slightly smaller rounded corners */
    padding: 15px; /* Add padding for better spacing */
  }

  /* Adjust project image slider */
  .project-image-slider {
    height: 150px; /* Reduce height for smaller screens */
  }

  .project-image-slider img {
    width: 100%; /* Ensure images take full width */
    height: 100%; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure images fit properly */
  }

  /* Adjust project title */
  .project-title {
    font-size: 1.2rem; /* Reduce font size */
    margin-bottom: 10px;
  }

  /* Adjust project description */
  .project-info p {
    font-size: 0.9rem; /* Reduce font size */
    line-height: 1.4; /* Adjust line height for readability */
  }

  /* Adjust section title */
  .section-title {
    font-size: 1.8rem; /* Reduce font size */
    margin-bottom: 30px;
  }

  /* Adjust gradient text */
  .gradient-text {
    font-size: 1.5rem; /* Reduce font size */
  }
}




/* Strangers event section styling */
.strangers {
  background-color: #070707;
  padding-top: 30px;
  margin-top: -10rem;
}

.strangers-content {
  text-align: center;
}

.strangers-logo-container {
  margin-bottom: 30px;
}

.make-wonders-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 5px rgba(255, 123, 0, 0.2));
}

.strangers-content:hover .make-wonders-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 123, 0, 0.3));
}

.event-description {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.strangers-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.feature {
  padding: 20px;
  background: rgba(30, 30, 30, 0.3);
  border-radius: 10px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(40, 40, 40, 0.4);
  box-shadow: 0 10px 20px rgba(73,17,85, 255) ;
  .feature-icon{
    color: rgb(206, 45, 255);
    text-shadow: 0 0 10px rgba(45, 211, 255, 0.5);
  }
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}


.feature h3 {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.event-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category {
  padding: 25px;
  background: rgba(25, 25, 25, 0.4);
  border-radius: 12px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.category:hover {
  transform: translateY(-5px);
  background: rgba(35, 35, 35, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
              0 0 15px rgba(45, 211, 255, 0.1);
}

.category h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  display: inline-block;
}

.category h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, #ff7b00, #2dd3ff);
  transition: width 0.3s ease;
}

.category:hover h3::after {
  width: 70%;
}

.category p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Events section styling */
.events {
  background-color: #050505;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, #ff7b00, #ff006a, #8a36ff, #2dd3ff);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  padding: 15px 30px;
  position: relative;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 15px;
  width: calc(50% - 40px);
  margin-bottom: 30px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: animateOnScroll 0.6s forwards;
  animation-delay: calc(0.2s * var(--i, 1));
  opacity: 0;
  transform: translateY(30px);
}

@keyframes animateOnScroll {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item:nth-child(odd) {
  float: left;
  clear: right;
}

.timeline-item:nth-child(even) {
  float: right;
  clear: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ff006a;
  border-radius: 50%;
  top: 20px;
  z-index: 1;
  box-shadow: 0 0 10px rgba(255, 0, 106, 0.5),
              0 0 20px rgba(255, 0, 106, 0.3);
}

.timeline-item:nth-child(odd)::before {
  right: -50px;
}

.timeline-item:nth-child(even)::before {
  left: -50px;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
              0 0 15px rgba(255, 0, 106, 0.1);
}

.timeline-date {
  margin-bottom: 15px;
}

.timeline-date h3 {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 5px;
}

.timeline-date p {
  font-size: 1rem;
  color: rgba(255, 0, 106, 0.8);
  font-weight: 600;
}

.timeline-content h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.timeline-content p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.timeline-item.highlight {
  background: rgba(255, 0, 106, 0.1);
  border: 1px solid rgba(255, 0, 106, 0.2);
}

.timeline-item.highlight::before {
  background: #8a36ff;
  box-shadow: 0 0 10px rgba(138, 54, 255, 0.5),
              0 0 20px rgba(138, 54, 255, 0.3);
}

.tabs {
  margin-bottom: 60px;
}

.tab-header {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab {
  padding: 12px 20px;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab:hover {
  background: rgba(40, 40, 40, 0.5);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
              0 0 10px rgba(138, 54, 255, 0.1);
}

.tab.active {
  background: linear-gradient(to right, rgba(138, 54, 255, 0.2), rgba(255, 0, 106, 0.2));
  color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 0, 106, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
              0 0 10px rgba(255, 0, 106, 0.2);
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

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

.events-grid {
  display: grid; /* Use grid layout */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
  gap: 20px; /* Add spacing between items */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  margin-top: 20px;
}

.event-item {
  padding: 20px;
  background: rgba(25, 25, 25, 0.4);
  border-radius: 10px;
  transition: all 0.4s ease;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-item:hover {
  transform: translateY(-5px);
  background: rgba(35, 35, 35, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
              0 0 15px rgba(45, 211, 255, 0.1);
  border: 1px solid rgba(45, 211, 255, 0.2);
}

.event-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: rgba(45, 211, 255, 0.8);
}

.event-item:hover .event-icon {
  color: rgba(45, 211, 255, 1);
  text-shadow: 0 0 10px rgba(45, 211, 255, 0.5);
}

.event-item h3 {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.key-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.key-feature {
  padding: 25px;
  background: rgba(20, 20, 20, 0.4);
  border-radius: 12px;
  transition: all 0.4s ease;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.key-feature:hover {
  transform: translateY(-5px);
  background: rgba(30, 30, 30, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
              0 0 15px rgba(255, 123, 0, 0.1);
  border: 1px solid rgba(255, 123, 0, 0.2);
}

.key-feature .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: rgba(255, 123, 0, 0.8);
}

.key-feature:hover .feature-icon {
  color: rgba(255, 123, 0, 1);
  text-shadow: 0 0 10px rgba(255, 123, 0, 0.5);
}

.key-feature h3 {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
}

/* modal css styling */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  /* background-color: rgba(0,0,0,0.6); */
}

.modal.show {
  display: flex; /* Show modal */
  opacity: 1; /* Fully visible */
}

.modal-content {
  /* background-color: hsla(327, 99%, 34%, 0.914); */
  background: linear-gradient(to right, rgba(102, 39, 189, 0.95), rgba(173, 0, 72, 0.95));
color: rgba(255, 255, 255, 1);
border: 1px solid rgba(255, 0, 106, 0.3);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
            0 0 10px rgba(255, 0, 106, 0.2);
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  color: #f0f0f0;
  place-items: center;
}

.modal.show .modal-content {
  transform: scale(1); /* Scale to full size */
  opacity: 1; /* Fully visible */
}

.modal.hide .modal-content {
  transform: scale(0.8); /* Shrink when closing */
  opacity: 0; /* Fade out */
}

#modalLink {
  background: linear-gradient(45deg, #ff7b00, #ff006a, #8a36ff, #2dd3ff); /* Multi-color gradient */
  background-size: 300% 300%; /* Increase the gradient size for animation */
  color: #fff; /* Text color */
  align-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin: 10px 0;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  animation: gradientAnimation 5s ease infinite; /* Add animation */
}

/* Add hover effect */
#modalLink:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* Add a glow effect */
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.close:hover {
  color: #000;
}


/* Team section styling */
.team {
  background-color: #060606;
  background-image: radial-gradient(circle at 10% 20%, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 90%);
}

.team-members {
  display: grid;
  grid-template-columns: repeat(3, 350px);
  gap: 30px;
  justify-content: center;
}

.team-member {
  background: rgba(25, 25, 25, 0.4);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 
              0 0 20px rgba(138, 54, 255, 0.1);
  border: 1px solid rgba(138, 54, 255, 0.2);
}

.member-avatar {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.member-avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
}

.team-member:hover .member-avatar img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
}

.member-info p {
  font-size: 1rem;
  color: rgba(138, 54, 255, 0.8);
  font-weight: 500;
}

/* Contact section styling */
.contact {
  background-color: #050505;
  background-image: radial-gradient(circle at 90% 10%, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 90%);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  background: rgba(25, 25, 25, 0.4);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 
              0 0 20px rgba(45, 211, 255, 0.1);
  border: 1px solid rgba(45, 211, 255, 0.2);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-icon {
  font-size: 1.8rem;
  color: rgba(45, 211, 255, 0.8);
}

.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
}

.info-item p {
  font-size: 1rem;
  color: rgba(45, 211, 255, 0.7);
}

.info-item a {
  color: rgba(45, 211, 255, 0.8);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(30, 30, 30, 0.6);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  transform: translateY(-5px);
  color: white;
  background: rgba(45, 211, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 
              0 0 10px rgba(45, 211, 255, 0.3);
  border: 1px solid rgba(45, 211, 255, 0.3);
}

/* FOOTER */

/* Footer Styling */
.footer {
  background-color: #0a0a0a;
  color: rgba(255, 255, 255, 0.8); 
  padding: 20px 0; 
  text-align: center; 
  border-top: 1px solid rgba(255, 255, 255, 0.1); 
}

.footer-content {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

.footer p {
  margin: 10px 0; 
  font-size: 0.9rem;
  line-height: 1.6; 
}

.footer a {
  color: rgba(138, 54, 255, 0.8); 
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: rgba(255, 0, 106, 0.9); 
}

.footer .footer-icon {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  width: 40px; 
  height: 40px; 
  margin: 0 5px;
  background: rgba(30, 30, 30, 0.6); 
  border-radius: 50%; 
  color: rgba(255, 255, 255, 0.8); 
  font-size: 1.2rem; 
  transition: all 0.3s ease; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
}

.footer .footer-icon:hover {
  background: rgba(45, 211, 255, 0.2); 
  color: rgba(255, 255, 255, 1); 
  transform: translateY(-3px); 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 
              0 0 10px rgba(45, 211, 255, 0.3); 
  border: 1px solid rgba(45, 211, 255, 0.3); 
}






/* Additional class names for animations */
.glow-text {
  color: white;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3),
               0 0 10px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.glow-text:hover, .glow-text-subtle:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3);
}

.glow-text-subtle {
  color: white;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.animate-float {
  animation: float-animation 6s ease-in-out infinite;
}

@keyframes float-animation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-pulse {
  animation: pulse-animation 2s ease-in-out infinite;
}

@keyframes pulse-animation {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-late {
  animation: fade-in 1s ease-out 0.5s forwards;
  opacity: 0;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-delay-1 {
  animation: fade-in 1s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fade-in 1s ease-out 0.4s forwards;
  opacity: 0;
}

.animate-fade-in-delay-3 {
  animation: fade-in 1s ease-out 0.6s forwards;
  opacity: 0;
}

.animate-fade-in-delay-4 {
  animation: fade-in 1s ease-out 0.8s forwards;
  opacity: 0;
}

.animate-fade-in-delay-5 {
  animation: fade-in 1s ease-out 1s forwards;
  opacity: 0;
}

.mt-6 {
  margin-top: 60px;
}

/* Animation for scroll effect */
.animate-on-scroll {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* @media (max-width: 2560px){

}
 */
/* Responsive adjustments */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .rotary-district span {
    font-size: 1.8rem;
  }
  .about{
    padding-bottom: 0;
    margin-bottom: 0;
    


  }
  .strangers{
    padding-top: 0;
    margin-top: -10rem;
  }
  .team-members {
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 30px;
    justify-content: center;
  }
  
}

@media (max-height: 900px){
  .strangers{
    padding-top: 0;
    margin-top: 0rem;
  }
}


@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: calc(100% - 60px);
    float: right;
    clear: both;
  }
  
  .timeline-item::before {
    left: -40px;
  }
  
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: -40px;
  }
  .about{
    padding-bottom: 0;
    margin-bottom: 0;

  }
  .strangers{
    padding-top: 0;
    margin-top: -10rem;
  }
  .team-members {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 30px;
    justify-content: center;
  }
  .nav-links li{
    transform: translateY(-10px);
  }
  .nav-links li a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
  
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .rotary-district span {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .feature{
    color: rgb(206, 45, 255);
    text-shadow: 0 0 10px rgba(45, 211, 255, 0.5);
  }
  
  .key-features {
    grid-template-columns: 1fr;
  }
  .about{
    padding-bottom: 0;
    margin-bottom: 0;

  }
  .strangers{
    padding-top: 0;
    margin-top: 0;
  }
  .team-members {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 30px;
    justify-content: center;
  }
  .footer-content {
    padding: 0 15px; 
  }

  .footer p {
    font-size: 0.8rem; 
    line-height: 1.4; 
  }

  .footer .footer-icon {
    width: 35px; 
    height: 35px;
    font-size: 1rem; 
    margin: 0 3px; 
  }
  
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .nav-links {
    gap: 8px;
  }
  
  .nav-links li a {
    font-size: 0.7rem;
    padding: 5px 8px;
  }
  
  .rotary-district span {
    font-size: 1.3rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .tab {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .about{
    padding-bottom: 0;
    margin-bottom: 0;

  }
  .strangers{
    padding-top: 0;
    margin-top: 0;
  }
  .team-members {
    display: grid;
    grid-template-columns: repeat(1, 250px);
    gap: 30px;
    justify-content: center;
  }
  .contact-container {
    grid-template-columns: 1fr; 
    gap: 20px; 
    padding: 20px; 
  }
  .contact-info {
    padding: 20px; 
    font-size: 0.9rem; 
  }
  .info-item {
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    gap: 10px; 
  }

  .info-icon {
    font-size: 1.5rem; 
  }

  .social-media {
    flex-wrap: wrap; 
    gap: 10px; 
  }

  .social-icon {
    width: 40px; 
    height: 40px;
    font-size: 1rem;
  }
  .footer-content {
    padding: 0 10px; 
  }

  .footer p {
    font-size: 0.75rem; 
    line-height: 1.3; 
  }

  .footer .footer-icon {
    width: 30px; 
    height: 30px;
    font-size: 0.9rem; 
    margin: 0 2px; 
  }
  
}

/* Modern Dark Purple Theme with Enhanced Animations and Glow Effects */
:root {
  /* Color Palette - Darker but Vibrant */
  --dark-purple-primary: #050314;   /* Even darker base color */
  --dark-purple-secondary: #0F061A; /* Deeper purple shade */
  --dark-purple-accent: #2A084F;    /* Vibrant accent */
  --dark-purple-gradient-1: #1A0D28;
  --dark-purple-gradient-2: #100820;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --accent-glow: #a855f7;
  --vibrant-orange: #ff7b00;
  --vibrant-pink: #ff006a;
  --vibrant-blue: #4361ee;
  --neon-purple: #8a36ff;
  --neon-blue: #45ddff;
  
  /* Spacing */
  --section-spacing: 5rem;
  --container-padding: 2rem;
  
  /* Font sizes */
  --font-xl: 3rem;
  --font-lg: 2.25rem;
  --font-md: 1.5rem;
  --font-sm: 1rem;
  --font-xs: 0.875rem;
}