
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7faff;
  margin: 0;
  padding: 40px;
  text-align: center;
  
 height: 100%;
       display: flex;
    flex-direction: column;
  
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}
.card {
  background: linear-gradient(to bottom right, #ffffff, #e6f0ff);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.25);
}
.card-icon {
  font-size: 40px;
  margin-bottom: 15px;
}
main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  flex: 1;
}
.card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #003366;
}
.card-text {
  font-size: 15px;
  color: #555;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

 .footer {
      background-color: #3498db;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 20px;
      flex-wrap: wrap; /* Allow wrapping */
    }

    .footer .copyright {
      background-color: #2c3e50;
      padding: 5px 10px;
      color: white;
      flex: 1; /* Allow copyright to take available space */
      text-align: left; /* Align text to the left */
    }

    .footer .social-icons {
      display: flex; /* Use flexbox for social icons */
      align-items: center; /* Center icons vertically */
    }

    .footer .social-icons img {
      width: 30px;
      margin-left: 10px;
    }

.fade-in {
  animation: fadeIn 1s ease-in-out;
}
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  color: rgb(205, 80, 7);
  border: none;
  cursor: pointer;
  padding: 10px;
}
@media (max-width: 768px) {
  
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #2c3e50;
    width: 100%;
   
    
    left: 0;
    z-index: 1000;
    padding: 10px;
  }

  .nav-links.show {
    display: flex
    ;
   gap: 0px;
  }

  .search-bar {
    margin-bottom: 10px;
  }
}
/* 💻 Laptops and Desktops (769px and up) */
@media (min-width: 769px) {
.card-container {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.navbar {
    display: flex;
    align-items: center;
    background-color: #3498db;
    padding: 10px;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow items to wrap */
  }

  .navbar .logo img {
    height: 50px; 
  }

  .nav-links {
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 3px;
  }
  

  .nav-links button {
    background-color: #2c3e50;
    color: rgb(203, 33, 33);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
  }

  /* Style for the search bar */
  .search-bar {
    display: flex;
    align-items: center; /* Center vertically */
  }

  .search-bar input {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px; /* Rounded corners for the left side */
  }

  .search-bar button {
    padding: 10px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0; /* Rounded corners for the right side */
    cursor: pointer;
  }
}

