/* === About page hero fixes (UPDATED) === */
:root { --header-h: 90px; }          /* desktop header height */

.header-page-area{
  /* push content down so it never hides under sticky header */
  padding: calc(var(--header-h) + 80px) 0 90px !important;
  background: #f5f7fc !important;
}

/* center title + breadcrumbs (like contact page) */
.header-page-area .section-tittle{
  text-align: center !important;
}
.header-page-area .breadcrumbs{
  text-align: center !important;
  margin-top: 8px;
  font-size: 14px;
}
.header-page-area .breadcrumbs .kb_sep{
  margin: 0 6px;
  color: #3a4a6b;
}

/* make sure header sits above and content scrolls under cleanly */
.main-header.header-sticky{
  position: sticky;    /* or fixed in your theme */
  top: 0;
  z-index: 1000;
}

/* adjust spacing for tablets/phones */
@media (max-width: 991.98px){
  :root { --header-h: 70px; }        /* smaller header on mobile */
  .header-page-area{
    padding: calc(var(--header-h) + 50px) 0 70px !important;
  }
}

/* ===============================
   CONTACT HERO (override)
   =============================== */
.header-page-area.contact-hero{
  /* keep the same spacing rhythm you like */
  padding: 200px 0 170px;

  /* neutral base color like Features */
  background-color: #F2F7FF;

  /* remove the global services background */
  background-image: none;
  position: relative;
  overflow: hidden; /* clip decorative image */
}

/* Draw the keyboard image on the right, like the Features page */
.header-page-area.contact-hero::after{
  content: "";
  position: absolute;
  top: -70px;          /* tweak to taste */
  right: -120px;       /* push a bit outside the edge */
  width: 900px;        /* size of the artwork */
  height: 700px;
  background: url('../img/hero/h1_hero.png') no-repeat top right;
  /* If your keyboard asset is somewhere else, point to it:
     background: url('../img/keyboard-hero.png') no-repeat top right; */
  background-size: contain;
  pointer-events: none;
  opacity: 1;
}

/* Center the heading/breadcrumbs like Features */
.header-page-area.contact-hero .section-tittle{ text-align:center; }
.header-page-area.contact-hero .section-tittle h2{
  font-size: 72px;
  line-height: 1.1;
  margin: 0 0 12px;
}
.header-page-area.contact-hero .breadcrumbs{ text-align:center; }

/* Responsive adjustments */
@media only screen and (min-width: 992px) and (max-width: 1199px){
  .header-page-area.contact-hero{ padding-top: 200px; }
  .header-page-area.contact-hero::after{ width: 760px; height: 590px; right: -110px; top: -60px; }
}
@media only screen and (min-width: 768px) and (max-width: 991px){
  .header-page-area.contact-hero{ padding-top: 150px; }
  .header-page-area.contact-hero::after{ width: 600px; height: 470px; right: -100px; top: -50px; }
}
@media (max-width: 767px){
  .header-page-area.contact-hero{ padding-top:130px; }
  /* Hide the decorative image on small screens */
  .header-page-area.contact-hero::after{ display:none; }
  .header-page-area.contact-hero .section-tittle h2{ font-size: 44px; }
}

/* gym features section css */

body {
  margin: 0px;
  padding: 0px;
  background-color: #FFFFFF;
  font-family: calibri;
}

a {
  text-decoration: none;
}

.services {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.s-heading {
  text-align: center;
}

.s-heading h1 {
  color: #576975;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0px;
}

.s-heading p {
  color: rgba(87, 105, 117, 0.60);
  font-size: 1rem;
  margin: 5px;
  text-align: center;
}

.s-box-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.s-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  width: 300px;
  padding: 20px 25px;
  height: 400px;
  box-sizing: border-box;
  margin: 20px;
  position: relative;
  box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.08);
  transition: all ease 0.3s;
}

.s-box img {
  height: 75px;
  margin-bottom: 30px;
}

.s-box h1 {
  color: #576975;
  letter-spacing: 1px;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.s-box p {
  color: rgba(87, 105, 117, 0.90);
  text-align: center;
}

.s-btn {
  width: 140px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid #fe625e;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #576975;
  margin-top: 10px;
}

.bar {
  width: 100px;
  height: 6px;
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translateX(-50%);
  background-color: #fe625e;
  border-radius: 0px 0px 10px 10px;
  display: none;
  animation: bar 0.5s;
}

.s-box:hover {
  box-shadow: 2px 2px 30px #db8e8d;
  transition: all ease 0.3s;
}

.s-btn:hover {
  background-color: #fe625e;
  border: 1px solid #fe625e;
  color: #FFFFFF;
  transition: all ease 0.3s;
}

.s-box:hover .bar {
  display: block;
}

@keyframes bar {
  0% { width: 0px; }
  100% { width: 100px; }
}

@media(max-width:1050px) {
  .s-box-container { flex-wrap: wrap; }
  .services { height: auto; }
  .s-heading { margin: 15px; }
  .s-box { flex-grow: 1; }
}

/* Tighten space below the About hero */
.header-page-area{
    padding-bottom: 40px !important;   /* was ~80–90px */
  }
  
  /* Pull the first “Who we are” block up a bit */
  .we-create-area.create-padding.section,
  .we-create-area.section{
    padding-top: 40px !important;      /* many themes set 100–120px */
    margin-top: -6px;                   /* tiny nudge to close the seam */
  }