/* ========================================
   SHARED INNER PAGE STYLES
   pages.css — loaded by all inner pages
   ======================================== */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 60, 0.68);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.page-hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: rgba(255,255,255,0.85); }

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro-image {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}
.about-intro-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: 0 12px 48px rgba(26,46,110,0.18);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232,101,26,0.35);
}
.about-badge-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
  line-height: 1.4;
}
.about-para {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
}
.about-feature i { color: var(--orange); font-size: 1rem; }

/* Mission & Vision */
.mv-section { background: var(--gray); }
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid #e8ecf5;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}
.mv-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 22px;
}
.mv-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.mv-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ===== SERVICES PAGE ===== */
/* Sticky tab bar */
.svc-tabs-bar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.svc-tabs {
  display: flex;
  gap: 0;
}
.svc-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  white-space: nowrap;
}
.svc-tab:hover { color: #fff; background: rgba(255,255,255,0.06); }
.svc-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.svc-tab i { font-size: 0.9rem; }

/* Alternating section backgrounds */
.svc-section { background: var(--white); }
.svc-alt     { background: var(--gray); }

/* Service detail rows */
.svc-detail {
  display: grid;
  grid-template-columns: 64px 1fr 420px;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid #e8ecf5;
}
.svc-detail:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.svc-detail-reverse {
  grid-template-columns: 64px 420px 1fr;
}

.svc-detail-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.svc-detail-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.svc-detail-body p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
}
.svc-list li i { color: var(--orange); font-size: 0.95rem; flex-shrink: 0; }

.svc-detail-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,46,110,0.12);
  aspect-ratio: 4/3;
}
.svc-detail-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.svc-detail:hover .svc-detail-img img { transform: scale(1.04); }

/* ===== CONTACT PAGE ===== */
.contact-cards-bar {
  background: var(--gray);
  padding: 50px 0;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #e8ecf5;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}
.contact-card-icon {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 16px;
}
.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-card p { font-size: 0.92rem; color: var(--text); margin-bottom: 4px; }
.contact-card p a { color: var(--navy); font-weight: 600; }
.contact-card p a:hover { color: var(--orange); }
.contact-card span { font-size: 0.82rem; color: var(--muted); }

/* Contact main two-column layout */
.contact-main { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}

/* Left: info */
.contact-info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(232,101,26,0.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-info-block h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info-block p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}
.contact-info-block p a { color: var(--navy); font-weight: 500; }
.contact-info-block p a:hover { color: var(--orange); }

.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gray);
  border: 1px solid #dde1f0;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.contact-socials a:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-3px);
}

/* Right: map */
.contact-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 10px 40px rgba(26,46,110,0.14);
  border: 1px solid #e8ecf5;
}
.contact-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

/* ===== ANCHOR SCROLL OFFSET ===== */
/* Offset for sticky navbar (~130px) on dedicated service pages */
.svc-detail[id] {
  scroll-margin-top: 180px;
}
/* Extra offset for services.html which also has the sticky tabs bar (~50px) */
.svc-tabs-bar ~ .svc-section .svc-detail[id],
.svc-tabs-bar ~ .svc-section[id] {
  scroll-margin-top: 230px;
}

/* ===== OTHER SERVICES BAR ===== */
.other-svc-bar {
  background: var(--gray);
  padding: 28px 0;
  border-top: 1px solid #e0e4f0;
}
.other-svc-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.other-svc-bar span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}
.other-svc-bar .btn-outline-dark {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ===== INQUIRY FORM ===== */
.inquiry-section {
  background: #f7f8fc;
}
.inquiry-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 56px 60px;
  box-shadow: 0 8px 40px rgba(26,46,110,0.10);
  border: 1px solid #e8ecf5;
}
.inquiry-wrapper .section-header {
  margin-bottom: 40px;
}
.inquiry-wrapper .section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.inq-row {
  margin-bottom: 18px;
}
.inq-field input,
.inq-field select,
.inq-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d5daea;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #2d3748;
  background: #fafbff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.inq-field input::placeholder,
.inq-field textarea::placeholder {
  color: #a0aabf;
}
.inq-field select {
  color: #a0aabf;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.inq-field select.selected {
  color: #2d3748;
}
.inq-field input:focus,
.inq-field select:focus,
.inq-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,46,110,0.08);
  background: #fff;
}
.inq-field textarea {
  resize: vertical;
  min-height: 130px;
}
.inq-submit {
  text-align: center;
  margin-top: 10px;
}
.inq-btn {
  padding: 14px 48px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ===== THANK YOU PAGE ===== */
.thankyou-section {
  min-height: calc(100vh - 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #f7f8fc;
}
.thankyou-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.thankyou-icon {
  font-size: 5rem;
  color: #1a8a4a;
  margin-bottom: 28px;
  line-height: 1;
}
.thankyou-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.thankyou-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.thankyou-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-intro  { grid-template-columns: 1fr; gap: 48px; }
  .about-intro-image { max-width: 500px; margin: 0 auto; }
  .mv-grid      { grid-template-columns: 1fr; gap: 20px; }
  .svc-detail,
  .svc-detail-reverse { grid-template-columns: 64px 1fr; }
  .svc-detail-img { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map-wrap { height: 360px; }
}

@media (max-width: 768px) {
  .page-hero { height: 260px; }
  .contact-cards { grid-template-columns: 1fr; }
  .svc-tabs { overflow-x: auto; }
  .svc-tab  { padding: 14px 20px; font-size: 0.82rem; }
  .svc-detail { grid-template-columns: 1fr; gap: 20px; }
  .svc-detail-icon { display: none; }
  .why-grid[style] { grid-template-columns: repeat(2,1fr) !important; }
  .about-badge { bottom: -12px; right: 12px; }
}
