/* ABOUT.PHP */
/* General Section Layout */
.about-us-section {
  padding: 4rem 2rem;
  background-color: transparent;
  color: black;
  text-align: center;
}

.about-us-section h1 {
  font-size: 50px;
  border-bottom: 3px solid #a31621;
  display: inline-block;
  padding-top: 105px;
  padding-bottom: 5px;
  margin-bottom: 2rem;
}
.about-us-section h3{
  
  padding-top: 1px;
  padding-bottom: 10px;
  border-bottom: 3px solid #a31621;
  display: inline-block;
}
.about-us-text {
  font-size: 1.5rem;
  margin: 0 auto 3rem auto;
  max-width: 1000px;
  text-align: center;
  color: black;
  line-height: 1.6;
}

.about-us-text1{
  font-size: 1.2rem;
}
/* Flex Container for Team Members */
.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Image Card */
.container {
  position: relative;
  width: 280px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.container:hover .image {
  transform: scale(1.05);
}

/* Overlay Effect */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to top, #a31621, transparent);
  transition: height 0.5s ease;
  width: 100%;
}

.container:hover .overlay {
  height: 100%;
}

.text {
  color: rgb(2, 1, 1);
  font-size: 1.2rem;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

body.dark-mode .about-us-section,
body.dark-mode .about-us-text,
body.dark-mode .text {
  color: white !important;
}

body.dark-mode .about-us-section h1 {
  border-color: #a31621;
}

body.dark-mode .overlay {
  background: linear-gradient(to top, #a31621, transparent);
}

body {
  overflow-x: hidden;
}

/* Three columns side by side */
.column {
  float: left;
  width: 33.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}

/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

.card {
  width: 100%;
  max-width: 300px;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  background-color: #fff;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.container {
  padding: 16px;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 16px;
  color: white;
  background-color: #a31621;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
}

.button:hover {
  background-color: #880f19;
}

