/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* GLOBAL */

:root {
  --clr-light-blue: #32BFD2;
  --clr-dark-blue: #005E6B;
  --clr-darkest-blue: #002A30;
  --clr-gray: #E8E8E8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 143px;
}

body {
  position: relative;
  z-index: -10;
  overflow-x: hidden;
}

section{
  overflow-x: hidden;
}

body,
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;

  font-family: 'Poppins', sans-serif;
}

ul li {
  list-style: none;
}

button {
  border: none;
}

a,
button {
  font-family: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

.title-section {
  font-size: 26px;
  color: #232323;
}

.container {
  margin: 0 auto;
}

p {
  color: #2E2E2E;
}

.cta {
  padding: 8px 16px;
  font-size: 18px;
  font-weight: bold;

  color: #fff;
  background: var(--clr-light-blue);
  display: inline-block;

  transition: background 200ms ease-in-out;
}

.cta:hover{
  background: #1796a7;
}

.whatsapp-link {
  width: 70px;
  height: 70px;
  padding: 15px;
  border-radius: 50%;

  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;

  background: #04b545;
}

/* TOP INFO */
.top-info {
  display: none;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;

  background: #F9F9F9;
}

.header-container {
  max-width: 1200px;
  padding: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  width: 50px;
  cursor: pointer;

  display: inline-flex;
}

.menu-label i {
  font-size: 32px;
}

.navbar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background: #F9F9F9;

  opacity: 0;
  transform: translateY(-135%);
  transition: transform 500ms ease-in-out, opacity 500ms ease-in-out;
  z-index: -200;
}

#menu-bar {
  display: none;
}

.navbar ul {
  list-style: none;
}

.navbar ul li a {
  padding: 20px;
  font-size: 16px;

  color: var(--clr-dark-blue);

  display: block;
}

.navbar ul li a:hover {
  background: #eeeeee;
}

.navbar ul li ul {
  width: 200px;
  position: absolute;
  left: 0;

  background: #F9F9F9;

  display: none;
}

#menu-bar:checked~.navbar {
  transform: translateY(0%);
  opacity: 1;
}

.navbar ul li:focus-within>ul,
.navbar ul li:hover>ul {
  display: initial;
}

.navbar ul li ul {
  position: relative;
  width: 100%;
}

.navbar ul li ul li {
  width: 100%;
  border-top: 1px solid #c0c0c0;
}

.navbar .active-page a{
  font-weight: bold;
}

/* HERO */
.hero-section {
  padding: 120px 20px;
  margin-top: 113px;
  position: relative;

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-section.homepage {
  background-image: url('../img/hero-mobile.jpg');
}

.hero-section.about {
  background-image: url('../img/hero-about-mobile.jpg');
}

.hero-section.plans {
  background-image: url('../img/hero-plans.jpg');
}

.hero-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1000;

  color: #FFF;
}

.hero-title {
  font-size: 32px;
}

.hero-desc {
  margin: 16px 0;
  color: #FFF;
}

/* INFO ATTENDANCE */
.info-attendance {
  padding: 35px 20px;

  background: var(--clr-darkest-blue);
}

.info-attendance p {
  color: #FFF;
}

.info-attendance .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.info-group p:first-child {
  margin-bottom: 8px;
  font-weight: bold;
}

/* PARTNERS SECTION */
.partners-section{
  padding: 20px;
}

.partners-section img{
  width: 80px;
}

.partners-section .container{
  max-width: 900px;
  padding: 10px 0;
  overflow: scroll;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}


/* BENEFITS SECTION */
.benefits-section {
  padding: 48px 20px;
}

.benefits-section .container {
  max-width: 520px;
}

.benefits-section .title-section {
  margin-bottom: 50px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.benefit-item {
  max-width: 520px;
}

.benefit-item img {
  width: 200px;
  margin-bottom: 16px;
}

.benefit-item span {
  font-weight: bold;
}

/* BUTTONS PLANS TYPES */
.plan-types-section {
  padding: 48px 20px;
}

.plan-types-section .container {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.plan-types {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-plan-type {
  padding: 12px;
  cursor: pointer;

  background: var(--clr-dark-blue);
}

.btn-plan-type.active{
  background: #009DB2;
}

.btn-plan-type h3,
.btn-plan-type p {
  color: #FFF;
}

.btn-plan-type img {
  width: 60px;
  margin-bottom: 16px;
}

.btn-plan-type button {
  display: none;
}

.plan-type-cta {
  width: 320px;
  height: 640px;
  padding: 10px;

  background-image: url('../img/plans-types01.jpg');
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.plan-type-cta {
  position: relative;
}

.plan-type-cta img {
  width: 60px;
  position: absolute;

  top: -20px;
  right: -20px;
}

.plan-type-cta-info {
  padding: 20px 25px;
  margin: 0 auto;
  border-radius: 10px;
  text-align: center;

  background: #FFF;
}

.plan-type-cta-info h3,
.plan-type-cta-info p {
  margin-bottom: 20px;
  color: #003239;
}

.plan-type-cta .cta {
  font-size: 16px;
}

/* PLANS SECTION */
.health-plans-section {
  padding: 48px 20px;

  position: relative;
  z-index: -100;

  background: #E6F4F4;
}

.health-plans-section .container {
  max-width: 500px;
}

.health-plans-section .title-section {
  margin-bottom: 30px;
}

.plans-info {
  position: relative;
}

.plans-info::before {
  content: '';

  width: 4px;
  height: 100%;
  position: absolute;
  left: -15px;

  background: #66B6FF;
}

.plans-info p {
  margin-bottom: 10px;
  text-align: justify;
}

.plans-group {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.plans-group .img-container {
  position: relative;
}

.plans-group .img-container::before {
  content: "";

  width: 245px;
  height: 30px;
  position: absolute;
  top: -15px;
  right: -80px;
  z-index: -10;

  background: #D9E8E8;
}

.plans-group .img-container::after {
  content: "";

  width: 210px;
  height: 50px;
  position: absolute;
  bottom: -20px;
  left: -60px;
  z-index: -10;

  background: #D9E8E8;
}

.plans-group .top-icon {
  width: 38px;
  height: 38px;

  position: absolute;
  top: -19px;
  left: -19px;
}

/* CTA SECTION */
.cta-section {
  padding: 30px 20px;

  background: var(--clr-light-blue);
}

.cta-section .container {
  max-width: 450px;
}

.cta-info * {
  color: #FFF;
}

.cta-info {
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-info .cta {
  color: #3D3D3D;
  background: #FFF;
  transition: scale 200ms ease-in-out;
}

.cta-info .cta:hover{
  scale: 1.05;
}

/* ABOUT SECTION */
.about-section {
  padding: 48px 20px;
}

.about-section .container {
  max-width: 500px;
}

.about-section .title-section {
  margin-bottom: 40px;
}

.about-group {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.about-group::before {
  content: "";
  width: 138px;
  height: 138px;

  position: absolute;
  top: -100px;
  left: -20px;
  z-index: -10;

  background-image: url('../img/icons/quotes.svg');
  background-repeat: no-repeat;
  background-size: 100%;
}

.about-group p {
  text-align: justify;
}

.about-group .img-container {
  position: relative;
}

.about-group .img-container::before {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 10px;

  position: absolute;
  transform: rotate(-10deg);
  z-index: -100;

  background: #002A30;
}

.about-group .img-container img {
  max-width: 300px;
  border-radius: 10px;
}

/* CONTACT SECTION */
.contact-section {
  padding: 48px 20px;
}

.contact-section .container {
  max-width: 400px;
}

.contact-section .title-section {
  margin-bottom: 20px;
}

.contact-section .heading {
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.input-item {
  width: 100%;
  border: none;
  border-radius: 5px;
  padding: 14px 20px;
  font-weight: 400px;
  font-size: 16px;

  color: #6b6b6b;
  background-color: var(--clr-gray);
}

.input-group textarea {
  height: 120px;
  resize: none;
}

.input-group {
  position: relative;
}

.input-group label {
  padding: 0px 5px;
  cursor: text;

  position: absolute;
  left: 20px;
  top: 14px;

  transition: top 200ms ease-in, left 200ms ease-in, font-size 200ms ease-in, background ease-in;
  color: #949494;
}

.input-item:focus~label,
.input-item:not(:placeholder-shown).input-item:not(:focus)~label {
  top: -5px;
  left: 10px;
  font-size: 10px;
  background: #FFF;
}

.input-group textarea:focus,
.input-group input:focus,
.input-item:not(:placeholder-shown) {
  border: 1px solid #c5c5c5;
  background: none;
}

.btn-send {
  width: 100%;
  margin-top: 30px;
  border-radius: 5px;
  font-size: 20px;
}

.input-group+.input-group {
  margin-top: 25px;
}

.contact-group>img {
  border-radius: 10px;
}

.other-contacts {
  margin-top: 16px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.contact-item {
  font-size: 13px;
  text-decoration: underline;
  color: #313131;

  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-item img {
  width: 20px;
}

/* ABOUT PAGE */

.aboutpage-section {
  padding: 48px 20px;
}

.aboutpage-section .container {
  max-width: 550px;
}

.about-info-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

.about-info-group .img-container {
  position: relative;
}

.about-info-group .img-container::before {
  width: 100%;
  height: 100%;
  content: "";

  position: absolute;
  z-index: -100;
  background: #EBEBEB;
}

.about-info-group:first-child .img-container::before {
  bottom: -20px;
  left: -20px;
}

.about-info-group:last-child .img-container::before {
  bottom: -20px;
  right: -20px;
}

.about-info-group p {
  max-width: 550px;
  text-align: justify;
  position: relative;
}

.about-info-group p img {
  width: 50px;
  position: absolute;
}

.about-info-group:first-child p img {
  top: -20px;
  right: -10px;
  transform: scaleX(-1);
}

.about-info-group:last-child p img {
  top: -20px;
  left: -10px;
}

.about-info-group p::before,
.about-info-group p::after {
  width: 52px;
  height: 52px;
  content: "";

  position: absolute;
  z-index: -100;

  background-repeat: no-repeat;
  background-position: center;
}

.about-info-group:first-child p::before {
  top: -10px;
  left: -10px;
  background-image: url('../img/icons/top-left-corner.svg');
}

.about-info-group:first-child p::after {
  bottom: -10px;
  right: -10px;
  background-image: url('../img/icons/bottom-right-corner.svg');
}

.about-info-group:last-child p::before {
  top: -10px;
  right: -10px;
  background-image: url('../img/icons/top-right-corner.svg');
}

.about-info-group:last-child p::after {
  bottom: -10px;
  left: -10px;
  background-image: url('../img/icons/bottom-left-corner.svg');
}

.about-info-group img {
  max-width: 470px;
}

.about-info-group + .about-info-group {
  margin-top: 60px;
}

/* PARTNERS PRESENTATION SECTION */
.partners-presentation-section {
  overflow-y: hidden;
  padding-top: 48px;
}

.partners-presentation-section .container {
  max-width: 500px;
}

.partners-presentation-section .title-section {
  margin-bottom: 60px;
  text-align: center;
}

.years {
  display: flex;
}

.years h2 {
  font-size: 180px;
  line-height: 0.8;

  color: #002A30;
}

.years span {
  font-size: 100px;
  font-weight: bold;
  line-height: 0.8;
}

.market-years {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.market-years span {
  color: var(--clr-dark-blue);
}

.market-years>span {
  font-size: 32px;
  font-weight: 500;
}

.partners-group {
  padding: 0 20px 0 20px;
}

.partners-group img {
  margin: 30px 0;
}

.values {
  padding: 30px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;

  background: #F4F4F4;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.value-item img {
  width: 24px;
}

/* BTN PLANS */
.btn-plans {
  margin-top: -20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

  position: relative;
  z-index: 100;
}

.btn-plan {
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  color: #FFF;
  background: #008394;
  transition: background ease-in 100ms;
}

.btn-plan:hover{
  background: #0099ad;
}

.btn-plan.active{
  background: #00bcd4;
}

/* PLANS-SECTION */
.plan-section {
  padding: 48px 20px;
}

.plan-section .container {
  max-width: 490px;
}

.plan-group {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.plan-group .img-container{
  position: relative;
}

.plan-group .img-container::before{
  content: "";
  width: 100%;
  height: 100%;

  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: -10;

  background: #EBEBEB;
}

.title-plan {
  margin-bottom: 12px;
  color: #003B43;
}

.info-plan p {
  text-align: justify;
  color: #003B43;
}

.info-plan .cta{
  margin-top: 20px;
  border: var(--clr-light-blue) 2px solid;

  color: var(--clr-light-blue);
  background: none;
}

.info-plan .cta:hover{
  color: #FFF;
  background: var(--clr-light-blue);
}

/* PLAN TOPICS */
.plan-topics-section {
  padding: 20px;
  background: #002A30;
  background-image: url('../img/bg-topics.svg');
  background-position: bottom;
  background-repeat: no-repeat;
}

.plan-topics-section .container{
  max-width: 700px;
}

.plan-topics-section h2,
.plan-topics-section p {
  color: #FFF;
}

.topics {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.topic {
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topic img {
  width: 30px;
}

/* FOOTER */

.footer {
  padding: 48px 20px 20px;
  background: #F2F2F2;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.logo-footer {
  width: 90px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-nav .nav-col {
  text-align: center;
}

.nav-col h3 {
  margin-bottom: 16px;
  color: #232323;
}

.nav-col a {
  padding: 8px 10px;
  color: #232323;

  display: inline-block;
}

.nav-col .social-links {
  display: flex;
  justify-content: center;
}

.social-links i {
  font-size: 32px;
}

.nav-col a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 60px;
  font-size: 12px;
  text-align: center;

  color: #232323;
}

@media screen and (min-width: 768px) {

  /* GLOBAL */
  .title-section {
    font-size: 40px;
  }

  /* TOP INFO */
  .top-info {
    padding: 12px 20px;
    display: block;
    background: var(--clr-darkest-blue);
  }

  .top-info .container{
    max-width: 1170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .top-info h4{
    color: #FFF;
  }

  .top-contact{
    display: flex;
    gap: 20px;
  }

  .top-contact .contact-item{
    text-decoration: none;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* HEADER */
  .header-container {
    padding: 20px;
    margin: auto;
  }

  .header {
    margin-top: 48px;
    padding: 0;
  }

  .header .menu-label {
    display: none;
  }

  .header .navbar {
    display: initial;
    all: unset;
  }

  .header .navbar ul li {
    position: relative;
    float: left;
  }

  .header .navbar ul li ul {
    position: absolute;
  }

  .navbar ul{
    display: flex;
    align-items: center;
  }

  .navbar ul li a{
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar ul li a:hover {
    font-weight: bold;
    color: var(--clr-darkest-blue);
    background: none;
  }

  .contact-cta-nav{
    padding: 10px 20px;
    background: var(--clr-light-blue);
  }

  .navbar .contact-cta-nav a{
    font-weight: bold;
    text-transform: uppercase;
    color: #FFF;
  }

  .navbar .contact-cta-nav:hover{
    background: #1CAEC1;
  }

  .navbar .contact-cta-nav a:hover{
    color: #FFF;
  }


  /* HERO */
  .hero-section.homepage {
    margin-top: 104px;

    background-image: url('../img/hero-tablet.jpg');
    background-attachment: local;
  }

  .hero-section.about {
    background-image: url('../img/hero-about-tablet.jpg');
  }

  .hero-container {
    max-width: 1170px;
  }

  .hero-content {
    max-width: 460px;
    text-align: left;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-desc {
    font-size: 18px;
  }


  /* INFO  ATTENDANCE */
  .info-attendance{
    padding: 10px;
  }

  .info-attendance .container {
    justify-content: center;
  }

  .info-group {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .info-group p:first-child {
    margin: 0;
  }

  /* BENEFITS SECTION */
  .benefits-section .container {
    max-width: 1120px;
  }

  .benefits {
    justify-content: center;
  }

  .benefits-section .title-section {
    margin-bottom: 80px;
    text-align: center;
  }

  /* PLAN TYPES SECTION */
  .plan-types-section .container {
    max-width: 986px;

    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-plan-type {
    max-width: 500px;
  }

  /* HEALTH PLANS */
  .health-plans-section {
    padding: 60px 40px;
  }

  .health-plans-section .container {
    max-width: 970px;
  }

  .health-plans-section .title-section {
    margin-bottom: 60px;
  }

  .plans-group {
    flex-direction: row;
    align-items: center;
  }

  .plans-info {
    max-width: 40%;
  }

  /* CTA INFO */
  .cta-section {
    padding: 30px 40px;

    background-image: url('../img/cta-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
  }

  .cta-section .container {
    margin: 0 0 0 auto;
  }

  .cta-info {
    align-items: flex-end;
  }

  /* ABOUT SECTION */
  .about-section {
    padding: 60px 40px;
  }

  .about-section .container {
    max-width: 970px;
  }

  .about-section .title-section {
    text-align: center;
  }

  .about-group {
    flex-direction: row;
    justify-content: center;
  }

  .about-group p {
    max-width: 50%;
  }

  .about-group img {
    max-width: 290px;
  }

  /* PLAN SECTION */
  .plan-section{
    padding: 60px 40px;
  }

  /* CONTACT SECTION */
  .contact-section {
    padding: 60px 40px;
  }

  .contact-section .container {
    max-width: 770px;
  }

  .contact-section .heading {
    margin-bottom: 60px;
    text-align: center;
  }

  .form-group {
    flex-direction: row;
    gap: 20px;
  }

  .form-group .form {
    flex: 1 1 0px;
    order: 2;
  }

  .form-group .contact-group {
    flex: 1 1 0px;
  }

  /* ABOUT PAGE SECTION */
  .about-info-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* PARTNERS PRESENTATION SECTION */
  .partners-presentation-section .container {
    max-width: 1070px;
  }

  .partners-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .partners-group img {
    width: 380px;
  }

  /* PLANS SECTION */
  .plan-topics-section {
    padding: 40px 20px;
  }

  /* FOOTER */
  .footer {
    padding: 60px 40px 20px;
  }

  .footer-links {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-nav {
    flex-direction: row;
  }

  .footer-nav .nav-col {
    text-align: left;
  }

  .nav-col a {
    padding-left: 0;
  }

  .nav-col .social-links {
    display: flex;
    justify-content: start;
  }
}

@media screen and (min-width: 1000px) {
  /* HEADER */
  .header .logo{
    width: 80px;
  }

  /* HERO */
  .hero-section.homepage {
    background-image: url('../img/hero-desktop.jpg');
  }

  .hero-title {
    font-size: 50px;
  }

  .hero-desc {
    font-size: 20px;
  }

  .hero-content {
    max-width: 592px;
  }

  /* BENEFITS SECTION */
  .benefits-section {
    padding: 80px 20px;
  }

  /* PLAN TYPES SECTION */
  .btn-plan-type {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .btn-plan-type img {
    margin: 0;
  }

  /* HEALTH PLANS SECTION */
  .health-plans-section {
    padding: 80px 20px;
  }

  .plans-group .img-container::before {
    width: 310px;
    height: 54px;
  }
  
  .plans-group .img-container::after {
    width: 420px;
    height: 75px;
  }

  /* CTA SECTION */
  .cta-section .container {
    max-width: 970px;
    margin: 0 auto;
  }

  .cta-info h2 {
    font-size: 32px;
  }

  /* ABOUT SECTION */
  .about-section {
    padding: 80px 20px;
  }

  .about-section .title-section{
    margin-bottom: 80px;
  }

  .about-group::before {
    width: 280px;
    height: 280px;
    top: -170px;
    left: -100px;
  }

  /* CONTACT SECTION */
  .contact-section {
    padding: 80px 20px;
  }

  /* ABOUT PAGE SECTION */
  .aboutpage-section .container {
    max-width: 1170px;
  }

  .aboutpage-section .about-info-group:first-child p {
    order: 2;
  }

  .about-info-group {
    justify-content: space-between;
  }

  .about-info-group p {
    flex: 1 1 0px;
  }

  .about-info-group img {
    flex: 1 1 0px;
  }


  /* PARTNERS PRESENTATION SECTION */
  .partners-group img {
    width: 660px;
  }

  /* PLANS SECTION */
  .plan-section{
    padding: 80px 20px;
  }

  .plan-section .container {
    max-width: 990px;
  }

  .plan-group {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .plan-group .info-plan {
    flex: 1 1 0px;
  }

  .plan-group img {
    max-width: 470px;
    flex: 1 1 0px;
  }

  /* FOOTER */
  .footer {
    padding: 80px 0 20px;
  }

  .footer-links {
    max-width: 1200px;
    margin: 0 auto;

    justify-content: space-around;
  }
}