

/* =========================
   CONTACT PAGE
========================= */
.contact-page {
  text-align: center;
}

/* Info cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  /* max-width: 600px; */
  margin: 0 auto 50px;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

.contact-card .icon {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Main layout */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  /* max-width: 1100px; */
  margin: 0 auto;
}

/* Map */
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 18px;
  border: none;
}

/* Form */
.contact-form {
  background: #fff;
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
  text-align: left;
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* Floating label */
.form-group {
  position: relative;
  margin-bottom: 22px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}

.form-group label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 6px;
  color: #888;
  pointer-events: none;
  transition: .2s;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  font-size: 12px;
  color: var(--primary);
}

/* Responsive */
@media(max-width:992px){
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 300px;
  }
}


/* about */
.about-tabs {
  display:flex;
  gap:12px;
  justify-content:center;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.tab-btn {
  padding:10px 18px;
  border-radius:30px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  transition:.3s;
  font-weight:500;
}

.tab-btn.active,
.tab-btn:hover {
  background:var(--primary);
  color:#000;
  border-color:var(--primary);
}

.tab-content {
  display:none;
  animation:fade .4s ease;
}

.tab-content.active {
  display:block;
}

.timeline {
  list-style:none;
  padding-left:0;
}

.timeline li {
  margin-bottom:12px;
}

.timeline span {
  font-weight:600;
  color:var(--primary);
  margin-right:10px;
}

.leader-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.leader-card {
  text-align:center;
}

.leader-card img {
  width:160px;
  height:160px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:12px;
}

@keyframes fade {
  from {opacity:0; transform:translateY(10px)}
  to {opacity:1; transform:none}
}

@media(max-width:768px){
  .leader-grid {grid-template-columns:1fr}
}


/* ===== ABOUT INTRO ===== */
.about-intro {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
  align-items:center;
}

.about-image img {
  width:100%;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* ===== VISION ===== */
.vision-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
}

.vision-item {
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 15px 35px rgba(0,0,0,.1);
  transition:.3s;
}

.vision-item:hover {
  transform:translateY(-6px);
}

.vision-item img {
  width:100%;
  height:220px;
  object-fit:cover;
}

.vision-item h4 {
  margin:20px;
}

.vision-item p {
  margin:0 20px 24px;
}

/* ===== TIMELINE ===== */
.timeline-wrap {
  position:relative;
  padding-left:40px;
}

.timeline-wrap::before {
  content:'';
  position:absolute;
  left:10px;
  top:0;
  bottom:0;
  width:3px;
  background:var(--primary);
}

.timeline-item {
  display:flex;
  gap:30px;
  margin-bottom:40px;
}

.timeline-year {
  min-width:60px;
  font-weight:700;
  color:var(--primary);
}

.timeline-content {
  background:#fff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 15px 30px rgba(0,0,0,.1);
}

.timeline-content img {
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:12px;
}

/* ===== LEADERS ===== */
.leader-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.leader-card {
  text-align:center;
  background:#fff;
  border-radius:18px;
  padding:30px 20px;
  box-shadow:0 15px 30px rgba(0,0,0,.1);
  transition:.3s;
}

.leader-card:hover {
  transform:translateY(-10px);
}

.leader-card.highlight {
  border:3px solid var(--primary);
}

.leader-card img {
  width:140px;
  height:140px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:16px;
}

.leader-card span {
  color:#666;
  font-size:14px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:992px){
  .about-intro,
  .vision-grid,
  .leader-grid {
    grid-template-columns:1fr;
  }

  .timeline-wrap {
    padding-left:0;
  }

  .timeline-wrap::before {
    left:0;
  }
}


/* ===== GLOBAL CENTER ===== */
.about-page {
  text-align: center;
}

.about-page .container {
  max-width: 1200px;
  margin: auto;
}

/* Tabs center */
.about-tabs {
  justify-content: center;
}

/* Nội dung tab */
.tab-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* Reset cho các block cần căn trái */
.about-text,
.timeline-content,
.leader-card p {
  text-align: left;
}

.about-intro {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
}

.about-text {
  max-width: 520px;
}

.timeline-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  width: 50%;
  padding: 0 40px;
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-year {
  position: absolute;
  top: 0;
  font-weight: 700;
  color: var(--primary);
}

.timeline-item:nth-child(odd) .timeline-year {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: -30px;
}

.timeline-content {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

.timeline-content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}


@media (max-width: 768px) {
  .timeline-wrap::before {
    left: 8px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 40px;
  }

  .timeline-year {
    left: -10px !important;
  }
}

@media (max-width: 1200px) {
  .contact-main {
    gap: 32px;
  }

  .contact-form {
    padding: 32px 26px;
  }
}

@media (max-width: 992px) {

  .contact-info-grid {
    max-width: 100%;
    gap: 20px;
    margin-bottom: 40px;
  }

  .contact-card {
    padding: 24px 18px;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-map iframe {
    min-height: 320px;
  }
}
@media (max-width: 768px) {

  .contact-page {
    padding-top: 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  /* Info cards */
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .contact-card {
    border-radius: 14px;
  }

  .contact-card .icon {
    font-size: 32px;
  }

  /* Map */
  .contact-map iframe {
    min-height: 260px;
    border-radius: 14px;
  }

  /* Form */
  .contact-form {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .contact-form h3 {
    font-size: 22px;
  }

  /* Input */
  .form-group input,
  .form-group textarea {
    padding: 14px 12px;
    font-size: 15px;
  }

  .form-group label {
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  .section-title span {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .contact-card h5 {
    font-size: 16px;
  }

  .contact-card p {
    font-size: 14px;
  }

  .contact-form h3 {
    font-size: 20px;
  }

  .contact-map iframe {
    min-height: 220px;
  }

  .btn {
    padding: 12px;
    font-size: 15px;
  }
}
/* =========================
   TOAST NOTIFICATION (PRO)
========================= */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dp-toast {
  width: 100%;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn .45s cubic-bezier(.34,1.56,.64,1) forwards;
}

.dp-toast.success {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.dp-toast.error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* Mobile */
@media (max-width: 576px) {
  #toast-container {
    top: auto;
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 32px);
  }
}



/* Fancy animation */
@keyframes toastIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(10px) scale(.95);
  }
}
