@import url(./header.css);
@import url(./animations.css);
@import url(./pages-hero.css);
body {
  font-family: 'AvenirMedium';
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  padding-top: 4.5rem;
  overflow-x: hidden;
}
.hero-section {
  margin: 0 20px 25px 20px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
      rgba(0, 0, 0, 0.1) 0%,
      rgba(46, 125, 50, 0.8) 100%
    ),
    url("../img/rubon24.jpg");
  background-size: cover;
  background-position: center;
  padding: 24px;
  color: white;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Team Section */
.team-section {
  padding: 80px 20px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 800;
}

.section-header p {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 20px;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  opacity: 0;
  animation: slideInUp 0.8s ease-out forwards;
}

.team-card:nth-child(1) {
  animation-delay: 0s;
}

.team-card:nth-child(2) {
  animation-delay: 0.1s;
}

.team-card:nth-child(3) {
  animation-delay: 0.2s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  width: 100%;
  height: 350px;
  background: var(--light-gray);
  overflow: visible;
}

.card-image img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .card-image img {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  filter: brightness(0.7);
}

.email-icon {
  position: absolute;
  bottom: -2px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  border: 1px solid white;
  z-index: 10;
}

.email-icon:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* .eye-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
  z-index: 5;
}

.team-card:hover .eye-icon {
  opacity: 1;
} */

.tooltip {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.8);
}

.card-image:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.card-info {
  padding: 30px;
  background: var(--primary);
  color: white;
  position: relative;
  clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  padding-top: 60px;
  margin-top: -30px;
}

.card-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.card-info p {
  font-size: 12px;
  opacity: 0.95;
  font-weight: 400;
}

/* Stats Section */
/* .stats-section {
  background: linear-gradient(
    135deg,
    var(--light) 0%,
    var(--light) 50%,
    var(--light) 100%
  );
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}
.stats-section h2 {
  text-align: center;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 30px;
  font-weight: 800;
  position: relative;
  z-index: 1;
} */
/* 
.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 20px 10px;
  background: rgba(43, 71, 35, 0.048);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(50px);
}

.stat-card.count-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}
.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}
.stat-card:nth-child(4) {
  animation-delay: 0.4s;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.stat-card i {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.stat-card h3 {
  font-size: 18px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-card p {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
} */
/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 350px;
    margin: 10px;
  }

  .hero-title {
    font-size: 24px;
  }

  .team-section {
    padding: 60px 15px 80px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 10px;
  }

  .card-image {
    height: 350px;
    overflow: visible;
  }

  .email-icon {
    bottom: 0;
  }

  .card-info {
    padding: 25px;
    padding-top: 55px;
    margin-top: -35px;
  }

  .card-info h3 {
    font-size: 1.3rem;
  }

  .card-info p {
    font-size: 0.95rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .card-image {
    height: 300px;
    overflow: visible;
  }

  .card-info {
    padding: 20px;
    padding-top: 50px;
    margin-top: -30px;
  }

  .email-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    bottom: 0;
  }

  .stat-card {
    padding: 30px 15px;
  }

  .stat-card h3 {
    font-size: 2rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  margin: 5% auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
  padding-top: 90px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  overflow: hidden;
  position: absolute;
  top: -60px;
  left: -60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background-color: white;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  text-align: center;
  width: 100%;
}

.modal-details h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 700;
}

.modal-details #modalTitle {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 500;
}

.modal-details #modalBio {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.modal-details p {
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-details p i {
  color: var(--primary);
  width: 20px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #ff4444;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.close:hover,
.close:focus {
  color: #cc0000;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 20px;
    padding-top: 70px;
  }

  .modal-image {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
  }

  .modal-details h3 {
    font-size: 24px;
  }

  .modal-details #modalTitle {
    font-size: 16px;
  }

  .modal-details #modalBio {
    font-size: 14px;
  }
}
/* ================================
   Leadership Team Section
================================ */
:root {
  --primary-color: #0b3c5d;
  --secondary-color: #328cc1;
  --text-dark: #1f2933;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
}

.leadership-section {
  background-color: var(--bg-light);
  padding: 4rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   Section Header
================================ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================
   Grid Layout
================================ */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* ================================
   Leader Card
================================ */
.leader-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ================================
   Image
================================ */
.leader-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   Content
================================ */
.leader-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.leader-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.leader-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* ================================
   Actions
================================ */
.leader-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.leader-actions a,
.leader-actions button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Email Button */
.btn-email {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-email:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ================================
   Responsive Adjustments
================================ */

/* Tablets */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.9rem;
  }

  .leader-image {
    height: 250px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .leadership-section {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .leader-content {
    padding: 1.25rem;
  }

  .leader-actions {
    flex-direction: column;
  }
}
/* ================================
   Leadership Groups
================================ */
.leadership-group {
  margin-bottom: 4rem;
}

.group-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.group-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 2rem;
}

/* Board Styling */
.board-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.board-card .leader-image {
  height: 240px;
}

.board-card .leader-content {
  text-align: center;
}
/* Image Container */
.leader-image {
  width: 100%;
  height: 280px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

/* Image */
.leader-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* ================================
   Profile Modal
================================ */
.profile-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.profile-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  max-width: 520px;
  margin: 10vh auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  z-index: 1;
  animation: fadeUp 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.modal-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.modal-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
}

.modal-close:hover {
  color: #000;
}

@keyframes fadeUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Clients Section Mobile */
  .clients-carousel-track {
    gap: 1.5rem;
    padding: 0 1rem;
    animation: scrollClientsRightToLeft 35s linear infinite;
  }

  .client-logo {
    height: 120px;
    min-width: 160px;
    flex: 0 0 160px;
    padding: 1rem;
  }

  .client-logo span {
    font-size: 0.75rem;
  }