
  :root {
    --primary: #6d42f8;
    --secondary: #e63946;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --accent: #00b4d8;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --gray-light: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
  }

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

  body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--light);
  }

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

  section {
    padding: 4rem 0;
    position: relative;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
  }

  h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
  }

  h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  p {
    margin-bottom: 1.5rem;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #5631d1;
  }

  .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.1;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
  }

  /* Hero Section */
  .hero-section {
    padding: 6rem 0;
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
    position: relative;
  }

  .hero-section h1 {
    color: var(--light);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
  }

  .hero-section .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--light);
    position: relative;
    z-index: 1;
  }

  /* Guides Overview */
  .guides-overview {
    background-color: var(--light);
    padding: 5rem 0;
  }

  .guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .guide-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .guide-content {
    padding: 1.5rem;
  }

  .guide-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .btn-read {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .btn-read:hover {
    background-color: #5631d1;
    color: white;
  }

  /* Featured Guide */
  .featured-guide {
    background-color: var(--dark);
    color: var(--light);
    padding: 5rem 0;
    position: relative;
  }

  .featured-content {
    position: relative;
    z-index: 1;
  }

  .featured-guide h2 {
    color: var(--light);
    margin-bottom: 2rem;
  }

  .featured-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .featured-details img {
    border-radius: 8px;
    max-width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }

  .featured-text {
    flex: 1;
  }

  .featured-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }

  .btn-featured {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .btn-featured:hover {
    background-color: #d62c3b;
    color: white;
  }

  /* Categories */
  .guides-categories {
    background-color: var(--light);
    padding: 5rem 0;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .category-card:hover {
    transform: translateY(-5px);
  }

  .category-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
  }

  .btn-category {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
  }

  .btn-category:hover {
    background-color: #5631d1;
    color: white;
  }

  /* Community Guides */
  .community-guides {
    background-color: #f0f2f5;
    padding: 5rem 0;
  }

  .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
  }

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

  .community-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .author-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }

  .author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
  }

  .guide-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    color: var(--gray);
  }

  .guide-meta i {
    margin-right: 0.5rem;
  }

  .btn-community {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .btn-community:hover {
    background-color: #0096c7;
    color: white;
  }

  .contribute-box {
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .contribute-box h3 {
    color: white;
    margin-bottom: 1rem;
  }

  .btn-contribute {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
  }

  .btn-contribute:hover {
    background-color: var(--gray-light);
  }

  /* Newsletter */
  .newsletter {
    background-color: var(--dark);
    color: white;
    padding: 5rem 0;
  }

  .newsletter-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .newsletter h2 {
    color: white;
    margin-bottom: 1.5rem;
  }

  .newsletter p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }

  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  .form-group input,
  .form-group select {
    padding: 0.8rem;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
  }

  .form-group select {
    height: 150px;
  }

  .btn-subscribe {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn-subscribe:hover {
    background-color: #d62c3b;
  }

  /* Media Queries */
  @media (min-width: 768px) {
    h1 {
      font-size: 3.5rem;
    }

    h2 {
      font-size: 2.5rem;
    }

    .guides-grid,
    .categories-grid,
    .community-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .featured-details {
      flex-direction: row;
    }

    .featured-details img {
      max-width: 45%;
    }
  }

  @media (min-width: 1024px) {
    .guides-grid,
    .community-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
      grid-template-columns: repeat(4, 1fr);
    }

    .newsletter-form {
      flex-direction: row;
      align-items: flex-end;
      flex-wrap: wrap;
    }

    .form-group {
      flex: 1;
    }

    .btn-subscribe {
      align-self: flex-end;
    }
  }
