/* ============================================================
   SITEMAP PAGE STYLES - ISMS GLOBAL
   ============================================================ */

:root {
  --sm-primary: #0D47D8;
  --sm-primary-hover: #0A39A6;
  --sm-primary-light: #EEF4FF;
  --sm-navy: #0A1233;
  --sm-navy-dark: #0A1C40;
  --sm-text-muted: #64748B;
  --sm-border: #E2E8F0;
  --sm-blue-tint: #F0F5FC;
  --sm-gold: #F59E0B;
}

body {
  background-color: #F8FAFC;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--sm-navy);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 1. HERO BANNER ==================== */
.sm-hero-section {
  background: linear-gradient(135deg, #0A1C40 0%, #061533 100%);
  padding: 36px 0 64px 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.sm-hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.sm-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.sm-hero-content {
  max-width: 640px;
}

.sm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.sm-breadcrumb a {
  color: #CBD5E1;
  text-decoration: none;
}

.sm-breadcrumb a:hover {
  color: #FFFFFF;
}

.sm-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.sm-hero-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: #CBD5E1;
}

/* Hero Right Diagram Graphic */
.sm-hero-graphic-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.sm-diagram-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  color: var(--sm-navy);
}

.sm-diagram-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--sm-primary);
  text-transform: uppercase;
}

.sm-diagram-tree {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.sm-tree-node {
  background: #F0F5FC;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border: 1px solid #D0E1FD;
}

.sm-tree-row {
  display: flex;
  gap: 6px;
}

.sm-tree-row .sm-tree-node {
  flex: 1;
}

.sm-graphic-icon-3d {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

/* ==================== 2. SEARCH BAR CARD ==================== */
.sm-search-card-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  margin-bottom: 36px;
}

.sm-search-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 28px;
  border: 1px solid var(--sm-border);
  box-shadow: 0 12px 32px rgba(10, 18, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sm-search-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-airplane-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sm-primary-light);
  color: var(--sm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sm-search-text strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--sm-navy);
  display: block;
}

.sm-search-text span {
  font-size: 12.5px;
  color: var(--sm-text-muted);
}

.sm-search-input-box {
  position: relative;
  width: 380px;
  max-width: 100%;
}

.sm-search-input-box input {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 16px;
  border-radius: 10px;
  border: 1.5px solid #CBD5E1;
  font-size: 14px;
  color: var(--sm-navy);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sm-search-input-box input:focus {
  border-color: var(--sm-primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 216, 0.12);
}

.sm-search-input-box i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 15px;
}

/* ==================== 3. MAIN CONTENT LAYOUT ==================== */
.sm-main-section {
  padding-bottom: 50px;
}

.sm-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* LEFT COLUMN SITEMAP CATEGORIES */
.sm-categories-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sm-category-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid var(--sm-border);
  padding: 24px 28px;
  box-shadow: 0 4px 14px rgba(10, 18, 51, 0.03);
}

.sm-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 18px;
}

.sm-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sm-primary-light);
  color: var(--sm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sm-category-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sm-navy);
}

/* Links Grid (3 Columns) */
.sm-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}

.sm-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sm-link-item i.chevron {
  font-size: 10px;
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sm-link-item:hover {
  color: var(--sm-primary);
  transform: translateX(2px);
}

.sm-link-item:hover i.chevron {
  color: var(--sm-primary);
}

/* ==================== 4. RIGHT SIDEBAR WIDGETS ==================== */
.sm-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--sm-border);
  box-shadow: 0 4px 14px rgba(10, 18, 51, 0.04);
}

.sidebar-widget-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--sm-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget-card h3 i {
  color: var(--sm-primary);
}

/* Quick Links List */
.quick-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.quick-link-row i {
  font-size: 13px;
  color: var(--sm-primary);
}

.quick-link-row:hover {
  color: var(--sm-primary);
}

/* Start Journey Card */
.journey-sidebar-card {
  background: linear-gradient(135deg, #EEF4FF 0%, #E2ECFF 100%);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #D0E1FD;
  position: relative;
  overflow: hidden;
}

.journey-sidebar-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--sm-navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.journey-sidebar-card p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 16px;
}

.btn-journey-counselling {
  padding: 10px 18px;
  border-radius: 10px;
  background-color: var(--sm-primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-journey-counselling:hover {
  background-color: var(--sm-primary-hover);
}

.journey-counsellor-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  position: absolute;
  bottom: 0;
  right: 10px;
  pointer-events: none;
}

/* Still Can't Find Card */
.still-cant-card {
  background: #F0F5FC;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #D0E1FD;
}

.still-cant-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--sm-navy);
  margin-bottom: 4px;
}

.still-cant-card p {
  font-size: 12.5px;
  color: #64748B;
  margin-bottom: 14px;
}

.btn-contact-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--sm-primary);
  color: var(--sm-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-contact-outline:hover {
  background-color: var(--sm-primary-light);
}

/* Social Buttons */
.social-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.sm-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sm-social-btn.fb { background-color: #1877F2; }
.sm-social-btn.ig { background-color: #E4405F; }
.sm-social-btn.li { background-color: #0A66C2; }
.sm-social-btn.yt { background-color: #FF0000; }
.sm-social-btn.wa { background-color: #25D366; }

.sm-social-btn:hover {
  opacity: 0.88;
}

/* ==================== 5. BOTTOM HELP BANNER ==================== */
.sm-help-banner {
  background: var(--sm-blue-tint);
  border-radius: 20px;
  padding: 22px 32px;
  border: 1px solid #D0E1FD;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
}

.sm-help-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sm-dashed-plane-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed var(--sm-primary);
  background: #FFFFFF;
  color: var(--sm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sm-help-text strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--sm-navy);
  display: block;
  margin-bottom: 2px;
}

.sm-help-text span {
  font-size: 13px;
  color: #64748B;
}

.sm-help-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-sm-counselling {
  padding: 11px 22px;
  border-radius: 10px;
  background-color: var(--sm-primary);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-sm-counselling:hover {
  background-color: var(--sm-primary-hover);
}

.btn-sm-expert {
  padding: 11px 20px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--sm-primary);
  color: var(--sm-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .sm-main-grid {
    grid-template-columns: 1fr;
  }
  .sm-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sm-hero-layout {
    flex-direction: column;
    text-align: center;
  }
  .sm-hero-title {
    font-size: 32px;
  }
  .sm-search-card {
    flex-direction: column;
    align-items: stretch;
  }
  .sm-search-input-box {
    width: 100%;
  }
  .sm-links-grid {
    grid-template-columns: 1fr;
  }
  .sm-help-banner {
    flex-direction: column;
    text-align: center;
  }
  .sm-help-left {
    flex-direction: column;
  }
  .sm-help-actions {
    flex-direction: column;
    width: 100%;
  }
}
