/* =========================
   EIUMCR 2026 - BLUE THEME
   FULL REPLACE style.css
   ========================= */

:root{
  --bg: #070707;
  --bg2:#0f0f10;

  /* ======= BLUE ACCENT (match posters) ======= */
  --accentRgb: 13 44 91;          /* main blue */
  --accent2Rgb: 44 86 117;        /* cyan highlight */
  --accent: rgb(var(--accentRgb));
  --accent2: rgb(var(--accent2Rgb));

  --muted:#b9b9c0;
  --text:#f4f4f6;
  --card:#121214;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --radius: 18px;

  --hFont: "Roboto Condensed", "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --bFont: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fix anchor jump under fixed header */
  scroll-padding-top: 88px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: var(--bFont);
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgb(var(--accentRgb) / .18), transparent 60%),
    radial-gradient(900px 700px at 75% 30%, rgba(255,255,255,.05), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

/* ======= Top Nav ======= */
.topbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  padding: 18px 22px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  background: linear-gradient(180deg, rgba(7,7,7,.88), rgba(7,7,7,.18));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand{
  display:flex; align-items:center; gap:12px;
  user-select:none;
}
.brand-badge{
  width:40px; height:40px; border-radius: 12px;
  background: linear-gradient(145deg, rgba(248, 248, 248, 0.95), rgba(255, 255, 255, 0.35));
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.22);
  position:relative;
  overflow:hidden;
}
.brand-badge::before{
  content:"";
  position:absolute; inset:-40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(25deg);
  animation: shine 5.5s linear infinite;
  opacity:.55;
}
@keyframes shine{
  0%{ transform: translateX(-35%) rotate(25deg); }
  100%{ transform: translateX(35%) rotate(25deg); }
}
.brand h1{
  margin:0;
  font-family: var(--hFont);
  letter-spacing: 1px;
  font-size: 26px;
  line-height: 1;
}
.brand small{
  display:block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
  letter-spacing: .3px;
}

nav{
  display:flex; gap:18px;
  align-items:center;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
nav a{
  color: rgba(255,255,255,.82);
  text-decoration:none;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: .2s ease;
}
nav a:hover{
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  transform: translateY(-1px);
}

.container{
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

/* Desktop/Laptop: giữ tỉ lệ giống nhau giữa các màn hình */
@media (min-width: 1100px){
  .container{
    width: clamp(960px, 76vw, 1180px);
  }
}


/* ======= Page Sections ======= */
.section{
  position:relative;
  padding: 110px 0 86px;
  min-height: 92vh;
  display:flex;
  align-items:center;
}

/* angled ribbons */
.ribbons{
  pointer-events:none;
  position:absolute;
  inset:0;
  overflow:hidden;
  opacity:.95;
}
.rib{
  position:absolute;
  width: 260px;
  height: 110vh;
  top: -8vh;
  background: linear-gradient(180deg, rgb(var(--accentRgb) / .92), rgb(var(--accentRgb) / .24));
  transform: skewX(-14deg);
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.45));
}
.rib.r1{ left:-160px; }
.rib.r2{
  left:-92px;
  width: 120px;
  opacity:.75;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgb(var(--accentRgb) / .18));
}
.rib.r3{
  right:-160px;
  transform: skewX(-14deg) rotate(180deg);
  background: linear-gradient(180deg, rgb(var(--accentRgb) / .95), rgb(var(--accentRgb) / .12));
}
.rib.r4{
  right:-92px;
  width: 120px;
  opacity:.70;
  transform: skewX(-14deg) rotate(180deg);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgb(var(--accentRgb) / .16));
}

/* two-column hero */
.grid-2{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}

.panel{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}

/* big accent panel (keep class name .red for HTML) */
.panel.red{
  background:
    radial-gradient(1200px 700px at 35% 20%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgb(var(--accentRgb) / .92), rgb(var(--accentRgb) / .65));
  border-color: rgba(255,255,255,.12);
}
.panel.red::after{
  content:"";
  position:absolute;
  top:-40%;
  right:-35%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,0,0,.18), transparent 60%);
  transform: rotate(25deg);
  opacity:.8;
}

.panel .content{
  position:relative;
  padding: 34px 34px;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  letter-spacing: .9px;
  text-transform: uppercase;
}
.kicker .dot{
  width:10px; height:10px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 22px rgba(255,255,255,.12);
}

.h-xl{
  font-family: var(--hFont);
  font-size: clamp(44px, 6vw, 74px);
  line-height: .95;
  margin: 14px 0 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.h-xl .stroke{
  color: transparent;
  -webkit-text-stroke: 1.8px rgba(255,255,255,.95);
  text-stroke: 1.8px rgba(255,255,255,.95);
}
.h-xl .solid{
  color: #ffffff;
  text-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.lead{
  color: rgba(255,255,255,.90);
  font-size: 15px;
  line-height: 1.65;
  max-width: 56ch;
  margin: 10px 0 0;
}

.bullets{
  margin: 18px 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 12px;
}
.bullets li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.55;
}
.bullets li i{
  width: 28px; height: 28px;
  border-radius: 10px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.14);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top: 1px;
  flex: 0 0 auto;
}

/* right photo panel */
.photo{
  min-height: 520px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  position:relative;
}
.photo .stage{
  position:absolute;
  inset: 18px;
  border-radius: calc(var(--radius) - 6px);
  overflow:hidden;
  background:
    radial-gradient(1100px 600px at 80% 20%, rgb(var(--accentRgb) / .18), transparent 60%),
    radial-gradient(800px 520px at 30% 55%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(140deg, rgba(0,0,0,.88), rgba(0,0,0,.55));
  border: 1px solid rgba(255,255,255,.10);
}

/* slide helpers */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.title{
  font-family: var(--hFont);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: .95;
  margin:0 0 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.title .accent{ color: rgb(91 156 255); }
.muted{ color: var(--muted); }

.mini-nav{
  display:none;
  margin-top: 16px;
  gap:10px;
  flex-wrap: wrap;
}
.chip{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.88);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  text-decoration:none;
}

/* cards */
.cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 16px 16px;
  transition: .18s ease;
}
.card:hover{
  transform: translateY(-3px);
  border-color: rgb(var(--accentRgb) / .40);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.card h3{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.card p{
  margin:0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.6;
}

/* Portfolio */
.portfolio{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.p-item{
  position:relative;
  height: 420px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 50px rgba(0,0,0,.45);
  transform: skewX(-10deg);
  transition: .2s ease;
  background:
    radial-gradient(900px 500px at 70% 25%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg, rgb(var(--accentRgb) / .22), rgba(0,0,0,.85));
}
.p-item:hover{ transform: skewX(-10deg) translateY(-5px); border-color: rgb(var(--accentRgb) / .40); }
.p-item .inner{
  position:absolute; inset:0;
  transform: skewX(10deg);
  padding: 18px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}
.p-bottom{
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  padding-top: 20px;
}
.p-num{
  font-family: var(--hFont);
  font-size: 56px;
  line-height: 1;
  opacity: .95;
  color: rgba(255,255,255,.92);
  margin:0;
}
.p-title{
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.p-desc{
  margin: 10px 0 0;
  font-size: 12.8px;
  line-height: 1.55;
  color: rgba(255,255,255,.76);
}

/* Team */
.team{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.member{
  text-align:center;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.member .face{
  width: 150px;
  aspect-ratio: 1 / 1;
  margin: 6px auto 14px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.88);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, rgb(var(--accentRgb) / .22), rgba(0,0,0,.85));
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  display:flex; align-items:center; justify-content:center;
  font-size: 42px;
  font-weight: 900;
}
.member h4{
  margin:0;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 14px;
}
.member small{
  display:block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  font-size: 12.5px;
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
  align-items: stretch;
}
.contact .left{ padding: 28px; }
.contact .right{
  padding: 18px;
  min-height: 420px;
  position:relative;
}
.contact-list{
  display:grid;
  gap: 14px;
  margin-top: 18px;
}
.c-item{
  display:flex; gap: 12px;
  align-items:center;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
.icon{
  width: 36px; height: 36px;
  border-radius: 14px;
  background: rgb(var(--accentRgb) / .16);
  border: 1px solid rgb(var(--accentRgb) / .34);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.c-item span{
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.phone-frame{
  position:absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(0,0,0,.88), rgba(0,0,0,.62));
  overflow:hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.phone{
  position:absolute;
  width: 66%;
  height: 86%;
  top: 8%;
  left: 10%;
  border-radius: 34px;
  border: 10px solid rgba(255,255,255,.92);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  background:
    radial-gradient(900px 520px at 80% 20%, rgb(var(--accentRgb) / .18), transparent 60%),
    radial-gradient(700px 500px at 25% 70%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.85));
  transform: rotate(-9deg);
}
.phone.small{
  width: 54%;
  height: 68%;
  top: 22%;
  left: 54%;
  transform: rotate(12deg);
  opacity:.95;
}
.phone::before{
  content:"";
  position:absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(600px 360px at 65% 35%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(135deg, rgb(var(--accentRgb) / .20), rgba(0,0,0,.78));
}
.phone::after{
  content:"";
  position:absolute;
  top: 10px; left: 50%;
  width: 120px; height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
}

/* Thank you */
.thanks{
  text-align:center;
  padding: 40px 0 10px;
}
.thanks h2{
  margin:0;
  font-family: var(--hFont);
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: .95;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.thanks p{
  margin: 10px auto 0;
  max-width: 70ch;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 14px;
}
.foot{
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 26px;
  padding: 18px 0 30px;
  color: rgba(255,255,255,.62);
  font-size: 12.5px;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.pill b{ color: rgba(255,255,255,.88); font-weight: 700; }

/* Video */
.bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PDF embed */
.pdf-wrap{
  width:100%;
  height: 520px;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  margin-top:12px;
}
.pdf-frame{ width:100%; height:100%; }

/* small helpers */
.stage{ position: relative; }

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px){
  .topbar{ padding: 12px 14px; }
  .brand h1{ font-size: 20px; }
  .brand small{ font-size: 11px; }
  .brand-badge{ width: 38px; height: 38px; border-radius: 12px; }

  .section{
    min-height: auto;
    padding: 92px 0 54px;
    align-items: stretch;
  }

  .container{
    width: min(1180px, calc(100% - 28px));
  }

  .grid-2{ grid-template-columns: 1fr; }
  nav{ display:none; }
  .mini-nav{ display:flex; }

  .panel .content{ padding: 22px 20px; }

  .photo{ min-height: 360px; }
  .photo .stage{ inset: 14px; }

  /* Timeline poster in mobile: auto height */
  #timeline .pdf-wrap{
    height: auto !important;
    padding: 10px;
    background: rgba(0,0,0,.18);
  }
  #timeline .pdf-wrap img{
    height: auto !important;
    max-height: 75vh;
    object-fit: contain;
  }

  /* Portfolio: 2 cols + no skew for readability */
  .portfolio{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
  }
  .p-item{
    height: 280px;
    transform: none;
    border-radius: 16px;
  }
  .p-item:hover{ transform: translateY(-3px); }
  .p-item .inner{ transform: none; padding: 14px; }
  .p-num{ font-size: 40px; }
  .p-title{ font-size: 12px; }
  .p-desc{ font-size: 12px; }

  .pdf-wrap{ height: 420px; }

  /* Team: tablet = 2 cols */
  .team{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
  }
  .member .face{
    width: 120px;
    font-size: 34px;
  }

  .contact{ grid-template-columns: 1fr; }
  .contact .right{ min-height: 320px; }

  /* SERVICES: stage is absolute => can cut QR, override only in services */
  #services .panel.photo{ min-height: unset; }
  #services .panel.photo .stage{
    position: relative !important;
    inset: auto !important;
    margin: 14px !important;
    height: auto !important;
    overflow: visible !important;
    border-radius: calc(var(--radius) - 6px);
  }
}

/* Phone */
@media (max-width: 600px){
  .topbar{ padding: 10px 12px; }
  .brand{ gap: 10px; }
  .brand h1{ font-size: 18px; }
  .brand small{ display:none; }

  .section{ padding: 84px 0 44px; }
  .panel{ border-radius: 16px; }
  .panel .content{ padding: 18px 16px; }

  .title{
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 10px;
  }

  #timeline .pdf-wrap img{ max-height: 68vh; }

  .portfolio{ grid-template-columns: 1fr; }
  .p-item{ height: 260px; }

  /* ===== TEAM: NO SCROLL, compact grid ===== */
  #team .team{
    display: grid !important;
    overflow: visible !important;
    padding: 0 !important;
    margin-top: 14px;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  /* If phone is wider, auto 3 columns (gần kiểu 4x3 / 3x4 hơn) */
  @media (min-width: 480px){
    #team .team{
      grid-template-columns: repeat(3, minmax(0,1fr));
    }
  }

  #team .member{
    padding: 12px 10px;
    border-radius: 16px;
    background: rgba(0,0,0,.28);
  }
  #team .member .face{
    width: 76px;
    border-width: 3px;
    font-size: 22px;
    margin: 2px auto 8px;
  }
  #team .member h4{
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .3px;
  }
  #team .member small{
    display: none; /* gọn: chỉ show tên */
  }

  /* QR trong services nhỏ lại */
  #services img[alt*="QR"]{
    width: 96px !important;
    height: 96px !important;
  }

  .pdf-wrap{ height: 380px; }

  /* phone mock */
  .phone{ left: 6%; width: 78%; }
  .phone.small{ left: 44%; width: 62%; }
}

/* ultra small phone: 1 col team for readability */
@media (max-width: 380px){
  #team .team{ grid-template-columns: 1fr; }
}
/* Desktop: phóng to toàn bộ layout ~125% (không dùng zoom) */
@media (min-width: 1100px){
  body{
    transform: scale(1.25);
    transform-origin: top center;
    width: 80%;           /* 100 / 1.25 = 80% để không tràn ngang */
    margin: 0 auto;
  }
}

/* ===== Timeline (no image) ===== */
.timeline{
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.t-item{
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
}

.t-left{
  border-radius: 16px;
  padding: 14px 14px;
  background: linear-gradient(135deg, rgba(25,145,255,.22), rgba(0,0,0,.20));
  border: 1px solid rgba(255,255,255,.10);
  display: grid;
  align-content: start;
  gap: 10px;
}

.t-badge{
  width: 52px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hFont);
  letter-spacing: .8px;
  color: rgba(255,255,255,.95);
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.14);
}

.t-date{
  font-family: var(--hFont);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: .6px;
  color: rgba(255,255,255,.92);
}

.t-right h3{
  margin: 2px 0 6px;
  font-size: 16px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.t-right p{
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 600px){
  .t-item{
    grid-template-columns: 1fr;
  }
  .t-date{ font-size: 24px; }
}
.pdf-wrap,
.pdf-frame,
iframe{
  transform: scale(1) !important;
  filter: none !important;
  opacity: 1 !important;
}
/* =========================
   END OF FILE
   ========================= */