@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --navy: #082B4C;
  --navy-2: #0E426F;
  --navy-3: #123F62;
  --ink: #102235;
  --muted: #65788B;
  --paper: #F6F8FA;
  --white: #fff;
  --yellow: #FFB703;
  --yellow-2: #FFD166;
  --green: #1DA851;
  --line: rgba(8, 43, 76, .11);
  --shadow: 0 24px 70px rgba(8, 43, 76, .12);
  --radius: 24px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65
}
body, .container, section, .topbar {
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden
}

img {
  max-width: 100%;
  height: auto
}

a {
  text-decoration: none
}

.container {
  width: min(1180px, calc(100% - 32px))
}

.section-padding {
  padding: 96px 0
}

.text-accent {
  color: var(--yellow)
}

/* topbar / nav */
.topbar {
  background: #061F37;
  color: #dbe8f3;
  font-size: .83rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.topbar a {
  color: #fff
}

.topbar i {
  color: var(--yellow);
  margin-right: 5px
}

.topbar-right {
  display: flex;
  gap: 7px;
  color: var(--yellow-2);
  font-weight: 700
}

.topbar-right b {
  color: #7790a5
}

.site-navbar {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: .35s ease
}

.site-navbar.scrolled {
  box-shadow: 0 10px 34px rgba(8, 43, 76, .12);
  background: rgba(255, 255, 255, .98)
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy)
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--navy);
  color: var(--yellow);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(8, 43, 76, .2);
  position: relative;
  overflow: hidden
}

.brand-mark:before {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 183, 3, .28);
  border-radius: 50%;
  animation: spin 12s linear infinite
}

.brand-mark span {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  position: relative
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.brand-copy strong,
.footer-brand strong {
  font-family: Manrope, sans-serif;
  font-size: 1.12rem;
  letter-spacing: -.03em
}

.brand-copy em,
.footer-brand em {
  font-style: normal;
  color: #EFA800
}

.brand-copy small,
.footer-brand small {
  font-size: .63rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #73879a;
  margin-top: 4px
}

.nav-link {
  font-weight: 800;
  color: #28445D !important;
  padding: .95rem .78rem !important;
  position: relative
}

.nav-link:after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .55rem;
  height: 3px;
  border-radius: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s ease
}

.nav-link:hover:after,
.nav-link.active:after {
  transform: scaleX(1)
}

.btn {
  font-weight: 800;
  border-radius: 12px;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, .22), transparent 70%);
  transform: translateX(-130%);
  transition: .6s ease
}

.btn:hover:after {
  transform: translateX(130%)
}

.btn-primary {
  --bs-btn-bg: var(--yellow);
  --bs-btn-border-color: var(--yellow);
  --bs-btn-color: #132536;
  --bs-btn-hover-bg: #f4a900;
  --bs-btn-hover-border-color: #f4a900;
  --bs-btn-hover-color: #132536;
  box-shadow: 0 12px 28px rgba(255, 183, 3, .25)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 183, 3, .34)
}

.btn-arrow i {
  transition: .25s ease
}

.btn-arrow:hover i {
  transform: translate(4px, -3px)
}

.btn-quote {
  padding: .75rem 1.1rem
}

.nav-actions-mobile {
  display: flex;
  align-items: center;
  gap: 8px
}

.mini-whatsapp {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eaf9ef;
  color: var(--green);
  display: grid;
  place-items: center
}

.navbar-toggler {
  border: 0;
  padding: 8px;
  width: 42px;
  height: 42px;
  display: grid;
  gap: 4px;
  align-content: center
}

.navbar-toggler span {
  height: 2px;
  background: var(--navy);
  width: 22px;
  display: block;
  margin: auto;
  transition: .25s
}

.navbar-toggler:focus {
  box-shadow: none
}

/* hero */
.hero {
  position: relative;
  background: #071e33
}

.hero-swiper {
  height: min(790px, calc(100vh - 108px));
  min-height: 750px
}

.hero-slide {
  position: relative;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: transform 8s cubic-bezier(.2, .7, .2, 1)
}

.swiper-slide-active .hero-bg {
  transform: scale(1.1)
}

.hero-slide-painting .hero-bg {
  background: linear-gradient(135deg, #ffc107 14%, #212529bd 14%, #530c1385 91%, transparent, rgba(0, 0, 0, 0.479) 2%), url('../img/hero-painting.jpg');
  /* background-image: url('../img/hero-painting.jpg') */
}

.hero-slide-waterproofing .hero-bg {

  background: linear-gradient(135deg, #ffc107 14%, #212529bd 14%, #530c1385 91%, rgba(0, 0, 0, 0.479) 2%), url('../img/hero-waterproofing.jpg')
}

.hero-slide-ceiling .hero-bg {
  background: linear-gradient(135deg, #ffc107 14%, #212529bd 14%, #530c1385 91%, rgba(0, 0, 0, 0.479) 2%), url('../img/hero-ceiling.jpg')
}

.hero-shade {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(90deg, rgba(5, 28, 49, .94) 0%, rgba(5, 28, 49, .82) 35%, rgba(5, 28, 49, .36) 65%, rgba(5, 28, 49, .10) 100%) */
}

.hero-content-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3
}
.hero, .hero-content-wrap {
  overflow-y: hidden;
}
.hero-caption {
  width: min(610px, 100%);
  color: #fff;
  padding-bottom: 65px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 900;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  border: 1px solid rgba(255, 183, 3, .55);
  background: rgba(255, 183, 3, .08);
  padding: 8px 12px;
  border-radius: 999px
}

.hero-title {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: .99;
  margin: 19px 0 18px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .45)
}

.hero-title span {
  color: var(--yellow-2);
  display: inline
}

.hero-copy {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  max-width: 570px;
  color: #eef5fa;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .6);
  margin-bottom: 28px
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.hero-actions .btn {
  padding: .9rem 1.25rem
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: #d7e6f0;
  font-size: .84rem;
  font-weight: 700
}

.hero-trust i {
  color: var(--yellow);
  margin-right: 5px
}

hero-nav {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between
}

.hero-prev,
.hero-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(3, 24, 42, .45);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: .3s
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: scale(1.08)
}

.hero-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: .8rem
}

.hero-current {
  color: var(--yellow);
  font-size: 1rem
}

.hero-progress-line {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
  border-radius: 10px
}

.hero-progress-line span {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--yellow);
  transition: width .5s ease
}

.swiper-pagination {
  display: none
}

.hero-service-dock {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: min(1040px, calc(100% - 32px));
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 25px 70px rgba(8, 43, 76, .2);
  border: 1px solid rgba(8, 43, 76, .08);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden
}

.hero-service-dock a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 18px;
  color: var(--navy);
  border-right: 1px solid var(--line);
  transition: .3s ease
}

.hero-service-dock a:last-child {
  border-right: 0
}

.hero-service-dock a:hover {
  background: #fff8df;
  transform: translateY(-3px)
}

.hero-service-dock>a>i {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #edf4f9;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 1.1rem
}

.hero-service-dock a:nth-child(2)>i,
.hero-service-dock a:nth-child(3)>i {
  background: #fff4cc;
  color: #dc9400
}

.hero-service-dock .dock-whatsapp>i {
  background: #e8f9ee;
  color: var(--green);
  font-size: 1.35rem
}

.hero-service-dock b {
  display: block;
  font-size: .84rem
}

.hero-service-dock small {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  margin-top: 2px
}

/* shared sections */
.quick-stats {
  position: relative;
  z-index: 20;
  margin-top: 72px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: .35s ease
}

.stat-card:before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 183, 3, .12);
  right: -30px;
  top: -35px
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 75px rgba(8, 43, 76, .17)
}

.stat-icon {
  color: var(--yellow);
  font-size: 1.2rem
}

.stat-card strong {
  font-family: Manrope, sans-serif;
  font-size: 1.75rem;
  color: var(--navy);
  display: block;
  margin-top: 4px
}

.stat-card span {
  font-weight: 800;
  color: var(--navy);
  font-size: .88rem;
  display: block
}

.stat-card small {
  font-size: .72rem;
  color: var(--muted)
}

.section-kicker {
  color: var(--navy-2);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .74rem;
  text-transform: uppercase
}

.section-kicker i {
  color: var(--yellow);
  margin-right: 4px
}

.section-kicker.light {
  color: var(--yellow)
}

.section-title {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.05em;
  margin: 12px 0 18px
}

.section-title span {
  color: #eaa600
}

.section-title.light-title {
  color: #fff
}

.section-lead {
  font-size: 1.08rem;
  color: #324e66
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 46px
}

.section-heading-row>div {
  max-width: 780px
}

.section-heading-row p {
  color: var(--muted);
  margin: 0
}

.about-section {
  background: #fff
}

.about-collage {
  height: 550px;
  position: relative
}

.about-photo {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(8, 43, 76, .18);
  overflow: hidden
}

.about-photo-main {
  width: 62%;
  height: 75%;
  left: 0;
  top: 10%;
  background-image: url('../img/about-main.jpg')
}

.about-photo-top {
  width: 40%;
  height: 40%;
  right: 0;
  top: 0;
  background-image: url('../img/about-detail.jpg');
  border: 8px solid #fff
}

.about-photo-bottom {
  width: 42%;
  height: 38%;
  right: 4%;
  bottom: 0;
  background-image: url('../img/about-detail-2.jpg');
  border: 8px solid #fff
}

.about-location {
  position: absolute;
  left: 8%;
  bottom: 4%;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 15px 35px rgba(8, 43, 76, .16);
  border-radius: 15px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px
}

.about-location i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff3ca;
  color: #e5a000
}

.about-location b,
.about-location small {
  display: block
}

.about-location b {
  font-size: .82rem;
  color: var(--navy)
}

.about-location small {
  font-size: .68rem;
  color: var(--muted)
}

.about-dot-grid {
  position: absolute;
  right: -5%;
  top: 22%;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(var(--yellow) 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: 0
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0
}

.about-points>div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  background: #f8fafc
}

.about-points i {
  color: var(--yellow);
  font-size: 1.15rem
}

.about-points b,
.about-points small {
  display: block
}

.about-points b {
  font-size: .8rem;
  margin-top: 7px
}

.about-points small {
  font-size: .68rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 3px
}

.services-section {
  background: #f5f8fb;
  position: relative; /* Add this */
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(8, 43, 76, .08);
  transition: .4s ease;
  position: relative
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 75px rgba(8, 43, 76, .16)
}

.service-media {
  height: 290px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden
}

.service-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 28, 49, .5))
}

.service-media-painting {
  background-image: url('../img/service-painting.jpg')
}

.service-media-waterproofing {
  background-image: url('../img/service-waterproofing.jpg')
}

.service-media-ceiling {
  background-image: url('../img/service-ceiling.jpg')
}

.service-card:hover .service-media {
  transform: scale(1.02)
}

.service-index {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 900
}

.service-icon {
  position: absolute;
  z-index: 3;
  bottom: 15px;
  left: 15px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18)
}

.service-body {
  padding: 25px
}

.service-tag {
  font-size: .7rem;
  color: #bd8400;
  letter-spacing: .12em;
  font-weight: 900
}

.service-body h3 {
  font-family: Manrope, sans-serif;
  color: var(--navy);
  font-size: 1.55rem;
  margin: 8px 0
}

.service-body p {
  color: var(--muted);
  font-size: .92rem;
  min-height: 72px
}

.service-link {
  font-weight: 900;
  color: var(--navy);
  display: inline-flex;
  gap: 8px;
  align-items: center
}

.service-link i {
  color: #eaa600;
  transition: .25s
}

.service-link:hover i {
  transform: translate(4px, -3px)
}

/* CTA */
.image-cta {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden
}

.image-cta-bg {
  position: absolute;
  inset: -5%;
  background: url('../img/cta-painting.jpg') center/cover;
  transform: scale(1.03);
  background-attachment: fixed
}

.image-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 28, 49, .94), rgba(5, 28, 49, .72), rgba(5, 28, 49, .28))
}

.image-cta h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.05em;
  max-width: 760px;
  margin: 14px 0
}

.image-cta p {
  font-size: 1.05rem;
  color: #e3edf5
}

.cta-strip {
  padding: 36px 0;
  background: #fff
}

.cta-strip-inner {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: 24px;
  padding: 42px 46px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow)
}

.cta-strip-inner:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 183, 3, .18);
  border-radius: 50%;
  right: -100px;
  top: -120px
}

.cta-strip h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 8px 0
}

.cta-strip p {
  color: #bfd0df;
  margin: 0
}

/* why */
.why-section {
  background: #061f37;
  color: #fff;
  position: relative;
  overflow: hidden
}

.why-section:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: radial-gradient(rgba(255, 183, 3, .35) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, black, transparent)
}

.why-section .container {
  position: relative
}

.why-intro {
  color: #b8cddd
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.why-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 28px;
  min-height: 255px;
  position: relative;
  overflow: hidden;
  transition: .35s ease
}

.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 183, 3, .08);
  border-color: rgba(255, 183, 3, .5)
}

.why-card>span {
  position: absolute;
  top: 17px;
  right: 19px;
  color: rgba(255, 255, 255, .35);
  font-weight: 900
}

.why-card>i {
  color: var(--yellow);
  font-size: 1.7rem
}

.why-card h3 {
  font-family: Manrope, sans-serif;
  margin: 55px 0 8px;
  font-size: 1.25rem
}

.why-card p {
  color: #a9bfd1;
  font-size: .88rem;
  margin: 0
}

/* enquiry */
.enquiry-section {
  background: #fff
}

.enquiry-shell {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(8, 43, 76, .15);
  background: #fff
}

.enquiry-copy {
  background: linear-gradient(145deg, #082B4C, #0d426d);
  padding: 50px;
  color: #fff;
  position: relative;
  overflow: hidden
}

.enquiry-copy:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 183, 3, .18);
  border-radius: 50%;
  right: -120px;
  bottom: -120px
}

.enquiry-copy h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -.05em;
  margin: 14px 0
}

.enquiry-copy p {
  color: #c8d8e5;
  max-width: 450px
}

.enquiry-contact {
  display: grid;
  gap: 12px;
  margin-top: 30px
}

.enquiry-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  padding: 14px
}

.enquiry-contact i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 183, 3, .14);
  display: grid;
  place-items: center;
  color: var(--yellow)
}

.enquiry-contact small,
.enquiry-contact b {
  display: block
}

.enquiry-contact small {
  color: #9eb5c9;
  font-size: .68rem
}

.enquiry-contact b {
  font-size: .85rem
}

.enquiry-form-wrap {
  padding: 50px
}

.enquiry-form-wrap label {
  font-size: .76rem;
  font-weight: 900;
  color: var(--navy);
  display: block;
  margin-bottom: 7px
}

.form-control,
.form-select {
  border: 1px solid #d7e0e8;
  border-radius: 12px;
  padding: .85rem 1rem;
  box-shadow: none
}

.form-control:focus,
.form-select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 183, 3, .12)
}

.form-note {
  color: var(--muted)
}

/* faq/reviews */
.faq-section {
  background: #fff
}

.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 15px !important;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff
}

.faq-accordion .accordion-button {
  font-weight: 800;
  color: var(--navy);
  padding: 20px;
  background: #fff;
  box-shadow: none
}

.faq-accordion .accordion-button:focus {
  box-shadow: none
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #fff8df
}

.faq-accordion .accordion-button i {
  color: var(--yellow);
  margin-right: 12px
}

.faq-accordion .accordion-body {
  color: var(--muted);
  padding: 0 20px 20px 52px
}

.testimonials-section {
  background: #f5f8fb
}

.review-placeholder {
  background: #fff;
  border: 1px dashed #b7c6d3;
  border-radius: 24px;
  max-width: 760px;
  margin: auto;
  padding: 50px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(8, 43, 76, .07)
}

.review-icon {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  margin: auto;
  background: #fff4cc;
  color: #e5a000;
  display: grid;
  place-items: center;
  font-size: 1.4rem
}

.review-placeholder h3 {
  font-family: Manrope, sans-serif;
  color: var(--navy);
  margin: 18px 0 8px
}

.review-placeholder p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 22px
}

/* pages */
.page-header {
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff
}

.page-header-bg {
  position: absolute;
  inset: -5%;
  background: url('../img/page-header.jpg') center/cover;
  transform: scale(1.05)
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 28, 49, .95), rgba(5, 28, 49, .67), rgba(5, 28, 49, .25))
}

.page-header .container {
  position: relative;
  padding-top: 30px
}

.page-header h1 {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(2.7rem, 5.3vw, 5rem);
  letter-spacing: -.055em;
  line-height: 1;
  margin: 15px 0 10px;
  text-shadow: 0 8px 25px rgba(0, 0, 0, .35)
}

.page-header-text {
  max-width: 620px;
  color: #e4edf4;
  font-size: 1.05rem
}

.breadcrumb {
  margin: 22px 0 0
}

.breadcrumb-item a {
  color: var(--yellow-2)
}

.breadcrumb-item.active {
  color: #fff
}

.details-section {
  background: #f5f8fb
}

.detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  height: 100%;
  box-shadow: 0 15px 45px rgba(8, 43, 76, .08);
  position: relative;
  overflow: hidden
}

.detail-card:after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 183, 3, .12);
  right: -60px;
  top: -60px
}

.detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff4cc;
  color: #d89700;
  display: grid;
  place-items: center;
  font-size: 1.3rem
}

.detail-card h2 {
  font-family: Manrope, sans-serif;
  color: var(--navy);
  font-size: 1.7rem;
  margin: 14px 0
}

.detail-card p {
  color: var(--muted)
}

.contact-section {
  background: #fff
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px
}

.contact-info-card {
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(8, 43, 76, .06)
}

.contact-info-card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff4cc;
  color: #d99b00;
  display: grid;
  place-items: center;
  font-size: 1.2rem
}

.contact-info-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 900;
  color: var(--muted);
  margin-top: 15px
}

.contact-info-card a,
.contact-info-card strong {
  display: block;
  color: var(--navy);
  font-weight: 900;
  margin-top: 3px
}

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.map-heading {
  padding: 30px 30px 20px
}

.map-heading h2 {
  font-family: Manrope, sans-serif;
  color: var(--navy);
  font-size: 2rem;
  margin: 9px 0
}

.map-heading p {
  color: var(--muted);
  margin: 0
}

.map-card iframe {
  width: 100%;
  height: 330px;
  border: 0;
  display: block;
  filter: saturate(.8)
}

/* footer/floating */
.site-footer {
  background: #061b2e;
  color: #aebfd0
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff
}

.footer-brand .brand-mark {
  width: 44px;
  height: 44px
}

.footer-brand strong {
  display: block
}

.footer-brand small {
  display: block
}

.site-footer p {
  max-width: 420px
}

.footer-phone {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  font-weight: 900
}

.footer-phone i {
  color: var(--yellow)
}

.site-footer h6 {
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer-links li {
  margin-bottom: 9px
}

.footer-links a {
  color: #aebfd0
}

.footer-links a:hover {
  color: var(--yellow)
}

.footer-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 17px 0;
  font-size: .74rem
}

.footer-bottom a {
  color: var(--yellow-2)
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.floating-action {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: .3s
}

.floating-action span {
  position: absolute;
  right: 62px;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: .65rem;
  font-weight: 900;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: .25s;
  white-space: nowrap
}

.floating-action:hover span {
  opacity: 1;
  transform: translateX(0)
}

.floating-action:hover {
  transform: translateY(-4px) scale(1.04);
  color: #fff
}

.floating-action.whatsapp {
  background: var(--green)
}

.floating-action.call {
  background: var(--navy);
  border: 2px solid var(--yellow)
}

.floating-action.top {
  background: #fff;
  color: var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px)
}

.floating-action.top.show {
  opacity: 1;
  visibility: visible;
  transform: none
}


/* =========================================================
   AP PAINTS — AOS MOTION SYSTEM V7
   AOS owns scroll animation state. No hidden-state dependency.
   ========================================================= */
[data-aos] {
  transition-property: transform, opacity;
  transition-duration: 1050ms;
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Stronger travel distance than AOS defaults */
[data-aos="fade-right"] {
  transform: translate3d(-120px, 0, 0);
  opacity: 0
}

[data-aos="fade-left"] {
  transform: translate3d(120px, 0, 0);
  opacity: 0
}

[data-aos="fade-up"] {
  transform: translate3d(0, 120px, 0);
  opacity: 0
}

[data-aos="fade-down"] {
  transform: translate3d(0, -120px, 0);
  opacity: 0
}

[data-aos="zoom-in"] {
  transform: scale(.72);
  opacity: 0
}

[data-aos="flip-left"],
[data-aos="flip-right"] {
  backface-visibility: hidden;
  opacity: 0
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none
}

[data-aos].aos-animate {
  transition-timing-function: cubic-bezier(.16, 1, .3, 1) !important
}

/* Existing interaction polish */
.service-card,
.stat-card,
.why-card,
.detail-card,
.contact-info-card,
.map-card,
.review-placeholder {
  will-change: transform
}

.service-card {
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s ease
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 65px rgba(8, 43, 76, .18)
}

.service-card:hover .service-media img {
  transform: scale(1.09)
}

.service-media img {
  transition: transform .7s cubic-bezier(.16, 1, .3, 1)
}

.stat-card,
.why-card,
.detail-card,
.contact-info-card {
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease
}

.stat-card:hover,
.why-card:hover,
.detail-card:hover,
.contact-info-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 25px 55px rgba(8, 43, 76, .15)
}

.image-cta-bg {
  will-change: transform
}

.image-cta:hover .image-cta-bg {
  transform: scale(1.08)
}

.page-header-bg {
  animation: pageHeaderZoom 12s ease-in-out infinite alternate;
  will-change: transform
}

@keyframes pageHeaderZoom {
  from {
    transform: scale(1.03)
  }

  to {
    transform: scale(1.11)
  }
}

.navbar-brand:hover .brand-mark {
  transform: rotate(-5deg) scale(1.06)
}

.brand-mark {
  transition: transform .4s cubic-bezier(.16, 1, .3, 1)
}

.cta-strip-inner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 183, 3, .12), transparent 80%);
  transform: translateX(-100%);
  transition: transform 1.1s ease
}

.cta-strip-inner:hover:before {
  transform: translateX(100%)
}

.floating-action {
  animation: floatIn .75s cubic-bezier(.16, 1, .3, 1) both
}

.floating-action:nth-child(2) {
  animation-delay: .15s
}

.floating-action:nth-child(3) {
  animation-delay: .3s
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translate3d(45px, 30px, 0) scale(.7)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:767.98px) {

  .stats-grid, .about-points, .services-grid, .why-grid, .service-grid, .gallery-heading {
  
    grid-template-columns: repeat(1, 1fr);
    /* gap: 16px; */
  }


  .cta-strip-inner, .gallery-heading  {
    flex-direction: column !important;
  }

  [data-aos="fade-right"] {
    transform: translate3d(-85px, 0, 0)
  }

  [data-aos="fade-left"] {
    transform: translate3d(85px, 0, 0)
  }

  [data-aos="fade-up"] {
    transform: translate3d(0, 90px, 0)
  }

  [data-aos="fade-down"] {
    transform: translate3d(0, -90px, 0)
  }

  [data-aos="zoom-in"] {
    transform: scale(.82)
  }
}

/* Do not leave AOS elements hidden if JS/CDN fails. */
html.aos-fallback [data-aos] {
  opacity: 1 !important;
  transform: none !important
}

@media(prefers-reduced-motion:reduce) {

  /* Keep the interface functional; reduce rather than eliminate motion. */
  [data-aos="fade-right"] {
    transform: translate3d(-35px, 0, 0)
  }

  [data-aos="fade-left"] {
    transform: translate3d(35px, 0, 0)
  }

  [data-aos="fade-up"] {
    transform: translate3d(0, 35px, 0)
  }

  [data-aos="fade-down"] {
    transform: translate3d(0, -35px, 0)
  }

  [data-aos="zoom-in"] {
    transform: scale(.94)
  }

  .hero-bg,
  .page-header-bg {
    animation: none !important
  }
}

/* AP PAINTS COLOUR STORY v8 */
:root {
  --paint-coral: #E85D4A;
  --paint-orange: #F28C28;
  --paint-green: #4FAF6F;
  --paint-blue: #2E86C1;
  --paint-purple: #8E5AA8;
  --paint-cream: #FFF8E8;
}

body {
  background: #fbfaf7
}

/* Replace the cool corporate wash with warm architectural neutrals. */
.hero-shade {
  /* background: linear-gradient(90deg, rgba(6, 28, 49, .95) 0%, rgba(6, 28, 49, .82) 34%, rgba(6, 28, 49, .32) 62%, rgba(6, 28, 49, .04) 100%) */
}

.hero-title span {
  color: #FFD166;
  text-shadow: 0 6px 22px rgba(217, 126, 0, .25)
}

.hero-eyebrow {
  box-shadow: 0 0 0 1px rgba(255, 183, 3, .06), 0 12px 28px rgba(0, 0, 0, .12)
}

/* Colourful service dock accents */
.hero-service-dock a:nth-child(1)>i {
  background: #fff0e9;
  color: var(--paint-coral)
}

.hero-service-dock a:nth-child(2)>i {
  background: #eaf5ff;
  color: var(--paint-blue)
}

.hero-service-dock a:nth-child(3)>i {
  background: #fff3d8;
  color: #e49300
}

.hero-service-dock a:nth-child(4)>i {
  background: #e9f8ee;
  color: var(--green)
}

/* Paint-swatch decoration */
.paint-swatch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 8px
}

.paint-swatch {
  width: 34px;
  height: 12px;
  border-radius: 999px;
  display: block;
  box-shadow: 0 5px 12px rgba(8, 43, 76, .12);
  transform: rotate(-2deg)
}

.paint-swatch:nth-child(1) {
  background: var(--yellow)
}

.paint-swatch:nth-child(2) {
  background: var(--paint-coral)
}

.paint-swatch:nth-child(3) {
  background: var(--paint-orange)
}

.paint-swatch:nth-child(4) {
  background: var(--paint-green)
}

.paint-swatch:nth-child(5) {
  background: var(--paint-blue)
}

.paint-palette-image {
  width: min(310px, 70%);
  margin-top: 18px;
  filter: drop-shadow(0 12px 20px rgba(8, 43, 76, .10))
}

/* About collage gets warm colour chips instead of another blue layer. */
.about-collage:after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 9%;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: conic-gradient(var(--yellow) 0 18%, var(--paint-coral) 18% 38%, var(--paint-orange) 38% 56%, var(--paint-green) 56% 76%, var(--paint-blue) 76% 100%);
  box-shadow: 0 16px 32px rgba(8, 43, 76, .16);
  z-index: 5;
  border: 8px solid #fff
}

/* Services use a different colour accent per category. */
.service-card {
  background: #fffdf9;
  border-top: 4px solid transparent
}

.service-card:nth-child(1) {
  border-top-color: var(--paint-coral)
}

.service-card:nth-child(2) {
  border-top-color: var(--paint-blue)
}

.service-card:nth-child(3) {
  border-top-color: var(--paint-orange)
}

.service-card:nth-child(1) .service-tag {
  color: var(--paint-coral)
}

.service-card:nth-child(2) .service-tag {
  color: var(--paint-blue)
}

.service-card:nth-child(3) .service-tag {
  color: #D98500
}

.service-card:nth-child(1) .service-icon {
  background: #fff0e9;
  color: var(--paint-coral)
}

.service-card:nth-child(2) .service-icon {
  background: #eaf5ff;
  color: var(--paint-blue)
}

.service-card:nth-child(3) .service-icon {
  background: #fff3d8;
  color: #d88a00
}

.service-media:after {
  background: linear-gradient(180deg, transparent 50%, rgba(5, 28, 49, .46))
}

.service-card:hover .service-media {
  filter: saturate(1.15) contrast(1.03)
}

/* Warm architectural section separators */
.about-section {
  position: relative;
  overflow: hidden
}

.about-section:before {
  content: "";
  position: absolute;
  left: -120px;
  top: 18%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 35% 35%, rgba(232, 93, 74, .14), transparent 68%);
  pointer-events: none
}

.services-section {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f4ee 100%);
  /* background: linear-gradient(135deg, #ffc107 14%, #b8cfe7 14%, #e7bcc1 91%, rgb(226, 216, 216) 2%); */
}

.services-section:after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 175, 111, .12), transparent 68%);
  pointer-events: none
}

.why-section {
  background: linear-gradient(135deg, #061f37 0%, #0a3152 52%, #09263f 100%);
  background: linear-gradient(135deg, #ffc107 14%, #212529 14%, #530c13 91%, black 2%);
  position: relative;
  overflow: hidden
}

.why-section:before {
  content: "";
  position: absolute;
  inset: auto -80px -140px auto;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, rgba(255, 183, 3, .18), rgba(232, 93, 74, .10), rgba(79, 175, 111, .08), rgba(46, 134, 193, .08), rgba(255, 183, 3, .18));
  filter: blur(4px)
}

.why-card:nth-child(1) {
  --why-accent: var(--yellow)
}

.why-card:nth-child(2) {
  --why-accent: var(--paint-blue)
}

.why-card:nth-child(3) {
  --why-accent: var(--paint-green)
}

.why-card:nth-child(4) {
  --why-accent: var(--paint-coral)
}

.why-card {
  border-color: rgba(255, 255, 255, .10);
  position: relative;
  overflow: hidden
}

.why-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--why-accent);
  transform: scaleY(.2);
  transform-origin: bottom;
  transition: .5s ease
}

.why-card:hover:before {
  transform: scaleY(1)
}

.why-card i {
  color: var(--why-accent)
}

.image-cta-overlay {
  background: linear-gradient(90deg, rgba(5, 28, 49, .90), rgba(5, 28, 49, .56), rgba(5, 28, 49, .18))
}

.cta-strip {
  background: linear-gradient(120deg, #082b4c, #123f62 58%, #0a3152)
}

.cta-strip-inner {
  position: relative;
  overflow: hidden
}

.cta-strip-inner:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: conic-gradient(var(--yellow), var(--paint-coral), var(--paint-orange), var(--paint-green), var(--paint-blue), var(--yellow));
  opacity: .12;
  filter: blur(1px)
}

.page-header-overlay {
  background: linear-gradient(90deg, rgba(6, 28, 49, .86), rgba(6, 28, 49, .48), rgba(6, 28, 49, .22))
}

/* Make image colour visibly richer without looking artificial. */
.hero-bg,
.about-photo,
.service-media,
.image-cta-bg,
.page-header-bg {
  filter: saturate(1.12) contrast(1.03)
}

/* Stronger visual motion now that AOS is stable. */
[data-aos] {
  transition-property: transform, opacity, filter !important;
  transition-duration: 1050ms !important
}

[data-aos^="fade"] {
  filter: blur(2px)
}

[data-aos^="fade"].aos-animate {
  filter: blur(0)
}

[data-aos="fade-right"] {
  transform: translate3d(-120px, 0, 0)
}

[data-aos="fade-left"] {
  transform: translate3d(120px, 0, 0)
}

[data-aos="fade-up"] {
  transform: translate3d(0, 120px, 0)
}

[data-aos="fade-down"] {
  transform: translate3d(0, -120px, 0)
}

[data-aos="zoom-in"] {
  transform: scale(.72)
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1)
}

@media(max-width:767.98px) {
  .about-collage:after {
    width: 64px;
    height: 64px;
    border-width: 6px;
    right: -4px
  }

  .paint-palette-image {
    width: 220px
  }

  [data-aos="fade-right"] {
    transform: translate3d(-85px, 0, 0)
  }

  [data-aos="fade-left"] {
    transform: translate3d(85px, 0, 0)
  }

  [data-aos="fade-up"] {
    transform: translate3d(0, 90px, 0)
  }

  [data-aos="fade-down"] {
    transform: translate3d(0, -90px, 0)
  }
}

/* =========================================================
   AP PAINTS GALLERY — COLLAGE + FULLSCREEN VIEWER
   ========================================================= */
.gallery-section,
.gallery-page-section {
  position: relative;
  overflow: hidden;
  background: #fffdf9
}

.gallery-section:before,
.gallery-page-section:before {
  content: "";
  position: absolute;
  left: -120px;
  top: 8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 74, .13), transparent 68%);
  pointer-events: none
}

.gallery-section:after,
.gallery-page-section:after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, .15), transparent 68%);
  pointer-events: none
}

.gallery-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
  align-items: end
}

.gallery-heading-btn {
  flex-shrink: 0
}

.gallery-masonry {
  position: relative;
  z-index: 2;
  column-count: 4;
  column-gap: 16px
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 16px;
  border: 0;
  background: #0a2945;
  border-radius: 18px;
  overflow: hidden;
  break-inside: avoid;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 14px 32px rgba(8, 43, 76, .10);
  isolation: isolate;
  transform: translateZ(0)
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  transition: transform .75s cubic-bezier(.16, 1, .3, 1), filter .6s ease;
  will-change: transform
}

.gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 28, 49, .50));
  opacity: .45;
  transition: opacity .45s ease;
  pointer-events: none
}

.gallery-item-overlay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .94);
  color: #082b4c;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(12px) scale(.85);
  transition: opacity .4s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
  z-index: 2
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.075);
  filter: saturate(1.15) contrast(1.04)
}

.gallery-item:hover:after,
.gallery-item:focus-visible:after {
  opacity: 1
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
  opacity: 1;
  transform: none
}

.gallery-item:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px
}

.gallery-empty {
  position: relative;
  z-index: 2;
  padding: 70px 30px;
  text-align: center;
  border: 1px dashed rgba(8, 43, 76, .22);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(8, 43, 76, .07)
}

.gallery-empty>i {
  font-size: 46px;
  color: var(--paint-coral)
}

.gallery-empty h3 {
  margin: 14px 0 8px;
  color: var(--navy)
}

.gallery-empty p {
  margin: 0;
  color: #637383
}

.gallery-empty code {
  color: #082b4c;
  background: #fff3d8;
  padding: 3px 7px;
  border-radius: 6px
}

.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s ease
}

.gallery-viewer.is-open {
  display: flex;
  opacity: 1
}

.gallery-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 17, 30, .91);
  backdrop-filter: blur(10px)
}

.gallery-viewer-panel {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  height: min(88vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center
}

.gallery-viewer-figure {
  width: min(930px, calc(100% - 150px));
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px
}

.gallery-viewer-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 42px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .45);
  background: #fff
}

.gallery-viewer-figure figcaption {
  font-size: .9rem;
  color: rgba(255, 255, 255, .78);
  letter-spacing: .04em
}

.gallery-viewer-close,
.gallery-viewer-nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
  z-index: 4
}

.gallery-viewer-close {
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px
}

.gallery-viewer-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 24px
}

.gallery-viewer-prev {
  left: 0
}

.gallery-viewer-next {
  right: 0
}

.gallery-viewer-close:hover,
.gallery-viewer-nav:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #082b4c
}

.gallery-viewer-prev:hover {
  transform: translateY(-50%) translateX(-4px)
}

.gallery-viewer-next:hover {
  transform: translateY(-50%) translateX(4px)
}

body.gallery-viewer-open {
  overflow: hidden
}

.gallery-item:nth-child(4n+1) {
  box-shadow: 0 14px 32px rgba(232, 93, 74, .10)
}

.gallery-item:nth-child(4n+2) {
  box-shadow: 0 14px 32px rgba(46, 134, 193, .10)
}

.gallery-item:nth-child(4n+3) {
  box-shadow: 0 14px 32px rgba(242, 140, 40, .11)
}

.gallery-item:nth-child(4n) {
  box-shadow: 0 14px 32px rgba(79, 175, 111, .10)
}

@media(max-width:991.98px) {
  .gallery-masonry {
    column-count: 3
  }

  .gallery-viewer-figure {
    width: calc(100% - 110px)
  }
}

@media(max-width:767.98px) {
  .gallery-masonry {
    column-count: 1;
    column-gap: 10px
  }

  .gallery-item {
    margin-bottom: 10px;
    border-radius: 13px
  }

  .gallery-item-overlay {
    opacity: 1;
    transform: none;
    width: 34px;
    height: 34px;
    right: 9px;
    bottom: 9px;
    font-size: 13px
  }

  .gallery-heading {
    align-items: start;
    gap: 20px
  }

  .gallery-heading-btn {
    margin-top: 4px
  }

  .gallery-viewer {
    padding: 12px
  }

  .gallery-viewer-panel {
    height: 82vh
  }

  .gallery-viewer-figure {
    width: calc(100% - 24px)
  }

  .gallery-viewer-nav {
    top: auto;
    bottom: 4px;
    transform: none;
    width: 46px;
    height: 46px
  }

  .gallery-viewer-prev {
    left: 8px
  }

  .gallery-viewer-next {
    right: 8px
  }

  .gallery-viewer-prev:hover {
    transform: translateX(-3px)
  }

  .gallery-viewer-next:hover {
    transform: translateX(3px)
  }

  .gallery-viewer-close {
    top: 4px;
    right: 8px
  }

  .gallery-viewer-figure img {
    max-height: calc(100% - 70px);
    border-radius: 10px
  }
}