﻿/* ============================================================
   JaaS Associates — Services Page Styles
   ============================================================ */

/* Service Detail Hero */
.service-detail-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.service-detail-img img { width: 100%; height: 400px; object-fit: cover; }

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-list-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-list-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-list-icon {
  width: 60px; height: 60px;
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 124, 222, 0.35);
}
.service-list-item h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.service-list-item p { font-size: 0.88rem; flex: 1; }
.service-features { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-mid);
}
.service-features li::before { content: '✓'; color: var(--brand-teal); font-weight: 700; }

/* Process Steps */
.process-section { background: var(--off-white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2.5px;
  background: var(--gradient-brand-h);
  z-index: 0;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}
.process-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--brand-teal); }
.step-number {
  width: 56px; height: 56px;
  background: var(--gradient-brand);
  color: #07172C;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid #07172C;
  box-shadow: 0 4px 15px rgba(0, 124, 222, 0.35);
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.83rem; }

@media (max-width: 768px) {
  .service-detail-intro { grid-template-columns: 1fr; }
  .services-list-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}

/* ============================================================
   Projects Page Styles
   ============================================================ */
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.project-full-card,
.project-full-card.project-card {
  height: auto !important;
  min-height: auto;
  overflow: visible !important;
  cursor: default;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}
.project-full-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--gold); }
.project-full-img { height: 280px; overflow: hidden; flex-shrink: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.project-full-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-full-card:hover .project-full-img img { transform: scale(1.06); }
.project-full-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.project-specs {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}
.project-spec { text-align: center; }
.project-spec-value { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.project-spec-label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

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

/* ============================================================
   About Page Styles
   ============================================================ */
.about-story {
  background: var(--white);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-story-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-story-img img { width: 100%; height: 480px; object-fit: cover; }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.timeline-dot {
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
}
.timeline-dot::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 1.5rem);
  background: linear-gradient(to bottom, var(--brand-blue), transparent);
}
.timeline-item:last-child .timeline-dot::after { display: none; }
.timeline-year { font-size: 0.75rem; font-weight: 700; color: var(--accent-text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.timeline-text { font-size: 0.9rem; }

.credentials-section { background: var(--off-white); }
.credentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.credential-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.credential-card:hover { border-color: var(--brand-blue); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.credential-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.credential-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.credential-card p { font-size: 0.85rem; }
.credential-card-num { font-size: 0.78rem; color: var(--accent-text-light); font-weight: 700; margin-top: 0.5rem; font-family: monospace; letter-spacing: 0.02em; }

@media (max-width: 768px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Awards Page Styles
   ============================================================ */
.awards-hero-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  color: var(--white);
  margin-bottom: 3rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.award-magazine-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.award-magazine-img img { width: 100%; }
.awards-hero-content .section-label { color: var(--gold); }
.awards-hero-content h2 { color: var(--white); margin-bottom: 1rem; font-size: 1.8rem; }
.awards-hero-content p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }

.awards-cert-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  margin: 0 auto;
}
.awards-cert-img img { width: 100%; }

@media (max-width: 768px) {
  .awards-hero-card { grid-template-columns: 1fr; }
}

/* ============================================================
   Gallery Page Styles
   ============================================================ */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  group: 1;
  aspect-ratio: 4 / 3;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 23, 44, 0.94) 0%, rgba(7, 23, 44, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  background: var(--gradient-solar);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 10px rgba(229, 58, 16, 0.4);
}

.gallery-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.gallery-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================================
   Contact Page Styles
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(1, 233, 189, 0.2);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-header h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.contact-info-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(0, 124, 222, 0.15);
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-detail-content p,
.contact-detail-content a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail-content a:hover {
  color: var(--brand-teal);
}

.contact-corporate-meta {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.corp-meta-item {
  font-size: 0.78rem;
}

.corp-meta-label {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.corp-meta-val {
  color: rgba(255, 255, 255, 0.85);
  font-family: monospace;
}

/* Contact Form Styling */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}

.contact-form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: all 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.15);
}

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

/* Quick FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.faq-card h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-card h4::before {
  content: 'Q.';
  color: var(--gold);
  font-weight: 800;
}

.faq-card p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Team Page Styles (Dedicated team.html)
   ============================================================ */

/* Team Highlights Stats Bar */
.team-stats-strip {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0;
}
.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.team-stat-item:last-child {
  border-right: none;
}
.team-stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-teal);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.team-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Director's Message / Executive Ethos */
.director-ethos {
  background: var(--white);
  padding: 5rem 0;
}
.director-ethos-card {
  background: linear-gradient(145deg, #07172C 0%, #0D2644 60%, #07172C 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(1, 233, 189, 0.2);
  position: relative;
  overflow: hidden;
}
.director-ethos-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(1, 233, 189, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.director-avatar-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(1, 233, 189, 0.4);
}
.director-avatar-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.director-ethos-content h3 {
  color: var(--white);
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}
.director-ethos-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin: 1.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--brand-teal);
}
.director-sign-off {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.director-name {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
}
.director-title {
  color: var(--brand-teal);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Engineering Edge Section */
.engineering-edge {
  background: var(--off-white);
  padding: 5rem 0;
}
.edge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.edge-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.edge-card:hover {
  border-color: var(--brand-teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.edge-card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-brand);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 124, 222, 0.3);
}
.edge-card h4 {
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.edge-card p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* Career Banner */
.career-callout {
  background: linear-gradient(135deg, #07172C 0%, #007CDE 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
  box-shadow: var(--shadow-xl);
}
.career-callout-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.career-callout-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  margin: 0;
  max-width: 650px;
}

@media (max-width: 1024px) {
  .director-ethos-card { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; }
  .director-avatar-wrap { max-width: 320px; margin: 0 auto; }
  .edge-grid { grid-template-columns: repeat(2, 1fr); }
  .team-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .team-stats-grid { grid-template-columns: 1fr; }
  .team-stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 1rem 0; }
  .team-stat-item:last-child { border-bottom: none; }
  .edge-grid { grid-template-columns: 1fr; }
  .career-callout { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   Executive Profile Page (Sunny George)
   ============================================================ */
.profile-section-wrap {
  padding: 4.5rem 0 6rem;
  background: var(--off-white);
}

.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.profile-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-portrait-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.profile-portrait-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 124, 222, 0.3);
}

.profile-portrait-frame {
  position: relative;
  height: 400px;
  background: linear-gradient(180deg, #07172C 0%, #0d284c 100%);
  overflow: hidden;
}

.profile-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.profile-portrait-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to top, rgba(7, 23, 44, 0.8), transparent);
}

.profile-card-header {
  padding: 1.75rem 1.5rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
}

.profile-card-header h2 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-family: var(--font-head);
}

.profile-card-header .profile-role {
  font-size: 0.88rem;
  color: var(--accent-text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.profile-badges .credential-tag {
  background: var(--badge-bg-light);
  border: 1px solid var(--badge-border-light);
  color: var(--accent-text-light);
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.profile-fact-list {
  padding: 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-fact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #e2e8f0;
}

.profile-fact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-fact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
}

.profile-fact-value {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
}

.profile-action-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.profile-action-box h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.profile-action-box p {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* Profile Main Content */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.profile-lead-box {
  background: linear-gradient(135deg, #07172C 0%, #0d284c 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  border-left: 5px solid var(--brand-blue);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.profile-lead-box::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  font-family: Georgia, serif;
}

.profile-lead-box p {
  color: #FFFFFF;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 500;
  margin: 0;
}

.profile-section-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.profile-section-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 124, 222, 0.25);
}

.profile-sec-header {
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
}

.profile-sec-header h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-sec-header h3 .sec-badge {
  font-size: 0.74rem;
  background: var(--badge-bg-light);
  border: 1px solid var(--badge-border-light);
  color: var(--accent-text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-sec-header p {
  color: var(--text-mid);
  font-size: 0.92rem;
  margin: 0;
}

.profile-body-text {
  font-size: 0.96rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.profile-highlight-box {
  background: rgba(0, 124, 222, 0.04);
  border: 1px solid rgba(0, 124, 222, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.profile-highlight-icon {
  font-size: 1.75rem;
  color: var(--accent-text-light);
  flex-shrink: 0;
  line-height: 1;
}

.profile-highlight-text h5 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.profile-highlight-text p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* Skills Cards - Single Column & Single Row Layout */
.skills-pillar-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.skill-pillar-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.skill-pillar-card:hover {
  background: var(--white);
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-icon-wrap {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #07172C 0%, #007CDE 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 124, 222, 0.25);
}

.pillar-content-wrap {
  flex: 1;
}

.skill-pillar-card h4 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
  font-weight: 700;
  line-height: 1.35;
}

.skill-pillar-card .pillar-core-text {
  font-size: 0.96rem;
  color: var(--navy);
  line-height: 1.7;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skill-pillar-card .pillar-detail {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 680px) {
  .skill-pillar-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}

/* Timeline Track Record */
.record-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid #e2e8f0;
  margin-top: 1.5rem;
}

.record-item {
  position: relative;
}

.record-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent-text-light);
  box-shadow: 0 0 0 3px rgba(0, 95, 176, 0.15);
}

.record-item h5 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.record-item .record-meta {
  font-size: 0.8rem;
  color: var(--accent-text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.record-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* Timeline Track Record */
.record-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid #e2e8f0;
  margin-top: 1.5rem;
}

.record-item {
  position: relative;
}

.record-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(0, 124, 222, 0.15);
}

.record-item h5 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.record-item .record-meta {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.record-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .profile-sidebar {
    position: static;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .skills-pillar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .profile-lead-box {
    padding: 1.75rem;
  }
  .profile-lead-box p {
    font-size: 1rem;
  }
  .profile-section-card {
    padding: 1.75rem 1.25rem;
  }
  .profile-portrait-frame {
    height: 350px;
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE SECTION GRIDS & LIGHTBOX
───────────────────────────────────────── */
.office-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 820px) {
  .office-visit-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.awards-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}
@media (max-width: 820px) {
  .awards-cert-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 992px) {
  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .milestones-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessible Lightbox Dialog */
.lb-dialog {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(3, 12, 24, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lb-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lb-caption {
  margin-top: 1rem;
  color: var(--white);
  text-align: center;
  max-width: 700px;
}
.lb-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: 0.25rem;
}
.lb-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}
.lb-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.2s ease;
}
.lb-btn:hover, .lb-btn:focus-visible {
  background: var(--brand-teal);
  color: var(--navy);
  outline: none;
}
.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  z-index: 10001;
}
.lb-prev {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
}
.lb-next {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
}
@media (max-width: 768px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-close { top: 0.75rem; right: 0.75rem; }
}

/* ============================================================
   Client Roster Page Styles
   ============================================================ */
.client-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.client-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-md);
}
.client-logo-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: #fbfbfb;
  border-radius: var(--radius);
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,0.03);
}
.client-logo-wrap img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}
.client-card-name {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.client-card-loc {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.client-card-tag {
  display: inline-block;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(14, 116, 144, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

/* ============================================================
   Project Category Registers & Tables
   ============================================================ */
.register-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.register-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.register-table th {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.register-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.register-table tr:last-child td {
  border-bottom: none;
}
.register-table tr:hover td {
  background: rgba(14, 116, 144, 0.03);
}
.capacity-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.capacity-badge.hybrid {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.capacity-badge.residential {
  background: #fefce8;
  border-color: #fef08a;
  color: #854d0e;
}
.capacity-badge.ongoing {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.category-nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.category-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.category-nav-btn:hover, .category-nav-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}



/* Project Table Thumbnails */
.project-table-thumb {
  width: 76px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #f1f5f9;
}
.project-table-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  z-index: 10;
  position: relative;
}