* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Background and Typography */
  body {
    background-color: #EDEAE1; /* Creamy background */
    font-family: 'Arial', sans-serif;
    color: #333;
  }
  
  
  header {
    background-color: #002855 !important; /* Creamy background */
    color: #333 !important;               /* Dark text for readability */
    border-bottom: 4px solid #CC7700;
    display: flex;    
    
  } 
  
  /* Update menu item text colors */
  .desktop-menu ul li a {
    color: #EDEAE1 !important;
    
  }
  
  .desktop-menu ul li a.active {
    color: #CC7700 !important;
    font-weight: bold;
    pointer-events: none; /* Optional: prevents clicking on current page */
  }
  
  /* Optional: Stop hover from overriding active */
  .desktop-menu ul li a:hover:not(.active) {
    color: #CC7700 !important;
  }
  
  
  /* Breadcrumb styling */
  .breadcrumb {
    font-size: 14px;
    padding: 15px 40px;
    background-color: white;
    color: #555;
    text-align: left;
  }
  
  .breadcrumb a {
    color: #002855;
    text-decoration: none;
    font-weight: 500;
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }

    /* Optional: Responsive font-size */
@media (max-width: 480px) {
  .breadcrumb {
    font-size: 13px;
    padding: 10px 15px;
  }
}

/* Hero Section with background image */
.hero-section {
    background: url('../images/community.png') no-repeat center center;
    background-size: cover;
    padding: 6rem 2rem;
    position: relative;
    color: #fff;
    text-align: center;
  }
  
  /* Dark overlay for better contrast */
  .hero-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* semi-transparent overlay */
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
  
  .hero-overlay h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #FFBB33;
    margin-bottom: 1rem;
  }
  
  .hero-overlay p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
  }
  
  /* Hero Section Button Container */
.hero-buttons {
    display: flex;
    gap: 1rem; /* Space between the buttons */
    justify-content: center; /* Center buttons horizontally */
    margin-top: 2rem; /* Space above the buttons */
  }
  
  /* General Button Styles */
  .btn {
    display: inline-block;
    padding: 12px 24px; /* Adjust button size */
    font-size: 16px; /* Button text size */
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 8px; /* Rounded corners */
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
  }
  
  /* Primary Button (Apply to Join) */
  .btn.primary {
    background-color: #CC7700; /* Blue background */
    color: white;
    border: 2px solid #FFBB33; /* Border same as background color */
  }
  
  .btn.primary:hover {
    background-color: #FFBB33; /* Darker blue on hover */
    border-color: #FFBB33;
    transform: translateY(-2px); /* Slight lift on hover */
  }
  
  /* Secondary Button (Follow Us on X) */
  .btn.secondary {
    background-color: transparent; /* Transparent background */
    color: #FFBB33; /* Blue text */
    border: 2px solid #FFBB33; /* Blue border */
  }
  
  .btn.secondary:hover {
    background-color: #FFBB33; /* Blue background on hover */
    color: white; /* White text on hover */
    border-color: #FFBB33; /* Darker blue border */
    transform: translateY(-2px); /* Slight lift on hover */
  }
  
  /* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 1rem;
  }

  .hero-overlay {
    padding: 3rem 1.5rem;
    max-width: 100%;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    min-width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }
}

/* Community Thread Section Styles */
/* CSS to style the community thread and cards */
/* CSS to style the community thread and cards */
.community-thread {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin-top: 50px;  /* Space above the section */
}

.community-thread h2 {
  text-align: center;  /* Center the title */
  color: #002855;
  margin-bottom: 20px;
}

.tweet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3 cards per row */
  gap: 20px;  /* Space between the cards */
  width: 100%;
  max-width: 1200px;  /* Adjust to your desired max width */
}

.tweet-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.tweet-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.tweet-card p {
  font-size: 1em;
  color: #555;
  margin-bottom: 15px;
}

.tweet-card .btn-twitter {
  display: inline-block;
  background-color: #CC7700;  /* Updated button color */
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
}

.tweet-card .btn-twitter:hover {
  background-color: #b46200;  /* Darker shade for hover */
}

/* Responsive: 2 columns on medium screens */
@media (max-width: 900px) {
  .tweet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on small screens */
@media (max-width: 600px) {
  .tweet-grid {
    grid-template-columns: 1fr;
  }

  .community-thread {
    padding: 10px;
    margin-top: 30px;
  }

  .community-thread h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
}