/* Base Styles */
:root {
    --primary: #8e2de2;
    --primary-gradient: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    --secondary: #14f195;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
 html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background: #000; /* fallback color */
}

body {
  position: relative;
  z-index: 0;
}

/* 🌈 Flowing Cinematic Background */
.cinematic-bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: -10;
  background: radial-gradient(circle at 30% 70%, rgba(142, 45, 226, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(20, 241, 149, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(74, 0, 224, 0.2) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: gradientFlow 15s ease infinite;
  pointer-events: none;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ✨ Tiny Floating Particles */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -9;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particleFloat 10s linear infinite;
  opacity: 0.7;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* 🌐 Mobile-friendly adjustments */
@media (max-width: 768px) {
  .particle {
    width: 2px;
    height: 2px;
  }
}

  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: #1a1a2e;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }
  
  /* Navigation */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(26, 26, 46, 0.95); /* Dark blue with 95% opacity */
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .navbar.scrolled {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
  }
  
  .logo span {
    color: var(--secondary);
  }
  
  .logo-icon {
    margin-right: 10px;
    font-size: 2rem;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 2.5rem;
    position: relative;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
  }
  
  .nav-links a:hover {
    color: var(--secondary);
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  /* Dropdown Menu */
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(26, 26, 46, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 10px;
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeIn 0.3s ease;
  }
  
  .dropdown-content:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .dropdown-content a {
    color: var(--light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-content a:hover {
    background-color: rgba(142, 45, 226, 0.3);
    color: var(--secondary);
    padding-left: 20px;
  }
  
  /* Mobile Menu */
  .mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light);
  }
  
  .mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  .mobile-nav.active {
    left: 0;
  }
  
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light);
  }
  
  .mobile-nav-links {
    list-style: none;
    padding: 1rem 0;
  }
  
  .mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .mobile-nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-links a:hover {
    color: var(--secondary);
    background-color: rgba(142, 45, 226, 0.1);
  }
  
  .mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    color: var(--light);
    background: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .mobile-dropdown-btn:hover {
    color: var(--secondary);
    background-color: rgba(142, 45, 226, 0.1);
  }
  
  .mobile-dropdown-content {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding-left: 1rem;
  }
  
  .mobile-dropdown-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
  }
  

  .cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .cta-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
  }
  
  .cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(142, 45, 226, 0.4);
  }
  
  .cta-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--secondary);
  }
  
  .cta-secondary:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20, 241, 149, 0.3);
  }
  
  .hero-image {
    position: relative;
    width: 40%;
    z-index: 10;
    animation: floatAnimation 3s ease-in-out infinite alternate;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  }
  

  
  /* Newsletter Section */
  .newsletter {
    padding: 5rem 5%;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
  }
  
  .newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
  }
  
  .newsletter h2 {
    color: white;
    margin-bottom: 1rem;
  }
  
  .newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
  }
  
  .newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
  }
  
  .newsletter-input:focus {
    outline: none;
  }
  
  .newsletter-button {
    padding: 1rem 2rem;
    border: none;
    background-color: var(--dark);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .newsletter-button:hover {
    background-color: var(--secondary);
    color: var(--dark);
  }
  
  /* Footer */
  .footer {
    background-color: #14142b;
    padding: 5rem 5% 2rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-column h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  .footer-column h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-gradient);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.8rem;
  }
  
  .footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: var(--secondary);
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
  }
  
  .copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
  }
  
  /* Suggested Section in Mobile Nav */
  .suggested-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .suggested-section h4 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
  }
  
  .suggested-section a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(142, 45, 226, 0.1);
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--secondary);
  }
  
  .suggested-section a:hover {
    background: rgba(142, 45, 226, 0.2);
    color: var(--secondary);
    padding-left: 2rem;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes floatAnimation {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-15px);
    }
  }
  
  @keyframes ticker {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .hero-content {
      width: 55%;
    }
    
    .hero-image {
      width: 45%;
    }
  }
  
  @media (max-width: 768px) {
    .navbar {
      padding: 1rem 5%;
    }
    
    .nav-links {
      display: none;
    }
    
    .mobile-menu {
      display: block;
    }
    
    .hero {
      flex-direction: column;
      height: auto;
      padding: 120px 5% 5rem;
    }
    
    .hero-content {
      width: 100%;
      padding-right: 0;
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .hero h1 {
      font-size: 2.8rem;
    }
    
    .hero-cta {
      justify-content: center;
    }
    
    .hero-image {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 480px) {
    .hero h1 {
      font-size: 2.2rem;
    }
    
    .hero-cta {
      flex-direction: column;
    }
    
    .section-title {
      font-size: 2rem;
    }
  }
  
 
  .ad-rectangle {
    max-width: 300px;
    height: 250px;
  }
  
  .ad-large-rectangle {
    max-width: 336px;
    height: 280px;
  }
  
  .ad-sidebar {
    max-width: 160px;
    height: 600px;
    float: right;
    margin: 0 0 2rem 2rem;
  }
  

  
  /* Free Resource Section */
  .free-resource {
    padding: 5rem 5%;
    background-color: #161629;
    position: relative;
  }
  
  .free-resource .container {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .resource-content {
    flex: 1;
  }
  
  .resource-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
  }
  
  .resource-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
  }
  
  .resource-benefits {
    margin: 2rem 0;
    padding-left: 1.5rem;
  }
  
  .resource-benefits li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 1.5rem;
  }
  
  .resource-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
  }
  
  .resource-join {
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  /* Brevo Form Styling */
  .resource-form-container {
    margin: 2rem 0;
  }
  
  #error-message, #success-message {
    font-size: 16px;
    text-align: left;
    font-family: Helvetica, sans-serif;
    border-radius: 3px;
    margin-bottom: 10px;
    padding: 10px;
    display: none;
  }
  
  #error-message {
    color: #661d1d;
    background-color: #ffeded;
    border: 1px solid #ff4949;
  }
  
  #success-message {
    color: #085229;
    background-color: #e7faf0;
    border: 1px solid #13ce66;
  }
  
  .sib-form-message-panel__text {
    display: flex;
    align-items: center;
  }
  
  .sib-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
  
  .custom-brevo-container {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  
  /* Email and button container - exact match to original */
  .email-button-container {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
  }
  
  .form-input-wrapper {
    flex: 1;
  }
  
  /* Fixed input styling to match original */
  .form-input-wrapper input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    box-sizing: border-box;
  }
  
  input#EMAIL {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    border-radius: 0;
    margin: 0;
  }
  
  input#EMAIL:focus {
    outline: none;
  }
  
  /* Button styling exact match to original */
  .resource-button {
    padding: 1rem 2rem;
    border: none;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    white-space: nowrap;
    height: auto;
  }
  
  .resource-button:hover {
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
  }
  
  /* Captcha styling - outside the email container */
  .captcha-wrapper {
    width: 100%;
    margin: 15px 0;
    display: flex;
    justify-content: flex-start;
  }
  
  .progress-indicator__icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    display: none;
  }
  
  .privacy-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
  }
  
  .resource-image {
    flex: 1;
    max-width: 400px;
  }
  
  .resource-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }
  
  .input--hidden {
    display: none !important;
  }
  
  /* Fix for Brevo form structure */
  #sib-container {
    text-align: left !important;
  }
  
  #sib-form {
    display: flex;
    flex-direction: column;
  }
  
  /* Fix any additional Brevo styles that might interfere */
  #sib-container input:-ms-input-placeholder {
    text-align: left;
    font-family: Helvetica, sans-serif;
    color: #c0ccda;
  }
  
  #sib-container input::placeholder {
    text-align: left;
    font-family: Helvetica, sans-serif;
    color: #c0ccda;
  }
  
  /* Ensure no Brevo default styles interfere */
  #sib-container .input {
    padding: 1rem 1.5rem !important;
    text-align: left !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  
  .sib-form-block {
    padding: 0 !important;
  }
  
  .form__entry {
    width: 100%;
  }
  
  /* Set consistent height and display for email and button */
  .form-input-wrapper, .resource-button {
    height: 56px;
    display: flex;
    align-items: center;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .free-resource .container {
      flex-direction: column;
    }
    
    .resource-image {
      order: -1;
      max-width: 100%;
    }
    
    .email-button-container {
      flex-direction: column;
      border-radius: 16px;
      overflow: hidden;
    }
    
    .resource-button {
      width: 100%;
    }
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .free-resource .container {
      flex-direction: column;
    }
    
    .resource-image {
      order: -1;
      margin-bottom: 2rem;
    }
    
    .ad-sidebar {
      float: none;
      margin: 3rem auto;
    }
  }
  
  @media (max-width: 768px) {
    .difference-item {
      flex-direction: column;
    }
    
    .difference-number {
      margin-right: 0;
      margin-bottom: 1rem;
    }
    
    .resource-form {
      flex-direction: column;
      border-radius: 8px;
    }
    
    .resource-form input {
      border-radius: 8px 8px 0 0;
    }
    
    .resource-button {
      width: 100%;
      border-radius: 0 0 8px 8px;
    }
  }

  /* Topic Hero Section */
.topic-hero {
  background: var(--primary-gradient);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px; /* Account for fixed navbar */
}

.topic-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/crypto-pattern.png');
  background-size: cover;
  opacity: 0.1;
  z-index: 1;
}

.topic-hero .container {
  position: relative;
  z-index: 2;
}

.topic-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.topic-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

/* Topic Introduction */
.topic-introduction {
  padding: 80px 0;
  background-color: var(--dark);
  position: relative;
}

.topic-introduction::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
}

.topic-introduction .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topic-content {
  flex: 1;
}

.topic-image {
  flex: 0 0 40%;
}

.topic-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.topic-image img:hover {
  transform: translateY(-10px);
}

.topic-introduction h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.topic-introduction p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.topic-highlights {
  background: rgba(142, 45, 226, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
  border-left: 4px solid var(--secondary);
}

.topic-highlights h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.topic-highlights ul {
  list-style-type: none;
}

.topic-highlights li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.topic-highlights li::before {
  content: '✓';
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Subtopics Navigation Section */
.subtopics-navigation {
  padding: 80px 0;
  background-color: rgba(26, 26, 46, 0.8);
  position: relative;
}

.subtopics-navigation .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.subtopics-navigation h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.subtopics-navigation > p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.subtopic-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.subtopic-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subtopic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(142, 45, 226, 0.3);
  border-color: rgba(142, 45, 226, 0.4);
}

.subtopic-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtopic-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--light);
}

.subtopic-card p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.subtopic-link {
  display: inline-block;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subtopic-link:hover {
  transform: translateX(5px);
}

/* Featured Content Section */
.featured-content {
  padding: 80px 0;
  background-color: var(--dark);
}

.featured-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-content h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--light);
}

.featured-items {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.featured-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  overflow: hidden;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  transition: all 0.3s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(142, 45, 226, 0.25);
}

.featured-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.featured-item:hover img {
  transform: scale(1.05);
}

.featured-item h3 {
  font-size: 1.5rem;
  padding: 20px 20px 10px;
  color: var(--light);
}

.featured-item p {
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.8);
}

.featured-link {
  display: inline-block;
  margin: 0 20px 20px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.featured-link:hover {
  transform: translateX(5px);
}

/* Testimonial Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), url('/images/testimonial-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0.05;
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--light);
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 550px;
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(142, 45, 226, 0.2);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.author-info {
  margin-left: 15px;
}

.author-info h4 {
  color: var(--light);
  margin-bottom: 5px;
}

.author-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .topic-introduction .container {
    flex-direction: column;
  }
  
  .topic-content {
    order: 2;
  }
  
  .topic-image {
    order: 1;
    margin-bottom: 40px;
    max-width: 500px;
    width: 100%;
  }
  
  .topic-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .topic-hero h1 {
    font-size: 2.5rem;
  }
  
  .topic-subtitle {
    font-size: 1.2rem;
  }
  
  .topic-introduction h2, 
  .subtopics-navigation h2,
  .featured-content h2,
  .testimonials h2 {
    font-size: 2rem;
  }
  
  .subtopic-card {
    min-width: 100%;
  }
  
  .featured-item {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .topic-hero h1 {
    font-size: 2rem;
  }
  
  .topic-subtitle {
    font-size: 1rem;
  }
  
  .topic-introduction h2, 
  .subtopics-navigation h2,
  .featured-content h2,
  .testimonials h2 {
    font-size: 1.8rem;
  }
  
  .testimonial {
    padding: 20px;
  }
}