
:root{
  --navy-900:#0a1f44;
  --navy-800:#0e2a5c;
  --navy-gradient: linear-gradient(135deg,#0a1f44 0%, #123574 60%, #1a4290 100%);
  --red:#e8462c;
  --red-dark:#cf3a22;
  --ink:#12203f;
  --muted:#5b6a86;
  --line:#e7eaf1;
  --chip:#eef1f7;
  --shadow: 0 10px 30px rgba(10,31,68,0.10);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; font-family:'Inter', sans-serif; color:var(--ink); background:#fff;}
h1,h2,h3,h4,button{font-family:'Poppins', sans-serif;}
a{text-decoration:none; color:inherit;}
ul{list-style:none; margin:0; padding:0;}
button{cursor:pointer; font:inherit;}
img{display:block; max-width:100%; height:auto;}


.hero{
  background:var(--navy-gradient);
  padding:56px 32px 80px;
  text-align:center;
  color:#fff;
}
.top-nav{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.dropdown{
  position:relative;
}
.nav-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:170px;
  padding:14px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:#fff;
  color:var(--ink);
  font-weight:700;
  font-size:14px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-trigger:hover,
.nav-trigger:focus{
  transform:translateY(-1px);
  box-shadow:0 16px 35px rgba(10,31,68,.12);
  border-color:rgba(255,255,255,.35);
}
.chevron{
  display:inline-flex;
  font-size:12px;
  color:var(--navy-900);
}
.dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:260px;
  background:#fff;
  border-radius:24px;
  box-shadow:0 32px 60px rgba(15,30,70,.16);
  padding:10px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:100;
}
.dropdown.open .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown-item{
  display:block;
  width:100%;
  text-align:left;
  padding:14px 18px;
  background:transparent;
  border:none;
  color:var(--ink);
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  cursor:pointer;
}
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active{
  background:rgba(234,239,250,.9);
  color:var(--navy-900);
}
.dropdown-item + .dropdown-item{
  margin-top:4px;
}
.dropdown-menu a.dropdown-item{
  text-decoration:none;
}
.hero .pill-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--red); color:#fff; font-weight:700; font-size:12.5px;
  letter-spacing:.06em; padding:10px 20px; border-radius:22px; margin-bottom:26px;
  border:none;
}
.hero h1{font-size:44px; margin:0 0 18px; font-weight:800; line-height:1.15;}
.hero p{max-width:680px; margin:0 auto; color:#c9d5ef; font-size:16px; line-height:1.7;}
@media (max-width:900px){ .nav-trigger{min-width:150px;} }
@media (max-width:600px){ .hero h1{font-size:30px;} .top-nav{gap:10px;} }

.faculty-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faculty-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.faculty-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}



.tabs-wrap{ max-width:1180px; margin:-34px auto 0; padding:0 32px; position:relative; z-index:100; pointer-events:auto; }
.tabs{
  position:relative;
  z-index:100;
  background:#fff; box-shadow:var(--shadow); border-radius:16px;
  padding:10px; display:flex; gap:6px; flex-wrap:wrap; justify-content:center;
}
.tab-btn{
  background:transparent; border:none; padding:11px 18px; border-radius:11px;
  font-size:13.5px; font-weight:600; color:var(--muted);
}
.tab-btn:hover{ color:var(--navy-800); background:var(--chip); }
.tab-btn.active{ background:var(--navy-900); color:#fff; }



.section{ max-width:1180px; margin:0 auto; padding:64px 32px; }
.section-head{ margin-bottom:34px; }
.eyebrow{ color:var(--red); font-weight:700; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; }
.section-title{ font-size:28px; font-weight:800; color:var(--navy-900); margin:8px 0 6px; }
.section-desc{ color:var(--muted); font-size:15px; max-width:640px; }

.faculty-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.faculty-card{
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
  display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease;
  background:#fff;
}
.faculty-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.faculty-card .card-media{ width:100%; height:150px; object-fit:cover; background:var(--chip); }
.card-body{ padding:22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.card-body h3{ margin:0; font-size:19px; color:var(--navy-900); font-weight:700; }
.card-body p{ margin:0; color:var(--muted); font-size:13.8px; line-height:1.6; flex:1; }
.card-meta{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{ background:var(--chip); color:var(--navy-800); font-size:11.8px; font-weight:600; padding:5px 10px; border-radius:20px; }
.card-cta{
  margin-top:6px; align-self:flex-start; background:var(--navy-900); color:#fff;
  padding:10px 18px; border-radius:22px; font-size:13px; font-weight:600; border:none;
  display:flex; align-items:center; gap:6px;
}
.card-cta:hover{ background:var(--red); }

@media (max-width:900px){ .faculty-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .faculty-grid{ grid-template-columns:1fr; } }



.detail-section{ display:none; }
.detail-section.active{ display:block; }

.detail-top{ display:grid; grid-template-columns:220px 1fr; gap:34px; align-items:flex-start; margin-bottom:36px; }
.detail-top .detail-media{ width:100%; height:170px; object-fit:cover; border-radius:16px; background:var(--chip); }
.detail-title{ font-size:30px; font-weight:800; color:var(--navy-900); margin:0 0 10px; }
.detail-desc{ color:var(--muted); font-size:15px; line-height:1.7; max-width:640px; margin:0 0 16px; }
.detail-stats{ display:flex; gap:10px; flex-wrap:wrap; }

.back-link{ display:inline-flex; align-items:center; gap:6px; color:var(--navy-800); font-weight:600; font-size:13.5px; margin-bottom:26px; }
.back-link:hover{ color:var(--red); }

.program-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.program-card{ border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
.program-card-body{ padding:18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.program-code{ color:var(--red); font-weight:700; font-size:11.5px; letter-spacing:.05em; background:#fdece8; display:inline-block; padding:4px 10px; border-radius:20px; width:fit-content; }
.program-card h4{ margin:0; font-size:17px; color:var(--navy-900); }
.program-card p{ margin:0; color:var(--muted); font-size:13.5px; line-height:1.6; flex:1; }
.program-foot{ display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding-top:12px; font-size:12.5px; color:var(--muted); }
.program-more-btn{
  margin-top:8px; align-self:flex-start; border:none; border-radius:999px;
  background:var(--navy-900); color:#fff; padding:9px 14px; font-size:12.8px; font-weight:600;
}
.program-more-btn:hover{ background:var(--red); }

.program-modal{ position:fixed; inset:0; background:rgba(10,31,68,0.55); display:flex; align-items:center; justify-content:center; padding:20px; z-index:200; }
.program-modal-card{ width:min(560px, 100%); background:#fff; border-radius:18px; padding:24px 24px 72px; position:relative; box-shadow:var(--shadow); }
.program-modal-close{ position:absolute; top:12px; right:12px; border:none; background:var(--chip); width:34px; height:34px; border-radius:50%; font-size:20px; cursor:pointer; color:var(--navy-900); }
.program-modal-title{ margin:8px 0 10px; color:var(--navy-900); font-size:24px; }
.program-modal-code{ display:inline-block; background:#fdece8; color:var(--red); font-size:11.5px; font-weight:700; letter-spacing:.05em; padding:4px 10px; border-radius:999px; margin-bottom:10px; }
.program-modal-meta{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.program-modal-heading{ margin:0 0 8px; color:var(--navy-900); font-size:16px; font-weight:700; }
.program-modal-desc{ margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.program-modal-apply{ position:absolute; right:24px; bottom:20px; display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--red); color:#fff; padding:12px 18px; border-radius:999px; font-size:14px; font-weight:700; box-shadow:0 12px 26px rgba(232,70,44,0.18); transition:transform .2s ease, background .2s ease; }
.program-modal-apply:hover{ background:var(--red-dark); transform:translateY(-1px); }
.program-modal-apply:focus{ outline:2px solid var(--navy-900); outline-offset:4px; }

@media (max-width:900px){ .detail-top{ grid-template-columns:1fr; } .program-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .program-grid{ grid-template-columns:1fr; } }



.cta-band{ background:var(--navy-gradient); text-align:center; padding:70px 32px; color:#fff; }
.cta-band h2{ font-size:30px; font-weight:800; margin:0 0 14px; }
.cta-band p{ max-width:600px; margin:0 auto 30px; color:#c9d5ef; font-size:15.5px; line-height:1.7; }
.cta-band .btn-red{ background:var(--red); color:#fff; border:none; padding:14px 30px; font-size:14.5px; font-weight:600; border-radius:24px; }
.cta-band .btn-red:hover{ background:var(--red-dark); }

