* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0e1a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: -0.25rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(10px);
  padding: 1rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: #e2e8f0;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}


.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: #0a0e1a;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.tech-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
  radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
  linear-gradient(45deg, transparent 30%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
  background-size: 400px 400px, 600px 600px, 100% 100%;
  animation: tech-pattern-move 20s ease-in-out infinite;
}

@keyframes tech-pattern-move {
  0%, 100% { background-position: 0% 0%, 100% 100%, 0% 0%; }
  50% { background-position: 100% 100%, 0% 0%, 100% 100%; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-header {
  margin-bottom: 1rem;
}

.society-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(30deg); }
}

.hero-description {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  border: 2px solid #3b82f6;
  color: #3b82f6;
  background: transparent;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid #475569;
  color: #e2e8f0;
  background: transparent;
}

.btn-outline:hover {
  background: #475569;
  color: white;
}


.overview {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0e1a 0%, #1e293b 100%);
}

.overview-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.overview-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.overview-card:hover {
  transform: translateY(-10px);
  border-color: #3b82f6;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.overview-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.overview-card p {
  color: #94a3b8;
  line-height: 1.6;
}

.latest-buzz {
  padding: 6rem 0;
  background: #0a0e1a;
}

.buzz-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.buzz-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.buzz-card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
}

.buzz-date {
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.buzz-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f1f5f9;
}

.buzz-card p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}

.buzz-footer {
  text-align: center;
}

.about-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #1e293b 0%, #0a0e1a 100%);
}

.about-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #3b82f6;
}

.stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.about-features {
  display: grid;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 0.5rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature i {
  color: #3b82f6;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.feature h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

.feature p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}


.projects-section {
  padding: 6rem 0;
  background: #0a0e1a;
}

.projects-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

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

.project-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
}

.project-image {
  height: 200px;
  background: linear-gradient(45deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 3rem;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f1f5f9;
}

.project-description {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}


.events-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #1e293b 0%, #0a0e1a 100%);
}

.events-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.events-grid {
  display: grid;
  gap: 1.5rem;
}

.event-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.event-card:hover {
  border-color: #3b82f6;
  transform: translateX(10px);
}

.event-date {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  min-width: 80px;
  color: white;
}

.event-day {
  font-size: 1.5rem;
  font-weight: bold;
}

.event-month {
  font-size: 0.875rem;
  opacity: 0.9;
}

.event-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

.event-content p {
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.event-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}


.blog-section {
  padding: 6rem 0;
  background: #0a0e1a;
}

.blog-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
}

.blog-image {
  height: 200px;
  background: linear-gradient(45deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 2rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f1f5f9;
}

.blog-excerpt {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tag {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-footer {
  text-align: center;
}

.footer {
  background: #0f172a;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3b82f6;
}

.footer-section ul li i {
  margin-right: 0.5rem;
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
}

/*Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 26, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(59, 130, 246, 0.3);
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*Animation utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*Toast animations */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/*Responsive Design */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.5rem; }
  .hero-description { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .overview-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { justify-content: center; }
  .event-card { flex-direction: column; text-align: center; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .floating-components .component { font-size: 1.5rem; }
  .robotic-eye { width: 80px; height: 80px; top: 5%; right: 5%; }
  .holo-circle { width: 60px !important; height: 60px !important; }
  .laser-scanner { opacity: 0.1; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.5rem; }
  .hero-title { font-size: 2rem; }
  .overview-title, .buzz-title { font-size: 2rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
}

html { scroll-behavior: smooth; }

/*Reduced animations for low-performance devices */
.reduced-animations * {
  animation-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}

.reduced-animations .matrix-rain,
.reduced-animations .floating-components,
.reduced-animations .laser-scanner {
  display: none !important;
}



/* Calendar Section */
.calendar-section {
  padding: 8rem 0 6rem; /* Adjusted padding for fixed navbar */
  background: #0a0e1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.calendar-container {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calendar-header button {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.calendar-header button:hover {
  color: #8b5cf6;
}

.calendar-header h3 {
  font-size: 1.8rem;
  color: #f1f5f9;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  min-height: 520px; /* Ensures enough space for 6 rows of days */
}

.calendar-day {
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  min-height: 80px; /* Each day cell maintains its height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  font-size: 1.1rem;
  color: white;
  /* Removed font-size and color as day numbers are no longer displayed */
  position: relative;
  overflow: hidden;
}

.calendar-day.current-month {
  background: rgba(59, 130, 246, 0.2);
}

.calendar-day.today {
  border: 2px solid #8b5cf6;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.calendar-day.has-event {
  cursor: pointer;
  background: rgba(139, 92, 246, 0.3);
  transition: background 0.3s ease;
}

.calendar-day.has-event:hover {
  background: rgba(139, 92, 246, 0.5);
}

.event-dot {
  width: 8px;
  height: 8px;
  background-color: #00ff00; /* Green dot for events */
  border-radius: 50%;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.event-list {
  margin-top: 2rem;
  width: 100%;
  max-width: 900px;
  min-height: 200px; /* Ensures this container maintains height */
  display: flex; /* Use flexbox to manage children */
  flex-direction: column;
}

.event-list h3 {
  font-size: 1.5rem;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.event-item {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0; /* Prevent individual items from shrinking */
}

.event-item h4 {
  font-size: 1.2rem;
  color: #3b82f6;
}

.event-item p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.event-item-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.no-events-message {
  text-align: center;
  padding: 1rem;
  color: #94a3b8;
  font-style: italic;
  transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  opacity: 1;
  max-height: 100px; /* Max height when visible */
  overflow: hidden;
  flex-shrink: 0;
  flex-grow: 0;
}

.no-events-message.hidden {
  opacity: 0;
  max-height: 0;
  padding: 0;
  pointer-events: none; /* Disable interaction when hidden */
}

/* Footer */


.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3b82f6;
}

.footer-section ul li i {
  margin-right: 0.5rem;
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .calendar-header h3 {
    font-size: 1.5rem;
  }
  .calendar-day {
    min-height: 60px; /* Adjusted for smaller screens */
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  .calendar-day {
    min-height: 50px; /* Further adjustment for very small screens */
  }
  .calendar-header button {
    font-size: 1.2rem;
  }
}

html {
  scroll-behavior: smooth;
}

/* Reduced animations for low-performance devices */
.reduced-animations * {
  animation-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}

.reduced-animations .matrix-rain,
.reduced-animations .floating-components,
.reduced-animations .laser-scanner {
  display: none !important;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: -0.25rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}



.mobile-nav-link {
  color: #e2e8f0;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* Membership Section */
.membership-section {
  padding: 8rem 0 6rem; /* Adjusted padding for fixed navbar */
  background: #0a0e1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.membership-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.membership-section .section-description {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

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

.membership-section .membership-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.membership-section .membership-card h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.membership-section .membership-card p {
  font-size: 1.1rem;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
}

.membership-section .membership-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.membership-section .membership-card ul li {
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}

.membership-section .membership-card ul li i {
  margin-right: 0.5rem;
  color: #00ff00;
}

.membership-section .membership-card .btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.membership-section .membership-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Membership Form Section */
.membership-form-section {
  padding: 6rem 0;
  background: #0a0e1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.membership-form-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.membership-form-section .section-description {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.membership-form .form-group {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 600px;
}

.membership-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

.membership-form .form-group input,
.membership-form .form-group textarea,
.membership-form .form-group select {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(30, 41, 59, 0.5);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.membership-form .form-group input:focus,
.membership-form .form-group textarea:focus,
.membership-form .form-group select:focus {
  border-color: #3b82f6;
  outline: none;
}

.membership-form .form-group .error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

button.btn,


button.btn:hover,
input.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Footer */
.footer {
  background: #0f172a;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding: 3rem 0 1rem;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3b82f6;
}

.footer-section ul li i {
  margin-right: 0.5rem;
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
}

/* Loading Spinner */

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(59, 130, 246, 0.3);
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .membership-section h2 { font-size: 2rem; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.5rem; }
}

