
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lora', serif;
}




.page {
    background: #2e2e2e;
    color: #333;
    padding: 30px 20px;
  }

  h1 {
    text-align: center;
    font-size: 3rem;
    color: WHITE;
    margin-bottom: 10px;
  }

  h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: maroon;
    margin: 10px auto;
    border-radius: 3px;
  }

  .controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .search-input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 300px;
  }

  .section-title {
    font-size: 2rem;
    color: #f4f1ec;
    margin-top: 50px;
    margin-bottom: 20px;
    border-left: 6px solid maroon;
    padding-left: 10px;
  }

  .faculty-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
  }

  .card {
    background: #f9f5ee;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }

  .card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid maroon;
    margin-bottom: 15px;
  }

  .info h3 {
    color: maroon;
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .info h4, .info h5 {
    font-weight: normal;
    margin: 3px 0;
    font-size: 0.95rem;
    color: #333;
  }

  @media (max-width: 600px) {
    h1 {
      font-size: 2rem;
    }
  }
.faculty-end-section {
background-color: #2e2e2e; /* deep grey */
padding: 60px 20px;
text-align: center;
font-family: 'Lora', serif;
color: #fdf5e6; /* crème text */
}

.end-container {
max-width: 720px;
margin: auto;
background-color: rgba(255, 248, 230, 0.08); /* semi-transparent crème overlay */
padding: 40px 30px;
border-radius: 20px;
border: 1px solid #80000044;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.faculty-end-section h2 {
font-size: 2.2rem;
margin-bottom: 20px;
color: #fbe9d0; /* soft crème */
}

.faculty-end-section p {
font-size: 1.1rem;
margin-bottom: 30px;
color: #e0d6cc;
}

.contact-btn {
display: inline-block;
text-decoration: none;
background-color: #800000; /* maroon */
color: #fdf5e6; /* crème text */
padding: 12px 28px;
border-radius: 30px;
font-weight: bold;
font-size: 1rem;
transition: all 0.3s ease;
box-shadow: 0 8px 16px rgba(128, 0, 0, 0.3);
}

.contact-btn:hover {
background-color: #b22222; /* brighter maroon */
transform: scale(1.05);
color: #fffaf0;
}