/* ------------------------------
   RESET & BASE STYLE
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: #333;
  background-color: #f9f9fb;
  scroll-behavior: smooth;
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  background: white;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Logo */
.logo {
  text-align: center;
  line-height: 1;
}
.vietnam-text {
  font-size: 2rem;
  font-weight: bold;
  color: #363C8B;
  letter-spacing: 1px;
}
.salesforce-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #D35F3C;
}
.underline {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 4px;
  margin-top: 5px;
  animation: slideIn 1.2s ease forwards;
}

/* Navigation */
nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}
nav a {
  text-decoration: none;
  font-weight: 600;
  color: #2c3e50;
  transition: color 0.3s;
}
nav a:hover {
  color: #1e88e5;
}

/* ------------------------------
   SECTIONS
------------------------------ */
.section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  /* text-align: center; */
}
.section h2 {
  font-size: 2.4rem;
  color: #1e88e5;
  margin-bottom: 25px;
}
.section h3 {
  font-size: 1.4rem;
  color: #1e88e5;
  /* margin-bottom: 25px; */
}
.section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ------------------------------
   SERVICE CARDS
------------------------------ */
.service-card {
  position: relative;
  background: white;
  border-radius: 14px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.service-card strong {
  font-weight: 600;
}

/* Contact link inside card */
.service-card .contact-default {
  position: absolute;
  right: 16px;
  bottom: 14px;
  margin: 0;
  font-style: italic;
  font-size: var(--contact-size, 1rem);
}
.service-card .contact-default a {
  color: inherit;
  text-decoration: underline;
}

/* Card color themes */
.orange h3, .orange strong { color: #e67e22; }
.blue h3,   .blue strong   { color: #1e88e5; }
.red h3,    .red strong    { color: #c0392b; }
.yellow h3, .yellow strong { color: #f9a825; }

/* ------------------------------
   CONTACT SECTION
------------------------------ */
#contact {
  text-align: center;
  line-height: 1.5;
  margin-top: 40px;
}

#contact h2 {
  font-size: 2.2rem;
  color: #1e88e5;
  margin-bottom: 20px;
}
#contact h3 {
  font-size: 1.2rem;
  color: #1e88e5;
  /* margin-bottom: 20px; */
}

#contact p {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

#contact i {
  color: #1e88e5;
  min-width: 20px;
  margin-right: 8px;
}

#contact a {
  color: #1e88e5;
  text-decoration: none;
}
#contact a:hover {
  text-decoration: underline;
}

/* Phone clickable */
#contact .phone-link {
  font-weight: bold;
  color: #1e88e5;
}
#contact .phone-link:hover {
  text-decoration: underline;
}

/* --- Chat icons --- */
.chat-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.chat-icons a {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
}

.chat-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  background: white;
  border-radius: 8px;
  padding: 2px;
  box-shadow: 0 0 3px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.chat-icons a:hover img {
  transform: scale(1.15);
  box-shadow: 0 0 6px rgba(47,122,229,0.3);
  filter: none;
}

/* Tooltip hiển thị khi hover icon */
/* .chat-icons a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e88e5;
  color: white;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
} */
.chat-icons a:hover::after {
  opacity: 1;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
  background: #1e88e5;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
  margin-top: 60px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}
footer a:hover {
  color: #ffd700;
}

/* ------------------------------
   ANIMATIONS
------------------------------ */
@keyframes slideIn {
  from { width: 0; }
  to { width: 100%; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  nav ul {
    gap: 15px;
  }
  .section {
    margin: 60px auto;
  }
  #contact p {
    font-size: 0.95rem;
  }
}

/* chữ màu */
.teal-text {
  color: #008b8b;
  font-weight: 600;
}

/* .who-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
} */

/* mỗi block (hình + text) */
.who-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
}

/* ------------------------------
   CONTACT MODAL
------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.modal-panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  width: 94%;
  max-width: 760px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(10px);
}
.modal h3 { margin: 0 0 12px 0; color: #1e88e5; }
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-group { flex: 1; display: flex; flex-direction: column; }
.form-group.full { flex: 1 1 100%; }
.form-group label { font-size: 0.95rem; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-actions { display:flex; gap:10px; align-items:center; margin-top:10px; }
.btn-primary { background:#1e88e5; color:white; padding:10px 16px; border-radius:8px; border:none; cursor:pointer; font-weight:600; }
.btn-secondary { background:#f0f4f8; color:#333; padding:10px 14px; border-radius:8px; border:none; cursor:pointer; }
.form-status { margin-top:10px; font-size:0.95rem; color:#1e88e5; }

@media (max-width:600px) {
  .form-row { flex-direction: column; }
  .modal-panel { padding: 16px; }
}

/* Limit message textarea: vertical resize only, wrap and max length visual handling */
.message-textarea {
  resize: vertical;
  width: 100%;
  max-width: 100%;
  min-height: 96px;
  overflow-wrap: break-word;
}

footer p + p {
  margin-top: 0.6rem; /* adjust value as needed (e.g. 0.8rem or 1rem) */
}

.tax-label{ color:#fff; font-weight:600; margin-left:6px; }
.tax-badge{
  font-family: ui-monospace, Menlo, Monaco, Consolas, "Courier New", monospace;
  background: rgba(255,255,255,0.18);
  color:#fff; padding:3px 8px; border-radius:8px; margin-left:6px;
}

/* [DISABLED] COURSE SLIDER + COURSE CARD
.course-list-scroll {
  padding: 0 6px 10px;
}

.course-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.course-viewport {
  overflow: hidden;
  width: 100%;
}

.course-track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.course-slide {
  flex: 0 0 calc((100% - 12px) / 2);
}

.course-nav {
  width: 32px;
  height: 32px;
  border: 1px solid #d4dde8;
  border-radius: 999px;
  background: #fff;
  color: #1e88e5;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.course-nav:hover:not(:disabled) {
  background: #eef6ff;
  border-color: #1e88e5;
}

.course-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.course-card {
  width: 100%;
  min-height: 94px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  display: grid;
  grid-template-rows: minmax(60px, 1fr) auto;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-card:hover {
  border-color: #00a5a5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
  transform: none;
}

.course-img {
  width: 100%;
  height: 100%;
  min-height: 60px;
  object-fit: contain;
  border-radius: 6px;
  margin: 0;
  display: block;
}

.course-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .course-slider {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .course-slide {
    flex-basis: 100%;
  }

  .course-nav {
    width: 100%;
    border-radius: 8px;
    height: 34px;
  }
}
*/

/* ------------------------------
   JOB BOARD PAGE
------------------------------ */
.job-hero {
  background: linear-gradient(135deg, #363C8B 0%, #1e88e5 100%);
  color: white;
  text-align: center;
  padding: 60px 20px 50px;
}
.job-hero .tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.job-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}
.job-hero .subtitle {
  font-size: 1.1rem;
  opacity: 0.88;
  margin-bottom: 28px;
}
.meta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.meta-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.95rem;
  font-weight: 600;
}
.meta-badge i { font-size: 1rem; }

.job-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}
.job-body {
  padding: 0px 20px 20px;
}
.job-card {
  background: white;
  border-radius: 14px;
  padding: 30px 32px;
  margin: 24px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.card-title .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.icon-circle.blue   { background: #e3f0fd; color: #1e88e5; }
.icon-circle.red    { background: #fdecea; color: #c0392b; }
.icon-circle.green  { background: #e8f5e9; color: #2e7d32; }
.icon-circle.gold   { background: #fff8e1; color: #f9a825; }
.icon-circle.purple { background: #ede7f6; color: #6a1b9a; }

.job-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.job-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
}
.job-card ul li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: #1e88e5;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.6;
}
.job-card ul li + li {
  margin-top: 6px;
}
.job-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 0;
}

.sub-block {
  margin-top: 16px;
}
.sub-block-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #333;
}

.income-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}
.income-item {
  background: #f4f8ff;
  border-radius: 10px;
  padding: 14px 18px;
}
.income-item .income-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 4px;
}
.income-item .income-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1e88e5;
}

.cta-box {
  background: linear-gradient(135deg, #363C8B 0%, #1e88e5 100%);
  color: white;
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
  margin: 24px 0 60px;
  box-shadow: 0 6px 20px rgba(30,136,229,0.3);
}
.cta-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cta-box p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 22px;
}
.cta-btn {
  display: inline-block;
  background: white;
  color: #363C8B;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.cta-btn:hover {
  background: #f0f4ff;
  transform: scale(1.03);
}

.fit-tags {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.fit-tag {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f9f9fb;
  border-radius: 10px;
  padding: 12px 16px;
}
.fit-tag i {
  color: #D35F3C;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.fit-tag span {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .job-hero h1 { font-size: 1.6rem; }
  .income-grid { grid-template-columns: 1fr; }
  .job-card { padding: 22px 18px; }
  .cta-box { padding: 28px 18px; }
  .cta-contact-info { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .cta-sep { display: none; }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}