/* =============================================================
   CROSS SURVEY – INNER PAGES STYLESHEET
   Covers: Contact Us, Ongoing/Completed Projects, Services, About Us
   Depends on brand tokens already defined in main styles.css
   (colors #DE2027 / #111111 / #333333, font 'Barlow', 'Georgia')
   ============================================================= */

/* =============================================================
   1. GENERIC INNER-PAGE PRIMITIVES
   (shared badge / title / description used across every subpage)
   ============================================================= */
.section-badge {
  display: inline-block;
  color: #DE2027;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
}



.inner-section-title {
  font-size: 36px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #444444;
  max-width: 720px;
}

.paragraph-normal {
  font-size: 15px;
  line-height: 1.75;
  color: #222222;
  margin-bottom: 18px;
}

.paragraph-normal:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.text-white {
  color: #ffffff !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* =============================================================
   2. SUBPAGE HERO BANNER
   ============================================================= */
.subpage-hero {
  position: relative;
  width: 100%;
  height: 18.23vw;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 100% 100% !important;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.55) 100%);
  z-index: 1;
}

.subpage-hero__content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.subpage-hero__title {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.subpage-hero__breadcrumbs {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3px;
}

.subpage-hero__breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.subpage-hero__breadcrumbs a:hover {
  color: #DE2027;
}

.subpage-hero__breadcrumbs span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

@media (max-width: 991px) {
  .subpage-hero {
    height: 25vw;
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .subpage-hero {
    height: 35vw;
    min-height: 160px;
  }

  .subpage-hero__title {
    font-size: 26px;
  }

  .subpage-hero__breadcrumbs {
    font-size: 12px;
  }
}

@media (max-width: 479px) {
  .subpage-hero {
    height: 45vw;
    min-height: 130px;
  }
}

/* =============================================================
   3. CONTACT PAGE
   ============================================================= */

/* --- 3.1 Contact info summary boxes --- */
.contact-boxes-section {
  background: #ffffff;
  padding: 60px 0 20px 0;
  width: 100%;
}

.contact-boxes-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-box {
  background: #f7f7f7;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  padding: 32px 28px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-box:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: #DE2027;
  box-shadow: 0 15px 35px rgba(222, 32, 39, 0.1);
}

.contact-box__icon {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.contact-box__icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

.contact-box:hover .contact-box__icon {
  background: #DE2027;
}

.contact-box__title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 10px;
}

.contact-box__text {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 14px;
}

.contact-box__link {
  font-size: 14px;
  font-weight: 700;
  color: #DE2027;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.contact-box__link:hover {
  color: #111111;
}

/* --- 3.2 Map + Form section --- */
.contact-form-section {
  background: #ffffff;
  padding: 70px 0;
  width: 100%;
}

.contact-form-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-hours-col {
  display: flex;
}

.hours-wrapper {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hours-wrapper .paragraph-normal {
  margin-bottom: 0;
}

.contact-details-list {
      margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-info-block {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.151);
}

.detail-info-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-block-title {
  font-family: 'Barlow', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #DE2027;
  margin-bottom: 8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.detail-block-text {
  font-size: 14.5px;
  color: #555555;
  line-height: 1.6;
}

.detail-block-text strong {
  color: #111111;
  font-size: 15px;
}

.detail-link {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.detail-link:hover {
  color: #DE2027;
}

/* Map section styling */
.contact-map-section {
  width: 100%;
  line-height: 0;
}

.contact-map-section .map-wrapper {
  border-radius: 0;
  box-shadow: none;
}

.contact-map-section iframe {
  width: 100%;
  height: 480px;
  filter: grayscale(15%);
  transition: filter 0.3s ease;
}

.contact-map-section iframe:hover {
  filter: none;
}

.map-wrapper {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  line-height: 0;
}

.map-wrapper iframe {
  display: block;
  filter: grayscale(15%);
}

/* Dynamic operating-hours badge */
.operating-hours-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f7f7;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  padding: 16px 20px;
}

.badge-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #999999;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(153, 153, 153, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  letter-spacing: 0.2px;
}

/* --- 3.3 Get-a-quote form --- */
.contact-fields-col {
  display: flex;
}

.form-wrapper {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 40px;
  width: 100%;
}

.inquiry-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  width: 100%;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 14px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #333333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999999;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #DE2027;
  box-shadow: 0 0 0 3px rgba(222, 32, 39, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

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

.recaptcha-field {
  display: flex;
}

.submit-action-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #DE2027;
  color: #ffffff;
  border: 2px solid #DE2027;
  border-radius: 4px;
  padding: 16px 32px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #111111;
  border-color: #111111;
}

.btn-submit .btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

.btn-submit.loading .btn-text {
  opacity: 0.85;
}

.btn-submit.loading .btn-loader {
  display: inline-block;
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

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

.form-status-msg {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-status-msg.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3.4 Floating WhatsApp button --- */
.whatsapp-float-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* --- 3.5 Contact page responsiveness --- */
@media (max-width: 991px) {
  .contact-boxes-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .form-wrapper,
  .hours-wrapper {
    padding: 30px 24px;
  }
}

@media (max-width: 767px) {
  .contact-boxes-section {
    padding: 30px 0 10px 0;
  }

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

  .contact-map-section iframe {
    height: 340px;
  }

  .whatsapp-float-btn {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float-btn svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 575px) {
  .form-wrapper,
  .hours-wrapper {
    padding: 24px 20px;
  }
}

@media (max-width: 360px) {
  .contact-form-container {
    padding: 0 12px;
  }

  .form-wrapper,
  .hours-wrapper {
    padding: 20px 12px;
  }
  
  .form-input,
  .form-textarea {
    padding: 12px 12px;
    font-size: 13px;
  }

  .form-input::placeholder,
  .form-textarea::placeholder {
    font-size: 12px;
  }

  .inner-section-title {
    font-size: 26px;
  }

  /* reCAPTCHA scale-down to fit within 320px container without causing layout overflow */
  .g-recaptcha {
    transform: scale(0.78);
    transform-origin: 0 0;
    -webkit-transform: scale(0.78);
    -webkit-transform-origin: 0 0;
  }
  
  .recaptcha-field {
    width: 236px;
    height: 61px;
    overflow: hidden;
  }
}

/* =============================================================
   4. PROJECTS PAGES (Ongoing / Completed)
   ============================================================= */
.inner-projects-section {
  background: #ffffff;
  padding: 70px 0 90px 0;
  width: 100%;
}

.inner-projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.projects-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* Offset for sticky nav menu */
}

.projects-intro .inner-section-title,
.projects-intro .section-desc {
  margin-left: auto;
  margin-right: auto;
}

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

/* Pyramid Hierarchical Grid: Alternating spans for asymmetric visual excellence */
.projects-grid .project-card:nth-child(2n+1) {
  grid-column: span 2;
}

.projects-grid .project-card:nth-child(2n) {
  grid-column: span 1;
}

/* Glassmorphic Project Stats Dashboard */
.projects-stats-dashboard {
  background: linear-gradient(135deg, rgba(222, 32, 39, 0.03) 0%, rgba(26, 26, 26, 0.02) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(222, 32, 39, 0.08);
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0 50px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
}

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

.stat-card {
  position: relative;
  padding: 10px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(222, 32, 39, 0.15);
}

.stat-number {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  color: #DE2027;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555555;
  text-transform: capitalize;
}

/* Real-Time Filter Bar */
.projects-filter-bar {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.search-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 20px;
  width: 20px;
  height: 20px;
  color: #888888;
  pointer-events: none;
}

.project-search-input {
  width: 100%;
  padding: 16px 20px 16px 54px;
  font-size: 16px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: #333333;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  font-family: inherit;
}

.project-search-input:focus {
  outline: none;
  border-color: #DE2027;
  box-shadow: 0 10px 25px rgba(222, 32, 39, 0.08);
}

/* Custom Project Table Styles (Pyramid Final Style) */
.projects-table-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 50px;
}

.projects-table-header {
  padding: 24px 30px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.projects-table-header h5 {
  font-family: 'Barlow', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.project-search-box {
  max-width: 320px;
  width: 100%;
  position: relative;
}

.project-search-box-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  font-family: inherit;
}

.project-search-box-input:focus {
  outline: none;
  border-color: #DE2027;
  box-shadow: 0 4px 20px rgba(222, 32, 39, 0.08), 0 0 0 3px rgba(222, 32, 39, 0.05);
  background: #ffffff;
}

.project-search-box-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
  opacity: 0.6;
  font-size: 14px;
  pointer-events: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.project-search-box-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.project-search-box-input:focus + .project-search-box-icon {
  color: #DE2027;
  opacity: 1;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-projects-table {
  border-collapse: collapse !important;
  width: 100%;
  text-align: left;
}

.custom-projects-table th,
.custom-projects-table td {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 16px 24px !important;
}

.custom-projects-table thead th {
  background: rgba(222, 32, 39, 0.03);
  color: #DE2027;
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(222, 32, 39, 0.15) !important;
}

.custom-projects-table tbody tr {
  transition: background-color 0.25s ease;
}

.custom-projects-table tbody tr:hover {
  background-color: rgba(222, 32, 39, 0.02) !important;
}

.custom-projects-table tbody td {
  font-size: 14px;
  color: #555555;
}

.custom-projects-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.005);
}

.projects-table-footer {
  padding: 20px 30px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pagination-wrapper {
  display: flex;
  justify-content: flex-end;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
}

.pagination .page-item {
  display: inline;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #555555;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination .page-link:hover {
  background: #DE2027;
  color: #ffffff;
  border-color: #DE2027;
}

.pagination .page-item.active .page-link {
  background: #DE2027;
  color: #ffffff;
  border-color: #DE2027;
}

.pagination .page-item.disabled .page-link {
  color: #cccccc;
  border-color: rgba(0, 0, 0, 0.06);
  background: #fafafa;
  cursor: not-allowed;
  pointer-events: none;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  background: #111111;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-card__img-box {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__img {
  transform: scale(1.06);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.15) 80%, transparent 100%);
  transition: background 0.4s ease;
}

.project-card:hover .project-card__overlay,
.project-card.active-click .project-card__overlay {
  background: rgba(0, 0, 0, 0.85);
}

.project-card__title {
  font-family: 'Barlow', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #DE2027;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.project-card__location {
  font-size: 14px;
  color: #dddddd;
  margin-bottom: 0;
  transition: margin 0.4s ease;
}

.project-card:hover .project-card__location,
.project-card.active-click .project-card__location {
  margin-bottom: 12px;
}

.project-card__scope-wrapper {
  max-height: 0;
  opacity: 0;
  transform: translateY(15px);
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), 
              opacity 0.4s ease, 
              transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover .project-card__scope-wrapper,
.project-card.active-click .project-card__scope-wrapper {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.project-card__scope-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card__scope-list {
  margin: 0;
  padding: 0 0 0 16px;
  list-style-type: disc;
}

.project-card__scope-list li {
  font-size: 13.5px;
  color: #cccccc;
  margin-bottom: 5px;
  line-height: 1.4;
}

.projects-section-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  position: relative;
  padding-left: 14px;
  margin: 0 0 24px 0;
}

.projects-section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: #DE2027;
  border-radius: 2px;
}

/* --- Projects commitment --- */
.projects-commitment {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.projects-commitment__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.projects-commitment__img-box {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.projects-commitment__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-commitment__content {
  padding: 10px 0;
}

.commitment-title {
  font-family: 'Barlow', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 20px;
  line-height: 1.2;
}

.commitment-text {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.commitment-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.commitment-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.commitment-icon {
  width: 24px;
  height: 24px;
  background: rgba(222, 32, 39, 0.1);
  color: #DE2027;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 3px;
}

.commitment-features strong {
  display: block;
  font-size: 15.5px;
  color: #111111;
  margin-bottom: 2px;
}

.commitment-features span {
  font-size: 14px;
  color: #666666;
}

/* --- Projects responsiveness --- */
@media (max-width: 991px) {
  .inner-projects-section {
    padding: 50px 0 70px 0;
  }

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

  .projects-grid .project-card:nth-child(2n+1) {
    grid-column: span 2;
  }

  .projects-grid .project-card:nth-child(2n) {
    grid-column: span 2; /* Full width on tablet */
  }

  .project-card__img-box {
    height: 320px;
  }

  .projects-commitment__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .projects-commitment__img-box {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid .project-card:nth-child(2n+1),
  .projects-grid .project-card:nth-child(2n) {
    grid-column: span 1;
  }

  .projects-commitment {
    margin-top: 50px;
    padding-top: 35px;
  }

  .commitment-title {
    font-size: 26px;
  }

  .commitment-text {
    font-size: 15px;
  }
}

/* =============================================================
   5. SERVICES PAGE
   ============================================================= */
.inner-services-section {
  background: #ffffff;
  padding: 70px 0 90px 0;
  width: 100%;
}

.inner-services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.services-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.services-intro .inner-section-title,
.services-intro .section-desc {
  margin-left: auto;
  margin-right: auto;
}

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

.service-detail-card {
  background: transparent;
  border: none;
  border-radius: 8px;
  overflow: visible; /* Important: allow overlapping body and icon-box to overflow the card container */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-detail-card:hover {
  transform: translateY(-8px);
}

.service-detail-card__img-box {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.service-detail-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-detail-card:hover .service-detail-card__img {
  transform: scale(1.08);
}

.service-detail-card__body {
  margin: -60px 20px 0 20px; /* Pull card body up over image and inset from sides */
  padding: 50px 24px 24px 24px; /* Reduced bottom padding to 24px */
  background: #111111;
  border-radius: 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

/* Alternating Background Colors for Card Body */
.service-detail-card:nth-child(odd) .service-detail-card__body {
  background: #111111;
}

.service-detail-card:nth-child(even) .service-detail-card__body {
  background: #DE2027;
}

/* Overlapping Icon Box style */
.service-detail-card__icon-box {
  position: absolute;
  top: -38px; /* Shift up by half of its 76px height */
  left: 0; /* Align perfectly with the left border of the body block */
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.service-detail-card__icon-box svg {
  width: 32px;
  height: 32px;
  transition: stroke 0.3s ease;
}

.service-detail-card:hover .service-detail-card__icon-box {
  transform: translateY(-4px);
}

/* Alternating Icon Box colors */
.service-detail-card:nth-child(odd) .service-detail-card__icon-box {
  background: #DE2027; /* Red background */
}

.service-detail-card:nth-child(odd) .service-detail-card__icon-box svg {
  stroke: #111111; /* Dark icon */
}

.service-detail-card:nth-child(even) .service-detail-card__icon-box {
  background: #111111; /* Dark background */
}

.service-detail-card:nth-child(even) .service-detail-card__icon-box svg {
  stroke: #DE2027; /* Red icon */
}

/* Card Typography */
.service-detail-card__title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
  font-family: 'Barlow', sans-serif;
}

.service-detail-card__text {
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 0; /* Removed the 26px bottom margin */
  flex: 1;
}

.service-detail-card:nth-child(odd) .service-detail-card__text {
  color: #cccccc;
}

.service-detail-card:nth-child(even) .service-detail-card__text {
  color: rgba(255, 255, 255, 0.9);
}



/* --- 5.1 Interactive project-to-service configurator --- */
.project-configurator-section {
  background-color: #111111;
  background-image: url('../img/service/configurator-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 80px 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Dark overlay so text/controls stay readable over the photo */
.project-configurator-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.82) 50%, rgba(17, 17, 17, 0.92) 100%);
  z-index: 1;
}

.configurator-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.configurator-container .section-badge {
  display: block;
  text-align: center;
}

.configurator-container .section-badge::before {
  display: none;
}

.configurator-box {
  margin-top: 40px;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.configurator-options {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 40px;
  align-items: center;
  gap: 4px;
  margin-bottom: 40px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.config-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  padding: 12px 28px;
  font-family: 'Barlow', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.config-btn:hover {
  color: #ffffff;
}

.config-btn.active {
  background: #DE2027;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(222, 32, 39, 0.35);
}

.configurator-results {
  position: relative;
}

.config-result-panel {
  display: none;
  animation: config-fade-in 0.4s ease;
}

.config-result-panel.active {
  display: block;
}

@keyframes config-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.result-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #DE2027;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-col li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.result-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DE2027;
}

/* --- Services page responsiveness --- */
@media (max-width: 991px) {
  .inner-services-section {
    padding: 30px 0 50px 0;
  }

  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-detail-card__img-box {
    height: 200px;
  }

  .service-detail-card__body {
    margin: -45px 15px 0 15px;
    padding: 40px 20px 24px 20px;
  }

  .service-detail-card__icon-box {
    width: 64px;
    height: 64px;
    top: -32px;
  }

  .service-detail-card__icon-box svg {
    width: 26px;
    height: 26px;
  }

  .project-configurator-section {
    padding: 50px 0;
    background-attachment: scroll;
  }

  .configurator-box {
    padding: 28px 20px;
  }

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

@media (max-width: 575px) {
  .result-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card__img-box {
    height: 220px;
  }

  .service-detail-card__body {
    margin: -40px 10px 0 10px;
    padding: 38px 16px 22px 16px;
  }

  .service-detail-card__icon-box {
    width: 58px;
    height: 58px;
    top: -29px;
  }

  .service-detail-card__icon-box svg {
    width: 24px;
    height: 24px;
  }

  .configurator-options {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
    padding: 6px;
    gap: 6px;
  }

  .config-btn {
    width: 100%;
    border-radius: 8px;
    text-align: center;
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* =============================================================
   6. ABOUT US PAGE
   ============================================================= */
.inner-about-section {
  background: linear-gradient(to right, #ffffff 70%, #DE2027 70%);
  padding: 90px 0;
  width: 100%;
}

.inner-about-section .about-intro-text .section-badge {
  color: #DE2027;
}

.inner-about-section .about-intro-text .inner-section-title {
  color: #111111;
  margin-bottom: 24px;
}

.inner-about-section .about-intro-text .paragraph-normal {
  color: #333333;
  line-height: 1.8;
}

.about-vm-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-vm-simple__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-vm-simple__title {
  font-family: 'Barlow', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #DE2027;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-vm-simple__icon {
  font-size: 13px;
  color: #DE2027;
}

.about-vm-simple__text {
  font-size: 14.5px;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

.inner-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 6.1 Who we are --- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 0;
}

.image-border-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.about-fit-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* --- 6.2 Vision & Mission (Rendered Inline) --- */

/* --- 6.3 Core values --- */
.core-values-section {
  background: #f4f6f9;
  padding: 70px 0;
  width: 100%;
  border-top: 1px solid #eef2f5;
}

.core-values-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px auto;
  padding: 0 24px;
}

.core-values-header .inner-section-title,
.core-values-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.values-interactive-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.value-item__inner {
  position: relative;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 34px 26px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-item:hover .value-item__inner {
  transform: translateY(-8px);
  border-color: rgba(222, 32, 39, 0.15);
  box-shadow: 0 20px 40px rgba(222, 32, 39, 0.08);
}

.value-item__badge {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 30px;
  font-weight: 800;
  color: #e2e2e2;
  line-height: 1;
  transition: color 0.3s ease;
}

.value-item:hover .value-item__badge {
  color: rgba(222, 32, 39, 0.15);
}

.value-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.value-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

.value-item:hover .value-item__icon {
  background: #DE2027;
}

.value-item__title {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.value-item__desc {
  font-size: 13.5px;
  color: #444444;
  line-height: 1.6;
}

/* --- About page responsiveness --- */
@media (max-width: 1199px) {
  .about-intro-grid {
    gap: 50px;
  }

  .about-fit-image {
    height: 400px;
  }

  .values-interactive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .inner-about-section {
    background: #ffffff; /* solid white for stacked content */
    padding: 60px 0;
  }

  .about-vm-section {
    padding: 50px 0;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 0;
  }

  .about-intro-image {
    order: -1;
  }

  .about-fit-image {
    height: 320px;
  }



  .core-values-section {
    padding: 50px 0;
  }
}

@media (max-width: 575px) {
  .values-interactive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .value-item__inner {
    padding: 20px 12px !important;
  }
}

/* =============================================================
   7. OUR TEAM PAGE STYLES
   ============================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: #DE2027;
  box-shadow: 0 15px 35px rgba(222, 32, 39, 0.08);
}

.team-card__img-box {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f7f7f7;
  position: relative;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__img {
  transform: scale(1.05);
}

.team-card__body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.team-card__role {
  display: inline-block;
  color: #DE2027;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.team-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

/* =============================================================
   8. WORK EXPERIENCE STYLES
   ============================================================= */
.experience-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: #eeeeee;
}

.experience-item {
  position: relative;
  margin-bottom: 50px;
}

.experience-item:last-child {
  margin-bottom: 0;
}

.experience-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #DE2027;
  z-index: 2;
  transition: background 0.3s ease;
}

.experience-item:hover::before {
  background: #DE2027;
}

.experience-item__meta {
  margin-bottom: 12px;
}

.experience-item__year {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #DE2027;
  line-height: 1.1;
}

.experience-item__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777777;
  margin-top: 4px;
}

.experience-item__content {
  background: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  padding: 24px 28px;
  transition: all 0.3s ease;
}

.experience-item:hover .experience-item__content {
  background: #ffffff;
  border-color: rgba(222, 32, 39, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.experience-item__title {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.experience-item__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #555555;
  margin: 0;
}

/* =============================================================
   9. RESPONSIVE FOR TEAM & EXPERIENCE
   ============================================================= */
@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 575px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-card__img-box {
    height: 320px;
  }
  
  .experience-timeline {
    padding-left: 20px;
  }
  
  .experience-timeline::before {
    left: 4px;
  }
  
  .experience-item::before {
    left: -20px;
    top: 10px;
    width: 10px;
    height: 10px;
  }
  
  .experience-item__year {
    font-size: 24px;
  }
}

/* =============================================================
   10. DETAILED ID/PROFILE CARDS FOR TEAM
   ============================================================= */
.id-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.profile-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #888888;
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(222, 32, 39, 0.1);
  border-color: rgba(222, 32, 39, 0.2);
}

.profile-card__body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.profile-card__top {
  display: flex;
  align-items: stretch; /* equal height for columns */
  margin-bottom: 24px;
  gap: 24px;
}

.profile-card__photo-wrapper {
  flex: 0 0 140px; /* fixed width for left side image */
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid #f0f0f0;
  background: #fafafa;
}

.profile-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card__meta-right {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertical center alignment of details and QR */
  gap: 20px;
}

.profile-card__name-role {
  flex: 1;
}

.profile-card__name {
  font-size: 21px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.2;
}

.profile-card__role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #DE2027;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.profile-card__qr-wrapper {
  width: 85px;
  height: 85px;
  padding: 5px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  border-radius: 6px;
  flex: 0 0 85px;
}

.profile-card__qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-card__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  border-top: 1.5px dashed #777777;
  padding-top: 24px;
}

.profile-detail-item {
  display: flex;
  flex-direction: column;
}

.profile-detail-item--full {
  grid-column: span 2;
}

.detail-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #888888;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 13.5px;
  color: #222222;
  font-weight: 600;
}

.detail-value.font-mono {
  font-family: 'Courier New', Courier, monospace;
}

.profile-card__footer {
  background: #f7f9fc;
  border-top: 1px solid #eef2f5;
  padding: 12px 20px;
  text-align: center;
}

.profile-card__footer span {
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  letter-spacing: 1px;
}

@media (max-width: 1199px) {
  .id-cards-grid {
    padding: 0 60px;
    gap: 25px;
  }
  .profile-card__name {
    font-size: 16px;
  }
  .profile-card__role {
    font-size: 10.5px;
  }
  .detail-value {
    font-size: 12.5px;
  }
  .detail-label {
    font-size: 10px;
  }
  .profile-card__photo-wrapper {
    flex: 0 0 120px;
    height: 120px;
  }
  .profile-card__qr-wrapper {
    width: 75px;
    height: 75px;
    flex: 0 0 75px;
  }
  .profile-card__top {
    gap: 16px;
  }
}

@media (max-width: 991px) {
  .id-cards-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .id-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .profile-card__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .profile-card__photo-wrapper {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
  }

  .profile-card__meta-right {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .profile-card__qr-wrapper {
    flex: 0 0 85px;
  }
}

/* =============================================================
   8. YEAR TABS FOR WORK EXPERIENCE
   ============================================================= */
.year-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  width: 100%;
}

.year-tabs-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: nowrap;
}

.year-tab-btn {
  background: #f7f7f7;
  border: 1px solid #eeeeee;
  color: #333333;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.year-tab-btn:hover {
  background: #ffffff;
  border-color: #DE2027;
  color: #DE2027;
  transform: translateY(-2px);
}

.year-tab-btn.active {
  background: #DE2027;
  border-color: #DE2027;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(222, 32, 39, 0.15);
}

.year-nav-btn {
  background: #111111;
  border: 1px solid #111111;
  color: #ffffff;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 0;
}

.year-nav-btn:hover:not(:disabled) {
  background: #DE2027;
  border-color: #DE2027;
  transform: translateY(-2px);
}

.year-nav-btn:disabled {
  background: #cccccc;
  border-color: #cccccc;
  color: #888888;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

@media (max-width: 575px) {
  .year-tabs-wrapper {
    gap: 8px;
  }
  .year-tabs-container {
    gap: 8px;
  }
  .year-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .year-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

/* =============================================================
   11. TEAM PAGE RESPONSIVE SPACING
   ============================================================= */
.team-section-container {
  background: #ffffff;
  padding: 80px 0;
}

.team-intro-container {
  margin-bottom: 60px;
}

#team-pagination-footer {
  margin-top: 40px;
}

/* Enforce global section spacing constraints for all inner pages:
   - 30px top and bottom for Desktop/Laptop
   - 20px top and bottom for Tablet (max-width: 991px)
   - 10px top and bottom for Mobile (max-width: 767px)
*/
.inner-about-section,
.core-values-section,
.inner-projects-section,
.contact-form-section,
.contact-map-section,
.inner-services-section,
.project-configurator-section,
.team-section-container {
  padding: 30px 0 !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  .inner-about-section,
  .core-values-section,
  .inner-projects-section,
  .contact-form-section,
  .contact-map-section,
  .inner-services-section,
  .project-configurator-section,
  .team-section-container {
    padding: 20px 0 !important;
  }

  .team-intro-container {
    margin-bottom: 30px !important;
  }
  #team-pagination-footer {
    margin-top: 20px !important;
  }
  .id-cards-grid {
    gap: 20px !important;
  }
  .profile-card__body {
    padding: 20px !important;
  }
  .profile-card__top {
    margin-bottom: 16px !important;
    gap: 16px !important;
  }
  .profile-card__details {
    padding-top: 16px !important;
    gap: 12px 16px !important;
  }
}

@media (max-width: 767px) {
  .inner-about-section,
  .core-values-section,
  .inner-projects-section,
  .contact-form-section,
  .contact-map-section,
  .inner-services-section,
  .project-configurator-section,
  .team-section-container {
    padding: 10px 0 !important;
  }
}