body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: white;
  }


  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background: url('images/Capture.JPG') center/cover no-repeat;
    color: #fff;
    flex-wrap: wrap;
  }

  .navbar .left-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
  }

  .navbar .left-section img {
    height: 90px;
    background-color: white;
    border-radius: 10px;
    padding: 0px 5px;
  }

  .navbar .left-section h1 {
    font-size: 20px;
    white-space: nowrap;
    font-weight: 700;
  }

  .navbar .center-logo {
    display: flex;
    justify-content: center;
    flex: 1;
  }

  .navbar .center-logo img {
    height: 130px;
  }
  .navbar .right-section h5{
      font-weight: 500;
  }

  .navbar .right-section {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
  }

  .navbar .btn {
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .navbar .btn:hover {
    transform: scale(1.05);
  }

  .navbar .home-btn {
    background-color: #2196f3;
  }

  .navbar .logout-btn {
    background-color: #e91e63;
  }

  /* Medium screens */
  @media (max-width: 992px) {
      .navbar .left-section h1 {
      font-size: 18px;
    }

    .navbar .center-logo img {
      height: 70px;
    }

    .navbar .btn {
      padding: 6px 16px;
    }
  }

  /* Mobile screens */
  @media (max-width: 768px) {
      .navbar .navbar {
      flex-direction: column;
      align-items: center;
      padding: 20px;
      gap: 20px;
      text-align: center;
    }

    .navbar .left-section,
    .navbar .right-section {
      justify-content: center;
      flex: 100%;
    }

    .navbar .left-section {
      flex-direction: column;
    }

    .navbar .left-section h1 {
      font-size: 16px;
    }

    .navbar .center-logo img {
      height: 60px;
    }

    .navbar .btn {
      font-size: 14px;
      padding: 8px 20px;
      width: 100px;
    }

    .navbar .right-section {
      flex-direction: row;
      justify-content: center;
      gap: 10px;
      margin-top: 15px;
    }
  }

  /* Extra small phones */
  @media (max-width: 480px) {
      .navbar .left-section img {
      height: 50px;
    }

    .navbar .left-section h1 {
      font-size: 14px;
    }

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

    .navbar .btn {
      font-size: 13px;
      padding: 6px 14px;
    }
  }

  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */



.contenlinks{
  text-align: center;
  margin:70px 0px;
}
  .headline {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 20px;
  }

  .headline span {
    color: orange;
    text-decoration: underline;
    margin: 0 5px;
  }


  .materials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* gap: 15px; */
    margin: 40px auto;
    max-width: 1200px;
  }
.materials-container a{
    text-decoration: none;
}
  .material-box {
    width: 140px;
    height: 80px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-weight: bold; */
    /* border-radius: 5px; */
    cursor: pointer;
    margin: 10px;
    transform: rotate(-10deg);
    border-radius: 45px 0px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); */
  }

  /* Custom colors for each material */
  .cheat { background: #2196f3; }
  .flash { background: #4caf50; }
  .assign { background: #ffeb3b; color: #000; }
  .toolkit { background: #f44336; }
  .dataset { background: #ff9800; }
  .template { background: #00e5ff; color: #000; }
  .video { background: #8e24aa; }
  .case { background: #e91e63; }
  .projects { background: #009688; }
  .papers { background: #607d8b; }
  .ebooks { background: #3f51b5; }
  .slides { background: #8bc34a; color: #000; }
  .interview { background: #cddc39; color: #000; }
  .assessment { background: #ff5722; }

  .material-box p {
    margin: 0;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
  }

  /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

  #suballus{
    text-align: center;
  }
  #suballus img{
    max-width: 280px;
    height: 200px;
    margin-bottom: -20px;
  }
.card-container1 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 20px;
max-width: 1300px;
margin: auto;
padding: 20px;
align-items: stretch;
}

.card-container1 #card1 {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 30px;
  max-width: 200px;
  
  }
  
.card-container1 .card {
background-color: white;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-bottom: 30px;
}

.card-container1 .card:hover {
transform: translateY(-5px);
}

.card-container1 .card img {
height: 180px;
object-fit: cover;
padding: 10px;
border-radius: 15px;
}
.card-container1 .card img:hover{
    scale: 1.02;
}

.card-container1 .card:hover img{
    scale: 1.05;
}
.card-container1 .card p {
padding: 10px;
font-size: 14px;
font-weight: bold;
color: #333;
text-transform: uppercase;
}
.card-container1 .card a {
display: flex;
flex-direction: column;
text-decoration: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card-container1 .card img {
  height: 160px;
}

.card-container1 .card p {
  font-size: 13px;
}
}

@media (max-width: 480px) {
.card-container1 {
  grid-template-columns: 1fr;
}

.card-container1 .card p {
  font-size: 12px;
}
}
.download-btn {
background-color: #3b4cc0;
color: white;
padding: 8px 24px;
margin: 10px auto 15px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s ease;
}

.download-btn:hover {
background-color: #2c3a8c;
}
.card-container1 .card {
display: flex;
flex-direction: column;
justify-content: space-between; /* This helps stretch content evenly */

}

.card-container1 .card a.download-btn {
margin-top: auto; /* Push it to the bottom */
}

/* _______________________________________________________________________________________ */


.link_container2 {
    margin: auto;
    padding: 20px 40px;
  }

  
  .link_container2 .link-list {
    margin-bottom: 40px;
  }

  .link_container2 .link-list h2{
    font-size: 24px;
    font-weight: 550;
  }

  .link_container2 .link-list a {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #555;
    text-decoration: none;
    margin: 6px 20px;
    transition: all 0.3s ease;
  }

  .link_container2 .link-list a:hover {
    color: #3b4cc0;
    transform: translateX(20px);
    text-decoration: underline;
  }

  /* Responsive */
  @media (max-width: 600px) {
      h2 {
      font-size: 18px;
    }
    .link_container2 .link-list a {
      font-size: 14px;
    }
  }


  /* _____________________________________________________________________________________ */

  .card-container1_h2{
    color: #2a52be;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding:0px 30px;
    font-size: 24px;
  }
  
  h2 {
    color: #2a52be;
    margin-bottom: 20px;
    text-transform: uppercase;
    
  }

  .assessment-list {
    display: flex;
    flex-direction: column;
    padding: 10px 40px;
  }

  .assessment-list a{
    text-decoration: none;
  }
  .assessment-list .assessment-item {
    padding: 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 100px;
    transition: transform 0.2s ease, opacity 0.3s;
    font-size: 18px;
    text-transform: uppercase;
    
  }

  .assessment-list .assessment-item:hover {
    transform: scale(1.04);
    opacity: 0.9;
  }

  /* Custom Colors */
  .assessment-list .green       { background-color: #4caf50; }
  .assessment-list .pink        { background-color: #e91e63; }
  .assessment-list .orange      { background-color: #ff9800; color: #000; }
  .assessment-list .teal        { background-color: #009688; }
  .assessment-list .red         { background-color: #f44336; }
  .assessment-list .blue        { background-color: #2196f3; }

  @media (max-width: 600px) {
    .assessment-list .assessment-item {
      font-size: 16px;
      padding: 15px;
    }
  }