/* Modern Quick Navigation Section - Clean White Card Design */

.quick-navigation-section {
  padding: 40px 0 80px 0;
  background: transparent;
  position: relative;
  margin-top: -180px;
  z-index: 100;
}

.quick-navigation-section::before {
  content: '';
  position: absolute;
  top: 180px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: -1;
}

/* Section Header - Minimal & Clean */
.quick-nav-header {
  text-align: center;
  margin-bottom: 50px;
  padding-top: 20px;
}

.section-badge-dark {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fdc300;
  margin-bottom: 15px;
}

.quick-nav-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 10px;
  line-height: 1.2;
}

.quick-nav-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  max-width: 500px;
  margin: 0 auto;
}

/* Modern Card Grid */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
  position: relative;
  z-index: 100;
}

/* All Cards - White Background */
.quick-nav-box {
  position: relative;
  z-index: 101;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.quick-nav-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Content Container */
.nav-box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

/* Icon Styles - Circular with colored background */
.nav-box-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Yellow card icon */
.quick-nav-box[data-color="yellow"] .nav-box-icon {
  background: linear-gradient(135deg, #fdc300 0%, #ffdb4d 100%);
  color: #002d53;
}

.quick-nav-box[data-color="yellow"] .nav-box-icon svg {
  stroke: #002d53;
}

/* Blue card icon */
.quick-nav-box[data-color="blue"] .nav-box-icon {
  background: linear-gradient(135deg, #0096c7 0%, #00b4d8 100%);
  color: white;
}

.quick-nav-box[data-color="blue"] .nav-box-icon svg {
  stroke: white;
}

/* Purple/Pink card icon */
.quick-nav-box[data-color="purple"] .nav-box-icon {
  background: linear-gradient(135deg, #e040fb 0%, #ea80fc 100%);
  color: white;
}

.quick-nav-box[data-color="purple"] .nav-box-icon svg {
  stroke: #e040fb;
  fill: none;
}

/* Red card icon */
.quick-nav-box[data-color="red"] .nav-box-icon {
  background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
  color: white;
}

.quick-nav-box[data-color="red"] .nav-box-icon svg {
  stroke: white;
  fill: none;
}

/* Headings */
.nav-box-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002d53;
  margin: 0 0 10px 0;
  line-height: 1.3;
  font-style: normal !important;
  text-transform: none;
}

/* Description */
.nav-box-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6c757d;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

/* Hide category label */
.nav-box-category {
  display: none;
}

/* Tags Container */
.nav-box-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}

.nav-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #495057;
  font-weight: 500;
}

/* Button Link Style - Pill Shape */
.nav-box-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
  width: auto;
  height: auto;
}

/* Show text in links */
.nav-box-link span {
  display: inline;
}

/* Yellow card button */
.quick-nav-box[data-color="yellow"] .nav-box-link {
  color: #b8860b;
  border: 2px solid #fdc300 !important;
  background: transparent !important;
}

.quick-nav-box[data-color="yellow"] .nav-box-link:before {
  background: #fdc300 !important;
}

.quick-nav-box[data-color="yellow"] .nav-box-link:hover {
  background: #fdc300 !important;
  color: #002d53 !important;
}

/* Blue card button */
.quick-nav-box[data-color="blue"] .nav-box-link {
  color: #0077b6;
  border: 2px solid #00b4d8 !important;
  background: transparent !important;
}

.quick-nav-box[data-color="blue"] .nav-box-link:before {
  background: #00b4d8 !important;
}

.quick-nav-box[data-color="blue"] .nav-box-link:hover {
  background: #00b4d8 !important;
  color: white !important;
}

/* Purple card button */
.quick-nav-box[data-color="purple"] .nav-box-link {
  color: #002d53;
  border: 2px solid #002d53 !important;
  background: transparent !important;
}

.quick-nav-box[data-color="purple"] .nav-box-link:before {
  background: #002d53 !important;
}

.quick-nav-box[data-color="purple"] .nav-box-link:hover {
  background: #002d53 !important;
  color: white !important;
}

/* Red card button */
.quick-nav-box[data-color="red"] .nav-box-link {
  color: #dc3545;
  border: 2px solid #dc3545 !important;
  background: transparent !important;
}

.quick-nav-box[data-color="red"] .nav-box-link:before {
  background: #dc3545 !important;
}

.quick-nav-box[data-color="red"] .nav-box-link:hover {
  background: #dc3545 !important;
  color: white !important;
}

.nav-box-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.nav-box-link:hover svg {
  transform: translateX(4px);
}

/* Removed ::after - no longer needed */

/* Contact Bar */
.quick-contact-bar {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 1px solid #e9ecef;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: white;
  border-radius: 12px;
  color: #002d53;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item span {
  font-size: 1rem;
  color: #002d53;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .quick-nav-grid {
    gap: 20px;
  }

  .quick-nav-box {
    padding: 30px 25px;
    min-height: 350px;
  }

  .nav-box-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .quick-navigation-section {
    margin-top: -80px;
  }

  .quick-nav-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto 40px;
  }

  .quick-nav-box {
    min-height: auto;
  }

  .quick-contact-bar {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 25px;
  }

  .contact-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .quick-navigation-section {
    padding: 0 0 60px 0;
    margin-top: -60px;
  }

  .quick-nav-header {
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .quick-nav-title {
    font-size: 1.75rem;
  }

  .quick-nav-box {
    padding: 30px 25px;
    border-radius: 16px;
  }

  .nav-box-content h3 {
    font-size: 1.15rem;
  }

  .nav-box-content p {
    font-size: 0.9rem;
  }

  .nav-box-link {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .quick-navigation-section {
    margin-top: -40px;
  }

  .quick-nav-header {
    margin-bottom: 25px;
  }

  .quick-nav-title {
    font-size: 1.5rem;
  }

  .quick-nav-subtitle {
    font-size: 0.95rem;
  }

  .nav-box-icon {
    width: 56px;
    height: 56px;
  }

  .nav-box-icon svg {
    width: 24px;
    height: 24px;
  }

  .nav-box-tags {
    gap: 6px;
  }

  .nav-tag {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .quick-contact-bar {
    padding: 20px;
    border-radius: 12px;
  }
}
