@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --primary: #c33233;
  --primary-light: #e25a5b;
  --secondary: #fff;
  --bg: #fff;
  --accent: #c33233;
  --card-bg: #fff;
  --radius: 20px;
  --shadow: 0 8px 32px 0 rgba(195, 50, 51, 0.13);
  --frost: rgba(255,255,255,0.80);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--bg);
  color: var(--accent);
  min-height: 100vh;
  overflow-x: hidden;
}

.header {
  width: 100%;
  padding: 18px 5%;
  background: #fff;
  border-bottom: 3px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  margin-right: 18px;
}

.logo h1 {
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 700;
}

.navbar a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.08rem;
  margin: 0 1.2rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.navbar a.active {
  color: var(--primary-light);
  font-weight: 700;
}

.navbar a::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.navbar a:hover {
  color: var(--primary-light);
}

.navbar a:hover::before,
.navbar a.active::before {
  transform: scaleX(1);
}

.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 50%, rgba(195,50,51,0.09) 100%);
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 70% 40%, rgba(195,50,51,0.13) 0%, transparent 65%),
    radial-gradient(circle at 20% 60%, rgba(226,90,91,0.13) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  z-index: 10;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}
.hero-title {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 2px;
  text-shadow: 0 2px 24px #c3323333;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 32px;
  color: #c33233;
  letter-spacing: 1px;
  text-shadow: 0 1px 16px #e25a5b22;
}
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(60px);}
  to   { opacity: 1; transform: translateY(0);}
}
.animate-fadein-up {
  opacity: 0;
  animation: fadein-up 1s ease-out 0.2s forwards;
}
@keyframes scalein {
  from { opacity: 0; transform: scale(0.8);}
  to   { opacity: 1; transform: scale(1);}
}
.animate-scalein {
  opacity: 0;
  animation: scalein 0.8s cubic-bezier(.87,-.41,.19,1.44) 0.8s forwards;
}
@media (max-width: 700px) {
  .hero-content { max-width: 98vw; }
  .hero-title { font-size: 1.5rem; }
  .hero-subtitle { font-size: 1rem; }
}

.team {
  background: linear-gradient(90deg,#fff 60%, rgba(226,90,91,0.03) 100%);
  padding: 64px 5% 36px 5%;
  text-align: center;
}
.team h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 38px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}
.team-card {
  background: var(--frost);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 18px 18px 18px;
  width: 200px;
  text-align: center;
  border-top: 3px solid var(--primary);
  transition: box-shadow 0.19s, transform 0.16s;
  position: relative;
}
.team-card:hover {
  box-shadow: 0 12px 36px 0 #c3323344;
  transform: translateY(-5px) scale(1.04);
  z-index: 2;
}
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  border: 4px solid var(--primary-light);
  margin-bottom: 16px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}
.team-card h3 {
  font-size: 1.13rem;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 700;
}
.team-card span {
  color: #a63c3c;
  font-size: 1rem;
  display: block;
  margin-bottom: 12px;
}
.view-detail-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 0.5em 1.1em;
  background: linear-gradient(90deg,var(--primary),var(--primary-light));
  color: #fff;
  border-radius: 24px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px #c3323320;
  transition: background 0.17s, transform 0.15s;
  z-index: 5;
  position: relative;
}
.view-detail-btn:hover {
  background: linear-gradient(90deg,var(--primary-light),var(--primary));
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .team-members {
    gap: 22px;
  }
  .team-card, .team-members { width: 100%; }
  .team-card { max-width: 350px; margin-left: auto; margin-right: auto; }
  .team-card img { width: 100px; height: 100px; }
}
@media (max-width: 700px) {
  .team-members, .bankers-section .team-members {
    flex-direction: column;
    align-items: center;
  }
  .team-card, .bankers-section .team-card {
    width: 97vw;
    max-width: 340px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.28);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px #c3323340;
  padding: 34px 26px 26px 26px;
  max-width: 420px;
  width: 90vw;
  position: relative;
  animation: scalein 0.35s cubic-bezier(.87,-.41,.19,1.44);
  text-align: center;
}
@keyframes scalein {
  from { transform: scale(0.82); opacity: 0.6;}
  to { transform: scale(1); opacity: 1;}
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
  border: 2px solid #e25a5b44;
  color: var(--primary);
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.7rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.14s, color 0.15s;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: #ffeaea; color: #e25a5b; }
.modal h3 { margin-top: 0; color: var(--primary); font-size: 1.35rem;}
.modal img { width: 120px; margin-bottom: 18px; border-radius: 20px; border: 4px solid var(--primary-light);}
.modal p { color: #a63c3c; font-size: 1.08rem; line-height: 1.52;}

/* Footer */
.footer {
  background: var(--primary);
  padding: 26px 10% 18px 10%;
  text-align: center;
  color: #fff;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
.footer a:hover {
  color: #c33233;
}
.footer a { color: var(--primary); text-decoration: underline; margin-left: 12px;}
@media (max-width: 800px) {
  .footer { flex-direction: column; gap: 2px;}
}