.bglight {
  background-color: #f8f9fa;
}

.bg-white {
  background-color: #ffffff;
}

/* Executive Director Section */
.executive-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  padding: 40px;
  margin-bottom: 30px;
}

.executive-image {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
}

.executive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
}

.executive-info {
  padding: 20px;
}

.executive-name {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.executive-position {
  font-size: 1.8rem;
  color: #667eea;
  font-weight: 600;
  line-height: 1.3;
}

/* Section Headers */
.section-header {
  margin-bottom: 50px;
}

.section-title-main {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title-main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Department Section Headers */
.department-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.dept-title {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 15px;
  line-height: 1.3;
}

.dept-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0 auto;
  border-radius: 2px;
}

/* Team Boxes */
.team-box {
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
  height: 100%;
}

.team-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-box .image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.team-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.team-box:hover .image img {
  transform: scale(1.05);
}

/* Management and Head Boxes */
.management-box,
.head-box {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.management-box:hover,
.head-box:hover {
  box-shadow: 0 15px 45px rgba(102, 126, 234, 0.3);
}

/* Team Content */
.team-content {
  padding: 25px 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gradient_bg {
  background: linear-gradient(90deg, #423f9c 31%, #862359 69%);
}

.whitecolor {
  color: white;
}

.team-content h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.3;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.team-content p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.team-content a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.team-content a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Department Badges */
.department-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.bg-local {
  background: rgba(255, 193, 7, 0.3) !important;
}

.bg-operation {
  background: rgba(7, 255, 216, 0.51) !important;
}

.bg-international {
  background: rgba(0, 123, 255, 0.3) !important;
}

.bg-digital {
  background: rgba(111, 66, 193, 0.3) !important;
}

.bg-undergrad {
  background: rgba(40, 167, 69, 0.3) !important;
}

.bg-postgrad {
  background: rgba(220, 53, 69, 0.3) !important;
}

/* Grid System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.col-md-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  padding: 0 15px;
}

.col-md-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
  padding: 0 15px;
}

.col-md-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

/* Utilities */
.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.p-3 {
  padding: 1rem;
}

.font-weight-bold {
  font-weight: 700;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Shadow */
.shadow {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

/* WOW Animations */
.wow {
  visibility: hidden;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .col-md-3,
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-5,
  .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .executive-name {
    font-size: 2rem;
  }

  .executive-position {
    font-size: 1.4rem;
  }

  .section-title-main {
    font-size: 2rem;
  }

  .dept-title {
    font-size: 1.7rem;
  }

  .team-box .image {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-7,
  .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .executive-card {
    padding: 30px 20px;
  }

  .executive-image {
    height: 300px;
    margin-bottom: 20px;
  }

  .executive-name {
    font-size: 1.8rem;
  }

  .executive-position {
    font-size: 1.2rem;
  }

  .section-title-main {
    font-size: 1.8rem;
  }

  .dept-title {
    font-size: 1.5rem;
  }

  .team-box .image {
    height: 320px;
  }

  .team-content {
    min-height: auto;
    padding: 20px 15px;
  }

  .team-content h4 {
    font-size: 0.95rem;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .executive-name {
    font-size: 1.5rem;
  }

  .executive-position {
    font-size: 1.1rem;
  }

  .section-title-main {
    font-size: 1.5rem;
  }

  .dept-title {
    font-size: 1.3rem;
  }

  .team-box .image {
    height: 280px;
  }

  .department-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
}

/* Print Styles */
@media print {
  .team-box {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .gradient_bg {
    background: #667eea !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .shadow {
    box-shadow: none !important;
  }
}

.executive-image {
  height: 280px;
}

.executive-card {
  padding: 30px;
}

.executive-info {
  padding: 15px;
}
