/* Gallery-specific CSS extracted from styles.css for gallery.html. */

.gallery-container {
  padding: 12px;
  margin: 0;
}

.gallery-light-box {
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-light-box .gallery-img {
  display: block;
  position: relative;
  max-width: 100%;
  padding: 0px;
}

.gallery-light-box .gallery-img:before {
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 0px;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.gallery-light-box .gallery-img:after {
  font-family: FontAwesome;
  content: "\f00e";
  position: absolute;
  right: 150%;
  margin-left: -21px;
  bottom: -64px;
  background: #ffffff;
  color: #05c7f2;
  text-align: center;
  width: 42px;
  height: 42px;
  line-height: 42px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  -webkit-transition: all 0.9s ease-out;
  -moz-transition: all 0.9s ease-out;
  -o-transition: all 0.9s ease-out;
  transition: all 0.9s ease-out;
}

.gallery-light-box .gallery-img img {
  width: 100%;
  max-width: 100%;
  display: block;
  opacity: 1;
  -webkit-transition: all 0.7s ease-out;
  -moz-transition: all 0.7s ease-out;
  -o-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}

.gallery-light-box:hover .gallery-img:before {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 1500px;
}

.gallery-light-box:hover .gallery-img:after {
  opacity: 1;
  top: 50%;
  left: 50%;
  margin-top: -24px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

.gallery-light-box:hover .gallery-img img {
  opacity: 0.4;
}

.gallery-carousel {
  clear: both;
}

.gallery-carousel [class^="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-left: -1px;
  margin-top: -1px;
  width: 100%;
}

.gallery-page-shell {
  background:
    radial-gradient(circle at top left, rgba(5, 199, 242, .09) 0%, rgba(5, 199, 242, 0) 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding-top: 84px;
  padding-bottom: 92px;
}

.gallery-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 42px;
  margin-bottom: 72px;
}

.gallery-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 199, 242, .10);
  color: #05c7f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-hero-copy h1 {
  margin: 0 0 18px;
  font-size: 58px;
  line-height: 1.05;
  color: #15365A;
  letter-spacing: -.02em;
}

.gallery-hero-copy p {
  max-width: 620px;
  color: #5f748a;
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 28px;
}

.gallery-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gallery-stat-card {
  min-width: 200px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(21, 54, 90, .08);
  box-shadow: 0 16px 38px rgba(21, 54, 90, .07);
}

.gallery-stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: #15365A;
  font-size: 18px;
}

.gallery-stat-card span {
  display: block;
  color: #5f748a;
  font-size: 14px;
  line-height: 1.55;
}

.gallery-hero-media {
  position: relative;
  padding: 0 0 72px 26px;
}

.gallery-hero-outline {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 38%;
  height: 33%;
  border: 1.5px solid rgba(5, 199, 242, .26);
  border-radius: 30px;
}

.gallery-hero-image {
  position: relative;
  z-index: 2;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 60px rgba(21, 54, 90, .14);
}

.gallery-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.gallery-hero-badge {
  position: absolute;
  right: -14px;
  bottom: 0;
  z-index: 3;
  max-width: 320px;
  padding: 22px 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, #15365A 0%, #1e4d7d 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(21, 54, 90, .22);
}

.gallery-hero-badge span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-hero-badge strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.gallery-heading-row {
  margin-bottom: 16px;
}

.gallery-heading-row h2 {
  color: #15365A;
}

.gallery-heading-row p {
  color: #5f748a;
}

.modern-gallery-grid {
  margin-left: -6px;
  margin-right: -6px;
}

.modern-gallery-grid .gallery-container {
  padding: 10px;
}

.gallery-light-box {
  border-radius: 24px;
}

.gallery-light-box .gallery-img {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(21, 54, 90, .08);
}

.gallery-light-box .gallery-img:before {
  background: linear-gradient(180deg, rgba(13, 31, 51, 0.04) 0%, rgba(13, 31, 51, 0.65) 100%);
  height: 100%;
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-light-box .gallery-img:after {
  content: "\f00e";
  font-family: FontAwesome;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  margin: 0;
  transform: translate(-50%, -50%) scale(.88);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  line-height: 58px;
  background: rgba(255, 255, 255, .96);
  color: #15365A;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
}

.gallery-light-box .gallery-img img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  opacity: 1;
  transition: transform .45s ease, filter .35s ease;
}

.gallery-card-lg .gallery-light-box .gallery-img img {
  height: 360px;
}

.gallery-light-box:hover .gallery-img:before {
  opacity: 1;
  height: 100%;
}

.gallery-light-box:hover .gallery-img:after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-light-box:hover .gallery-img img {
  opacity: 1;
  transform: scale(1.06);
  filter: brightness(.86);
}

.my-gallery-container img {
  height: auto;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .gallery-hero-copy h1 {
    font-size: 50px;
  }
}

@media (max-width: 991px) {
  .gallery-page-shell {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .gallery-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 58px;
  }

  .gallery-hero-media {
    max-width: 640px;
  }

  .gallery-card-lg .gallery-light-box .gallery-img img,
  .gallery-light-box .gallery-img img {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .gallery-page-shell {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .gallery-hero-copy h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .gallery-hero-copy p {
    font-size: 16px;
    line-height: 1.72;
  }

  .gallery-hero-media {
    padding: 0 0 54px 12px;
  }

  .gallery-hero-outline {
    bottom: 18px;
    width: 42%;
    height: 24%;
    border-radius: 22px;
  }

  .gallery-hero-image,
  .gallery-light-box,
  .gallery-light-box .gallery-img {
    border-radius: 20px;
  }

  .gallery-hero-badge {
    right: 0;
    max-width: 270px;
    padding: 18px 20px;
    border-radius: 18px;
  }

  .gallery-hero-badge strong {
    font-size: 17px;
  }

  .gallery-card-lg .gallery-light-box .gallery-img img,
  .gallery-light-box .gallery-img img {
    height: 240px;
  }

  .gallery-stat-card {
    width: 100%;
    min-width: 0;
  }
}

.glightbox-container .goverlay {
  background: rgba(23, 23, 23, 0.85) !important;
}

.glightbox-container .gcontainer {
  width: 100% !important;
  max-width: 96vw !important;
  max-height: 94vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}

.glightbox-container .gslide,
.glightbox-container .gslide-inner-content,
.glightbox-container .ginner-container,
.glightbox-container .gslide-media {
  width: auto !important;
  height: auto !important;
  max-width: 96vw !important;
  max-height: 94vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.glightbox-container .gslide-image img,
.glightbox-container .gslide-media img {
  width: auto !important;
  height: auto !important;
  max-width: 92vw !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.glightbox-container .gprev,
.glightbox-container .gnext,
.glightbox-container .gclose {
  opacity: 1 !important;
  visibility: visible !important;
}
