/* styles.css */
<style>

a:visited {
  color: inherit; /* Inherit color from parent element */
}
    h1 {
      color:#001320; 
      text-decoration: none;
    }
  .nav-link {
    color: #7cc0d8; /* Default text color */
  
    text-decoration: none;
    transition: all 1s ease; /* Smooth transition */
  }


  .nav-link:hover {

    color: #003153; /* Hover text color */
  }

  /* Optional: Add focus/active states for accessibility */
  .nav-link:focus {
    outline: 2px solid #0000EE;
  }

  .nav-link:active {
    color: #000;
  }
   .active-page{
  color:#003153;
  text-decoration: underline;

  }
 .header-button h1 {
      display: flex;
      
      padding: 1rem;
      cursor: pointer;
      transition: color 0.3s ease;
      text-decoration: none;
    }

    .header-button:hover h1 {
      color: #7cc0d8; /* Only text color changes */
      text-decoration: none;
    }
    a{text-decoration: none;}
    html{
        background-color: #edf1f4;
    }
/* Card link wrapper */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Card styling */
.card {
  display: grid; /* Use grid layout for the card */
  grid-template-rows: 80% 20%; /* 80% for image, 20% for text */
  padding: 2em;
  border-radius: 5px;
  aspect-ratio: 1 / 1; /* Makes the height equal to the width */
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Add transition here */
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the square without distortion */
  object-position: center; /* Centers the image focus */
}

.card-text {
  color: #001320;
  text-align: center;
  font-size: 24px;
}

.grid-container {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 50px auto 0 auto;
  padding: 0 20px; /* Add some padding on mobile */
}
/* ========================================
   PROJECT PAGE STYLES
   These styles are for individual project pages
   ======================================== */

/* Main container for project content */
.project-container {
  /* Width is now controlled by inline styles: 80% width, max 1000px */
  margin: 0;
  padding: 0;
}

/* Project title and intro section */
.project-intro {
  margin-bottom: 60px;

}

.project-title {
  color: #001320;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: normal;
  font-style: italic;
}

.project-description {
  color: #001320;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 auto;
}

/* Additional sections within a project */
.project-section {
  margin: 80px 0 60px 0;
  text-align: center;
}

.section-title {
  color: #001320;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: normal;
  font-style: italic;
}

.section-description {
  color: #001320;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 auto;
}

/* Individual image containers */
.project-image {
  margin: 40px auto;
  text-align: center;
  width: 80%;
  max-width: 1000px;
}

.project-image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Image captions */
.image-caption {
  color: #001320;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 15px;
  text-align: left;
}
</style>