
/* ==========================================
   GALAXY DIGITAL PARTNERS
   INNER PAGES
========================================== */

.page-hero {
  padding: 95px 0 75px;
  color: white;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(0,131,238,.25), transparent 40%),
    linear-gradient(120deg, #06152d, #09264c, #061a36);
}

.page-hero h1 {
  max-width: 850px;
  margin: 18px 0;
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero h1 span {
  color: var(--yellow);
}

.page-hero p {
  max-width: 700px;
  color: #c3d2e5;
  font-size: 15px;
}

.breadcrumb {
  margin-bottom: 20px;
  color: #8edaff;
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

.page-content {
  padding: 75px 0;
}

.page-heading {
  margin-bottom: 35px;
}

.page-heading h2 {
  margin: 12px 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
}

.page-heading p {
  max-width: 700px;
  color: var(--muted);
  font-size: 14px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-card {
  position: relative;
  padding: 27px;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  background: white;
  transition: .25s ease;
}

.page-card:hover {
  transform: translateY(-6px);
  border-color: #b7ddfa;
  box-shadow: 0 18px 40px rgba(14,49,87,.09);
}

.page-card .service-icon {
  margin-bottom: 20px;
}

.page-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 19px;
}

.page-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.page-card .card-link {
  display: inline-block;
  margin-top: 22px;
  color: #087bdc;
  font-size: 13px;
  font-weight: 800;
}

.page-card .card-link:hover {
  color: #0b2850;
}


/* ==========================================
   DYNAMIC SERVICES PAGE
========================================== */

.services-empty,
.services-status {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 40px 20px;
}

.services-empty h3 {
  margin-bottom: 12px;
}

.services-empty p {
  margin: 0;
}

.services-empty-contact {
  text-align: center;
  margin-top: 45px;
  padding-bottom: 25px;
}

.services-empty-contact p {
  margin-bottom: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-grid .service-card {
  width: 100%;
  min-width: 0;
  height: 100%;
}


/* ==========================================
   SERVICE DETAILS LAYOUT
========================================== */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 45px;
  align-items: start;
}

.detail-main {
  min-width: 0;
}

.service-detail-title {
  margin: 15px 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: #071a35;
}

.service-detail-intro {
  margin: 0 0 35px;
  font-size: 18px;
  line-height: 1.8;
  color: #64748b;
}

.detail-section {
  margin-top: 35px;
}

.detail-section h2 {
  margin-bottom: 15px;
  color: #071a35;
  font-size: 23px;
}

.detail-section p,
.detail-section li {
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

.detail-list {
  padding-left: 22px;
}

.detail-list li {
  margin-bottom: 10px;
}

.detail-sidebar {
  padding: 30px;
  border-radius: 16px;
  background: #071a35;
  color: white;
  position: sticky;
  top: 110px;
}

.detail-sidebar h3 {
  margin: 0 0 15px;
  font-size: 22px;
  color: white;
}

.detail-sidebar p {
  margin-bottom: 25px;
  color: #cbd5e1;
  line-height: 1.7;
}

.detail-sidebar .btn-yellow {
  display: inline-block;
  text-decoration: none;
}


/* ==========================================
   INFORMATION BOXES
========================================== */

.info-box {
  padding: 30px;
  margin-bottom: 20px;
  border: 1px solid #e5ebf3;
  border-radius: 15px;
  background: #fff;
}

.info-box h2,
.info-box h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.info-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}


/* ==========================================
   CONTACT SECTIONS
========================================== */

.page-contact {
  padding: 35px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(115deg, #071a35, #0c315e);
}

.page-contact h2 {
  margin-bottom: 12px;
}

.page-contact p {
  color: #bfd0e3;
  margin-bottom: 20px;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.contact-detail {
  padding: 24px;
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  background: white;
}

.contact-detail h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-detail p {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.page-footer {
  margin-top: 50px;
}


/* ==========================================
   SERVICE GALLERY
========================================== */

.service-gallery {
  margin-top: 65px;
  padding-top: 35px;
  border-top: 1px solid #e5e7eb;
}

.service-gallery h2 {
  margin-bottom: 25px;
  color: #071a35;
  font-size: 28px;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  background: #f3f5f8;
  border: 1px solid #e5e7eb;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item img:focus-visible {
  outline: 3px solid #eabf50;
  outline-offset: -3px;
}

.gallery-caption {
  padding: 14px 16px;
}

.gallery-caption h3 {
  margin: 0 0 7px;
  color: #071a35;
  font-size: 16px;
}

.gallery-caption p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}


/* ==========================================
   IMAGE LIGHTBOX
========================================== */

.service-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  max-height: 90vh;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-caption {
  margin-top: 15px;
  color: white;
  text-align: center;
  font-size: 15px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  padding: 12px;
  z-index: 2;
}

.lightbox-close {
  top: 15px;
  right: 25px;
  font-size: 40px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
}

.lightbox-prev {
  left: 15px;
}

.lightbox-next {
  right: 15px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #eabf50;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid #eabf50;
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}


/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 900px) {

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-sidebar {
    position: static;
  }

  .service-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 760px) {

  .page-hero {
    padding: 70px 0 55px;
  }

  .page-content {
    padding: 55px 0;
  }

  .page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 600px) {

  .service-detail-title {
    font-size: 32px;
  }

  .service-detail-intro {
    font-size: 16px;
  }

  .detail-section h2 {
    font-size: 21px;
  }

  .detail-sidebar {
    padding: 23px;
  }

  .service-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }

  .service-lightbox {
    padding: 12px;
  }

  .lightbox-content {
    max-width: 100%;
  }

  .lightbox-image {
    max-height: 72vh;
  }

  .lightbox-prev {
    left: 2px;
  }

  .lightbox-next {
    right: 2px;
  }

  .page-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .page-card {
    padding: 22px;
  }

  .page-contact {
    padding: 27px 22px;
  }

}
