@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700");

/* General styles */
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;
}

.logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.container {
  max-width: 500px;
  margin: 10rem auto;
  padding: 5rem;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin-bottom: 1rem;
}

.form-description {
  font-size: 1.4rem;
  color: #666666;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group {
  margin-right: 2rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: #555555;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #2e77e6;
  box-shadow: 0 0 8px rgba(255, 64, 129, 0.2);
  outline: none;
}

textarea.form-control {
  resize: none;
  height: 120px;
}

.form-button {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #2e77e6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: #243857;
}

@media (max-width: 768px) {
  .container {
    margin-top: 10rem;
    margin-left: 2rem;
    margin-right: 2rem;
    padding: 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .form-description {
    font-size: 1.2rem;
  }
}

.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);
}
