/* ============================================
   BOCHI CILACAP - ABOUT PAGE STYLES
   ============================================ */

/* Dark mode for background sections */
body.dark-mode section[style*="background-color: #f5f5f5"] {
  background-color: #2a2a2a !important;
}

/* Table Styles */
.table {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .table {
  color: #e0e0e0;
  background-color: #2a2a2a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
  background-color: #333;
}

body.dark-mode .table-bordered {
  border-color: #444;
}

body.dark-mode .table-bordered th,
body.dark-mode .table-bordered td {
  border-color: #444;
}

body.dark-mode .table-dark {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.table thead th {
  background-color: #97c1c0;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 15px 10px;
  border: none;
}

body.dark-mode .table thead th {
  background-color: #7fb3b2;
}

.table tbody td {
  padding: 12px 10px;
  vertical-align: middle;
  transition: background-color 0.3s ease;
}

.table tbody tr:hover {
  background-color: rgba(106, 181, 71, 0.1);
}

body.dark-mode .table tbody tr:hover {
  background-color: rgba(151, 193, 192, 0.15);
}

/* Team member hover effects */
.team_member {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  border-radius: 12px;
  margin-bottom: 30px;
}

.team_member img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}

.team_member:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.dark-mode .team_member:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.team_member:hover img {
  transform: scale(1.1);
}

.team_member_hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  border-radius: 12px;
}

.team_member:hover .team_member_hover {
  opacity: 1;
}

.team_member_info {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.team_member:hover .team_member_info {
  transform: translateY(0);
}

.team_member_name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.team_member_job {
  font-size: 14px;
  color: #b5d4d3;
  text-transform: lowercase;
  font-style: italic;
}

/* Benefits section hover */
.benefits_2_single {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.benefits_2_single:hover {
  transform: translateY(-8px);
  background-color: rgba(106, 181, 71, 0.05);
}

body.dark-mode .benefits_2_single:hover {
  background-color: rgba(151, 193, 192, 0.1);
}

.benefits_2_single i {
  font-size: 48px;
  color: #97c1c0;
  margin-bottom: 20px;
  display: block;
  transition: all 0.4s ease;
}

body.dark-mode .benefits_2_single i {
  color: #b5d4d3;
}

.benefits_2_single:hover i {
  transform: scale(1.2) rotate(10deg);
}

.benefits_2_single .title {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
  color: #333;
  transition: color 0.3s ease;
}

body.dark-mode .benefits_2_single .title {
  color: #e0e0e0;
}

.benefits_2_single:hover .title {
  color: #97c1c0;
}

body.dark-mode .benefits_2_single:hover .title {
  color: #b5d4d3;
}

/* Hero Section Responsive */
@media (max-width: 991px) {
  .site-hero_2 .big-title {
    font-size: 32px !important;
  }
  .site-hero_2 .small-title {
    font-size: 13px !important;
  }
}

@media (max-width: 768px) {
  .site-hero_2 .big-title {
    font-size: 26px !important;
  }
  .site-hero_2 .small-title {
    font-size: 12px !important;
  }

  /* MOBILE CENTER ALIGNMENT FOR ALL SECTIONS */

  /* Main section titles - always centered */
  .section-title {
    text-align: center !important;
    margin: 0 auto 30px !important;
  }

  .section-title span {
    text-align: center !important;
  }

  .section-title p {
    text-align: center !important;
    padding: 0 15px !important;
  }

  /* About subtitle sections - centered on mobile */
  .about-subtitle {
    text-align: center !important;
    float: none !important;
    margin: 0 auto 20px !important;
  }

  .about-subtitle span {
    text-align: center !important;
  }

  .about-subtitle p {
    text-align: center !important;
  }

  /* Paragraph text - centered on mobile */
  section p {
    text-align: center !important;
    padding: 0 20px !important;
    margin-bottom: 25px !important;
  }

  /* Benefits section - centered */
  .benefits_2_single {
    text-align: center !important;
    padding: 20px 15px !important;
    margin-bottom: 30px !important;
  }

  .benefits_2_single i {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 20px !important;
  }

  .benefits_2_single .title {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }

  .benefits_2_single p {
    text-align: center !important;
    padding: 0 10px !important;
  }

  /* Team section - ensure proper spacing */
  .team_member {
    margin: 0 auto 30px !important;
    max-width: 350px !important;
  }

  /* Columns on mobile - full width and centered */
  .col-md-6,
  .col-md-4,
  .col-sm-6 {
    margin-bottom: 30px !important;
  }
}

@media (max-width: 480px) {
  .site-hero_2 .big-title {
    font-size: 20px !important;
  }
  .site-hero_2 .small-title {
    font-size: 11px !important;
  }

  /* Even tighter spacing for small mobile */
  .section-title {
    margin-bottom: 25px !important;
  }

  .section-title p {
    padding: 0 10px !important;
    font-size: 14px !important;
  }

  section p {
    padding: 0 15px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .benefits_2_single {
    padding: 15px 10px !important;
    margin-bottom: 25px !important;
  }

  .benefits_2_single i {
    font-size: 40px !important;
    margin-bottom: 15px !important;
  }

  .benefits_2_single .title {
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }

  .benefits_2_single p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 0 5px !important;
  }

  .team_member {
    max-width: 100% !important;
    margin-bottom: 25px !important;
  }

  .team_member_name {
    font-size: 18px !important;
  }

  .team_member_job {
    font-size: 13px !important;
  }
}






