/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Red+Hat+Display:wght@400;700;900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  --box-shadow: rgb(0 0 2 / 3%) opx 20px 30px -10px;
  
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(49, 100%, 41%);
  --first-color-light: hsl(49, 96%, 72%);
  --first-color-alt: 	hsl(49, 82%, 30%);
  --first-color-dark: hsl(48, 82%, 20%);
  --first-color-gray: hsl(79, 6%, 64%);
  --title-color: hsl(180, 4%, 98%);
  --title-color-black: hsl(180, 4%, 12%);
  --text-color: hsl(180, 4%, 72%);
  --text-color-light: hsl(180, 4%, 65%);
  --body-color: hsl(180, 12%, 8%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Red Hat Display', sans-serif;
  --second-font: 'Kaushan Script', cursive;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.5rem;
  --big-font-size: 1.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-bold: 700;
  --font-black: 900;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 6rem;
    --bigger-font-size: 3.5rem;
    --big-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1124px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.section {
  padding: .5rem 0 2rem;
}

.section__data {
  display: flex;
  flex-direction: column;
  row-gap: .75rem;
  text-align: center;
  margin-bottom: 0rem;
}

.section__title, 
.section__title-border {
  font-size: var(--big-font-size);
  letter-spacing: 1.5px;
}

.section__subtitle {
  font-size: var(--h2-font-size);
  font-family: var(--second-font);
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--first-color);
  transform: rotate(-2deg);
}

.section__titles {
  display: flex;
  column-gap: .75rem;
  justify-content: center;
  margin-bottom: .5rem;
}

.section__title-border {
  -webkit-text-stroke: 1px var(--first-color);
  color: transparent;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

.color-red {
  color: hsl(0, 80%, 64%);
}

.color-green {
  color: var(--first-color);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: background .3s;
}

.nav {
  /*height: var(--header-height);*/
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--first-color-light);
  display: flex;
}

.nav__logo {
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-bold);
  display: none;
}

.nav__logo img {
  width: 5rem;
}

.nav__toggle {
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    background-color: hsla(180, 12%, 8%, .8);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    border-left: 2px solid var(--first-color-gray);
    transition: right .3s;
  }
}

.nav__list {
  padding: 5rem 0 0 3rem;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--title-color);
  transition: color .3s;
  font-size: 19px;
  font-weight: 600;
  text-shadow: 2px 2px black;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.nav .nav__button {
  background-color: var(--first-color);
  border: 2px solid var(--first-color-dark);
}

/* Show menu */
.show-menu {
  right: 0;
}


/* Change background header */
.bg-header {
  background-color: var(--body-color);
  box-shadow: 0 4px 8px hsla(180, 12%, 4%, .3);
}


/* Active link */
.active-link {
  color: var(--first-color);
}


/*=============== HOME ===============*/
.home {
  position: relative;
  padding-bottom: 0;
}

.home__container {
  padding-top: 4rem;
  row-gap: 3rem;
}

.home__data {
  text-align: center;
}

.home__subtitle {
  font-size: var(--bigger-font-size);
  -webkit-text-stroke: 1px var(--first-color);
  color: transparent;
}

.home__title {
  font-size: var(--big-font-size);
  font-weight: var(--font-black);
  margin: .5rem 0;
}

.home__subtitle,
.home__title {
  letter-spacing: 1.5px;
}

.home__description {
  margin-bottom: 2.5rem;
}

.home__triangle {
  height: 325px;
  position: absolute;
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.home__triangle-1 {
  width: 105px;
  background-color: var(--first-color);
}

.home__triangle-2 {
  width: 205px;
  background-color: var(--first-color-alt);
}

.home__triangle-3 {
  width: 305px;
  background-color: var(--first-color-dark);
}

.home__img {
  display: block;
  position: relative;
  z-index: 1;
  width: 350px;
  margin: 0 auto;
}

.background__image {
  background-image: url("/assets/img/gym.jpg"); /* Replace with your image URL */
  background-size: cover;
  background-position: center;
  flex-grow: 1; /* Allow the background to take up available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  align-items: center; /* Horizontally center content */
  color: white; /* Text color for better visibility on the image */
  text-align: center; /* Center text within the container */
  height: 90vh;
}

.home__logo {
  /* Style your logo here */
  width: 190px; /* Example width */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 20px;
}

.home__text {
  background-color: rgba(0,0,0, 0.6); /* Black w/opacity/see-through */
}

.home__title {
  font-size: 3.5rem; /* Adjust font size as needed */
  margin-bottom: 10px;
  color: var(--first-color);
  text-shadow: 1px 3px black;
}

.home__subtitle2 {
  font-size: 1.2em; /* Adjust font size as needed */
  color: var(--first-color-light);
  text-shadow: 1px 3px black;
} 

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  padding: 18px 32px;
  border: 2px solid var(--first-color-light);
  color: var(--title-color-black);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: background .3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button i {
  font-size: 1.25rem;
  transition: transform .3s;
}

.button__flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: .5rem;
}

.button__flex:hover i {
  transform: translateX(.25rem);
}

/*=============== LOGOS ===============*/
.logos__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
}

.logos__img {
  width: 120px;
}


/*=============== ABOUT ===============*/
.about__container {
  width: 100%;
  max-width: 1100px;
  height: auto;
  overflow: hidden;
  margin-top: 0rem;
  margin-left: auto;
  margin-right: auto;
}

.about__content {
  float: left;
  width: 55%;
}

.image__section {
  float: right;
  width: 40%;
}

.image__section img {
  width: 100%; 
  height: auto;
  padding-right: 1rem;
}

.about__content .title {
  text-transform: uppercase;
  font-size: 24px;
  text-align: center;
}

/*.about__content .title h1 {
  color: var(--first-color);
  font-size: 2rem;
  margin-bottom: .5rem;
}*/

.about__content .content h3 {
  margin-top: 0px;
  color: var(--first-color-alt);
  font-size: 20px;
  text-align: center;
}

.about__content .content p {
  margin-top: .3rem;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  margin-left: .3rem;
  margin-bottom: .5rem;
}

.about__content .content .quals {
  font-size: 1.4rem;
}

.about__content .content p span {
  color: var(--first-color);
}

.about__content .content .button {
  margin-top: 1.5rem;
}

.about__content .content .button a {
  /*background-color: #3d3d3d;*/
  padding: 12px 40px;
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  letter-spacing: 1.5px;
}

.about__content .content .button a:hover {
  /*background-color: #a52a2a;*/
  color: #fff;
}

.about__content .social {
  margin-top: 1rem;
  text-align: center;
}

.about__content .social i {
  color: var(--first-color);
  font-size: 1.5rem;
  padding: 0 10px;
}

.about__content .social i:hover {
  color: var(--first-color-light);
}

.about__quals {
  text-align: center;
}

.about__quals .quals__header {
  color: var(--first-color);
  font-size: 2rem;
}

.about__quals li {
  font-size: 1.5rem;
}

/*.row {
  width: 100%;
}

.image__section {
  width: 30%;
  float: left;
}

.image__section img {
  width: 100%;
  height: auto;
}

.about__content {
  width: 60%;
  float: left;
  margin-left: 50px;
}

.about__content h1 {
  font-size: var(--bigger-font-size);
  letter-spacing: 3.5px;
  margin-top: 25px;
  color: var(--first-color);
}

.about__content h2 {
  font-size: var(--big-font-size);
  color: var(--first-color-alt);
  margin-top: 25px;
}

.about__content p {
  font-size: var(--normal-font-size);
  margin-top: 1.25rem;
  /*line-height: 1.2;
}*/



/*=============== PROGRAM ===============*/
.program__container {
  grid-template-columns: 225px;
  justify-content: center;
  row-gap: 2rem;
}

.program__card {
  display: grid;
  background-color: hsla(79, 6%, 64%, .07);
  padding: 1.5rem 2rem;
  border: 2px solid transparent;
  transition: background .5s, border .4s;
  place-items: center;
}

.program__img {
  width: 38px;
}

.program__shape {
  width: 50px;
  height: 50px;
  background-color: var(--first-color-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  transition: background .5s;
}

.program__shape i {
  color: var(--first-color-light);
  font-size: 1.5rem;
}

.program__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  text-align: center;
}

.program__description {
  font-size: var(--small-font-size);
  letter-spacing: .5px;
  line-height: 125%;
  text-align: center;
  margin-bottom: .8rem;
}

.program__title,
.program__description {
  transition: color .5s;
}

.program__button {
  justify-self: flex-end;
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: var(--title-color-black);
  opacity: 0;
  transition: opacity .4s;
}

.program__button i {
  display: block;
  transition: transform .3s;
}

.program__button:hover i {
  transform: translateX(.25rem);
}

.program__card:hover {
  background-color: var(--first-color);
  border: 2px solid var(--first-color-light);
}

.program__card:hover .program__shape {
  background-color: var(--first-color-light);
}

.program__card:hover .program__title,
.program__card:hover .program__description {
  color: var(--title-color-black);
}

.program__card:hover .program__button {
  opacity: 1;
}


/*=============== TESTIMONIALS ===============*/
.testimonials {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi__container {
  max-width: 1100px;
  width: 100%;
  padding: 0 30px;
  margin: 0 auto;
}

.testi {
  max-width: 900px;
  margin: 0 auto;
}

.testi__ul {
  list-style: none;
}

.testi .testi__head {
  text-align: center;
  margin-bottom: .2rem;
}


.testi .testi__head h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--first-color);
}

.testi .testi__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 30px 0;
}

.testi .thumbnail {
  width: 160px;
  height: 160px;
  position: relative;
  flex-shrink: 0;
}

.testi .thumbnail img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 20%;
  transform: scale(1.5);
  transition: transform .5s;
}

.testi .swiper-slide-active .thumbnail img {
  transform: scale(1);
}

.testi .thumbnail::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + 30px);
  height: calc(100% + 10px);
  background-color: var(--first-color);
  border-radius: 20%;
  z-index: -1;
  box-shadow: var(--box-shadow);
  transition: border-radius .5s .3s;
}

/*.testi .swiper-slide-active .thumbnail::before {
  border-radius: 100% 100% 100% 100% / 100% 100% 100% 100%;
}*/

.testi .aside {
  position: relative;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  color: var(--text-color-light);
}

.testi .aside > p {
  position: relative;
  font-size: 14px;
  line-height: normal;
  margin-bottom: 30px;
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: transform 1s, opacity 1s;
}

.testi .swiper-slide-active .aside > p {
  transform: translateX(0);
  opacity: 1;
}

.testi .aside > p::before,
.testi .aside > p::after {
  font-family: serif;
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  color: var(--first-color-light);
  height: 40px;
  z-index: -1;
}

.testi .aside > p::before {
  content: open-quote;
  top: -40px;
  left: 10px;
}

.testi .aside > p::after {
  content: close-quote;
  right: 0;
}

.testi .aside .name {
  position: relative;
  width: fit-content;
  line-height: 1;
  opacity: 0;
  transform: translateX(30px);
  transition: transform 1s .2s, opacity 1s .3s;
}

.testi .swiper-slide-active .name {
  transform: translateX(0);
  opacity: 1;
}

.testi .aside .name h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--first-color);
  opacity: .8;
}

.testi .aside .name p {
  font-size: 1rem;
  text-align: right;
}

.testi .more__clients {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
}

.more__clients .clients__btn {
  background-color: var(--first-color);
  border: none;
  color: var(--body-color);
  font-weight: bold;
  cursor: pointer;
  width: 10rem;
  height: 3rem;
  border-radius: 10px;
}

.more__clients .clients__btn:hover {
  background-color: var(--first-color-alt);
  transition: background-color .3s;
}

/* ======== SWIPER ====== */
.testi :is(.swiper-button-next, .swiper-button-prev) {
  background-color: var(--first-color-dark);
  top: 35%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background-color .3s;
  box-shadow: var(--box-shadow);
}

.testi :is(.swiper-button-next, .swiper-button-prev):hover {
  background-color: grey;
}

.testi :is(.swiper-button-next, .swiper-button-prev)::after {
  font-size: 1rem;
  font-weight: 800;
  color: var(--first-color-light);
}

.testi .swiper-pagination {
  position: relative;
}

.testi .swiper-pagination span {
  transition: width .3s;
  opacity: 1;
}


.testi .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--first-color-dark);
}


.testi .swiper-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 4px;
  background-color: var(--first-color-light);
}


/*=============== CHOOSE ===============*/
.choose {
  padding-bottom: 0;
}

.choose__overflow {
  position: relative;
}

.choose__container {
  row-gap: 3rem;
}

.choose__content .section__data {
  margin-bottom: 2rem;
}

.choose__description {
  text-align: center;
  margin-bottom: 2.5rem;
}

.choose__data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 2rem;
}

.choose__group {
  text-align: center;
}

.choose__number {
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  font-weight: 400;
  margin-bottom: .25rem;
}

.choose__subtitle {
  font-size: var(--small-font-size);
}

.choose__triangle {
  height: 325px;
  position: absolute;
  left: 0;
  bottom: 0;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.choose__triangle-1 {
  width: 305px;
  background-color: var(--first-color);
}

.choose__triangle-2 {
  width: 205px;
  background-color: var(--first-color-alt);
}

.choose__triangle-3 {
  width: 105px;
  background-color: var(--first-color-dark);
}

.choose__img {
  width: 260px;
  display: block;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}


/*=============== PRICING ===============*/
.pricing__container {
  grid-template-columns: 285px;
  justify-content: center;
  row-gap: 2rem;
}

.pricing__card,
.pricing__shape,
.pricing__list {
  display: grid;
}

.pricing__card {
  row-gap: 2rem;
  background-color: hsla(79, 6%, 64%, .07);
  padding: 2rem 2.5rem;
}

.pricing__img {
  width: 35px;
}

.pricing__shape {
  width: 60px;
  height: 60px;
  background-color: var(--first-color-gray);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 1rem;
}

.pricing__title {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: 1rem;
}

.pricing__number {
  font-size: var(--h1-font-size);
}

.pricing__list {
  row-gap: 1rem;
}

.pricing__item {
  display: flex;
  column-gap: .5rem;
  align-items: center;
  font-size: var(--small-font-size);
}

.pricing__item i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.pricing__item-opacity {
  opacity: .3;
}

.pricing__button {
  background-color: var(--first-color);
  height: 2.5rem;
  border-radius: 10px
}

.pricing__button:hover {
  background-color: var(--title-color);
}

.pricing__card-active {
  background-color: var(--first-color);
  border: 2px solid var(--first-color-light);
}

.pricing__card-active .pricing__shape {
  background-color: var(--first-color-light);
}

.pricing__card-active .pricing__item i {
  color: var(--title-color);
}

.pricing__card-active .pricing__title,
.pricing__card-active .pricing__number,
.pricing__card-active .pricing__item {
  color: var(--title-color-black);
}


/*=============== CALCULATE ===============*/
.calculate {
  padding-bottom: 0;
}

.calculate__container {
  row-gap: 4rem;
}

.calculate__content .section__titles {
  margin-bottom: .2rem;
  text-align: center;
}

.calculate__description {
  text-align: center;
  margin-bottom: 1.2rem;
}

.calculate__form {
  display: grid;
  row-gap: 1rem;
}

.calculate__box {
  position: relative;
  border: 2px solid var(--first-color-light);
}

.calculate__input {
  width: 100%;
  background: transparent;
  padding: 20px 56px 20px 24px;
  outline: none;
  border: none;
  color: var(--text-color);
}

.calculate__input::-webkit-outer-spin-button,
.calculate__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calculate__input[type=number] {
  appearance: textfield;
}

.calculate__label {
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  color: var(--title-color);
}

.calculate__form .button {
  margin-top: .5rem;
}

.calculate__img {
  width: 200px;
  justify-self: center;
}

.calculate__message {
  position: absolute;
  transform: translateY(1rem);
}



/*=============== CONTACT ===============*/
.contact__section {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
  max-width: 550px;
  margin: auto;
  margin-top: 0rem;
}

.contact__header {
  text-transform: capitalize;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--first-color);
  margin-bottom: .5rem;
}

.contact__heading .contact__subheading {
  margin-bottom: .5rem;
  font-weight: bold;
}

.contact__subheading {
  text-align: center;
  color: var(--first-color);
}

.contact__form {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

.contact__para {
  color: var(--text-color-light);
  font-size: 1.1rem;
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

.contact__para2 {
  text-align: center;
  margin-top: .5rem;
}

form {
  width: 100%;
}

.contact__input {
  width: 95%;
  max-width: 700px;
  border: none;
  font-size: .9rem;
  padding: 1rem;
  outline: none;
  margin-bottom: 1rem;
  background-color: var(--title-color);
  color: var(--first-color-dark);
  border-radius: 10px;
  border: 2px solid var(--first-color-dark);
}

.contact__input:focus {
  border: 2px solid var(--first-color);
}

.contact__input::placeholder {
  text-transform: capitalize;
  color: var(--first-color-dark);
}

.contact__submit {
  background-color: var(--first-color);
  border: none;
  color: var(--body-color);
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

.map__container {
  position: relative;
  width: 100%;
  height: 500px;
}

.map__bg {
  position: absolute;
  background-color: var(--first-color);
  top: 0;
  right: 0;
  width: 200px;
  height: 90%;
  border-radius: 20px;
}

.map {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  height: 90%;
}

.map iframe {
  width: 100%;
  height: 100%;
}

.contact__method {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.method {
  /*display: flex;*/
  align-items: center;
  margin: 0.75rem;
}

.contact__icon {
  font-size: 1.25rem;
  color: var(--first-color-light);
}

.method__subheading {
  color: var(--first-color);
}

.method__para {
  color: var(--text-color);
}



/*=============== FOOTER ===============*/
.footer__container {
  row-gap: 1.75rem;
  padding-top: 1rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.footer__logo,
.footer__description {
  color: var(--title-color);
}

.footer__logo,
.footer__form,
.footer__social {
  display: flex;
}

.footer__logo {
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

.footer__logo img {
  width: 1.5rem;
}

.footer__description {
  margin-bottom: 2rem;
}

.footer__form {
  flex-direction: column;
  gap: 1.25rem;
}

.footer__input {
  padding: 20px 56px 20px 24px;
  border: 2px solid var(--first-color-light);
  background: transparent;
  color: var(--text-color);
  outline: none;
}

.footer__content,
.footer__links,
.footer__group {
  display: grid;
}

.footer__content {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3.5rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
  color: var(--first-color);
}

.footer__links {
  row-gap: .75rem;
}

.footer__link {
  color: var(--text-color);
  transition: color .3s;
}

.footer__Link:hover {
  color: var(--first-color);
}

.footer__group {
  margin-top: 1rem;
  justify-items: center;
  row-gap: 2rem;
}

.footer__social {
  column-gap: 1.25rem;
}

.footer__social-link {
  display: inline-flex;
  padding: .35rem;
  background-color: var(--first-color);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--title-color-black);
  transition: background .4s;
}

.footer__social-link:hover {
    background-color: var(--first-color-dark);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.footer__message {
  position: absolute;
  transform: translateY(1rem);
}

.qr__code {
  display: flex;
  width: 100%;
  border-radius: 10%;
  height: 200px;
  /*margin-left: 2.5rem;*/
}

.qr__code img {
  padding: 1rem;
  width: 50%;
}

.qr__code .qr__text {
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  color: green;
  font-size: 2rem;
  font-weight: 600;
}



/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: .5rem;
  background-color: hsl(79, 4%, 15%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(79, 4%, 25%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  /*background-color: hsl(79, 4%, 35%);*/
  background-color: var(--first-color);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--first-color);
  display: inline-flex;
  padding: .35rem;
  color: var(--title-color-black);
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: .3s;
}

.scrollup:hover {
  transform: translateY(-.25rem);
}


/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}


/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 360px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .section {
   	padding: .3rem 0 .7em;
  }

  .section__titles {
    flex-direction: column;
    row-gap: .25rem;
  }

  .home__triangle,
  .choose__triangle {
    height: 255px;
  }

  .home__triangle-3,
  .choose__triangle-1 {
    width: 260px;
  }

  .program__container {
    row-gap: .8rem;
  }

  .program__card {
    padding: .5rem 0.2rem;
  }

  .program__shape {
    margin-bottom: .5rem;
  }

  .program__title {
    margin-bottom: .5rem;
  }
  

  /*.image__section {
    width: 100%;
    float: none;
  }

  .about__content {
    width: 100%;
    float: none;
    margin-left: 0px;
  }

  .image__section img {
    width: 90%;
  }

  .about__content h1 {
    font-size: var(--
    bigger-font-size);
    /*letter-spacing: 2;
    margin-top: 30px;
  }

  .about__content h2 {
    font-size: var(--big-font-size);

  }

  .about__content p {
    font-size: var(--normal-font-size);
  }*/

  .about__content .title {
    margin: .5rem 0;
    font-size: 5rem;
  }

  .about__content .title h3 {
    font-size: 1.55rem;
  }
  
  .image__section img {
    margin-top: 0rem;
  }

  .choose__img {
    width: 195px;
  }

  .testi__container {
    padding: 0;
  }

  .testi .testi__head {
    margin-bottom: 0;
  }

  .testi :is(.swiper-button-next, .swiper-button-prev) {
    top: 22%;
  }

  .testi .aside > p::after {
    margin-top: .5rem;
  }

  .testi .aside > p {
    margin-left: 8px;
    margin-right: 8px;
  }

  .pricing__container {
    grid-template-columns: 250px;
    row-gap: .8rem;
  }

  .pricing__card {
    padding: 1.5rem;
  }

  .calculate__content .section__titles {
    margin-bottom: .2rem;
  }

  .calculate__description {
    margin-bottom: 1rem;
  }

  .calculate__img {
    display: none;
  }
  
  .contact__method {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    text-align: center;
  }

  .method {
    /*display: flex;*/
    align-items: center;
    margin: 0.75rem;
  }

  .footer__container {
    row-gap: .2rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    margin-top: .5rem;
  }

  .footer__content .footer__title {
    margin-bottom: .2rem;
  }

  .footer__links {
    row-gap: 0.25rem;
  }

  .qr__code {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .qr__code img {
    width: 90%;
  }
  
  .qr__code .qr__text {
    font-size: 1.5rem;
  }

  .footer__group {
    row-gap: .75rem;
    margin-top: 2.5rem;
  }
  
  .footer__content {
    margin-left: .5rem;
    margin-right: .5rem;
  }
}

@media screen and (max-width: 440px) {
   .home__container {
     padding-top: 6rem;
  }
  
   .calculate__img {
     display: none;
  }
  
  .contact__form {
    gap: 1rem;
  }
  
  .footer-container {
   row-gap: .5rem;
   padding-top: .2rem;
   text-align: center;
  }
  
  .footer__content {
    grid-template-columns: repeat(3, 1fr);
    gap: 0rem .5rem;
   }
}

@media screen and (max-width: 768px) {
  .home__title {
    font-size: 2em;
  }

  .home__subtitle2 {
    font-size: 1em;
  }
  
  .about__container {
    margin: 0;
    display: block;
    margin-left: 10px;
  }

  .about__content {
    float: none;
    width: 94%;
    display: block;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1.2rem;
}

.image__section {
    float: none;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.image__section img {
    width: 100%;
    height: auto;
    margin-right: 10px;
}

.about__content .title {
    text-align: center;
    font-size: 1.8rem;
    padding-left: 15px;
}
  
.about__content .content p {
  font-size: 16px;
}
  
.image__section img {
  margin-top: .5rem;
}
.about__content .content .button {
    text-align: center;
}

.about__content .content .button a {
    padding: 9px 30px;
}
  
.about__content .content .quals {
  font-size: 1.25rem;
}

.about__content .social {
    text-align: center;
  	margin-top: .5rem;
}
  
  .calculate__img {
     display: none;
  }
}

/*@media screen and (max-width: 510px) {
  .about__container {
    padding: 0;
  }

  .image__section {
    width: 100%;
    float: none;
  }

  .about__content {
    width: 100%;
    float: none;
    margin-left: 0px;
  }

  .image__section img {
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}*/

@media screen and (max-width:768px) {
  
.contact__method {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.method {
  /*display: flex;*/
  align-items: center;
  margin: 0.75rem;
}
}


/* For medium devices */
@media screen and (min-width: 768px) {
  .nav__menu {
    width: 50%;
  }

  .home__container,
  .choose__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .home__data,
  .choose__content .section__data,
  .choose__description,
  .calculate__description {
    text-align: initial;
  } /* .calculate__description added above for non centre text */

  .logos__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .program__container {
    grid-template-columns: repeat(2, 275px);
    gap: 2.5rem;
  }

  /* ========= Testimonials ======== */
  .testi .testi__wrapper {
    flex-direction: row;
    padding: 20px 60px;
  }

  .testi .thumbnail {
    width: 200px;
    height: 200px;
  }

  .testi :is(.swiper-button-next, .swiper-button-prev) {
    top: 50%;
  }

  .testi .swiper-slide-active .name {
    transform: translateX(-50px);
  }


  .choose__content {
    order: 1;
  }

  /*.choose__data {
    justify-items: flex-start;
  }*/

  .choose__content .section__titles,
  .calculate__content .section__titles {
    justify-content: initial;
  }

  .pricing__container {
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
  }

  .calculate__container {
    grid-template-columns: 1fr .8fr;
    align-items: center;
  }

  .calculate__form {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }

  .calculate__form .button {
    grid-column: 1 / 3;
  }

  /* Contact Section */
  .contact__section {
    max-width: 1100px;
  }

  .contact__form {
    grid-template-columns: 1fr 1fr;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
  }

  .footer__content {
    grid-template-columns: repeat(3, max-content);
  }
  
  .qr__code {
    display: flex;
    width: 100%;
    border-radius: 10%;
    height: 200px;
    margin-left: 2.5rem;
  }
  
  .qr__code .qr__text {
    font-size: 1.25rem;
    padding-right: 2.5rem;
  }

}

@media screen and (max-width: 1022px) {
  .image__section img {
    margin-top: 1.3rem;
  }
  
  .nav__logo {
    display: block;
  }
  
  .nav {
    justify-content: space-between;
  }

  .nav__logo {
    padding-top: .8rem;
  }

  .nav__toggle {
    font-size: 2rem;
  }
}


/* For large devices */
@media screen and (min-width: 1023px) {
  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__menu {
    width: initial;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    padding: 0;
    align-items: center;
    column-gap: 4rem;
  }

  .section {
    padding: 0rem 0 0;
  }

  .section__subtitle {
    font-size: 2rem;
  }

  .home__container {
    grid-template-columns: repeat(2, max-content);
    align-items: center;
  }

  .home__titleold {
    margin: .75rem 0 1.25rem;
  }

  .home__subtitle {
    font-size: var(--bigger-font-size);
  }

  .home__description {
    width: 445px;
    margin-bottom: 3rem;
  }

  .home__img {
    width: 550px;
    transform: translateX(-6rem);
  }

  .home__triangle {
    height: 700px;
  }

  .home__triangle-1 {
    width: 145px;
  }

  .home__triangle-2 {
    width: 345px;
  }

  .home__triangle-3 {
    width: 545px;
  }

  .logos {
    padding: 3.5rem 0 1rem;
  }

  .logos__img {
    width: 190px;
  }

  .choose__overflow {
    overflow: hidden;
  }

  .choose__img {
    width: 350px;
  }

  .choose__triangle {
    height: 700px;
  }

  .choose__triangle-1 {
    width: 545px;
  }

  .choose__triangle-2 {
    width: 345px;
  }

  .choose__triangle-3 {
    width: 145px;
  }

  .footer {
    padding-bottom: 3rem;
  }

  .footer__form {
    flex-direction: row;
  }

  .footer__content {
    column-gap: 3rem;
    margin-left: 2.2rem;
    margin-top: 1rem;
  }

  .footer__group {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    margin-top: 2rem;
  }

  .footer__social {
    order: 1;
    margin-right: 4rem;
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .home__data {
    padding-bottom: 2rem;
  }

  .home__images {
    transform: translateX(-5rem);
  }

  .home__img {
    width: 700px;
    transform: translateX(2rem);
  }

  .home__triangle {
    height: 995px;
  }

  .home__triangle-1 {
    width: 205px;
  }

  .home__triangle-2 {
    width: 505px;
  }

  .home__triangle-3 {
    width: 705px;
  }

  .program__container {
    grid-template-columns: repeat(4, 245px);
    padding: 2rem 0;
  }

  .program__card {
    padding: 2rem 2rem 0rem 2rem;

    display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  }

  .program__description {
    font-size: var(--normal-font-size);
  }

  .choose__container {
    column-gap: 8rem;
  }

  .choose__img {
    width: 450px;
    margin: 0 0 0 auto;
  }

  .choose__triangle {
    height: 800px;
  }

  .choose__images {
    position: relative;
  }

  .choose__data {
    grid-template-columns: repeat(2, max-content);
    gap: 2.5rem 8rem;
  }

  .choose__description {
    width: 418px;
    margin-bottom: 3.5rem;
  }

  .pricing__container {
    padding-top: 3rem;
    grid-template-columns: repeat(3, 320px);
  }

  .pricing__card {
    padding: 2rem 3.5rem;
    row-gap: 2.5rem;
  }

  .calculate__description {
    width: 415px;
  }

  .calculate__form {
    width: 505px;
  }

  .calculate__img {
    width: 300px;
  }

  .scrollup {
    right: 2rem;
  }
  
}