:root {
  --pink-main: #f4a6b8;
  --pink-soft: #fdecef;
  --pink-dark: #e46a8d;
  --text-dark: #2c2c2c;
  --text-light: #6f6f6f;
  --white: #ffffff;
}

/* RESET */
* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff7f9, #ffffff);
  color: var(--text-dark);
}

/* COMMON */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.mb {
  margin-bottom: 30px;
}

/* HEADER */
.header {
  background: var(--white);
  border-bottom: 1px solid #f1d7dd;
}

.header-flex {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 22px;
}

nav a {
  margin-right: 20px;
  font-size: 14px;
  text-decoration: none;
  color: var(--text-light);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-main), var(--pink-dark));
  border: none;
  color: #fff;
  padding: 9px 20px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(228,106,141,0.35);
}

/* HERO */
.hero {
  position: relative;
  padding: 60px 0 30px;
  background-image: 
    linear-gradient(
      rgba(255, 232, 240, 0.24),
      rgba(255, 232, 240, 0.85)
    ),
    url("../images/banners/supportbanner.png");

  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}

/* Keep content above background */
.hero .container {
  position: relative;
  z-index: 2;
}


.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.subtext {
  color: var(--text-light);
  margin-bottom: 30px;
}

.search-box {
  max-width: 520px;
  margin: auto;
  display: flex;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 15px 18px;
  font-size: 14px;
}

.search-box button {
  background: linear-gradient(135deg, var(--pink-main), var(--pink-dark));
  border: none;
  padding: 0 22px;
  color: #fff;
  cursor: pointer;
}

.hero-cards {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-card {
  width: 280px;
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: transform .25s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
}

/* SECTIONS */
.section {
  padding: 60px 0 30px;
}

.soft-bg {
  background: #fff6f8;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header a {
  color: var(--pink-dark);
  text-decoration: none;
  font-size: 14px;
}

/* ARTICLES */
.articles {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.articles a {
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all .25s ease;
}

.articles a:hover {
  color: var(--pink-dark);
  transform: translateY(-4px);
}

/* TICKET */
.ticket-form {
  max-width: 640px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.ticket-form input,
.ticket-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #e8cdd4;
}

.ticket-form textarea {
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--pink-main), var(--pink-dark));
  border: none;
  color: #fff;
  padding: 14px;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(228,106,141,0.35);
  margin-top: 20px !important;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 22px;
  font-size: 13px;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 24px;
  }

  nav a {
    display: none;
  }
}
.site-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar-brand {
  display: flex;
  align-items: center;
}
.ticket-form select {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #f1b6c6;
  background-color: #fff;
  font-size: 14px;
  color: var(--text-dark);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;

  /* custom arrow space */
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e46a8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
}
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #444;
}

.file-upload {
  position: relative;
  width: 100%;
  height: 48px;
  border: 1.5px dashed #f1b6c5;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 16px;
  transition: all 0.25s ease;
}

.file-upload:hover {
  background: #fff4f7;
  border-color: #e46a8d;
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-text {
  font-size: 14px;
  color: #888;
}

.file-note {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #999;
}
/* UPLOAD FIELD */
.upload-label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.custom-upload {
  width: 100%;
  height: 48px;
  border: 1.5px dashed #f3a7bb;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.custom-upload:hover {
  background: #fff1f5;
  border-color: #e46a8d;
}

.custom-upload input {
  display: none;
}

.upload-text {
  font-size: 14px;
  color: #777;
}

.upload-note {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #999;
}

 
/* Upload image spacing */
.upload-label {
    display: block;
    margin-bottom: 8px;
}

.custom-upload {
    display: block;
    margin-top: 6px;
}

.upload-text {
    display: inline-block;
    margin-top: 14px;
    margin-left: 10px;
}

.upload-note {
    display: block;
    margin-top: 6px;
}
/* Container Background and Padding */
.soft-bg {
    background-color: #f8fafc; /* A very light, modern grey-blue */
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
}

/* Styling the Link as a Button */
.soft-bg a {
    display: inline-block;
    background-color: #000000; /* Professional Blue */
    color: #ffffff;
    padding: 14px 32px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hover Effects */
.soft-bg a:hover {
    background-color: #2b2b2b;
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Active/Click effect */
.soft-bg a:active {
    transform: translateY(0);
}

.search-box input:focus {
    outline: none;
    box-shadow:none;
}
@media (max-width: 768px) {
    .header {
        overflow: visible !important;
    }

    .header-flex {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: static !important;
    }

    .header-flex nav {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }

    .header-flex nav a {
        display: inline-block !important;
        font-size: 12px !important;
        padding: 2px 4px !important;
        white-space: nowrap !important;
    }

    .site-logo {
        height: 40px !important;
    }
}

/* ── Hero card icon ── */
.hero-card-icon {
  font-size: 32px;
  color: #4a9d9c;
  margin-bottom: 10px;
}

/* ── Knowledge Base wrapper ── */
.kb-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.kb-top-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.kb-top-header i {
  font-size: 22px;
  color: #4a9d9c;
}

.kb-top-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #2d7be5;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}

.kb-cat-card {
  border-bottom: 1px solid #f3f3f3;
  padding: 4px 0;
}

.kb-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px 4px;
  border-radius: 8px;
  transition: background 0.15s;
}

.kb-cat-header:hover {
  background: #f8f9fa;
}

.kb-cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kb-cat-left > i {
  font-size: 16px;
  color: #666;
}

.kb-cat-left > span {
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
}

.kb-cat-header:hover .kb-cat-left > span {
  color: #2d7be5;
}

.kb-chevron {
  font-size: 12px;
  color: #aaa;
  transition: transform 0.2s ease;
}

.kb-chevron.rotated {
  transform: rotate(180deg);
}

.kb-cat-questions {
  padding: 4px 0 8px 28px;
}

.kb-question-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 4px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.kb-question-link > i {
  color: #999;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.kb-question-link:hover {
  color: #2d7be5;
  background: #f4f8ff;
}

/* ── Article Detail ── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: #2d7be5;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 22px;
  font-weight: 500;
}

.btn-back:hover { text-decoration: underline; }

.article-heading-area {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.article-icon {
  font-size: 30px;
  color: #2c2c2c;
  margin-top: 6px;
}

.article-title-text {
  font-size: 28px;
  font-weight: 700;
  color: #2d7be5;
  margin: 0;
  line-height: 1.3;
}

.article-content-box {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}

.article-answer-text {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

.article-qa-block {
  border-bottom: 1px solid #f0f0f0;
  padding: 2px 0;
}

.article-qa-block:last-child { border-bottom: none; }

.article-qa-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  gap: 12px;
  padding: 14px 4px;
  border-radius: 6px;
  transition: background 0.15s;
}

.article-qa-q:hover { background: #f8f9fa; }

.article-qa-q span i { color: #888; margin-right: 6px; }

.article-qa-chevron {
  font-size: 12px;
  color: #aaa;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.article-qa-chevron.rotated { transform: rotate(180deg); }

.article-qa-a {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  padding: 8px 0 14px 26px;
}

/* ── Bottom cards (sample2 style) ── */
.kb-bottom-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.kb-bottom-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.kb-bottom-card:hover { transform: translateY(-4px); color: inherit; }

.kb-bottom-card > i {
  font-size: 34px;
  color: #4a9d9c;
  flex-shrink: 0;
  margin-top: 2px;
}

.kb-bottom-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #2d7be5;
  margin: 0 0 6px;
}

.kb-bottom-card p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .kb-grid           { grid-template-columns: 1fr; gap: 0; }
  .kb-bottom-cards   { grid-template-columns: 1fr; }
  .kb-wrapper        { padding: 24px 20px; }
  .article-title-text { font-size: 22px; }
  .article-content-box { padding: 20px; }
}

