/* Importing Open Sans from Google */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFW50e.ttf) format('truetype');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UNirkOUuhs.ttf) format('truetype');
}

/* General Page Styles */
body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
  }
  
  /* Header Styles */
  header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  header nav ul li {
    margin: 0 10px;
  }
  
  header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  header nav ul li a:hover {
    text-decoration: underline;
  }

  nav ul li a.active {
    text-decoration: underline;
    color: #f39c12; /* Highlight color */
  }  
  
  /* Hero Section */
  .hero {
    background: url('./assets/images/img-home.jpg') no-repeat center center/cover;
    color: white; /* Color of text */
    text-align: center;
    padding: 100px 20px;
    position: relative;
  }
  
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Color behind text */
    z-index: 1;
  }
  
  .hero h1,
  .hero p {
    position: relative;
    z-index: 2;
  }
  
  /* Main Content Styles */
  .container {
    margin: 20px auto;
    padding: 10px 50px;
    max-width: 800px;
  }
  
  .example-section {
    margin-bottom: 40px;
  }
  
  .example-section h2 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
  }
  
  /* List Styles */
  ul, ol {
    margin: 0 0 10px 20px;
  }
  
  /* Form Styles */
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
  }
  
  .form-group input[type="checkbox"] {
    width: auto;
  }
  
  /* Alert Styles */
  .alert {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid;
    border-radius: 5px;
  }
  
  .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
  }
  
  .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
  }
  
  /* Footer Styles */
  footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 20px;
  }
  
  footer .social-icons a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
  }
  
  footer .social-icons a:hover {
    color: lightgray;
  }
  
  /* Grid container for project cards */
  .projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px; /* Spacing between cards */
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }

  /* Card styling */
  .project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .project-card:hover {
    transform: scale(1.10); /* Makes the card 10% larger */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Keeps the shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
  }
  

  /* Image section */
  .project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  /* Card content */
  .project-card .card-content {
    padding: 15px;
  }

  .project-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
  }

  .project-card p {
    margin: 0;
    font-size: 14px;
    color: #555;
  }

  /* Button at the bottom of the card */
  .project-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: white;
    background: #007bff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
  }

  .project-card a:hover {
    background: #0056b3;
  }

  