* {
    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;
  }
  
  /* 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: #EDEAE1;
    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;
  }
}

  /* Verse subnav styling */
.verse-subnav {
    background-color: #f4f4f4;  /* Light background for the subnav */
    padding: 12px 0;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
    text-align: center;  /* Center the content */
  }
  
  .verse-subnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;  /* Flexbox for inline layout */
    justify-content: center;  /* Center the list items */
    align-items: center;  /* Vertically align items */
    gap: 15px; /* Space between menu items */    
  }
  
  .verse-subnav li {
    font-size: 16px;
    font-weight: 500;
  }
  
  .verse-subnav a {
    text-decoration: none;
    color: #333;  /* Default color for links */
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.2s ease;
  }
  
  .verse-subnav a:hover {
    background-color: #CC7700;
    color: #fff;
    transform: translateY(-2px);
    padding: 6px 10px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.4;
    text-align: center;
    transition: all 0.2s ease;
  }
  
  
  .verse-subnav a.active {
    background-color: #CC7700;
    color: #fff;
    font-weight: 600;
    pointer-events: none;
    padding: 6px 10px;
    border-radius: 4px;
    line-height: 1.4; /* Ensures better vertical spacing */
    display: inline-block; /* Makes padding and background apply cleanly */
    text-align: center;
  }
  
  
  .verse-subnav .separator {
    color: #777;
    font-size: 18px;
    margin: 0 10px;  /* Spacing around the separator */
  }
  
  /* Responsive styling */
@media screen and (max-width: 768px) {
  .verse-subnav ul {
    flex-direction: column;
    align-items: stretch; /* stretch full width for better structure */
    gap: 8px;             /* slightly reduce gap for compactness */
    max-width: 360px;     /* limit max width so it doesn't stretch too wide */
    margin: 0 auto;       /* center horizontally */
  }

  .verse-subnav li {
    width: 100%;
    margin: 0;
  }

  .verse-subnav a {
    display: block;       /* block so it fills width */
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;  /* more rounded corners for a softer look */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
    background-color: #fff; /* white background to pop */
    color: #333;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .verse-subnav a:hover, .verse-subnav a.active {
    background-color: #CC7700;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(204, 119, 0, 0.5);
  }

  .verse-subnav .separator {
    display: none;
  }
}


  

 /* Hero section specifically for Programming Languages page */
 .hero {
  background-color: black; /* Dark techy blue */
  background-size: cover auto;
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
  padding: 80px 40px;
  color: #ffffff;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

  
  .hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .hero-text {
    color: #edeae1;
    max-width: 800px;
    padding: 20px;
  }
  
  .hero-text h1 {
    white-space: nowrap;
    font-size: 3rem;
    margin-bottom: 12px;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    color: #CC7700;
    margin: 0;
  }
  
  @media screen and (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }

  .hero-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    padding: 10px;
  }

  .hero-text h1 {
    font-size: 2rem;
    white-space: normal; /* Allow text wrapping */
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 1rem;
  }
}


  /* General container styles */
.featured {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 5rem;
}

/* Section Headings */
.featured-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.featured-heading h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.featured-heading p {
  font-size: 1rem;
  color: #666;
}

/* Featured Cards Grid */
.featured-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Individual Card */
.featured-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card-content h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #333;
}

.card-content p {
  font-size: 0.95rem;
  color: #555;
}

.card-content .read-more {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  align-self: flex-start; /* ensure it doesn’t stretch */
}

.card-content .read-more:hover {
  text-decoration: underline;
  background-color: #0056b3;
}

/* Mobile responsiveness for Featured section */
@media screen and (max-width: 768px) {
  .featured {
    padding: 1.5rem 1rem;
    margin-top: 3rem;
  }

  .featured-heading h2 {
    font-size: 1.6rem;
  }

  .featured-heading p {
    font-size: 0.9rem;
  }

  /* Make featured cards stack vertically on small screens */
  .featured-cards {
    grid-template-columns: 1fr; /* Single column */
    gap: 1rem;
  }

  .featured-card img {
    height: 140px; /* Slightly smaller images */
  }

  .card-content h4 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .card-content .read-more {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}


/* choose-path-section */

.choose-path-section {
  background-color: #f9f9f9; /* Or #f0f4f8 for a soft bluish tint */
  border-top: 2px solid #e0e0e0;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  text-align: center;
}


.choose-path-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  color: #222;
}

.path-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.path-card:hover {
  text-decoration: underline;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.path-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 1rem;
}

.path-card h3 {
  font-size: 1rem;
  color: #333;
  margin: 0;
  text-align: left;
}

/* Mobile responsiveness for Choose Path section */
@media screen and (max-width: 768px) {
  .choose-path-section {
    padding: 1.5rem 1rem;
    margin: 2rem auto;
  }

  .choose-path-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .path-grid {
    grid-template-columns: 1fr; /* stack cards vertically */
    gap: 1rem;
  }

  .path-card {
    flex-direction: column;        /* stack image and text vertically */
    align-items: center;           /* center horizontally */
    text-align: center;            /* center text */
    padding: 1rem;                 /* slightly more padding for vertical layout */
  }

  .path-card img {
    margin: 0 0 0.5rem 0;          /* margin below image, remove right margin */
    width: 60px;                   /* slightly bigger on mobile if you want */
    height: 60px;
  }

  .path-card h3 {
    font-size: 1rem;
    margin: 0;
  }
}

/* General section styles */
.all-articles-section {
  max-width: 1200px;
  padding: 40px 20px;
  margin: 0 auto;
}

.all-articles-section h2 {
  text-align: center;
  font-size: 2em;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Grid layout for articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  margin-top: 20px;
}

/* Individual article card styles */
.article-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Image styles */
.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

/* Content inside the card */
.article-card .card-content {
  padding: 15px;
}

.article-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.article-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

.article-card .read-more {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  align-self: flex-start; /* ensure it doesn’t stretch */
}

.article-card .read-more:hover {
  text-decoration: underline;
  background-color: #0056b3;
}

@media screen and (max-width: 768px) {
  .all-articles-section {
    padding: 20px 10px;
  }

  .all-articles-section h2 {
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .article-grid {
    grid-template-columns: 1fr; /* stack articles vertically */
    gap: 15px;
  }

  .article-card {
    max-width: 100%; /* take full width */
  }

  .article-card img {
    height: 180px; /* a bit smaller for mobile */
  }

  .article-card h4 {
    font-size: 1rem;
  }

  .article-card p {
    font-size: 0.85rem;
  }

  .article-card .read-more {
    padding: 7px 14px;
    font-size: 0.9rem;
  }
}

/* Footer styles for subpages*/
.footer-disclaimer {
  font-size: 13px;
  color: #002855;
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 10px;
}

.footer-disclaimer a {
  color: #002855;
  text-decoration: underline;
}

.footer-disclaimer a:hover {
  color: #F1C40F;
}

@media screen and (max-width: 480px) {
  .footer-disclaimer {
    font-size: 12px;
    padding: 0 15px;
    max-width: 100%;
    margin-bottom: 15px;
  }

  .footer-disclaimer a {
    word-break: break-word; /* prevent overflow of long URLs */
  }
}
