/* KURZIFY BRAND STYLES - CYBERPUNK THEME */
:root {
  --main-dark: #0a0a12; /* Dark blue-black */
  --primary-red: #ff003c; /* Bright cyberpunk red */
  --dark-red: #cc0022; /* Darker red */
  --accent-green: #00ff88; /* Neon green */
  --pure-white: #ffffff;
  --light-gray: #f0f0f0;
  --highlight-orange: #ff7b00;
  --official-green: #00ff99;
  --neon-blue: #00f0ff;
  
  --card-bg: #121220; /* Dark blue card background */
  --border-accent: 2px solid var(--accent-green);
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
  --glow-effect: 0 0 10px rgba(255, 0, 60, 0.5);
  --official-glow: 0 0 10px rgba(0, 255, 153, 0.5);
  --neon-glow: 0 0 8px rgba(0, 240, 255, 0.7);
}

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

body {
  font-family: 'Bebas Neue', 'Segoe UI', sans-serif;
  background-color: var(--main-dark);
  color: var(--light-gray);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 0, 60, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 20%);
}

/* HEADER */
.header {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  padding: 3rem 0 2rem;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: var(--card-shadow);
  border-bottom: var(--border-accent);
  position: relative;
  overflow: hidden;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  animation: scanline 4s linear infinite;
}

@keyframes scanline {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.brand-title {
  font-size: 4rem;
  letter-spacing: 2px;
  color: var(--pure-white);
  text-shadow: 0 0 10px var(--primary-red), 2px 2px 0 var(--main-dark);
  margin-bottom: 0.5rem;
  animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
  from { text-shadow: 0 0 10px var(--primary-red), 2px 2px 0 var(--main-dark); }
  to { text-shadow: 0 0 15px var(--primary-red), 2px 2px 0 var(--main-dark); }
}

.brand-tagline {
  font-size: 1.5rem;
  letter-spacing: 1px;
  opacity: 0.9;
  color: var(--neon-blue);
}

/* MAIN CONTENT */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* FILTER SYSTEM */
.filter-system {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.search-input, .category-select, .region-select {
  flex: 1 1 300px;
  padding: 1rem;
  font-size: 1.1rem;
  border: 2px solid var(--accent-green);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.search-input:focus, .category-select:focus, .region-select:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* COURSE GRID */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.course-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-red);
  box-shadow: var(--card-shadow);
  position: relative;
}

.official-portal {
  border-left: 5px solid var(--official-green);
  box-shadow: var(--official-glow);
}

.official-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--official-green);
  color: var(--main-dark);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 153, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 153, 0); }
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}

.official-portal::before {
  background: linear-gradient(90deg, var(--official-green), #00cc77);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

.course-card h3 {
  color: var(--primary-red);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-green);
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.official-portal h3 {
  color: var(--official-green);
}

.course-card .course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.course-card .course-meta span {
  background: rgba(0, 255, 136, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.course-card .provider {
  color: var(--accent-green);
  margin-bottom: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-card .description {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: var(--light-gray);
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  color: var(--primary-red);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  background: rgba(255, 0, 60, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 0, 60, 0.3);
}

.official-portal .course-link {
  color: var(--official-green);
  background: rgba(0, 255, 153, 0.1);
  border: 1px solid rgba(0, 255, 153, 0.3);
}

.course-link:hover {
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.2);
  text-decoration: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.official-portal .course-link:hover {
  color: #00cc77;
  background: rgba(0, 204, 119, 0.2);
  border-color: var(--official-green);
}

/* EMAIL BUTTON */
.email-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-red);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
  z-index: 100;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.email-contact:hover {
  background: var(--accent-green);
  color: var(--main-dark);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.7);
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.pagination button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  color: var(--light-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-green);
}

.pagination button:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--neon-blue);
}

.pagination button.active {
  background: var(--primary-red);
  color: white;
  transform: scale(1.1);
  border-color: var(--primary-red);
}

/* FAQ STYLES */
.faq-section {
  margin: 4rem 0;
  padding: 2rem 0;
  border-top: 3px solid var(--accent-green);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--neon-blue), var(--primary-red));
  opacity: 0.3;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-red);
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 0, 60, 0.5);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  border: none;
  background: var(--card-bg);
  color: var(--light-gray);
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 0, 60, 0.1);
  color: var(--neon-blue);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent-green);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-answer.show {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p, .faq-answer ul, .faq-answer ol {
  margin-bottom: 1rem;
}

.faq-answer ul, .faq-answer ol {
  padding-left: 1.5rem;
}

.faq-answer a {
  color: var(--neon-blue);
  text-decoration: none;
  border-bottom: 1px dashed var(--neon-blue);
  transition: all 0.3s ease;
}

.faq-answer a:hover {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .brand-title {
    font-size: 3rem;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-system {
    flex-direction: column;
  }

  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }

  .email-contact {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
}

/* FONT IMPORT - Must be at the end to avoid potential issues */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');