/* Bio Section */
.chairman-bio {
  background: linear-gradient(135deg, #f7faff 60%, #e3e9f7 100%);
  padding: 60px 0 50px 0;
  position: relative;
  overflow: hidden;
}
.bio-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: center;
  flex-direction: row;
}
.bio-photo {
  position: relative;
  z-index: 1;
}
.bio-photo img {
  width: 260px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30,60,120,0.12);
  border: 4px solid #e3e9f7;
  transition: transform 0.4s, box-shadow 0.4s;
  background: #fff;
  animation: floatPhoto 3.5s ease-in-out infinite;
}
@keyframes floatPhoto {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px) scale(1.03); box-shadow: 0 16px 40px rgba(30,60,120,0.16); }
}
.bio-photo::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: radial-gradient(circle, #b3c6e6 0%, transparent 80%);
  opacity: 0.5;
  z-index: 0;
  filter: blur(2px);
}
.bio-details {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,60,120,0.08);
  padding: 32px 28px 24px 28px;
  min-width: 260px;
  max-width: 480px;
  position: relative;
  z-index: 2;
  animation: fadeInBio 1.2s;
}
@keyframes fadeInBio {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.bio-details h2 {
  font-size: 2rem;
  color: #0d47a1;
  margin-bottom: 8px;
  font-weight: 800;
}
.bio-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1976d2, #64b5f6);
  margin-bottom: 18px;
  border-radius: 2px;
  animation: underlineGrow 1.2s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes underlineGrow {
  from { width: 0; }
  to { width: 60px; }
}
.bio-details p {
  font-size: 1.1rem;
  color: #333;
  line-height: 2;
}

/* Timeline/Achievements Section */
.chairman-timeline {
  background: linear-gradient(135deg, #f7faff 60%, #e3e9f7 100%);
  padding: 60px 0 70px 0;
  position: relative;
  overflow: hidden;
}
.timeline-title {
  text-align: center;
  font-size: 2.2rem;
  color: #1976d2;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}
.timeline-title::after {
  content: '';
  display: block;
  margin: 0.5rem auto 0 auto;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1976d2, #64b5f6);
}
.timeline-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
  justify-content: center;
  position: relative;
}
/* Vertical timeline line */
.timeline-cards::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #b3c6e6 0%, #1976d2 100%);
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}
.timeline-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(30,60,120,0.10);
  padding: 32px 24px 24px 24px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  animation: fadeInTimelineCard 1s;
}
@keyframes fadeInTimelineCard {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
.timeline-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(30,60,120,0.16);
}
/* Timeline dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #1976d2, #64b5f6);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(30,60,120,0.12);
  border: 4px solid #fff;
  z-index: 2;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 #1976d2aa; }
  50% { box-shadow: 0 0 0 8px #1976d233; }
}
.card-date {
  font-size: 1.1rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #1976d2, #64b5f6);
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(30,60,120,0.10);
  margin-top: 10px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.card-title {
  font-size: 1.15rem;
  color: #0d47a1;
  margin-bottom: 6px;
  font-weight: 600;
}
.card-desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .bio-flex { flex-direction: column; align-items: center; }
  .bio-photo img { margin-bottom: 24px; }
  .timeline-cards::before { display: none; }
}

/* RTL Support */
html[dir="rtl"] .bio-flex { flex-direction: row-reverse; }
html[dir="rtl"] .timeline-card { text-align: right; }
html[dir="rtl"] .bio-photo img {
  transform: scaleX(-1);
}
html[dir="rtl"] .bio-photo img:hover {
  transform: scaleX(-1) scale(1.04) rotate(2deg);
}
html[dir="ltr"] .bio-photo img:hover {
  transform: scale(1.04) rotate(-2deg);
}

/* Vertical Bio Card Section */
.chairman-bio-card-vertical {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0 60px 0;
  background: linear-gradient(135deg, #f7faff 60%, #e3e9f7 100%);
  position: relative;
  overflow: hidden;
}
.bio-card-vertical {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(30,60,120,0.15);
  max-width: 1200px;
  width: 100%;
  padding: 60px 50px 50px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.bio-card-image {
  width: 280px;
  height: 280px;
  margin-bottom: 40px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30,60,120,0.15);
  background: #e3e9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.bio-card-image::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(25,118,210,0.1), rgba(100,181,246,0.1));
  border-radius: 50%;
  z-index: -1;
  animation: rotateBackground 20s linear infinite;
}
.bio-card-image::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(25,118,210,0.05), rgba(100,181,246,0.05));
  border-radius: 50%;
  z-index: -2;
  animation: rotateBackground 30s linear infinite reverse;
}
@keyframes rotateBackground {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.bio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  background: #fff;
  transition: transform 0.3s ease;
}
.bio-card-image:hover img {
  transform: scale(1.05);
}
.bio-card-info h2 {
  font-size: 2.8rem;
  color: #0d47a1;
  margin-bottom: 12px;
  font-weight: 800;
}
.bio-card-position {
  font-size: 1.5rem;
  color: #1976d2;
  font-weight: 600;
  margin-bottom: 16px;
}
.bio-underline {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #1976d2, #64b5f6);
  margin: 0 auto 32px auto;
  border-radius: 2px;
  animation: underlineGrow 1.2s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes underlineGrow {
  from { width: 0; }
  to { width: 100px; }
}
.bio-card-details p {
  font-size: 1.3rem;
  color: #333;
  line-height: 2;
  margin: 0;
  max-width: 900px;
}
@media (max-width: 1200px) {
  .bio-card-vertical {
    max-width: 95vw;
    padding: 50px 40px 40px 40px;
  }
  .bio-card-image {
    width: 240px;
    height: 240px;
  }
  .bio-card-image::before {
    width: 340px;
    height: 340px;
  }
  .bio-card-image::after {
    width: 440px;
    height: 440px;
  }
}
@media (max-width: 900px) {
  .bio-card-vertical {
    padding: 40px 30px 30px 30px;
  }
  .bio-card-image {
    width: 200px;
    height: 200px;
    margin-bottom: 32px;
  }
  .bio-card-image::before {
    width: 280px;
    height: 280px;
  }
  .bio-card-image::after {
    width: 360px;
    height: 360px;
  }
  .bio-card-info h2 {
    font-size: 2.2rem;
  }
  .bio-card-position {
    font-size: 1.3rem;
  }
  .bio-card-details p {
    font-size: 1.2rem;
  }
}
@media (max-width: 600px) {
  .bio-card-vertical {
    padding: 30px 20px 25px 20px;
  }
  .bio-card-image {
    width: 160px;
    height: 160px;
    margin-bottom: 24px;
  }
  .bio-card-image::before {
    width: 220px;
    height: 220px;
  }
  .bio-card-image::after {
    width: 280px;
    height: 280px;
  }
  .bio-card-info h2 {
    font-size: 1.8rem;
  }
  .bio-card-position {
    font-size: 1.1rem;
  }
  .bio-card-details p {
    font-size: 1.1rem;
  }
}

/* Chairman Icons Row Styles */
.chairman-icons-row {
  background: linear-gradient(90deg, #f7faff 60%, #e3e9f7 100%);
  margin-bottom: 0;
  padding: 32px 0 16px 0;
}
.chairman-icons-row .icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #1976d2 60%, #64b5f6 100%);
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.10);
  color: #fff;
  font-size: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chairman-icons-row .icon-circle i {
  color: #fff;
  font-size: 2rem;
}
.chairman-icons-row .icon-circle:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 24px rgba(25, 118, 210, 0.18);
}
.chairman-icons-row [data-translate] {
  font-size: 1.08rem;
  color: #1976d2;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.2px;
}
@media (max-width: 900px) {
  .chairman-icons-row .icon-circle {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
  .chairman-icons-row [data-translate] {
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  .chairman-icons-row .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .chairman-icons-row [data-translate] {
    font-size: 0.92rem;
  }
}
html[dir="rtl"] .chairman-icons-row [data-translate] {
  text-align: right;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .chairman-bio-card-vertical {
    padding: 40px 0;
  }
  
  .bio-card-vertical {
    padding: 30px 20px;
    border-radius: 16px;
  }
  
  .bio-card-image {
    width: 180px;
    height: 180px;
    margin-bottom: 24px;
  }
  
  .bio-card-image::before {
    width: 240px;
    height: 240px;
  }
  
  .bio-card-image::after {
    width: 300px;
    height: 300px;
  }
  
  .bio-card-info h2 {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  .bio-card-position {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .bio-card-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0 10px;
  }
  
  /* Icons Row Mobile */
  .chairman-icons-row {
    padding: 24px 0 12px 0;
  }
  
  .chairman-icons-row .row {
    margin: 0 -8px;
  }
  
  .chairman-icons-row .col-6 {
    padding: 0 8px;
  }
  
  .chairman-icons-row .icon-circle {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }
  
  .chairman-icons-row .icon-circle i {
    font-size: 1.2rem;
  }
  
  .chairman-icons-row [data-translate] {
    font-size: 0.9rem;
    margin-top: 2px;
  }
  
  /* Timeline Mobile */
  .chairman-timeline {
    padding: 40px 0 50px 0;
  }
  
  .timeline-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .timeline-cards {
    gap: 20px;
  }
  
  .timeline-card {
    padding: 20px 16px;
    min-width: 100%;
    margin-bottom: 20px;
  }
  
  .card-date {
    font-size: 1rem;
    padding: 4px 14px;
    margin-bottom: 10px;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .chairman-bio-card-vertical {
    padding: 30px 0;
  }
  
  .bio-card-vertical {
    padding: 24px 16px;
  }
  
  .bio-card-image {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
  }
  
  .bio-card-image::before {
    width: 180px;
    height: 180px;
  }
  
  .bio-card-image::after {
    width: 220px;
    height: 220px;
  }
  
  .bio-card-info h2 {
    font-size: 1.6rem;
  }
  
  .bio-card-position {
    font-size: 1.1rem;
  }
  
  .bio-card-details p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  /* Icons Row Small Mobile */
  .chairman-icons-row .icon-circle {
    width: 40px;
    height: 40px;
  }
  
  .chairman-icons-row .icon-circle i {
    font-size: 1rem;
  }
  
  .chairman-icons-row [data-translate] {
    font-size: 0.85rem;
  }
  
  /* Timeline Small Mobile */
  .timeline-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }
  
  .timeline-card {
    padding: 16px 14px;
  }
  
  .card-date {
    font-size: 0.95rem;
    padding: 3px 12px;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-desc {
    font-size: 0.9rem;
  }
}

/* RTL Mobile Support */
html[dir="rtl"] .chairman-icons-row [data-translate] {
  text-align: center;
}

html[dir="rtl"] .timeline-card {
  text-align: right;
}

html[dir="rtl"] .bio-card-details p {
  text-align: center;
}

/* Hero Section Mobile RTL Support */
@media (max-width: 768px) {
  html[dir="rtl"] .contact-hero-inner {
    text-align: center;
  }

  html[dir="rtl"] .hero-left {
    padding: 0 15px;
  }

  html[dir="rtl"] .hero-left h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  html[dir="rtl"] .hero-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  html[dir="rtl"] .btn-contact-hero {
    margin: 0 auto;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  html[dir="rtl"] .hero-left h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  html[dir="rtl"] .hero-left p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  html[dir="rtl"] .btn-contact-hero {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Contact Hero Section Base Styles */
.contact-hero {
  background: linear-gradient(135deg, #f7faff 60%, #e3e9f7 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.contact-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-left h1 {
  font-size: 2.8rem;
  color: #0d47a1;
  margin-bottom: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-left p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn-contact-hero {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #1976d2, #64b5f6);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

.btn-contact-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
  color: #fff;
}

.hero-right {
  flex: 1;
  max-width: 500px;
  height: 300px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.1), rgba(100, 181, 246, 0.1));
  border-radius: 20px;
}

/* Mobile Responsive Base Styles */
@media (max-width: 768px) {
  .contact-hero {
    padding: 0;
    min-height: 400px;
    position: relative;
  }

  .contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/board-chairman/chairman.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
  }

  .contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 250, 255, 0.95) 60%, rgba(227, 233, 247, 0.95) 100%);
    z-index: 1;
  }

  .contact-hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-left {
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  .hero-left h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #0d47a1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  .hero-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333;
  }

  .hero-right {
    display: none;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    min-height: 350px;
  }

  .contact-hero-inner {
    padding: 40px 15px;
    min-height: 350px;
  }

  .hero-left h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-left p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  .btn-contact-hero {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* RTL Mobile Support */
@media (max-width: 768px) {
  html[dir="rtl"] .contact-hero-inner {
    text-align: center;
  }

  html[dir="rtl"] .hero-left {
    padding: 0 15px;
  }

  html[dir="rtl"] .hero-left h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  html[dir="rtl"] .hero-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  html[dir="rtl"] .btn-contact-hero {
    margin: 0 auto;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  html[dir="rtl"] .hero-left h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  html[dir="rtl"] .hero-left p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  html[dir="rtl"] .btn-contact-hero {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Section Divider Styles */
.section-divider {
    position: relative;
    padding: 2rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f7faff 60%, #e3e9f7 100%);
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(25, 118, 210, 0) 0%,
        rgba(25, 118, 210, 0.3) 20%,
        rgba(25, 118, 210, 0.3) 80%,
        rgba(25, 118, 210, 0) 100%
    );
    transform: translateY(-50%);
}

.section-divider-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 0 2rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.1);
}

.section-divider-icon {
    color: #1976d2;
    font-size: 1.5rem;
}

.section-divider-title {
    color: #1976d2;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* RTL Support for Section Divider */
html[dir="rtl"] .section-divider-content {
    flex-direction: row-reverse;
}

/* Mobile Responsive Styles for Section Divider */
@media (max-width: 768px) {
    .section-divider {
        padding: 1.5rem 0;
    }

    .section-divider-content {
        padding: 0 1.5rem;
    }

    .section-divider-icon {
        font-size: 1.3rem;
    }

    .section-divider-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section-divider {
        padding: 1rem 0;
    }

    .section-divider-content {
        padding: 0 1.2rem;
        gap: 0.8rem;
    }

    .section-divider-icon {
        font-size: 1.1rem;
    }

    .section-divider-title {
        font-size: 1rem;
    }
}