* {
    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 */
  .hero-section {
    background: url('../images/rik-dev-hero-project.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: #FFC107;
    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: #002855; /* Blue background */
    color: #FFBB33;
    border: 2px solid #FFBB33; /* Border same as background color */
  }
  
  .btn.primary:hover {
    background-color: #1976d2; /* 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: #1976d2; /* 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: 900px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%; /* Full width buttons on smaller screens */
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 4rem 1rem;
  }

  .hero-overlay {
    padding: 3rem 1.5rem;
  }

  .hero-overlay h1 {
    font-size: 1.75rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}


/* Project Capsules Section */
.capsule-section {
  padding: 30px 10px;
  background-color: #edeae1;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1e293b;
}

/* Capsule Grid */
.capsule-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Capsule Card */
.capsule-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.capsule-card:hover {
  transform: translateY(-6px);
}

/* Capsule Image */
.capsule-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Capsule Content */
.capsule-content {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capsule-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}

.capsule-metaDescription {
  font-size: 0.95rem;
  color: #CC7700;
}

/* Capsule Type */
.capsule-type {
  font-size: 0.8rem;
  font-weight: 500;
  color: #CC7700;
  background-color: #f0f0f0;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  width: fit-content;
}

/* Tags */
.capsule-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capsule-tag {
  background-color: #e6f0ff;
  color: #002855;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 20px;
}

/* Status Badge */
.capsule-status {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  background-color: #002855; /* default green */
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  align-self: flex-start;
}

.capsule-status.inprogress {
  background-color: #ffc107;
}

.capsule-status.completed {
  background-color: #28a745;
}

.capsule-status.planned {
  background-color: #6c757d;
}

/* View Button */
.view-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #CC7700; /* RiK accent color */
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.view-btn:hover {
  background-color: #002855;
}

/* Capsule Grid Section */
.capsule-grid-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.capsule-grid-section h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #CC7700;
}

.capsule-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.capsule-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.capsule-card:hover {
  transform: translateY(-6px);
}

.capsule-card h3 {
  font-size: 1.4rem;
  color: #CC7700;
  margin-bottom: 12px;
}

.capsule-card p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #444;
}

.tech-tags {
  margin-bottom: 16px;
}

.tech-tags span {
  display: inline-block;
  background-color: #e3f2fd;
  color: #0d47a1;
  font-size: 0.85rem;
  padding: 6px 12px;
  margin: 4px;
  border-radius: 20px;
}

.view-btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  background-color: #CC7700;
  color: white;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.view-btn:hover {
  background-color: #0d47a1;
}

@media (max-width: 600px) {
  .capsule-content {
    padding: 15px 10px;
  }

  .capsule-title {
    font-size: 1.1rem;
  }

  .capsule-metaDescription {
    font-size: 0.9rem;
  }

  .capsule-tags {
    justify-content: center;
  }

  .view-btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}

.capsule-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


