
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  
}


.header {
  background-color: #333;
  padding: 20px;
  text-align: center;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.card {
 
  border-radius: 10px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  margin: 40px;
  /* padding: 20px; */
  text-align: center;
  width: 300px;
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
  background-color: transparent;
  border-color: transparent;
}

.card img {
  margin-top: 10px;
  /* border-radius: 50%; */
  height: 280px;
  width: 280px;
  /* height: 80%;
        width: 90%; */
  object-fit: fill;
  /* border: rgba(25, 186, 255, 0.95) ;
          border-width: 4px;
          border-style: solid; */
  border-radius: 10px;
  box-shadow: 4px 4px 9px #666666eb;
}

.card h3 {
  font-size: 24px;
  margin: 20px 0 10px;
  color: #333;
}
.card h5 {
  font-size: 16px;
  margin: 10px 0 10px;
  color: #6c6c6c;
}
div.card {
  text-align: left;
}
div.dropdown {
  align-items: end;
}

.card .dropdown {
  /* margin-top: 20px; */
  display: block;
  cursor: pointer;
  border: none;
  background: none;
  color: #666;
  font-size: 16px;
  /* align-self: flex-end; */
  /* text-decoration: underline; */
}

.card .dropdown:focus {
  outline: none;
}

.card .dropdown-content {
  display: none;
  /* position: absolute;
        top: calc(100% + 10px); */
  position: relative;
  top: 10px;
  left: 0;
  /* background-color: #f9f9f9; */
  min-width: 160px;
  width: inherit;
  /* box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); */
  z-index: 0;
  /* padding: 10px; */
  border-radius: 5px;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  /* add the following */
  /* margin-top: 10px; */
}

.card .dropdown-content p {
  color: #666;
  margin: 0;
  padding: 0px 0;
  cursor: default;
  font-size: 16px;
  text-align: justify;
}
.card .dropdown-content a {
  text-decoration: none;
}
.drop {
  /* visibility: hidden; */
  border: none;
  background-color: transparent;
  position: relative;
  top: 27px;
  left: 75px;
  display: flex;
}
.card .dropdown:focus {
  visibility: visible;
}

.card .dropdown:focus + .dropdown-content {
  display: block;
}

.card .dropdown:focus {
  visibility: visible;
}

/* for past student  */
@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
.snip1559 {
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 10px;
  min-width: 250px;
  max-width: 310px;
  width: 100%;
  background-color: #ffffff;
  color: #2B2B2B;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  
}

.snip1559 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.snip1559 .profile-image {
  padding: 15% 10% 0;
}

.snip1559 .profile-image img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
  border-radius: 50%;
  max-width: 40%;
}

.snip1559 figcaption {
  padding: 4% 9% 5%;
}

.snip1559 h3 {
  font-family: 'Oswald';
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin: 3px 0;
}

.snip1559 h5 {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.snip1559 .icons i {
  color: #999;
  display: inline-block;
  margin-right: 5px;
  font-size: 1.5em;
}

.snip1559 .icons i:hover {
  color: #555;
}

.snip1559 .icons i a {
  text-decoration: none;
}

/* new student */
/* General styling for body */


/* Container to hold multiple cards */
.container2 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* Centers the container */
  padding: 0 15px;
  /* Adds minimal padding to avoid touching edges */
}

/* Individual card styling */
.card2 {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  /* Reduced padding for compact spacing */
  transition: box-shadow 0.3s ease;
  margin-bottom: 20px;
  cursor: pointer;
}

.card2:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.photo-container2 {

  margin-right: 20px;
}


.person-photo2 {
  width: 200px;
  height: 200px;
  border-radius: 5%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.person-photo2:hover {
  transform: scale(1.05);
}

.info2 {
  flex: 5;
  padding-left: 10px;
  
  /* Adds spacing between photo and text */
  
}

h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

p {
  margin-bottom: 0rem;
  font-size: 16px;
  /* color: #555;
   */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .card2 {
      flex-direction: column;
      text-align: center;
      padding: 10px;
      /* Reduce padding for smaller screens */
  }


  .photo-container2 {
      margin-right: 0;
      margin-bottom: 15px;
  }

  .person-photo2 {
      width: 120px;
      height: 120px;
  }
}

@media (max-width: 480px) {
  body {
      padding: 10px;
  }

  .person-photo2 {
      width: 100px;
      height: 100px;
  }


  h2 {
      font-size: 20px;
  }

  p {
      font-size: 14px;
  }
}