@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700");

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
  font-size: 62.5%;
  font-size: 10px;
}

.nav {
  width: 100%;
  height: 65px;
  position: fixed;
  line-height: 65px;
  text-align: center;
  background-color: #0043a5;
  z-index: 1000;
  top: 0;
  left: 0;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  padding-left: 3rem;
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 2.5rem;
}

.nav div.logo a:hover {
  color: #00e676;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 3rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 65px;
  font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
  color: #00e676;
}

@media screen and (max-width: 768px) {
  .navTrigger {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
  }

  .navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    display: block;
    width: 100%;
    height: 4px;
  }

  .navTrigger i:nth-child(2) {
    margin: 5px 0;
  }

  .nav div.main_list {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: rgba(0, 67, 165, 1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
  }

  .nav div.main_list.show_list {
    display: flex;
  }

  .nav div.main_list ul {
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 0;
    margin-bottom: 20rem;
  }

  .nav div.main_list ul li a:hover {
    color: #00e676;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
  }

  .nav div.main_list ul li {
    width: 100%;
    margin-bottom: 1rem;
  }

  .nav div.main_list ul li a {
    font-size: 3rem;
    color: #fff;
    padding: 20px;
    text-decoration: none;
  }

  .nav div.main_list ul li a:hover {
    color: #00e676;
  }

  .navTrigger {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: absolute;
    right: 20px;
    z-index: 10000;
  }
  .navTrigger.active i:nth-child(1) {
    transform: translateY(9px) rotate(135deg);
  }

  .navTrigger.active i:nth-child(2) {
    opacity: 0;
  }

  .navTrigger.active i:nth-child(3) {
    transform: translateY(-9px) rotate(-135deg);
  }

  .navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    display: block;
    width: 100%;
    height: 4px;
    margin: 5px 0;
  }
}

.navTrigger i:nth-child(1) {
  transition: 0.4s ease-in-out;
}
.navTrigger i:nth-child(2) {
  transition: 0.4s ease-in-out;
}
.navTrigger i:nth-child(3) {
  transition: 0.4s ease-in-out;
}

.navTrigger.active i:nth-child(1) {
  transform: translateY(9px) rotate(135deg);
}

.navTrigger.active i:nth-child(2) {
  opacity: 0;
}

.navTrigger.active i:nth-child(3) {
  transform: translateY(-9px) rotate(-135deg);
}

.affix {
  padding: 0;
  background: rgb(0, 67, 165);
}

.myH2 {
  text-align: center;
  font-size: 4rem;
}
.myP {
  text-align: justify;
  padding-left: 15%;
  padding-right: 15%;
  font-size: 20px;
}

@media all and (max-width: 700px) {
  .myP {
    padding: 2%;
  }
}
#logo {
  width: 295px;
  height: 236px;
  margin-left: 17rem;
}
/* Ajuste al logo */
.logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
}
.header {
  margin-top: 5rem;
  background: linear-gradient(100deg, #0b9fd0, #034b99);
  text-align: center;
  padding: 50px 20px;
}

.header h1 {
  font-size: 36px;
  color: #cacaca;
}

.header p {
  font-size: 18px;
  margin: 15px 0;
  color: #ece3e3;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #47a059;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #82ff4d;
}

.intro {
  text-align: center;
  padding: 50px 20px;
  background-color: #ffffff;
}

.intro h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.intro p {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.services {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.service {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Icon Styles */
.image-circle {
  width: 80px;
  height: 80px;
  background-color: #4d71ff;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-circle i {
  font-size: 40px;
  color: #acbaf0;
}

.service h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service p {
  font-size: 14px;
  color: #666;
}
.footer {
  background-color: #0043a5;
  color: white;
  padding: 30px 0;
}

.container-footer {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.row {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 20%;
  margin: 10px;
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}
.btn-container {
  margin-top: 10px;
}

.btn-agendar-cita {
  background-color: white;
  color: #0043a5;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-agendar-cita:hover {
  background-color: #0043a5;
  color: white;
}

.footer-links h6 {
  margin: 10px 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-link {
  margin-left: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-link img {
  width: 30px;
  height: 30px;
}

.social-link:hover {
  transform: scale(1.1);
}
