/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    line-height: 1.6;
    color: #333;
  }
  
  /* ==========================================================================
     CSS Variables (Tweak these to change your theme quickly)
     ========================================================================== */
  :root {
    --primary-color: #D41700;
    --secondary-color: #FFD700;
    --white: #fff;
    --black: #000;
    --gray-light: #f4f4f4;
    --gray-dark: #333;
  }

  /*primary button*/
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--black);
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;;
}
.btn:hover {
  background: none; /* Red */
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

  
  /* ==========================================================================
     Navigation Bar
     ========================================================================== */
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    background: var(--black);
  }
  
  .nav__logo img {
    max-width: 150px;
  }
  
  .nav__links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }
  
  .nav__links .link a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
  }
  
  .nav__links .link a:hover {
    color: var(--primary-color);
  }
  
  .nav__links .link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
  }
  
  .nav__links .link a:hover::after {
    width: 50%;
  }
  
  /* Action buttons in nav */
  .action .btn {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .action .btn:hover {
    background: var(--secondary-color);
  }
  
  /* ==========================================================================
     Side Menu (Off-Canvas Navigation)
     ========================================================================== */
  .side-menu {
    position: fixed;
    top: 0;
    left: -400px; /* Hidden by default */
    width: 300px;
    height: 100%;
    background: var(--black);
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    color: var(--white);
  }
  
  .close-menu-btn,
  .menu-icon {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0.5rem;
    font-size: 24px;
    cursor: pointer;
  }
  
  .side-menu-logo img {
    max-width: 150px;
    display: block;
    margin: 0 auto;
  }
  
  .menu-section {
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
  }
  
  .menu-link {
    display: block;
    text-align: center;
    padding: 10px 0;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .menu-link:hover {
    color: var(--primary-color);
  }
  
  .menu-link span {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .hover-description {
    display: none;
    font-size: 0.8rem;
    color: var(--gray-dark);
    margin-top: 5px;
  }
  
  .menu-link:hover .hover-description {
    display: block;
  }
  
  /* ==========================================================================
     Blog Container & Main Content
     ========================================================================== */
  .blog-container {
    padding: 2rem 1rem;
  }
  
  .blog {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .blog-main {
    margin-bottom: 2rem;
  }
  
  .content {
    padding: 2rem 0;
  }
  
  /* ==========================================================================
     Banner Section (Hero Image)
     ========================================================================== */
  .banner {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
  }
  
  .banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
  }
  
  .banner-content {
    position: relative;
    width: 100%;
    z-index: 1;
  }
  
  .container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
  }
  
  .title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
  }
  
  .meta {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
  }
  
  .share-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* ==========================================================================
     Intro & Content Styles
     ========================================================================== */
  .subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
  }
  
  .intro {
    margin-bottom: 1.5rem;
  }
  
  .intro-text {
    font-style: italic;
  }
  
  .body-content {
    margin-bottom: 2rem;
  }
  
  .body-content h2 {
    font-size: 1.8rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--primary-color);
  }
  
  .body-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
  }
  
  /* Lists within content */
  .body-content ul,
  .body-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
  }
  
  .body-content ul {
    list-style: disc;
  }
  
  .body-content ol {
    list-style: decimal;
  }
  
  /* Callout Boxes for emphasis */
  .callout-box {
    background: var(--gray-light);
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
  }
  
  /* Blockquote styling */
  .quote {
    margin: 2rem 0;
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    color: var(--gray-dark);
  }
  
  /* ==========================================================================
     Blog Showcase (More Blogs)
     ========================================================================== */
  .blog-showcase {
    background: var(--gray-light);
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
  }
  
  .blog-posts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .blog-post {
    background: #333;
    color: var(--white);
    width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    padding: 1rem;
  }
  
  .blog-post:hover {
    transform: translateY(-10px);
  }
  
  .post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
  
  .post-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .post-content {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: text-decoration 0.3s;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }
  
  .blog-btn {
    margin-top: 1rem;
  }
  
  /* ==========================================================================
     Simple Banner (Join the Community)
     ========================================================================== */
  .banner-container {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .simple-banner {
    background-image: url('../images/SignUp.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    max-width: 90%;
    margin: 0 auto;
    padding: 1.6rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .banner-content-container {
    position: relative;
    z-index: 1;
  }
  
  .banner-info {
    color: var(--white);
  }
  
  .banner-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .banner-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  /* ==========================================================================
     Footer
     ========================================================================== */
  .footer__container {
    background: var(--black);
    color: var(--white);
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
  }
  
  .footer__col {
    text-align: center;
  }
  
  .footer__logo img {
    max-width: 120px;
    margin-bottom: 1rem;
  }
  
  .footer__col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
  }
  
  .footer__col a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.3s;
  }
  
  .footer__col a:hover {
    color: var(--secondary-color);
  }
  
  .footer__socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .footer__socials a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
  }
  
  .footer__socials a:hover {
    color: var(--primary-color);
  }
  
  .footer__bar {
    background: var(--black);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--white);
  }
  
  /* ==========================================================================
     Background Blur Effects (Optional)
     ========================================================================== */
  .bg__blur {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    filter: blur(10px);
    z-index: -1;
  }
  
  /* ==========================================================================
     Responsive Media Queries
     ========================================================================== */
  
  /* Medium screens */
  @media (max-width: 900px) {
    .nav__links {
      display: none;
    }
    .banner .container {
      padding: 1rem;
    }
    .title {
      font-size: 2rem;
    }
    .subtitle,
    .section-title {
      font-size: 1.5rem;
    }
  }
  
  /* Small screens */
  @media (max-width: 768px) {
    .blog-post {
      width: 45%;
    }
    .side-menu {
      width: 80%;
      left: -80%;
    }
  }
  
  /* Extra small screens */
  @media (max-width: 480px) {
    .blog-post {
      width: 100%;
    }
    .title {
      font-size: 1.8rem;
    }
    .nav__logo img {
      max-width: 120px;
    }
  }
  