
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

:root {
  --brand-blue: #0A2F7C;
}

/* =========================
   NAVBAR
   ========================= */


   header{
  background:#eaf3ff;
  color:#2c2c2c;
  padding:14px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 3px 12px rgba(0,0,0,.08);
  position:relative;
  z-index:1000;
  width: 100%;
  overflow-x: hidden;
}

.nav-container{
  max-width:1200px;
  margin:0 auto;

  display:flex;
  align-items:center;
  width:100%;
}


/* =========================
   LOGO
   ========================= */
.logo {
  display:flex;
  align-items:center;
  gap:14px;
  font-family:'Montserrat', sans-serif;
}

.logo img {
  height:48px;
  width:auto;
}

.logo-text {
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.logo-main {
  display:flex;
  gap:8px;
  font-size:22px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--brand-blue);
}

.logo-sub {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:2px;
}

.logo-sub span:first-child {
  font-size:11px;
  font-weight:500;
  letter-spacing:4px;
  color:var(--brand-blue);
}

.logo-line {
  width:32px;
  height:2px;
  background:var(--brand-blue);
}

/* =========================
   NAV DESKTOP
   ========================= */
.nav{
  margin-left:auto;
}

.nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:32px;
}

.nav ul li a{
  font-family:'Montserrat', sans-serif;
  color:var(--brand-blue);
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  position:relative;
  padding:4px 0;
  transition:color .25s ease;
}

.nav ul li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--brand-blue);
  transition:width .25s ease;
}

.nav ul li a:hover{
  color:#08306b;
}

.nav ul li a:hover::after{
  width:100%;
}

/* =========================
   HAMBURGER
   ========================= */
.nav-toggle{
  display:none;
  font-size:26px;
  background:none;
  border:none;
  color:var(--brand-blue);
  cursor:pointer;
  margin-left:20px;
}

/* =========================
   RESPONSIVE 
   ========================= */
@media (max-width:768px){

  header{
    padding:14px 20px;
  }

  /* LOGO */
  .logo img{
    height:38px;
  }

  .logo-main{
    font-size:18px;
    letter-spacing:.8px;
  }

  .logo-sub span:first-child{
    font-size:10px;
    letter-spacing:3px;
  }

  .logo-line{
    width:22px;
  }

  /* HAMBURGER */
  .nav-toggle{
    display:block;
    margin-left:auto;
  }

  /* NAV */
  .nav{
    display:none;
    width:100%;
    margin-top:14px;
  }

  .nav.open{
    display:block;
  }

  .nav ul{
    display:flex;
    flex-direction:column;
    gap:0;
    background:#ffffff;
    border-radius:16px;
    padding:10px 0;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
  }

  .nav ul li a{
    display:block;
    padding:14px 20px;
    font-size:15px;
    text-align:center;
    font-weight:700;
    color:var(--brand-blue);
  }

  .nav ul li a:hover{
    background:#eef5ff;
  }

  .nav ul li a::after{
    display:none;
  }
}

/* =========================
   RESPONSIVE 2
   ========================= */
@media (max-width:400px){

  .logo-main{
    font-size:16px;
  }

  .logo img{
    height:34px;
  }

  .logo-line{
    display:none;
  }
}



/* =========================
   HERO SLIDER 
   ========================= */
.hero{
  position:relative;
  height:88vh;
  min-height:520px;
  overflow:hidden;
  background:transparent;
}

.hero-slider{
  position:relative;
  height:100%;
}

.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .6s ease, transform .8s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:0;
}

.hero-slide.is-active{
  opacity:1;
  transform:scale(1);
  z-index:2;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  padding:0 18px;
  max-width:980px;
  color:#fff;
}

.hero-content h1{
  font-size:clamp(34px, 5vw, 64px);
  font-weight:800;
  margin-bottom:10px;
  line-height:1.1;
}

.hero-content p{
  font-size:clamp(14px, 1.5vw, 18px);
  font-style:italic;
  line-height:1.6;
  opacity:.95;
  margin:0 auto;
  max-width:900px;
}

/* HERO CONTROLS */
.hero-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  width:44px;
  height:44px;
  border-radius:999px;
  cursor:pointer;
  background:rgba(255,255,255,.85);
  color:#111;
  z-index:5;
}

.hero-btn.prev{ left:18px; }
.hero-btn.next{ right:18px; }

.hero-btn:hover{ background:rgba(255,255,255,1); }

.hero-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:22px;
  display:flex;
  justify-content:center;
  gap:8px;
  z-index:6;
}

.hero-dots .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.55);
  cursor:pointer;
}

.hero-dots .dot.active{
  background:rgba(255,255,255,.95);
}

@media (max-width:768px){
  .hero{ height:78vh; min-height:420px; }
  .hero-btn{ display:none; }
}

/* =========================
   SECTION
   ========================= */
.section{
  padding:60px 30px;
  text-align:center;
}

.section h2{
  margin:0 auto 18px;
  color:#0b3c5d;
}

.gray{ background:#f4f4f4; }

/* =========================
   ABOUT SECTION
   ========================= */
.about-section{
  padding:80px 100px;
  background:#fff;
}

.about-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:50px;
}

.about-image img{
  width:100%;
  max-width:480px;
  border-radius:8px;
  box-shadow:0 6px 15px rgba(0,0,0,.15);
  display:block;
}

.about-text{ flex:1; }

.about-text h2{
  color:#0b3c5d;
  margin-bottom:20px;
}

.about-text p{
  line-height:1.7;
  margin-bottom:15px;
  text-align:justify;
  text-justify:inter-word;
}

.about-cta{
  display:flex;
  justify-content:center;
  margin-top:14px;
}

.btn-about{
  display:inline-block;
  padding:12px 18px;
  background:#0b3c5d;
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  font-weight:bold;
  transition:.25s ease;
}

.btn-about:hover{
  background:#092f48;
  transform:translateY(-2px);
}

@media (max-width:768px){
  .about-section{ padding:60px 30px; }
  .about-container{
    flex-direction:column;
    align-items:center;
    gap:24px;
  }
  .about-image img{ max-width:100%; }
}

/* =========================
   SERVICES (LAYANAN)
   ========================= */
#services.section{ padding:60px 30px; }

#services .project-list{
  max-width:1200px;
  margin:30px auto 0;
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:22px;
  align-items:stretch;
}

#services .project-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}

#services .project-card img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
}

#services .project-card h3{
  margin:14px 16px 8px;
  color:#0b3c5d;
  font-size:18px;
  line-height:1.25;
  text-align:center;
}

#services .project-card p{
  margin:0 16px 18px;
  line-height:1.6;
  text-align:center;
  color:#222;
  font-size:14.5px;
}

#services .project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 30px rgba(0,0,0,.14);
}

/* RESPONSIVE GRID */
@media (max-width:1200px){
  #services .project-list{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width:900px){
  #services .project-list{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:560px){
  #services .project-list{ grid-template-columns:1fr; }
  #services .project-card img{ height:200px; }
}

/* =========================
   OUR EXPERIENCE
   ========================= */
.experience-section{
  padding:80px 30px;
  text-align:center;
}

.experience-subtitle,
.experience-desc{
  max-width:820px;
  margin:0 auto 26px;
  line-height:1.7;
  color:#333;
}

.experience-projects{
  display: flex;
  justify-content: center;
  gap: 32px;              /* jarak antar card */
  flex-wrap: wrap;        /* aman kalau layar kecil */
  width: 320px;
}


.experience-projects-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
  margin:10px 0 60px;
}

.experience-project-card{
  background:#fff;
  border-radius:16px;
  padding:28px 24px;
  width:min(420px, 100%);
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.experience-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}

.experience-stat-card{
  background:#fff;
  border-radius:12px;
  padding:22px 18px;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.experience-stat-card h3{
  font-size:34px;
  color:#0b3c5d;
  margin-bottom:8px;
  font-weight:800;
}

.experience-stat-card p{
  margin:0;
  color:#333;
  line-height:1.5;
}

@media (max-width:992px){
  .experience-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:520px){
  .experience-grid{ grid-template-columns:1fr; }
  .experience-stat-card h3{ font-size:30px; }
}


.experience-project-card{
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}

.experience-project-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.experience-project-card:active{
  transform: translateY(-2px) scale(.99);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* JUDUL PROJECT */
.experience-project-card h3{
  font-size: 25px;          
  font-weight: 900;        
  color: #0b3c5d;          
  letter-spacing: 1px;
  margin-bottom: 6px;
}

@media (max-width: 480px){
  .experience-project-card h3{
    font-size: 20px;
  }
}


/* =========================
   CONTACT
   ========================= */
#contact form,
form{
  width:min(720px, 100%);
  margin:24px auto 0;
  display:grid;
  gap:14px;
}

#contact input, #contact textarea,
form input, form textarea{
  width:100%;
  padding:14px 12px;
  border:1px solid #d0d0d0;
  border-radius:10px;
  font-size:15px;
  outline:none;
}

#contact textarea,
form textarea{
  min-height:160px;
  resize:vertical;
}

#contact button,
form button{
  padding:14px 16px;
  background:#0b3c5d;
  color:#fff;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
}

#contact button:hover,
form button:hover{
  background:#092f48;
}

/* =========================
   FOOTER
   ========================= */
.footer{
  background:#0b3c5d;
  color:#fff;
  padding:60px 30px 20px;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:40px;
}

.footer-box h3{
  margin-bottom:15px;
  color:#f4d35e;
}

.footer-box p{
  line-height:1.6;
  margin-bottom:8px;
}

.footer-box ul{ list-style:none; }
.footer-box ul li{ margin-bottom:8px; }

.social-links{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.social-links a{
  color:#fff;
  text-decoration:none;
  transition:color .3s;
}

.social-links a:hover{ color:#f4d35e; }

.footer-bottom{
  text-align:center;
  margin-top:40px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.2);
  font-size:14px;
}

@media (max-width:600px){
  .footer{ text-align:center; }
  .social-links{ align-items:center; }
}

/* =========================
   ANIMASI
   ========================= */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all .8s ease;
}
.reveal.active{
  opacity:1;
  transform:translateY(0);
}

.reveal-footer{
  opacity:0;
  transform:translateY(50px);
  transition:all .9s ease;
}
.reveal-footer.active{
  opacity:1;
  transform:translateY(0);
}

.reveal-footer-item{
  opacity:0;
  transform:translateY(35px);
  transition:all .8s ease;
}
.reveal-footer-item.active{
  opacity:1;
  transform:translateY(0);
}

.footer-box.reveal-footer-item:nth-child(1){ transition-delay:.1s; }
.footer-box.reveal-footer-item:nth-child(2){ transition-delay:.2s; }
.footer-box.reveal-footer-item:nth-child(3){ transition-delay:.3s; }
.footer-box.reveal-footer-item:nth-child(4){ transition-delay:.4s; }
.footer-bottom.reveal-footer-item{ transition-delay:.55s; }

/* =========================
   MODAL + SLIDER TETAP
   ========================= */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.modal.show{ display:block; }

.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
}

.modal-content{
  position:relative;
  max-width:720px;
  margin:6vh auto;
  background:#fff;
  border-radius:14px;
  padding:24px 24px 18px;
  text-align:left;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.modal-content h2{
  color:#0b3c5d;
  margin-bottom:8px;
}
.modal-content p{
  color:#333;
  margin-bottom:14px;
  line-height:1.6;
}

#modalDetail ul{
  padding-left:18px;
  line-height:1.7;
  margin-bottom:16px;
}

.modal-close{
  position:absolute;
  top:10px;
  right:14px;
  border:none;
  background:transparent;
  font-size:28px;
  cursor:pointer;
  color:#0b3c5d;
}

.modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

.modal-btn{
  display:inline-block;
  padding:10px 14px;
  background:#0b3c5d;
  color:#fff;
  text-decoration:none;
  border-radius:10px;
}
.modal-btn:hover{ background:#092f48; }

@media (max-width:768px){
  .modal-content{
    margin:10vh 14px;
    padding:18px;
  }
}


.slider{
  position:relative;
  margin:14px 0 18px;
  border-radius:18px;
  overflow:hidden;
  background:#f2f2f2;
}

.slides{
  position:relative;
  width:100%;
  height:420px;
}

.slides img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .35s ease;
  border-radius:18px;
}

.slides img.active{ opacity:1; }

.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:none;
  width:40px;
  height:40px;
  border-radius:999px;
  cursor:pointer;
  background:rgba(255,255,255,.85);
  font-size:18px;
  z-index:2;
}
.slider-btn.prev{ left:10px; }
.slider-btn.next{ right:10px; }
.slider-btn:hover{ background:rgba(255,255,255,1); }

.dots{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:10px 0 0;
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(11,60,93,.35);
  cursor:pointer;
}
.dot.active{ background:rgba(11,60,93,1); }

@media (max-width:768px){
  .slides{ height:260px; }
}

/* ===== TEAM MODAL ===== */
.team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.team-member{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  cursor: pointer;
}


.team-avatar{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;            
  flex-shrink: 0;
  background: #0b3c5d;         
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;           
}


.team-info h3{
  margin: 0;
  font-size: 16px;
  color: #0b3c5d;
}

.team-info p{
  margin: 2px 0 0;
  font-size: 13px;
  color: #333;
}

@media (max-width: 640px){
  .team-grid{ grid-template-columns: 1fr; }
}

/* ===== TEAM GRID ===== */
.team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 768px){
  .team-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .team-member{
    flex-direction: row;
    align-items: center;
  }

  .team-avatar{
    width: 48px;
    height: 48px;
  }
}


/* ===== TEAM CARD ===== */
.team-card{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  user-select: none;
}

.team-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.team-card:active{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.team-card:focus{
  outline: 3px solid rgba(31,79,139,0.25);
  outline-offset: 2px;
}

.team-avatar{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;            
  flex-shrink: 0;
  background: #0b3c5d;         
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;           
}


.team-name{
  font-weight: 800;
  color: #0b3c5d;
  font-size: 18px;
  line-height: 1.2;
}

.team-role{
  margin-top: 4px;
  color: #333;
  font-size: 14.5px;
  line-height: 1.35;
}

/* ===== TEAM DETAIL MODAL ===== */
.team-detail-modal{
  max-width: 860px; 
}

.team-detail-body{
  margin-top: 10px;
}

.team-detail-head{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.team-detail-avatar{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0b3c5d;
  color: #fff;
  font-weight: 800;
}

.team-detail-name{
  font-size: 22px;
  font-weight: 900;
  color: #0b3c5d;
  line-height: 1.2;
}

.team-detail-role{
  margin-top: 4px;
  color: #333;
}

.team-detail-section{
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.team-detail-section h3{
  margin: 0 0 6px;
  color: #0b3c5d;
  font-size: 15px;
}

.team-detail-section p{
  margin: 0;
  color: #222;
  line-height: 1.6;
  font-size: 14.5px;
}


.experience-project-card{
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  width: 320px;
  text-align: center;                 
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  cursor: pointer;

  display: flex;                     
  justify-content: center;
  align-items: center;
}

/* container teks */
.experience-project-card .card-text{
  display: flex;
  flex-direction: column;
  align-items: center;                
  gap: 6px;
  width: 100%;
}

/* judul */
.experience-project-card .card-title{
  font-size: 32px;                    
  font-weight: 800;
  color: #0b3c5d;
  margin: 0;
  text-align: center;                 
}

/* subtitle */
.experience-project-card .card-subtitle{
  font-size: 15px;
  color: #333;
  text-align: center;                 
}

.experience-project-card{
  background:#fff;
  border-radius:16px;
  padding:28px 24px;
  width:320px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  cursor:pointer;

  display:flex;
  flex-direction:column;     
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:8px;
}

.experience-project-card h3{
  margin:0;
  font-size:32px;
  font-weight:800;
  color:#0b3c5d;
}

.experience-project-card span{
  font-size:15px;
  color:#333;
}

.team-member:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* =========================
   TEAM MODAL - GRID (RESPONSIVE)
   ========================= */

#teamModal .team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 640px){
  #teamModal .team-grid{
    grid-template-columns: 1fr;
  }
}

#teamModal .team-card{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#teamModal .team-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  border-color: rgba(11,60,93,0.35);
}

#teamModal .team-avatar{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  background: #0b3c5d;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
}

#teamModal .team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#teamModal .team-info{
  min-width: 0;
}

#teamModal .team-name{
  font-weight: 800;
  color: #0b3c5d;
  line-height: 1.15;
}

#teamModal .team-role{
  margin-top: 4px;
  color: #444;
  line-height: 1.3;
  font-size: 14px;
}

/* =========================
   TEAM DETAIL MODAL - PHOTO
   ========================= */

#teamDetailModal .team-detail-head{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

#teamDetailModal .team-detail-avatar{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  background: #0b3c5d;
  flex: 0 0 64px;
}

#teamDetailModal .team-detail-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 520px){
  #teamDetailModal .team-detail-head{
    gap: 12px;
  }
  #teamDetailModal .team-detail-avatar{
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}

/* ================= TEAM MODAL (LIST) ================= */
.team-modal{
  max-width: 980px;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.team-card{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  min-height: 92px;
}

.team-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.10);
}

.team-card:active{
  transform: translateY(-1px) scale(0.99);
}

.team-avatar{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #0b3c5d;
  flex: 0 0 56px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-info{
  min-width: 0; 
}

.team-name{
  font-weight: 800;
  color: #0b3c5d;
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 4px;
  word-break: break-word;
}

.team-role{
  color: #444;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

/* ================= TEAM DETAIL MODAL ================= */
.team-detail-modal{
  max-width: 980px;
}

.team-detail-head{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 18px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.team-detail-avatar{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #0b3c5d;
  position: relative;
  overflow: hidden;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
}

.team-detail-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; 
}

.team-detail-avatar span{
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
}

.team-detail-meta{
  min-width: 0;
}

.team-detail-name{
  font-size: 28px;
  font-weight: 900;
  color: #0b3c5d;
  line-height: 1.15;
  word-break: break-word;
}

.team-detail-role{
  color: #444;
  margin-top: 4px;
  line-height: 1.35;
  word-break: break-word;
}

.team-detail-section{
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.team-detail-section h3{
  color: #0b3c5d;
  margin-bottom: 8px;
}

.team-detail-links a{
  color: #0b3c5d;
  font-weight: 700;
  text-decoration: underline;
}

/* ================= MODAL BASE  ================= */
.modal.show{
  display: block;
}

.modal .modal-content{
  width: min(980px, calc(100vw - 28px));
}

/* ================= RESPONSIVE HP ================= */
@media (max-width: 768px){
  .team-grid{
    grid-template-columns: 1fr;
  }

  .team-name{ font-size: 17px; }
  .team-role{ font-size: 13.5px; }

  .team-detail-name{ font-size: 22px; }
}

@media (max-width: 480px){
  .team-card{
    padding: 14px;
    gap: 12px;
  }

  .team-avatar{ width: 52px; height: 52px; flex-basis: 52px; }
  .team-detail-avatar{ width: 56px; height: 56px; flex-basis: 56px; }
}




