/**
 * Breadcrumb Navigation Styles
 * Professional, subtle, and eye-catching design
 * Matches navy blue and gold theme
 */

/* ===================================
   Breadcrumb Container
   =================================== */
.breadcrumb-container {
  background: linear-gradient(180deg, #fafbfc 0%, #f5f6f8 100%);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  padding: 0.875rem 0;
  margin: 0;
  position: relative;
}

/* Subtle top accent line */
.breadcrumb-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(184, 134, 11, 0.3) 20%,
      rgba(184, 134, 11, 0.5) 50%,
      rgba(184, 134, 11, 0.3) 80%,
      transparent 100%);
}

.breadcrumb-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================================
   Breadcrumb List
   =================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Override Bootstrap's default breadcrumb divider */
  --bs-breadcrumb-divider: none;
}

/* ===================================
   Breadcrumb Items
   =================================== */
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding-left: 0;
}

/* Remove Bootstrap's default slash divider */
.breadcrumb-item::before {
  display: none !important;
  content: none !important;
  padding-right: 0 !important;
}

/* Elegant chevron separator */
.breadcrumb-item:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #94a3b8;
  border-bottom: 1.5px solid #94a3b8;
  transform: rotate(-45deg);
  margin: 0 0.5rem;
  opacity: 0.7;
}

/* ===================================
   Breadcrumb Links
   =================================== */
.breadcrumb-link {
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  font-weight: 500;
  padding: 0.25rem 0;
}

.breadcrumb-link:hover {
  color: #1e3a5f;
}

/* Subtle underline animation on hover */
.breadcrumb-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #b8860b 0%, #d4af37 100%);
  transition: width 0.25s ease;
}

.breadcrumb-link:hover::after {
  width: 100%;
}

/* ===================================
   Home Link - Minimal SVG Icon
   =================================== */
.breadcrumb-home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 0.25rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover .breadcrumb-home-icon {
  color: #b8860b;
}

/* ===================================
   Active/Current Item
   =================================== */
.breadcrumb-item.active {
  color: #1e3a5f;
  font-weight: 600;
}

.breadcrumb-item.active span {
  color: #1e3a5f;
  position: relative;
}

/* Subtle highlight for current page */
.breadcrumb-item.active span::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8860b 0%, #d4af37 100%);
  border-radius: 1px;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .breadcrumb-container {
    padding: 0.75rem 0;
  }

  .breadcrumb-wrapper {
    padding: 0 1rem;
  }

  .breadcrumb {
    font-size: 0.75rem;
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 0.5rem;
    width: 4px;
    height: 4px;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .breadcrumb-container {
    padding: 0.625rem 0;
  }

  .breadcrumb-wrapper {
    padding: 0 0.75rem;
  }

  .breadcrumb {
    font-size: 0.6875rem;
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 0.375rem;
    width: 4px;
    height: 4px;
  }

  .breadcrumb-home-icon {
    width: 14px;
    height: 14px;
  }

  /* Truncate long breadcrumb text on mobile */
  .breadcrumb-item span {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }

  /* Don't truncate current page */
  .breadcrumb-item.active span {
    max-width: 150px;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
  .breadcrumb {
    font-size: 0.625rem;
  }

  .breadcrumb-item span {
    max-width: 80px;
  }

  .breadcrumb-item.active span {
    max-width: 120px;
  }

  .breadcrumb-home-icon {
    width: 12px;
    height: 12px;
    margin-right: 0.125rem;
  }
}

/* ===================================
   Accessibility Enhancements
   =================================== */

/* Focus styles for keyboard navigation */
.breadcrumb-link:focus {
  outline: none;
  color: #1e3a5f;
}

.breadcrumb-link:focus::after {
  width: 100%;
  background: #b8860b;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .breadcrumb-link {
    text-decoration: underline;
  }

  .breadcrumb-item.active span::before {
    height: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .breadcrumb-link,
  .breadcrumb-link::after,
  .breadcrumb-home-icon {
    transition: none;
  }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  .breadcrumb-container {
    background: none;
    border-bottom: 1px solid #ccc;
    padding: 0.25rem 0;
  }

  .breadcrumb-container::before {
    display: none;
  }

  .breadcrumb-link {
    color: #000;
  }

  .breadcrumb-link::after {
    display: none;
  }

  .breadcrumb-item.active span::before {
    display: none;
  }
}

/**
 * Completed Projects Page Stylesheet
 * KMS Technologies
 * Professional showcase for completed PEB and construction projects
 */

/* ===== CSS VARIABLES (Inheriting from peb.css) ===== */
:root {
  --kms-primary: #1a1a2e;
  --kms-primary-dark: #16213e;
  --kms-primary-light: #252a48;
  --kms-yellow: #ffd700;
  --kms-yellow-dark: #e6c200;
  --kms-accent: #00bfa5;
  --kms-accent-light: #4ecdc4;
  --kms-white: #ffffff;
  --kms-light-gray: #f8f9fa;
  --kms-gray: #6c757d;
  --kms-dark-gray: #343a40;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ===== HERO BANNER SECTION ===== */
.projects-hero {
  position: relative;
  min-height: 200px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.projects-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.92) 0%,
      rgba(22, 33, 62, 0.88) 50%,
      rgba(26, 26, 46, 0.85) 100%);
  z-index: 1;
}

.projects-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--kms-yellow),
      var(--kms-accent),
      var(--kms-yellow));
  z-index: 2;
}

.projects-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

.projects-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--kms-white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.projects-hero-title span {
  color: var(--kms-yellow);
}

.projects-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== STATISTICS SECTION ===== */
.projects-stats-section {
  background: linear-gradient(135deg,
      var(--kms-primary) 0%,
      var(--kms-primary-dark) 100%);
  /* padding: 60px 0; */
  margin-top: -2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 25px 15px;
  position: relative;
}

.stat-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg,
      transparent,
      rgba(255, 215, 0, 0.3),
      transparent);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--kms-yellow);
  line-height: 1;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 2px; */
}

.stat-number span {
  font-size: 2rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ===== FILTER NAVIGATION ===== */
.projects-filter-section {
  padding: 50px 0 30px;
  background: var(--kms-light-gray);
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--kms-primary-dark);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--kms-gray);
  font-size: 1.1rem;
}

.filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 12px 28px;
  border: none;
  background: var(--kms-white);
  color: var(--kms-dark-gray);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
}

.filter-btn:hover {
  border-color: var(--kms-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg,
      var(--kms-primary) 0%,
      var(--kms-primary-dark) 100%);
  color: var(--kms-yellow);
  border-color: var(--kms-yellow);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
}

/* ===== PROJECT GALLERY GRID ===== */
.projects-gallery-section {
  padding: 40px 0 10px;
  background: var(--kms-light-gray);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===== PROJECT CARD ===== */
.project-card {
  background: var(--kms-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.project-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg,
      var(--kms-yellow) 0%,
      var(--kms-yellow-dark) 100%);
  color: var(--kms-primary-dark);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  z-index: 2;
}

.project-info {
  padding: 25px;
  border-top: 1px solid rgba(26, 26, 46, 0.06);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--kms-primary-dark);
  margin: 0 0 8px 0;
}

.project-type {
  font-size: 0.85rem;
  color: var(--kms-gray);
  margin: 0 0 8px 0;
  font-weight: 500;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--kms-gray);
  font-size: 0.9rem;
}

.project-location svg {
  width: 16px;
  height: 16px;
  color: var(--kms-yellow);
  flex-shrink: 0;
}

.project-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.card-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #130f0f;
  color: #130f0f;
  background: transparent;
  flex-shrink: 0;
}

.card-play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 2px;
  /* Optical centering */
}

.card-play-btn:hover {
  background: var(--kms-primary-dark);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* ===== CTA SECTION ===== */
.projects-cta-section {
  background: linear-gradient(135deg,
      var(--kms-primary) 0%,
      var(--kms-primary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.projects-cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(255, 215, 0, 0.15) 0%,
      transparent 70%);
  border-radius: 50%;
}

.projects-cta-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(0, 191, 165, 0.1) 0%,
      transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--kms-white);
  margin-bottom: 15px;
}

.cta-content h2 span {
  color: var(--kms-yellow);
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 35px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
      var(--kms-yellow) 0%,
      var(--kms-yellow-dark) 100%);
  color: var(--kms-primary-dark);
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.35);
}

.cta-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  color: var(--kms-primary-dark);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--kms-white);
  padding: 14px 38px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-normal);
}

.cta-btn-secondary:hover {
  background: var(--kms-white);
  color: var(--kms-primary-dark);
  border-color: var(--kms-white);
  transform: translateY(-4px);
}

/* ===== GET QUOTE CTA BANNER ===== */
.get-quote-cta-section {
  position: relative;
  background: linear-gradient(135deg, #043352, #0b1138);
  overflow: hidden;
}

.get-quote-cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.get-quote-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
  gap: 20px;
}

.get-quote-cta-text {
  flex: 1;
}

.get-quote-cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--kms-white);
  margin: 0 0 8px 0;
}

.get-quote-cta-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.get-quote-cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg,
      var(--kms-primary) 0%,
      var(--kms-primary-dark) 100%);
  color: var(--kms-yellow);
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--kms-yellow);
  transition: all var(--transition-normal);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
}

.get-quote-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  color: var(--kms-yellow);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets & Small Desktops */
@media (max-width: 1199px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-type {
    font-size: 0.8rem;
  }
}

/* Tablets */
@media (max-width: 991px) {
  .projects-hero-title {
    font-size: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item::after {
    display: none;
  }

  .stat-item {
    padding: 20px 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .filter-nav {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .project-image-wrapper {
    height: 220px;
  }

  .project-info {
    padding: 20px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 767px) {
  .projects-hero {
    min-height: 180px;
  }

  .projects-hero-content {
    padding: 50px 15px;
  }

  .projects-hero-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .projects-hero-subtitle {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    padding: 15px 10px;
    border-right: 1px solid rgba(255, 215, 0, 0.1);
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-number span {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .projects-filter-section {
    padding: 35px 0 20px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 1.5rem;
    padding: 0 15px;
  }

  .filter-nav {
    gap: 8px;
    padding: 0 10px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .projects-gallery-section {
    padding: 30px 0 60px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 5px;
  }

  .project-card {
    border-radius: 15px;
  }

  .project-image-wrapper {
    height: 200px;
  }

  .project-category-badge {
    padding: 5px 12px;
    font-size: 0.7rem;
    top: 12px;
    left: 12px;
  }

  .project-overlay {
    padding: 20px;
  }

  .view-project-btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .project-info {
    padding: 18px;
  }

  .project-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .project-type {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .project-location {
    font-size: 0.85rem;
  }

  .project-location svg {
    width: 14px;
    height: 14px;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    padding: 14px 35px;
    font-size: 0.95rem;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .projects-hero {
    min-height: 150px;
  }

  .projects-hero-content {
    padding: 40px 10px;
  }

  .projects-hero-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .projects-hero-subtitle {
    font-size: 0.85rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-number span {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .section-heading h2 {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 0.75rem;
  }

  .project-image-wrapper {
    height: 180px;
  }

  .project-info {
    padding: 15px;
  }

  .project-title {
    font-size: 1rem;
  }

  .project-type {
    font-size: 0.75rem;
  }

  .project-location {
    font-size: 0.8rem;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

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

  .cta-btn-primary,
  .cta-btn-secondary {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .view-project-btn {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .projects-hero-title {
    font-size: 1.3rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .project-title {
    font-size: 0.95rem;
  }

  .section-heading h2 {
    font-size: 1.1rem;
  }
}




/**
 * Contact Page Stylesheet
 * KMS Technologies
 * Modern, premium contact page design
 */


/* ===== CONTACT HERO SECTION ===== */
.contact-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../Peb/prefect.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.92) 0%,
      rgba(22, 33, 62, 0.88) 50%,
      rgba(26, 26, 46, 0.85) 100%);
  z-index: 1;
}

.contact-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--kms-yellow), var(--kms-accent), var(--kms-yellow));
  z-index: 2;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--kms-white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-title span {
  color: var(--kms-yellow);
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== CONTACT INFO CARDS SECTION ===== */
.contact-info-section {
  padding: 60px 0 40px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-info-card {
  background: linear-gradient(120deg, #dbe2f6, #ffffff);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--kms-yellow), var(--kms-accent));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--kms-yellow);
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--kms-yellow) 0%, var(--kms-yellow-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
  transition: all var(--transition-normal);
}

.contact-info-card:hover .contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.45);
}

.contact-icon-wrapper i {
  font-size: 2rem;
  color: var(--kms-primary-dark);
}

.contact-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--kms-primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card-text {
  color: var(--kms-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.contact-card-text a {
  color: var(--kms-dark-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-card-text a:hover {
  color: var(--kms-accent);
}

.contact-card-text .gst-info {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--kms-gray);
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
  padding: 60px 0 80px;
  background: var(--kms-light-gray);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-wrapper {
  background: linear-gradient(135deg, var(--kms-primary) 0%, var(--kms-primary-dark) 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.form-header {
  margin-bottom: 30px;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--kms-white);
  margin-bottom: 5px;
}

.form-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* Form Messages */
.form-message {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-weight: 500;
}

.form-message.success {
  background: linear-gradient(135deg, rgba(0, 191, 165, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
  border: 1px solid var(--kms-accent);
  color: #00917c;
}

.form-message.error {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
  border: 1px solid #dc3545;
  color: #dc3545;
}

/* Form Inputs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.full-width {
  grid-template-columns: 1fr;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--kms-dark-gray);
  background: var(--kms-white);
  transition: all var(--transition-normal);
}

.form-input:focus {
  outline: none;
  border-color: var(--kms-yellow);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
}

.form-input::placeholder {
  color: var(--kms-gray);
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

/* Submit Button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--kms-yellow) 0%, var(--kms-yellow-dark) 100%);
  color: var(--kms-primary-dark);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.35);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.submit-btn:hover svg {
  transform: translateX(5px);
}

/* ===== MAP WRAPPER ===== */
.map-wrapper {
  background: var(--kms-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 500px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
}

/* ===== CTA SECTION ===== */
.contact-cta-section {
  background: linear-gradient(135deg, var(--kms-primary) 0%, var(--kms-primary-dark) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.contact-cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-cta-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 191, 165, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}


.cta-contact-info {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--kms-white);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.cta-contact-item:hover {
  color: var(--kms-yellow);
  transform: translateY(-3px);
}

.cta-contact-item i {
  font-size: 1.5rem;
  color: var(--kms-yellow);
}

.cta-contact-item span {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 991px) {
  .contact-hero-title {
    font-size: 2.5rem;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-info-card {
    padding: 30px 20px;
  }

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

  .map-wrapper {
    min-height: 400px;
  }

  .map-wrapper iframe {
    min-height: 400px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-contact-info {
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .contact-hero {
    min-height: 180px;
  }

  .contact-hero-content {
    padding: 50px 15px;
  }

  .contact-hero-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .contact-hero-subtitle {
    font-size: 0.95rem;
  }

  .contact-info-section {
    padding: 40px 0 30px;
  }

  .contact-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .contact-icon-wrapper i {
    font-size: 1.6rem;
  }

  .contact-card-title {
    font-size: 1.2rem;
  }

  .contact-form-section {
    padding: 30px 0 60px;
  }

  .contact-form-wrapper {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-input {
    padding: 14px 16px;
  }

  .submit-btn {
    padding: 16px 30px;
    font-size: 1rem;
  }

  .map-wrapper {
    min-height: 300px;
    border-radius: 15px;
  }

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

  .contact-cta-section {
    padding: 50px 0;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .cta-contact-info {
    flex-direction: column;
    gap: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .contact-hero-title {
    font-size: 1.5rem;
  }

  .contact-hero-subtitle {
    font-size: 0.85rem;
  }

  .contact-info-card {
    padding: 25px 15px;
    border-radius: 15px;
  }

  .contact-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .contact-icon-wrapper i {
    font-size: 1.4rem;
  }

  .contact-card-title {
    font-size: 1.1rem;
  }

  .contact-card-text {
    font-size: 0.9rem;
  }

  .form-title {
    font-size: 1.3rem;
  }

  .cta-content h2 {
    font-size: 1.3rem;
  }

  .cta-contact-item span {
    font-size: 1rem;
  }
}


/**
 * Enquiry Form Modal Styles
 * Navy Blue (#1a1a2e) & Gold (#ffd700) Theme
 * Professional design matching website color scheme
 * Compatible with Bootstrap 5.3.2
 */

/* ==========================================================================
   Modal Customization
   ========================================================================== */

#contactModal .modal-dialog {
  max-width: 600px;
}

#contactModal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

/* Gold accent line at top */
#contactModal .modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700 0%, #e6c200 100%);
  z-index: 10;
}

#contactModal .modal-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 1.75rem 2rem;
  border-bottom: none;
  position: relative;
}

#contactModal .modal-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
}

#contactModal .modal-title i {
  font-size: 1.3rem;
  color: #ffd700;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

#contactModal .modal-header .close,
#contactModal .modal-header .btn-close {
  color: white;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

#contactModal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

#contactModal .modal-header .close:hover,
#contactModal .modal-header .btn-close:hover {
  opacity: 1;
  color: #ffd700;
}

#contactModal .modal-body {
  padding: 2rem 2rem 1.75rem;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* ==========================================================================
   Form Heading
   ========================================================================== */

.form-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-heading h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.form-heading p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

#contactFormLayout {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#contactFormLayout .form-group {
  margin-bottom: 1.25rem;
}

#contactFormLayout label {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  display: block;
}

#contactFormLayout .form-control,
#contactFormLayout .forminput {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  width: 100%;
}

#contactFormLayout .form-control:focus,
#contactFormLayout .forminput:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.2);
  outline: none;
  background-color: #ffffff;
}

#contactFormLayout .form-control::placeholder,
#contactFormLayout .forminput::placeholder {
  color: #adb5bd;
  font-size: 0.9rem;
}

#contactFormLayout textarea.form-control,
#contactFormLayout textarea.forminput {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   Submit Button - Gold Theme
   ========================================================================== */

#contactFormLayout .forminputbutton,
#contactFormLayout input[type="submit"],
#contactFormLayout button[type="submit"] {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#contactFormLayout .forminputbutton:hover,
#contactFormLayout input[type="submit"]:hover,
#contactFormLayout button[type="submit"]:hover {
  background: linear-gradient(135deg, #ffdf4a 0%, #f0d000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

#contactFormLayout .forminputbutton:active,
#contactFormLayout input[type="submit"]:active,
#contactFormLayout button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}


/* ==========================================================================
   Form Messages
   ========================================================================== */

#formMessageLayout {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 1rem;
}

#formMessageLayout .alert {
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#formMessageLayout .alert-success {
  background-color: #d4edda;
  color: #155724;
}

#formMessageLayout .alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

#formMessageLayout .alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 767.98px) {
  #contactModal .modal-dialog {
    margin: 0.5rem;
  }

  #contactModal .modal-header {
    padding: 1.5rem 1.5rem;
  }

  #contactModal .modal-title {
    font-size: 1.25rem;
  }

  #contactModal .modal-body {
    padding: 1.5rem 1.25rem;
  }

  .form-heading h2 {
    font-size: 1.5rem;
  }

  .form-heading p {
    font-size: 0.9rem;
  }

  #contactFormLayout .form-control,
  #contactFormLayout .forminput {
    font-size: 0.9rem;
    padding: 0.65rem 0.875rem;
  }

  #contactFormLayout .forminputbutton,
  #contactFormLayout input[type="submit"],
  #contactFormLayout button[type="submit"] {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Loading State
   ========================================================================== */

#contactFormLayout.loading {
  opacity: 0.6;
  pointer-events: none;
}

#contactFormLayout .forminputbutton.loading::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #1a1a2e;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Validation Styles
   ========================================================================== */

#contactFormLayout .form-control.is-invalid,
#contactFormLayout .forminput.is-invalid {
  border-color: #dc3545;
}

#contactFormLayout .form-control.is-valid,
#contactFormLayout .forminput.is-valid {
  border-color: #28a745;
}

#contactFormLayout .invalid-feedback {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.85rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

#contactFormLayout .valid-feedback {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.85rem;
  color: #28a745;
  margin-top: 0.25rem;
}