/* PAGE HERO */
.page-hero {
  min-height: 420px; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--dark); padding-top: 80px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=60') center/cover no-repeat;
  opacity: 0.05;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute; bottom: -150px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; padding: 80px 40px 60px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.35); font-size: 0.8rem; margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb i { font-size: 0.65rem; }
.breadcrumb span { color: var(--accent-light); font-weight: 600; }
.page-hero-content h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; color: #fff; margin-bottom: 16px; letter-spacing: -1.5px; }
.page-hero-content h1 span { color: var(--accent-light); }
.page-hero-content p { color: rgba(255,255,255,0.45); font-size: 1rem; max-width: 520px; }

/* NAV ACTIVE */
.nav-links a.active { color: #fff !important; background: rgba(255,255,255,0.07) !important; }

/* STORY */
.story-section { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.story-visual { position: relative; }
.story-img-main { border-radius: 24px; overflow: hidden; }
.story-img-main img { width: 100%; height: 500px; object-fit: cover; display: block; }
.story-float-card {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--dark); color: #fff;
  padding: 18px 24px; border-radius: 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  animation: floatY 4s ease-in-out infinite;
}
.story-float-card i { color: var(--accent-light); font-size: 1.4rem; }
.story-float-card strong { display: block; font-size: 0.95rem; font-weight: 700; }
.story-float-card span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.story-float-tag {
  position: absolute; top: 24px; left: -16px;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  padding: 8px 16px; border-radius: 50px;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.story-text p { color: var(--text-light); margin-bottom: 18px; line-height: 1.8; font-size: 0.95rem; }
.story-text strong { color: var(--accent); font-weight: 700; }
.story-stats {
  display: flex; align-items: center; gap: 0;
  margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--border);
}
.story-stat { flex: 1; text-align: center; }
.story-stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.story-stat span { font-size: 0.75rem; color: var(--text-light); margin-top: 6px; display: block; text-transform: uppercase; letter-spacing: 1px; }
.story-stat-div { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* MISSION VISION */
.mv-section { background: var(--dark-2); }
.mv-section .section-tag { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.2); }
.mv-section h2 { color: #fff; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.mv-card {
  border-radius: 20px; padding: 48px 40px;
  position: relative; overflow: hidden; transition: transform 0.3s;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
}
.mv-card:hover { transform: translateY(-4px); }
.mv-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-color: transparent;
}
.mv-number {
  position: absolute; top: 24px; right: 28px;
  font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.04); line-height: 1;
}
.mv-icon {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 24px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent-light);
}
.mv-card.featured .mv-icon { background: rgba(255,255,255,0.15); color: #fff; }
.mv-card h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.mv-card p { font-size: 0.92rem; color: rgba(255,255,255,0.6); line-height: 1.8; }

/* CORE VALUES */
.values-section { background: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.value-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; background: #fff; }
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(37,99,235,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--accent); margin-bottom: 18px;
  transition: all 0.3s;
}
.value-card:hover .value-icon { background: var(--accent); color: #fff; }
.value-card h4 { font-size: 0.98rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.value-card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.75; }

/* TEAM */
.team-section { background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (min-width: 769px) { .team-card:last-child:nth-child(3n - 2) { grid-column: 2; } }
.team-card {
  border-radius: 16px; overflow: hidden;
  cursor: pointer; background: var(--primary);
  border: none;
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 4px 20px rgba(6,13,26,0.07);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(6,13,26,0.14); }

.team-img { overflow: hidden; line-height: 0; font-size: 0; }
.team-img img {
  width: 100%; aspect-ratio: 4/4.5;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.team-card:hover .team-img img { transform: scale(1.04); }

.team-bottom { background: var(--primary); display: flex; flex-direction: column; }
.team-info { padding: 12px 16px 0; }
.team-info h4 { font-size: 0.88rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.team-info span { font-size: 0.72rem; color: rgba(255,255,255,0.65); font-weight: 500; display: block; }

.team-overlay {
  padding: 0 16px 10px;
  display: flex; justify-content: flex-end;
}
.read-more-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,0.7);
  border: none; font-size: 0.76rem; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  padding: 5px 0; transition: color 0.2s, gap 0.2s;
}
.read-more-btn::after { content: '\2192'; display: inline-block; transition: transform 0.2s; }
.team-card:hover .read-more-btn { color: #fff; gap: 10px; }
.team-card:hover .read-more-btn::after { transform: translateX(3px); }

/* TEAM MODAL */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,13,26,0.75);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-box {
  background: #fff; border-radius: 24px;
  max-width: 900px; width: 100%;
  display: grid; grid-template-columns: 320px 1fr;
  overflow: hidden; position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 90vh;
}
.modal-backdrop.open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark); color: #fff; border: none;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.modal-close:hover { background: var(--accent); transform: rotate(90deg); }
.modal-left {
  background: linear-gradient(160deg, var(--primary) 0%, var(--accent) 100%);
  padding: 40px 28px; display: flex; flex-direction: column; gap: 28px;
}
.modal-img-wrap { position: relative; }
.modal-img-wrap img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 16px; display: block;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.modal-img-glow {
  position: absolute; inset: -4px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}
.modal-contact h5 { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.modal-contact-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.82rem; padding: 8px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.08); margin-bottom: 8px;
  transition: background 0.2s; word-break: break-all;
}
.modal-contact-item i { font-size: 0.9rem; color: rgba(255,255,255,0.6); width: 16px; min-width: 16px; text-align: center; }
.modal-contact-item span { flex: 1; }
.modal-right { padding: 48px 44px; overflow-y: auto; }
.modal-tag {
  display: inline-block; background: rgba(37,99,235,0.08);
  color: var(--accent); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
  border: 1px solid rgba(37,99,235,0.15);
}
.modal-right h2 { font-size: 1.9rem; font-weight: 900; color: var(--dark); letter-spacing: -0.5px; margin-bottom: 6px; line-height: 1.1; }
.modal-role { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 0; }
.modal-divider { height: 1px; background: var(--border); margin: 24px 0; }
.modal-bio { color: var(--text-light); font-size: 0.92rem; line-height: 1.85; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 60px; }
  .story-float-card { right: 0; bottom: -16px; }
  .mv-grid { grid-template-columns: 1fr; max-width: 500px; }
}
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .story-stats { flex-wrap: wrap; gap: 24px; }
  .story-stat-div { display: none; }
  .modal-box { grid-template-columns: 1fr; max-height: none; overflow: visible; }
  .modal-left { padding: 24px; flex-direction: row; align-items: center; gap: 16px; }
  .modal-img-wrap { width: 80px; flex-shrink: 0; }
  .modal-img-wrap img { aspect-ratio: 1; border-radius: 50%; }
  .modal-right { padding: 24px; overflow-y: visible; }
  .modal-right h2 { font-size: 1.3rem; }
  .modal-backdrop { align-items: flex-start; padding: 16px; overflow-y: auto; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-info h4 { font-size: 0.78rem; }
  .team-info span { font-size: 0.65rem; }
  .story-float-card { position: static; margin-top: 16px; width: 100%; }
  .story-float-tag { left: 0; }
  .mv-card { padding: 28px 20px; }
  .story-img-main img { height: 300px; }
  .page-hero-content { padding: 60px 20px 40px; }
  .page-hero-content h1 { font-size: 2rem; }
}
