/* --- RESET --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.big {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- COLORS & GLOBALS --- */
:root {
  --primary: #0056b3; /* Xanh dương đậm hiện đại */
  --primary-light: #e6f0ff; /* Xanh dương cực nhạt */
  --accent: #00c853; /* Xanh lá điểm xuyết an toàn (tùy chọn) */
  --text-main: #2c3e50;
  --text-muted: #7f8c8d;
  --white: #ffffff;
}

.eyebrow {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

h2 {
  font-size: 29px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--text-main);
}

.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  display: none !important;
}
.anniv-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  margin-bottom: 16px;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition:
    opacity 1s ease-in-out,
    transform 1s ease-in-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
}
/* ================= BANNER ================= */
.banner {
  width: 100%;
  
  padding-top: 20px;
}

.img_banner {
  max-width: 1400px; 
  margin: 0 auto;    /* Căn giữa banner */
  padding: 0 20px;   /* Đảm bảo lề 2 bên bằng hệt như các mục bên dưới */
}

.img_banner img {
  width: 100%;
  height: auto;
  max-height: 450px; /* Khống chế chiều cao tối đa giúp banner không bị quá to */
  object-fit: cover;  /* Giữ đúng tỉ lệ hình ảnh không bị méo */
  border-radius: 16px; /* Bo góc hiện đại đồng bộ với các card bên dưới */
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.08); /* Đổ bóng nhẹ cùng tone */
}
/* Tinh chỉnh chữ để nổi bật trên nền ảnh trong suốt */
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background-color: rgba(0, 51, 102, 0.85); /* Nền xanh đậm gom chữ lại */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #ffffff;
  /* Đổ bóng cho chữ nổi bần bật trên mọi nền ảnh */
  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.6),
    0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero h1 span {
  display: block;
  color: #00d2ff; /* Tạo điểm nhấn màu xanh sáng/cyan cho chữ VINASAF */
}

.hero-hotline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  background-color: var(--white);
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-hotline:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.dot {
  height: 12px;
  width: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  position: relative;
}

/* Hiệu ứng sóng nhấp nháy cho Hotline */
.dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* ================= ANNIVERSARY (LÀM MỚI TỐI ƯU) ================= */
/* ================= ANNIVERSARY (HOÀN CHỈNH - CỘT GIỮA HIỆN ĐẦY ĐỦ) ================= */
.anniv {
  padding: 80px 0;
  
}

.anniv-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; /* Tỷ lệ 3 cột */
  gap: 25px;
  align-items: stretch; /* Ép cả 3 cột bằng chiều cao nhau */
}

/* Đảm bảo MỌI thẻ con nằm trực tiếp trong grid đều là flex container */
.anniv-grid > * {
  display: flex;
  flex-direction: column;
  min-height: 0; /* Quan trọng: giúp Flexbox/Grid tính toán overflow chính xác */
}

/* --- CỘT 1: TIN KỶ NIỆM --- */
.anniv-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.08);
  border-top: 4px solid var(--primary, #0056b3);
}

.anniv-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  margin-bottom: 16px;
  background-color: #000;
  object-fit: cover;
}

.anniv-tag {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary, #0056b3);
  background-color: var(--primary-light, #e6f0fa);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.anniv-card h2 {
  font-size: 19px;
  line-height: 1.5;
  color: var(--primary, #0056b3);
  margin-bottom: 12px;
  text-transform: uppercase; 
}


.anniv-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}
/* --- CỘT 2: DANH SÁCH TIN TỨC (ĐÃ SỬA LỖI MẤT CỘT) --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 6px 0 0;
  list-style: none;
  
  flex: 1; /* Tự co dãn lấp đầy cột */
  height: 100%; /* Đổi từ 0 thành 100% */
  overflow-y: auto; /* Tạo thanh cuộn khi nội dung dài vượt cột */
}

.news-list::-webkit-scrollbar {
  width: 5px;
}
.news-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.news-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary, #0056b3);
}

.news-list li a {
 display: flex;
  align-items: center;
  gap: 8px; 
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 10px;
  border-left: 4px solid transparent;
  color: var(--text-main, #333);
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.news-list li a:hover {
 color:#0171BB;
}

/* --- CỘT 3: GIỚI THIỆU CÔNG TY --- */
.intro-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.08);
}

.intro-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #e2e8f0;
}

.intro-body {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

.intro-body h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary, #0056b3);
  margin-top: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.intro-body p {
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}
.stats-head .eyebrow{
    color:#fff;
}
.stats-head h2 {
  color: #FFFF00 !important;
}
.stats {
  padding: 100px 0;
  background-color: #0171BB; 
  background-image: 
    linear-gradient(to right, rgba(1, 50, 85, 0.9), rgba(1, 113, 187, 0.7)),
    url('/hinhmenu/hinhanh.jpg');
  background-size: cover;         
  background-position: center;  
  background-repeat: no-repeat;
  background-attachment: fixed;    
  color: #ffffff; 
}

/* Responsive cho Tablet & Mobile */
@media (max-width: 992px) {
  .anniv-grid {
    grid-template-columns: 1fr; /* Về 1 cột khi màn hình nhỏ */
  }
  .news-list {
    max-height: none;
  }
}

/* ================= STATS / STAMPS ================= */

.stats-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stamp {
  text-align: center;
  padding: 40px;
  background: #f8fbff;
  border-radius: 12px;
  border: 1px solid transparent;
}

.stamp:hover {
  background: var(--white);
  border-color: var(--primary-light);
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.05);
}

.stamp-ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px auto;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--primary);
}

.stamp-ring svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
}

.stamp h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.stamp p {
  font-size: 16px;
  color: var(--text-muted);
}

/* ================= SERVICES ================= */
.services {
  padding: 30px 0;
}

.services-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.services-head p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 86, 179, 0.05);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 86, 179, 0.12);
  border-color: rgba(0, 86, 179, 0.2);
}

.service-img {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}
.service-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 20px;
  color: var(--primary, #0056b3);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-link {
  margin-top: auto;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary, #0056b3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link .arrow {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link .arrow {
  transform: translateX(6px);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= CONTACT ================= */
.contact {
  padding: 100px 0;
  background-color: #328cc8;
  color: var(--white);
 
}

.contact-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.contact-head h2,
.contact-head .eyebrow {
  color: var(--white);
}

.contact-head p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.contact-logo {
  background-color: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.contact-logo-inner {
  text-align: center;
}

.contact-logo-inner .big {
  font-size: 48px;
  line-height: 1;
}

.contact-logo-inner .small {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 2px;
}

.contact-addr {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-addr strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}

.foot-strip {
  height: 10px;
  background-color: #004494; /* Màu đậm hơn chút cho đáy */
}
.contact{
    position: relative;
    background:
        radial-gradient(circle at 12% 15%, rgba(28,160,224,.55) 0%, transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(1,113,187,.55) 0%, transparent 45%),
        linear-gradient(135deg, #052A44 0%, #073A5C 38%, #0171BB 78%, #0E8FD6 100%);
    padding: 20px 20px 36px;
    font-family: "Inter", "Be Vietnam Pro", sans-serif;
    color: #16233D;
    overflow: hidden;
     max-width:1400px;
      width: 100%; 
  margin: 40px auto;
  border-radius:10px;
}
 
.contact::after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
    pointer-events: none;
}
 
.contact .wrap{
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}
 
/* ---------- Header row: text + stamp ---------- */
 
.contact-top{
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 48px;
    align-items: center;
    margin-bottom: 1px;
    position: relative;
    z-index: 1;
}
 
.contact .eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #7FD4F5;
    margin-bottom: 18px;
    position: relative;
}
 
.contact .eyebrow::before{
    content: "";
    width: 28px;
    height: 2px;
    background: #7FD4F5;
}
 
.contact-head h2{
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
    font-weight: 600;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.16;
    color: #FFFFFF;
    margin: 0 0 18px;
    max-width: 30ch;
    position: relative;
}
 
.contact-head p{
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.78);
    max-width: 60ch;
    margin: 0;
    position: relative;
}
 
/* --- stamp / logo mark --- */
 
.contact-stamp{
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: repeating-conic-gradient(rgba(255,255,255,.85) 0deg 6deg, transparent 6deg 18deg);
    -webkit-mask: radial-gradient(circle at center, transparent 58px, #000 59px);
            mask: radial-gradient(circle at center, transparent 58px, #000 59px);
    animation: vs-spin 44s linear infinite;
    flex-shrink: 0;
    z-index: 1;
}
 
@media (prefers-reduced-motion: reduce){
    .contact-stamp{ animation: none; }
}
 
@keyframes vs-spin{ to{ transform: rotate(360deg); } }
 
.contact-stamp-inner{
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
 
.contact-stamp-inner .big{
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .03em;
    color: #FFFFFF;
    line-height: 1.1;
}
 
.contact-stamp-inner .small{
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #7FD4F5;
    margin-top: 4px;
}
 
/* ---------- Ruler divider: đếm số văn phòng ---------- */
 
.contact-ruler{
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 40px;
    position: relative;
    z-index: 1;
}
 
.contact-ruler span{
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    color: #FFFFFF;
    white-space: nowrap;
}
 
.contact-ruler .ticks{
    flex: 1;
    height: 12px;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,.35) 0 1px,
        transparent 1px 34px
    );
    background-position: bottom left;
    background-repeat: repeat-x;
    background-size: 100% 1px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,.35);
}
 
/* ---------- Office cards ---------- */
 
.contact-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}
 
.office-card{
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 24px 22px;
    position: relative;
    box-shadow: 0 20px 40px -24px rgba(3,20,38,.55);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
 
.office-card:hover{
    transform: translateY(-3px);
    border-color: #1CA0E0;
    box-shadow: 0 24px 48px -22px rgba(3,20,38,.6);
}
 
.office-pin{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #E8F3FB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
 
.office-pin::before{
    content: "";
    width: 11px;
    height: 11px;
    background: #0171BB;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}
 
.office-region{
    display: inline-block;
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0171BB;
    background: #E8F3FB;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
 
.office-card h3{
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #073A5C;
    margin: 0 0 8px;
    line-height: 1.4;
}
 
.office-card p{
    font-size: 15px;
    line-height: 1.65;
    color: rgba(22, 35, 61, .66);
    margin: 0;
}
 
/* --- HQ card: featured, full width, dark --- */
 
.office-card--hq{
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #FFFFFF 0%, #EAF6FD 100%);
    border: 2px solid #1CA0E0;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 28px 32px;
}
 
.office-card--hq .office-pin{
    width: 52px;
    height: 52px;
    background: #E8F3FB;
    margin-bottom: 0;
}
 
.office-card--hq .office-pin::before{
    width: 16px;
    height: 16px;
    background: #0171BB;
}
 
.office-card--hq .office-region{
    background: #DCEFFB;
    color: #0171BB;
}
 
.office-card--hq h3{
    color: #073A5C;
    font-size: 18px;
    margin: 0 0 6px;
}
 
.office-card--hq p{
    color: rgba(22, 35, 61, .7);
    font-size: 14px;
}
 
.office-card--hq .office-badge{
    justify-self: end;
    font-family: "Be Vietnam Pro", "Inter", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .04em;
    color: #FFFFFF;
    background: #0171BB;
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
 
/* ---------- Responsive ---------- */
 
@media (max-width: 980px){
    .contact-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
    .office-card--hq{ grid-template-columns: auto 1fr; }
    .office-card--hq .office-badge{ grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
}
 
@media (max-width: 720px){
    .contact{ padding: 40px 16px; margin: 24px auto; } 
    .contact-top{ grid-template-columns: 1fr; gap: 24px; }
    .contact-stamp{ width: 96px; height: 96px; }
    .contact-stamp-inner{ width: 80px; height: 80px; }
    .contact-stamp-inner .big{ font-size: 13px; }
    .contact-ruler span{ display: none; }
    .contact-grid{ grid-template-columns: 1fr; }
    .office-card--hq{ grid-template-columns: auto 1fr; padding: 24px; }
}
/* ================= RESPONSIVE ================= */

/* Tablet (dưới 1024px) */
@media (max-width: 1024px) {
  .anniv-grid {
    grid-template-columns: 1fr 1fr; /* Cột 3 xuống hàng */
  }
  .intro-card {
    grid-column: span 2;
    display: flex;
    align-items: center;
  }
  .intro-card img {
    width: 40%;
    height: 100%;
  }
  .hero h1 {
    font-size: 48px;
  }
  .anniv {
    padding: 50px 0;
  }

  .anniv-grid {
    grid-template-columns: 1fr 1fr; /* 2 cột: Cột 1 & 2 lên trên, Cột 3 xuống dưới */
    gap: 20px;
  }

  /* Cột 3 (Intro) nằm trải dài cả 2 cột ở dưới */
  .intro-card {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .intro-card img {
    width: 40%;
    height: 100%;
    min-height: 200px;
  }

  .intro-body {
    width: 60%;
    padding-top: 0;
  }

  .news-list {
    max-height: 480px; /* Giới hạn chiều cao để giữ thanh cuộn đẹp mắt */
  }
}

/* Mobile lớn (dưới 768px) */
@media (max-width: 768px) {
    .contact-stamp{ display: none; } /* ẩn con dấu tròn cho màn hình rất nhỏ, tránh chật */
    .contact-top{ gap: 16px; }
    .office-card{ padding: 20px 16px; }
    .office-card--hq{ padding: 20px; gap: 16px; }
    .office-card--hq .office-badge{ font-size: 11px; padding: 6px 12px; }
  h2 {
    font-size: 28px;
  }
  .hero h1 {
    font-size: 36px;
  }

  .anniv-grid,
  .stats-grid,
  .services-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .anniv,
  .stats,
  .services,
  .contact {
    padding: 60px 0;
  }

  .intro-card {
    flex-direction: column;
  }
  .intro-card img {
    width: 100%;
    height: 200px;
  }

  .contact-logo {
    padding: 30px;
  }
  .contact-addr {
    padding: 30px;
  }
  .banner {
    padding-top: 10px;
  }
  .img_banner img {
    max-height: 250px; /* Thu nhỏ chiều cao trên điện thoại */
    border-radius: 10px;
  }
  .anniv {
    padding: 35px 0;
  }

  .anniv-grid {
    grid-template-columns: 1fr; /* Chuyển hoàn toàn về 1 cột */
    gap: 20px;
  }

  /* Reset lại cột 3 về dạng dọc cho điện thoại */
  .intro-card {
    grid-column: span 1;
    flex-direction: column;
  }

  .intro-card img {
    width: 100%;
    height: 200px;
  }

  .intro-body {
    width: 100%;
    padding-top: 16px;
  }

  /* Tối ưu Cột 1 (Kỷ niệm) trên mobile */
  .anniv-card {
    padding: 16px;
  }

  .anniv-card h2 {
    font-size: 17px;
    line-height: 1.4;
  }

  .anniv-card p {
    font-size: 14px;
  }

  /* Tối ưu Cột 2 (Danh sách tin tức) trên mobile */
  .news-list {
    max-height: 380px; /* Khống chế chiều cao vừa vặn màn hình điện thoại */
    padding-right: 4px;
  }

  .news-list li a {
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Tối ưu Cột 3 (Giới thiệu) trên mobile */
  .intro-body h2 {
    font-size: 16px;
  }

  .intro-body p {
    font-size: 14px;
  }
}
@media (max-width: 480px){
    .contact-stamp{ display: none; } /* ẩn con dấu tròn cho màn hình rất nhỏ, tránh chật */
    .contact-top{ gap: 16px; }
    .office-card{ padding: 20px 16px; }
    .office-card--hq{ padding: 20px; gap: 16px; }
    .office-card--hq .office-badge{ font-size: 11px; padding: 6px 12px; }
}
