:root {
  /* Fonts */
  --font-primary: 'Manrope', sans-serif;
  --font-2: 'Manrope', sans-serif;
}

/* ==============================
   Chairman Section
============================== */
.chairman-section {
  padding: 30px 10%;
}

.chairman-container {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  margin: auto;
  max-width: 1100px;
}

/* Left */
.chairman-left {
  flex: 1;
  text-align: center;
}

.chairman-left img {
  width: 330px;
  max-width: 580px;
  height: 330px;
  object-fit: cover;
  border-radius: 1px;
  display: block;
  margin: 0 auto;
}

.chairman-info {
  margin-top: 15px;
}

.chairman-info h4 {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.designation {
  color: #C59500;
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
}

.company {
  font-size: 14px;
  color: #555;
}

/* Right */
.chairman-right {
  flex: 2;
  max-width: 700px;
}

.message-title {
  font-family: var(--font-2);
  font-size: 26px;
  color: #8b0000;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 100;
}

.chairman-right p {
  font-family: var(--font-primary);
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 14px;
  color: #444;
}

/* Responsive */
@media (max-width: 1024px) {
  .chairman-section {
    padding: 40px 5%;
  }
  .chairman-container {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .chairman-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .chairman-left img {
    max-width: 220px;
    height: 300px;
  }
  .chairman-right {
    max-width: 100%;
    text-align: justify;
  }
}

@media (max-width: 480px) {
  .message-title {
    font-size: 20px;
  }
  .chairman-right p {
    font-size: 14px;
  }
  .chairman-left img {
    height: 250px;
  }
}

/* ==============================
   Hover Section
============================== */
.hover-section {
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}
.hover-card {
  position: relative;
  flex: 1 1 45%;
  max-width: 535px;
  overflow: hidden;
  border-radius: 0px;
}
.hover-card img{
    height: 450px !important;
    transition:  all 0.3s;
}
.hover-content{
      flex: 1 1 45%;
  max-width: 520px;
}
.hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hover-card p{
    font-size: 14.5px;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgb(102 0 51);
  color: #fff;
  text-align: center;
  font-size: 16px;
  padding: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}

/* Hidden Content */
.hover-content {
  position: absolute;
  bottom: -140%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(102, 0, 51, 0.92);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 300;
  padding: 15px;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.5s ease;
  z-index: 2;
  overflow-y: auto;
}

/* Custom Scrollbar */
.hover-content::-webkit-scrollbar {
  width: 6px;
}
.hover-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.hover-content::-webkit-scrollbar-thumb {
  background-color: #c59500;
  border-radius: 10px;
}
.hover-content::-webkit-scrollbar-thumb:hover {
  background-color: #e6b800;
}
.hover-content {
  scrollbar-width: thin;
  scrollbar-color: #c59500 rgba(255, 255, 255, 0.1);
}

.hover-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hover-content p,
.hover-content ul li {
  font-size: 14px;
  margin-bottom: 10px;
}

.hover-content ul {
  list-style: none;
}

/* Hover Animation */
.hover-card:hover .hover-content {
  bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .hover-card {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .hover-card {
    flex: 1 1 100%;
  }
  .hover-content {
    padding: 12px;
  }
  .hover-content h3 {
    font-size: 16px;
  }
  .hover-content p,
  .hover-content ul li {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .hover-card {
  }
  .overlay-text {
    font-size: 14px;
    padding: 10px;
  }
  .hover-content h3 {
    font-size: 14px;
  }
  .hover-content p,
  .hover-content ul li {
    font-size: 12px;
  }
}

/* ==============================
   Board Section
============================== */
.board-section {
  text-align: center;
  padding: 80px 30px;
}

.board-section h2 {
  font-size: 22px;
  color: #660033;
  margin-bottom: 30px;
  font-family: var(--font-2);
  font-weight: 100;
  letter-spacing: 1px;
}

.board-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.board-card {
  position: relative;
  width: 330px;
  overflow: hidden;
  border-radius: 1px;
}

.board-card img {
  width: 100%;
  height: auto;
  display: block;
}

.member-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(102, 0, 51, 0.75);
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: lighter;
  font-family: var(--font-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .board-grid {
    gap: 15px;
  }
}
@media (max-width: 480px) {
  .board-card {
    width: 100%;
    max-width: 300px;
  }
}
