@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@100;200;300;400;500;600;700;800;900&family=Lato:wght@100;300;400;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Lato, sans-serif;
}

.container {
  background-image: url('./images/base/mobile_intro_bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 1rem;
}

.desktop-nav {
  display: none;
}

.nav-items a {
  display: block;
  text-decoration: none;
}

.logo {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #272a33;
}

.burger {
  position: relative;
  cursor: pointer;
  height: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-bar {
  position: relative;
  cursor: pointer;
  height: 4em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.burger.active .bar:nth-child(2) {
  opacity: 0;
}

.burger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: #000;
}

.burger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: #000;
}

.heading {
  margin-top: 3rem;
  color: #ec5242;
}

.heading h1 {
  font-size: 2.5rem;
}

.heading h2 {
  /* color: #868686; */
  margin-top: 1.875rem;
  margin-bottom: 1rem;
  color: #595959;
  font-family: Gothic A1, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 0px; /* 0% */
  letter-spacing: -1.6px;
}

.title {
  font-size: 1.563rem;
  font-weight: 300;
}

.heading .second-title {
  color: #868686;
  margin-top: 0.5rem;
  padding-bottom: 1.563rem;
}

.heading .description {
  margin-top: 2.313rem;
  border: #fff 2px solid;
  background-color: #fff;
  padding: 1rem;
  line-height: 1.25rem;
  color: #868686;
  display: inline-block;
}

/* main section */

.main-program {
  background: url('./images/base/program-summary-bcg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 1rem;
}

.main-program h1 {
  text-align: center;
  color: #fff;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.main-program h1::after {
  content: '';
  height: 2px;
  width: 50px;
  background-color: #ec5242;
  bottom: 0;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
  margin-top: 0.8em;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  margin-bottom: 0.625rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.card-title {
  color: #ec5242;
  font-weight: 500;
  font-size: 1rem;
}

.card-info {
  color: #fff;
  text-align: center;
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 25px; /* 208.333% */
  letter-spacing: 0.72px;
}

.services-btn {
  background-color: #ec5242;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.services-btn:hover {
  background-color: #868686;
  color: #ec5242;
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

/* Specialist Doctors */

.specialist-doctors {
  padding: 1rem;
}

.specialist-doctors h1 {
  position: relative;
  text-align: center;
  color: #000;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.specialist-doctors h1::after {
  content: '';
  height: 2px;
  width: 50px;
  background-color: #ec5242;
  bottom: 0;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
  margin-top: 0.8em;
}

.specialist-cards {
  margin-top: 50px;
}

.specialist-info {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 30px;
}

.specialist-info img {
  max-height: 180px;
}

.specialist-name {
  font-weight: bold;
}

.specialist-title {
  color: #ec5242;
  padding-bottom: 1rem;
}

.specialist-title::after {
  content: '';
  height: 2px;
  width: 25px;
  background: #d9d9d9;
  bottom: 0;
  border-radius: 10px;

  /* margin: 0 auto; */
  display: block;
  margin-top: 0.8em;
}

.show-more-btn {
  display: block;
  width: 100%;
  border: #868686 1px solid;
  background-color: #fff;
  color: #868686;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  align-content: center;
}

.partners {
  display: none;
}

footer {
  display: none;
}

@media screen and (max-width: 768px) {
  .desktop-nav-items {
    position: fixed;
    top: 100vh;
    left: 0;
    gap: 0;
    flex-direction: column;
    background: #ec5242;
    mix-blend-mode: multiply;
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100vh;
    text-align: left;
    transition: 0.3s;
    padding-top: 106px;
  }

  .nav-items a {
    color: #fff;
    font-family: Lato, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
  }

  .desktop-nav-items.active {
    top: 0;
  }

  .nav-items {
    margin: 5px 20px;
    list-style-type: none;
  }

  .burger {
    display: block;
    color: white;
    cursor: pointer;
    position: relative;
    z-index: 99;
  }

  .specialist-info {
    display: none;
  }

  .specialist-info:first-child,
  .specialist-info:nth-child(2) {
    display: flex;
  }
}

/* Desktop */

@media screen and (min-width: 768px) {
  .container {
    background-image: url('./images/base/main_big.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 0;
  }

  .burger {
    display: none;
  }

  .heading {
    margin-left: 215px;
    max-width: 793px;
    padding-bottom: 121px;
    margin-right: 215px;
  }

  .title {
    font-size: 2rem;
    padding-bottom: 15px;
  }

  .heading h1 {
    font-size: 4rem;
    background-image: url(images/base/sunset.avif);
    background-size: cover;
    background-clip: padding-box;
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1;
    font-family: Gothic A1, sans-serif;
    font-weight: 900;
  }

  .heading h2 {
    color: #595959;
    font-family: Gothic A1, sans-serif;
    font-size: 42.484px;
    font-style: normal;
    font-weight: 900;
    line-height: 0px; /* 0% */
    letter-spacing: -3.399px;
    margin-bottom: 40px;
  }

  .second-title {
    color: #868686;
    font-family: Gothic A1, sans-serif;
    font-size: 27.614px;
    font-style: normal;
    font-weight: 700;
    line-height: 0px; /* 0% */
    letter-spacing: -0.552px;
  }

  .heading .description {
    border: 8.497px solid #fff;
    background: #f8f8f8;
    margin-bottom: 50px;
  }

  .desktop-nav {
    background-color: #3e3e3e;
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem;
    padding-right: 224px;
  }

  .desktop-nav ul {
    list-style-type: none;
    display: flex;
  }

  .desktop-nav ul li a {
    text-decoration: none;
    color: #fff;
    margin-left: 20px;
  }

  #campaign-btn {
    border: 5px solid #ec4327;
    padding: 0 17px 0 18px;
    justify-content: center;
    align-items: center;
  }

  .desktop-navbar ul li a {
    text-decoration: none;
    color: #000;
    transition: all 0.15s linear;
  }

  .desktop-navbar a:hover {
    color: #ec5242;
  }

  #campaign-btn a {
    color: #ec4327;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
  }

  .twitter-icon {
    padding-left: 20px;
  }

  .logo {
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    text-decoration: none;
    color: #ec5242;
    margin-left: 200px;
  }

  .desktop-navbar {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
  }

  .desktop-navbar ul {
    list-style-type: none;
    display: flex;
    margin-right: 200px;
    gap: 20px;
  }

  /* Popular Services */

  .main-program {
    padding-left: 200px;
    padding-right: 200px;
  }

  .cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .main-program h1 {
    margin: 50px 50px;
  }

  .btn-container {
    margin: 50px 50px;
  }

  .btn-container .services-btn {
    background: none;
    color: #fff;
    font-family: Lato, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
    letter-spacing: -0.2px;
    text-decoration-line: underline;
  }

  .card {
    display: flex;
    flex-direction: column;
    transition: 0.2s all;
  }

  .card:hover {
    border: 1px solid white;
  }

  .card p {
    text-align: center;
  }

  /* Specialist Doctors Section */

  .specialist-doctors {
    margin-right: 200px;
    margin-left: 200px;
  }

  .specialist-cards {
    display: grid;
    place-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .show-more-btn {
    display: none;
  }

  /* Partners */

  .partners {
    background: #414246;
    display: block;
  }

  .partners h1 {
    text-align: center;
    color: #868686;
    font-weight: 400;
    padding: 1rem;
    font-size: 30px;
  }

  .partners h1::after {
    content: '';
    height: 2px;
    width: 50px;
    background-color: #ec5242;
    bottom: 0;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    margin-top: 0.8em;
  }

  .partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .partners-container div {
    margin: 30px;
  }

  footer {
    display: flex;
  }

  .logo-container {
    padding: 100px 30px;
  }

  .copy-right {
    padding-top: 78px;
  }

  .copy-right-author {
    font-weight: bold;
  }
}
