/* ============================================
   Office pages (Pakistan / Dubai) — structured sections
   ============================================ */

.office-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.office-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.office-hero-overlay {
  position: absolute;
  inset: 0;
}

.office-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: 40px 20px;
}

.office-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.office-hero-content .office-tagline {
  font-size: 18px;
  opacity: 0.95;
  max-width: 500px;
}

.office-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
}

.office-hero .breadcrumb a {
  color: #2BA9E0;
  text-decoration: none;
  transition: var(--transition);
}

.office-hero .breadcrumb a:hover {
  color: var(--color-white);
}

.office-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* Intro block — full width above layout */
.office-intro-block {
  max-width: 820px;
  margin-bottom: 48px;
}

.office-intro-block .section-title {
  margin-bottom: 16px;
}

.office-intro-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(6, 27, 54, 0.85);
  margin: 0;
}

/* Services at this branch */
.office-services-block {
  margin-top: 36px;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius-card);
  border-left: 4px solid #004D8E;
  box-shadow: 0 2px 12px rgba(6, 27, 54, 0.08);
}

.office-services-title {
  font-size: 18px;
  font-weight: 700;
  color: #061B36;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-services-title i {
  color: #004D8E;
}

.office-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.office-services-list li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(6, 27, 54, 0.8);
  margin-bottom: 12px;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.office-services-list li i {
  color: #2BA9E0;
  margin-top: 4px;
  flex-shrink: 0;
}

.office-services-list li:last-child {
  margin-bottom: 0;
}

/* Top info section — brand colors */
.office-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.office-content-wrap {
  background: rgba(43, 169, 224, 0.08);
}

.office-place-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.office-place-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.office-place-card .place-caption {
  padding: 20px 24px;
  background: #fff;
  font-size: 15px;
  color: rgba(6, 27, 54, 0.75);
  border-top: 4px solid #004D8E;
}

.office-place-card .place-caption strong {
  color: #061B36;
}

.office-details {
  position: sticky;
  top: 100px;
}

.office-details .section-label {
  display: block;
  margin-bottom: 8px;
}

.office-details .section-title {
  margin-bottom: 24px;
}

/* Contact detail cards — brand colors */
.office-details .info-card {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius-card);
  border-left: 4px solid #004D8E;
  box-shadow: 0 2px 12px rgba(6, 27, 54, 0.08);
}

.office-details .info-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #061B36;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.office-details .info-card p {
  font-size: 15px;
  color: rgba(6, 27, 54, 0.8);
  margin: 0;
  line-height: 1.5;
}

.office-details .info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #004D8E;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Map section */
.office-map-section {
  margin-top: 50px;
  padding: 50px 0;
  background: rgba(43, 169, 224, 0.14);
  border-top: 1px solid rgba(43, 169, 224, 0.25);
}

.office-map-section .section-title {
  margin-bottom: 20px;
}

.office-map-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.office-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* BOOK APPOINTMENT button */
.office-details .btn-primary,
.office-booking-btn {
  background: #004D8E;
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.office-details .btn-primary:hover,
.office-booking-btn:hover {
  background: #2BA9E0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 992px) {
  .office-layout {
    grid-template-columns: 1fr;
  }

  .office-details {
    position: static;
  }

  .office-hero-content h1 {
    font-size: 32px;
  }

  .office-hero {
    height: 500px;
  }
}

@media (max-width: 576px) {
  .office-hero-content h1 {
    font-size: 26px;
  }

  .office-hero-content .office-tagline {
    font-size: 15px;
  }

  .office-place-card img {
    height: 240px;
  }
}
