/* Responsive layer: same look, fluid layout for mobile, tablet and desktop. */
html { overflow-x: hidden; }
body { height: auto; overflow-x: hidden; }
img { max-width: 100%; }

/* Header + nav */
.header { display: flex; align-items: center; justify-content: space-between; }
.header .i1 { margin: 0 0 0 24px; }
.header .i2, .header .text1 { display: none; }
.ul-header { float: none; margin: 0 24px 0 0; display: flex; align-items: center; gap: 4px; }
.ul-header li { margin-right: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; margin-right: 18px; }
@media (min-width: 1100px) {
  .header { justify-content: flex-start; }
  .header .i2, .header .text1 { display: block; }
  .header .i1 { margin-left: 40px; }
  .text1 { position: static; margin: 0 0 0 10px; }
  .i2 { position: absolute; left: 80px; margin: 0; top: 15px; }
  .ul-header { margin-left: auto; margin-right: 60px; }
}
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .ul-header { display: none; position: absolute; top: 55px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(18,18,60,.97); padding: 8px 0 14px; margin: 0; gap: 0; }
  .ul-header.open { display: flex; }
  .ul-header li { display: block; margin: 0; }
  .ul-header li > a { display: block; padding: 12px 24px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; width: auto; background: transparent; border: 0; margin: 0; padding: 0 0 0 16px; }
  .dropdown-menu li a { padding: 8px 24px; }
}

/* Hero */
.hero-img { left: 50%; top: 50%; width: 90%; max-width: 760px; transform: translate(-50%, -50%); }
.hero-title { font-size: clamp(32px, 7vw, 56px); }
.descripe { font-size: clamp(15px, 2.4vw, 20px); }
.btn { margin-top: 30px; margin-left: 8px; margin-right: 8px; }
@media (max-width: 899px) { .img-bkg-home, .section_six, .section_eight { background-attachment: scroll; } }

/* Why choose us */
.second-page { height: auto; padding-bottom: 80px; }
.parent { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 0 20px; margin-top: 60px; }
.best { float: none; margin: 0; width: min(300px, 100%); height: auto; min-height: 250px; padding: 0 16px 24px; }

/* Services */
.third-page { height: auto; padding-bottom: 80px; display: grid; justify-content: center; gap: 24px 30px; padding-left: 20px; padding-right: 20px;
  grid-template-columns: repeat(auto-fit, minmax(0, 250px)); }
.third-page > .title_3, .third-page > .line2 { grid-column: 1 / -1; }
.third-page > .line2 { justify-self: center; margin: 0; }
.services { float: none; margin: 0; width: 250px; max-width: 100%; }
@media (min-width: 900px) { .third-page { grid-template-columns: repeat(3, 250px); } }

/* What we offer */
.section_four { height: auto; padding-bottom: 80px; display: grid; justify-content: center; gap: 24px; padding-left: 20px; padding-right: 20px;
  grid-template-columns: minmax(0, 320px); }
.section_four > .title_4, .section_four > .line2 { grid-column: 1 / -1; }
.section_four > .line2 { justify-self: center; margin: 0; }
.Offer { float: none; margin: 0; width: 100%; height: auto; min-height: 200px; padding-bottom: 20px; }
.o1 { margin-left: 0; }
.h_offer { width: auto; margin-right: 16px; }
.p_offer { width: auto; margin-right: 16px; }
@media (min-width: 720px) { .section_four { grid-template-columns: repeat(2, 320px); } }
@media (min-width: 1100px) { .section_four { grid-template-columns: repeat(3, 320px); } }

/* About */
.section_five { height: auto; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; padding: 80px 6%; }
.h_about { padding: 0; }
.line3 { margin-left: 0; }
.p_ab { width: auto; padding-left: 0; }
.p2 { margin-left: 0; }
.img_about { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.section_five .circle { display: none; }
@media (min-width: 900px) { .section_five { grid-template-columns: 1fr 1fr; padding: 100px 10%; } }

/* Stats */
.section_six { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 60px 6%; }
.section_six .stat-item { display: block; margin: 0; }
.section_six .stat-item i { display: block; text-align: center; margin: 0; padding: 0; }
@media (min-width: 900px) { .section_six { grid-template-columns: repeat(4, 1fr); padding: 100px 10%; } }

/* Pricing */
.section_seven { height: auto; padding-bottom: 80px; display: grid; justify-content: center; gap: 24px; padding-left: 20px; padding-right: 20px;
  grid-template-columns: minmax(0, 300px); }
.section_seven > .title1, .section_seven > .line2 { grid-column: 1 / -1; }
.section_seven > .line2 { justify-self: center; margin: 0; }
.price { float: none; margin: 0; width: 100%; }
.n1 { margin-left: 0; }
.h_price7 { margin: 30px auto 0; }
.btn3 { left: 50%; margin: 0 0 0 -90px; bottom: 30px; }
@media (min-width: 720px) { .section_seven { grid-template-columns: repeat(2, 300px); } }
@media (min-width: 1100px) { .section_seven { grid-template-columns: repeat(3, 300px); } }

/* Managers */
.section_eight { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding: 50px 6%; }
.manager, .coach { position: static; width: min(420px, 100%); }
.title1 { font-size: clamp(32px, 6vw, 55px); }

/* Team */
.team-container { width: 90%; max-width: 1000px; }
.team-parent { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 50px; }
.team-item, .team-item2 { float: none; width: auto; margin: 0; }
.section_nine { height: auto; padding-bottom: 60px; }

/* Programs */
.section_ten { height: auto; padding-bottom: 80px; display: grid; justify-content: center; gap: 24px; padding-left: 20px; padding-right: 20px;
  grid-template-columns: minmax(0, 300px); }
.section_ten > .title1, .section_ten > .line2 { grid-column: 1 / -1; }
.section_ten > .line2 { justify-self: center; margin: 0; }
.prog { float: none; margin: 0; width: 100%; }
.ram { margin-left: 0; }
@media (min-width: 720px) { .section_ten { grid-template-columns: repeat(2, 300px); } }
@media (min-width: 1100px) { .section_ten { grid-template-columns: repeat(3, 300px); } }

/* Footer */
.finish { height: auto; padding: 20px 20px 30px; }
.img_finish { display: block; width: 100%; max-width: 400px; height: auto; margin: 20px auto 0; }
.icons { font-size: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.icons i { width: 50px; height: 50px; padding-top: 10px; text-align: center; font-size: 24px; }
.copy { margin-top: 30px; }

/* Readability over photo backgrounds */
.section_eight { background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url(../images/gym9.jpg); background-position: center; }
@media (max-width: 480px) { .btn { width: 140px; height: 50px; font-size: 18px; margin-left: 4px; margin-right: 4px; } }
