/* Air Capital Drift - Modern Flashy Redesign with Red Theme */

:root {
  /* Red color scheme - ENFORCED */
  --primary: #dc2626 !important;
  --primary-dark: #991b1b !important;
  --primary-light: #ef4444 !important;
  --accent: #f87171;
  --gold: #cdb379;
  --gold-light: #d4c085;
  --gold-dark: #b8a36d;
  --dark: #0f0e07;
  --dark-gray: #111111;
  --medium-gray: #1f1f1f;
  --light-gray: #2a2a2a;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --text-gray: #d1d5db;
  
  /* Typography */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-bold: 'Segoe UI Semibold', 'Segoe UI', sans-serif;
  --font-black: 'Segoe UI Black', 'Segoe UI Bold', sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 180px;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Animations */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--primary-dark) 0%, var(--dark) 70%);
}

.bg-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--dark);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(220, 38, 38, 0.2);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo .logo-main {
  filter: drop-shadow(0 0 0 transparent);
  transition: filter 0.3s ease;
}

.nav-logo:hover .logo-main {
  animation: logoFlash 1.5s infinite;
  filter: drop-shadow(0 0 10px var(--gold));
}

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

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  overflow: visible;
}

.nav-link:hover {
  color: var(--white);
  background: transparent;
  animation: navLinkFlash 1.5s infinite;
}

.nav-link.active {
  color: var(--gold-light) !important;
  background: transparent;
  filter: drop-shadow(0 0 8px var(--gold));
}

.nav-link i {
  margin-right: 0.3rem;
  color: var(--gold);
  transition: all 0.3s;
}

.nav-link:hover i {
  color: var(--gold-light);
  filter: drop-shadow(0 0 3px var(--gold));
}

.nav-link.active i {
  color: var(--gold-light) !important;
  filter: drop-shadow(0 0 5px var(--gold));
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gold);
  border: 1px solid var(--gold);
  background: rgba(205, 179, 121, 0.1);
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-toggle:hover {
  background: rgba(205, 179, 121, 0.2);
  color: var(--gold-light);
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    flex-direction: column;
    padding-top: 1rem;
    border-radius: 0 0 1rem 1rem;
    margin-top: 0.5rem;
  }
  
  .nav-link {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(205, 179, 121, 0.2);
    margin: 0 0.5rem;
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  overflow: hidden;
  padding: 6rem 2rem 2rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
  opacity: 0.1;
  animation: rotate 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
  opacity: 0.2;
}

.logo-container {
  margin-bottom: 2rem;
  transform: scale(0);
  animation: scaleIn 1.2s cubic-bezier(0.25, 1, 0.5, 1.25) forwards;
}

.hero-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.logo-placeholder {
  width: 150px;
  height: 150px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  color: var(--white);
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.animate-title {
  font-size: 4rem;
  font-family: var(--font-black);
  letter-spacing: 2px;
  margin: 0 0 1rem;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out 0.5s forwards;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 1.5rem;
  margin: 0 0 2.5rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out 0.7s forwards;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 0;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  text-decoration: none;
  padding: 0.9em 2em;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1.25);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: fadeUp 1s ease-out 0.9s forwards;
  z-index: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 5px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
  z-index: -1;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-5px) scale(1.05);
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--primary-light), var(--gold));
  box-shadow: 0 8px 30px rgba(205, 179, 121, 0.3);
}

.btn-secondary:hover {
  background: rgba(205, 179, 121, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gold);
}

.btn-primary:hover::before, .btn-secondary:hover::before {
  left: 100%;
}

.btn-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
  position: relative;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.btn-link:hover {
  color: var(--primary-light);
}

.btn-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.btn-link:hover i {
  transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards;
}

.scroll-indicator span {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 1001;
  width: 0;
  transition: width 0.1s;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
}

/* Content positioning when hero is disabled */
main.no-hero {
  margin-top: 6rem;
}

section {
  margin: 6rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-card {
  background: var(--medium-gray);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-out;
}

.section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.section-card:hover::before {
  transform: scaleX(1);
}

/* Section Headings */
h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-family: var(--font-bold);
  letter-spacing: 1px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-out 0.3s;
  border-radius: 2px;
}

section.visible h2::after {
  transform: scaleX(1);
}

/* About Section */
.about-content {
  font-size: 1.2rem;
  color: var(--off-white);
  max-width: 800px;
  margin: 0 auto;
}

.animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible .animate-item {
  opacity: 1;
  transform: translateY(0);
}

section.visible .animate-item:nth-child(1) { transition-delay: 0.1s; }
section.visible .animate-item:nth-child(2) { transition-delay: 0.2s; }
section.visible .animate-item:nth-child(3) { transition-delay: 0.3s; }
section.visible .animate-item:nth-child(4) { transition-delay: 0.4s; }
section.visible .animate-item:nth-child(5) { transition-delay: 0.5s; }

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.cta-secondary {
  margin-top: 2rem;
  text-align: center;
}

/* Highlights Section */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.highlight-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
  transition: all 0.3s;
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary-light);
}

.highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.highlight-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.card-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  position: relative;
  transition: all 0.3s;
}

.card-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.card-link:hover {
  color: var(--primary-light);
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* Quick Links Section */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.quick-link-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.quick-link-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(220, 38, 38, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

.quick-link-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.quick-link-card:hover i {
  transform: scale(1.2);
  color: var(--primary-light);
}

.quick-link-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.quick-link-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: all 0.3s;
}

.contact-item:hover i {
  transform: scale(1.2);
  color: var(--primary-light);
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.contact-item a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s;
}

.contact-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-10px) rotate(10deg);
  background: var(--primary-light);
  box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3);
}

/* Footer */
.site-footer {
  background: var(--dark-gray);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-logo p {
  color: var(--text-gray);
}

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

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

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

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

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding-left: 1rem;
}

.footer-section a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  transition: transform 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-section a:hover::before {
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Animations */
@keyframes logoFlash {
  0% {
    filter: drop-shadow(0 0 5px var(--gold));
    transform: scale(1);
  }
  25% {
    filter: drop-shadow(0 0 15px var(--gold-light));
    transform: scale(1.05);
  }
  50% {
    filter: drop-shadow(0 0 10px var(--gold));
    transform: scale(1);
  }
  75% {
    filter: drop-shadow(0 0 20px var(--gold-light));
    transform: scale(1.08);
  }
  100% {
    filter: drop-shadow(0 0 5px var(--gold));
    transform: scale(1);
  }
}

@keyframes navLinkFlash {
  0% {
    text-shadow: 0 0 5px var(--gold);
  }
  50% {
    text-shadow: 0 0 10px var(--gold-light), 0 0 15px var(--gold-light);
  }
  100% {
    text-shadow: 0 0 5px var(--gold);
  }
}

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

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Form Styling */
.login-content, .registration-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.login-form, .registration-form {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--dark-gray);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: var(--medium-gray);
}

.form-group input:hover,
.form-group select:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

.form-checkbox label {
  margin: 0;
  color: var(--text-gray);
  font-weight: normal;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.forgot-password {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: var(--primary-light);
}

.login-info {
  background: rgba(220, 38, 38, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.login-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.login-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.login-info li {
  padding: 0.5rem 0;
  color: var(--text-gray);
  position: relative;
  padding-left: 1.5rem;
}

.login-info li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.login-info p {
  color: var(--text-gray);
  margin: 0;
}

.login-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.login-info a:hover {
  color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .section-card {
    padding: 1.8rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 2rem 1rem 1.5rem;
    border-bottom-left-radius: 2rem 1rem;
    border-bottom-right-radius: 2rem 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta a {
    width: 100%;
    text-align: center;
  }
  
  .section-card {
    padding: 1.5rem;
  }
  
  .login-content, .registration-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
}


/* Coming Soon */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: large;
}

/* Member Dashboard Styles */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard-header h1 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.dashboard-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeUp 0.3s ease;
}

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

/* Event Cards */
.events-section {
  margin-bottom: 2rem;
}

.events-category {
  margin-bottom: 2.5rem;
}

.events-category h4 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(220, 38, 38, 0.2);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
}

.event-card h5 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.event-date {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-location {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.event-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

/* Status Badges */
.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.paid {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.unpaid {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.completed {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.incomplete {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.payment-amount {
  color: var(--white);
  font-weight: 600;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-gray);
}

.empty-state h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Profile Section */
.profile-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.profile-header h3 {
  color: var(--primary);
  font-size: 1.5rem;
}

.profile-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-group h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
  color: var(--text-gray);
  font-weight: 600;
}

.info-value {
  color: var(--white);
}

/* Vehicle and Contact Cards */
.vehicles-section, .emergency-contacts-section {
  margin-bottom: 2rem;
}

.vehicles-header, .contacts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.vehicles-header h3, .contacts-header h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.vehicles-header p, .contacts-header p {
  color: var(--text-gray);
  margin: 0;
}

.vehicles-grid, .contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.vehicle-card, .contact-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.vehicle-card:hover, .contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.2);
}

.vehicle-title, .contact-name {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vehicle-details, .contact-details {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.vehicle-details p, .contact-details p {
  margin: 0.3rem 0;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-edit {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-edit:hover {
  background: rgba(59, 130, 246, 0.3);
  color: var(--white);
}

.btn-delete {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.3);
  color: var(--white);
}

.btn-make-primary {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-make-primary:hover {
  background: rgba(34, 197, 94, 0.3);
  color: var(--white);
}

.primary-badge {
  background: var(--primary);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
}

/* Custom Modal Styles for Bootstrap Modals */
.modal-content.bg-dark {
  background: var(--dark-gray) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title.text-primary {
  color: var(--primary) !important;
}

.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body form {
  padding: 0;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--dark-gray);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-main);
  resize: vertical;
  min-height: 80px;
  transition: all 0.3s ease;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: var(--medium-gray);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }
  
  .tab-navigation {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tab-btn {
    flex: none;
    width: 100%;
  }
  
  .events-grid, .vehicles-grid, .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-info {
    grid-template-columns: 1fr;
  }
  
  .vehicles-header, .contacts-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .event-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .card-actions {
    flex-wrap: wrap;
  }
  

  
  .form-row {
    grid-template-columns: 1fr;
  }
  

}

@media (max-width: 480px) {
  .dashboard-header h1 {
    font-size: 2rem;
  }
  
  .tab-btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .event-card, .vehicle-card, .contact-card {
    padding: 1rem;
  }
  
  .profile-section {
    padding: 1.5rem;
  }
  

}
