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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

/* Colors */
:root {
  --primary-red: #dc2626;
  --dark-red: #b91c1c;
  --light-red: #ef4444;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
}

.text-red {
  color: var(--primary-red);
}

.text-white {
  color: #ffffff;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
}

.nav-brand i {
  color: var(--primary-red);
  margin-right: 0.5rem;
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link:hover {
  color: var(--primary-red);
}

.btn-register {
  background: var(--primary-red);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.btn-register:hover {
  background: var(--dark-red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-red);
  color: white;
}

.btn-primary:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-outline:hover {
  background: var(--primary-red);
  color: white;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000000 0%, var(--gray-900) 50%, #000000 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(220, 38, 38, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.floating-icons {
  position: absolute;
  inset: 0;
}

.floating-icons i {
  position: absolute;
  color: rgba(220, 38, 38, 0.2);
  animation: float 6s ease-in-out infinite;
}

.icon-1 {
  top: 20%;
  left: 10%;
  font-size: 2rem;
  animation-delay: 0s;
}

.icon-2 {
  top: 40%;
  right: 20%;
  font-size: 1.5rem;
  animation-delay: 2s;
}

.icon-3 {
  bottom: 40%;
  left: 20%;
  font-size: 2.5rem;
  animation-delay: 4s;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-red);
}

.stat-label {
  color: var(--gray-400);
  margin-top: 0.5rem;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 800px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: linear-gradient(180deg, #000000 0%, var(--gray-900) 100%);
}

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

.about-card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-5px);
}

.about-card i {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--gray-300);
}

/* Services Section */
.services {
  background: linear-gradient(180deg, var(--gray-900) 0%, #000000 100%);
}

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

.service-card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-5px);
}

.service-icon {
  background: rgba(220, 38, 38, 0.2);
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-red);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  color: var(--gray-300);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-card li::before {
  content: "→";
  color: var(--primary-red);
  position: absolute;
  left: 0;
}

/* Features Section */
.features {
  background: linear-gradient(180deg, #000000 0%, var(--gray-900) 100%);
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-5px) scale(1.02);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-300);
}

/* Blog Section */
.blog {
  background: linear-gradient(180deg, var(--gray-900) 0%, #000000 100%);
}

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

.blog-card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-5px) scale(1.02);
}

.blog-category {
  display: inline-block;
  background: rgba(220, 38, 38, 0.2);
  color: var(--light-red);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.blog-card h3:hover {
  color: var(--light-red);
}

.blog-card p {
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-link {
  color: var(--light-red);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--primary-red);
}

/* Registration Section */
.register {
  background: linear-gradient(180deg, #000000 0%, var(--gray-900) 100%);
}

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

.register-form {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.register-benefits {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.register-benefits h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.register-benefits ul {
  list-style: none;
}

.register-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-300);
}

.register-benefits i {
  color: var(--primary-red);
}

/* Contact Section */
.contact {
  background: linear-gradient(180deg, var(--gray-900) 0%, #000000 100%);
}

.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.contact-form {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

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

.contact-card {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  background: rgba(220, 38, 38, 0.2);
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: var(--primary-red);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--gray-300);
  margin: 0;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--gray-300);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-label a {
  color: var(--primary-red);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

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

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

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-brand i {
  color: var(--primary-red);
  margin-right: 0.5rem;
  font-size: 2rem;
}

.footer-contact p {
  color: var(--gray-300);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--primary-red);
  width: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
}

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

.social-links a {
  color: var(--gray-400);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-grid,
  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .register-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

  section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .contact-form,
  .register-form {
    padding: 1.5rem;
  }
}
