section {
  scroll-margin-top: 80px; /* Compensa a altura da navbar fixa */
}

/* cor das letras*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #e13f8a;
  text-decoration: none;
}

a:hover {
  color: #3291e6;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
  content: "";
  position: fixed;
  border: 6px solid #1977cc;
  border-top-color: #d1e6f9;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #e13f8a;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #298ce5;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.datepicker-dropdown {
  padding: 20px !important;
}

/*--------------------------------------------------------------
# Barra do numero e contatos
--------------------------------------------------------------*/
#topbar {
  background: #6fc5f0;
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  z-index: 996;
}

#topbar.topbar-scrolled {
  top: -40px;
}

#topbar .contact-info a {
  line-height: 1;
  font-size: large;
  color: #ffffff;
  transition: 0.3s;
}

#topbar .contact-info i {
  color: #ffffff;
  font-size: 30px; 
  padding-right: 4px;
  margin-left: 15px;
  line-height: 0;
}

#topbar .contact-info i:first-child {
  margin-left: 0;
}

#topbar .social-links a {
  color: #ffffff; /* Cor padrão */
   font-size: 20px; 
  padding-left: 15px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

/* Mantém a cor do ícone fixa */
#topbar .social-links a .bi {
  color: #f630ad; /* Define a cor do ícone */
  transition: none; /* Remove qualquer transição no hover */
}

/* Estilo no hover (apenas o texto muda, não o ícone) */
#topbar .social-links a:hover {
  color: #ff50dc; /* Cor ao passar o mouse (apenas para o texto/link) */
}

#topbar .social-links a:hover .bi {
  color: #f630ad; /* Garante que a cor do ícone permanece a mesma */
}

#topbar .social-links a:first-child {
  border-left: 0;
}

.instagram-icon {
  color: rgb(208, 93, 112);

}

.whatsapp-icon {
  color: #25D366; /* Cor oficial do WhatsApp */
  font-size: 24px; /* Ajuste o tamanho, se quiser */
}

/*--------------------------------------------------------------
# Barra do Titulo e home
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  top: 40px;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

header .container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

header nav.navbar {
  margin: 0 auto;
}

header .whatsapp-btn {
  margin-left: auto;
}

#header.header-scrolled {
  top: 0;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #2c4964;
}

#header .logo img {
  max-height: 40px;
}

/**
* Whatsapp Button *
*/
.whatsapp-btn {
  margin-left: 25px;
  background: #1977cc;
  color: #fff;
  border-radius: 50px;
  padding: 20px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 20px;
  display: inline-block;
}

.whatsapp-btn:hover {
  background: #166ab5;
  color: #ea4896;
}

@media (max-width: 768px) {
  .whatsapp-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  position: relative;
  white-space: nowrap;
  padding: 8px 0 8px 20px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #2c4964;
  white-space: nowrap;
  transition: 0.3s;
  border-bottom: 2px solid #fff;
  padding: 5px 2px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #1977cc;
  border-color: #1977cc;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #082744;
  border: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #1977cc;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #2c4964;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
  border: none;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #1977cc;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #1977cc;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.text-contour {
  color: white; /* Cor do texto */
  text-shadow: 
    -1px -1px 0 #000, /* Contorno para a parte superior esquerda */
    1px -1px 0 #000,  /* Contorno para a parte superior direita */
    -1px 1px 0 #000,  /* Contorno para a parte inferior esquerda */
    1px 1px 0 #000;   /* Contorno para a parte inferior direita */
}


#hero {
  width: 100%;
  height: 90vh;
  background: url("../img/herois.jpg") top center;
   opacity: 1;
  background-size: cover;
  margin-bottom: -200px;
}

#hero .container {
  position: relative;
}

#hero h3 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: #3e93e9;
  text-shadow: 1px 1px 0 rgb(6, 43, 59);
}

#hero h2 {
  color: #2c4964;
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  margin-top: 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #1977cc;
}

#hero .btn-get-started:hover {
  background: #3291e6;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 992px) {
  #hero {
    margin-bottom: 0;
    height: 100vh;
  }

  #hero .container {
    padding-bottom: 63px;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@media (max-height: 600px) {
  #hero {
    height: 110vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f1f7fd;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #2c4964;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #1977cc;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #f1f7fd;
  min-height: 40px;
  margin-top: 120px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 100px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .content {
  padding: 30px;
  background: #1977cc;
  border-radius: 4px;
  color: #fff;
}

.why-us .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .content p {
  margin-bottom: 30px;
}

.why-us .content .more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.why-us .content .more-btn i {
  font-size: 14px;
}

.why-us .content .more-btn:hover {
  color: #1977cc;
  background: #ed63af;
}

.why-us .icon-boxes .icon-box {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.why-us .icon-boxes .icon-box i {
  font-size: 40px;
  color: #1977cc;
  margin-bottom: 30px;
}

.why-us .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .icon-boxes h4 {
  font-size: 18px;
  color: #4b7dab;
  margin-bottom: 15px;
}

.about .icon-boxes h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2c4964;
  margin-bottom: 15px;
}

.about .icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid #8dc2f1;
  border-radius: 50px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: #1977cc;
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: #1977cc;
  border-color: #1977cc;
}

.about .icon-box:hover .icon i {
  color: #db53b9;
}

.about .icon-box .title {
  margin-left: 85px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #1977cc;
}

.about .icon-box .description {
  margin-left: 85px;
  line-height: 24px;
  font-size: 14px;
}

.about .video-box {
  background: url("../img/about.jpg") center center no-repeat;
  background-size: cover;
  min-height: 500px;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#1977cc 50%, rgba(25, 119, 204, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(25, 119, 204, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #1977cc;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/

/* Container de mídia principal */
.video-box .video-fundo {
  /* Dimensionamento e Proporção */
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-left: 50px;   /* Move para a direita */

  /* Estilização Visual */
  border-radius: 10px;
  
  /* Melhora o desempenho de renderização (Opcional) */
  display: block;
}
.counts {
  background: #f1f7fd;
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  background: #1977cc;
  color: #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #082744;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  padding: 60px 0;
}

.services .icon-box {
  text-align: center;
  background: #fff;
  border: 1px solid #d5e1ed;
  border-radius: 10px; /* Bordas arredondadas para maior uniformidade */
  padding: 40px 20px;
  margin-bottom: 30px; /* Adicionado para espaçamento entre as caixas */
  transition: all ease-in-out 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #1977cc;
  border-radius: 50%; /* Centralização circular */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease-out;
}

.services .icon-box .icon i {
  font-size: 28px;
  color: #fff;
}

.services .icon-box h4 {
  font-size: 22px;
  font-weight: 600;
  margin: 15px 0;
  text-transform: capitalize;
}

.services .icon-box h4 a {
  color: #2c4964;
  text-decoration: none;
  transition: 0.3s;
}

.services .icon-box p {
  font-size: 14px;
  line-height: 24px;
  margin: 0;
  color: #5a5a5a;
}

.services .icon-box:hover {
  background: #1977cc;
  border-color: #1977cc;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.services .icon-box:hover .icon {
  background: #e664d0;
}

.services .icon-box:hover .icon i {
  color: #1977cc;
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: #ffffff;
}
/*--------------------------------------------------------------
# Appointments
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.appointment .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.appointment .php-email-form .error-message br+br {
  margin-top: 25px;
}

.appointment .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.appointment .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.appointment .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: #1977cc;
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
  background: #1977cc;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: #1c84e3;
}

/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: #2c4964;
  border-radius: 0;
  border-right: 2px solid #ebf1f6;
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: #1977cc;
}

.departments .nav-link.active {
  color: #1977cc;
  border-color: #1977cc;
}

.departments .tab-pane.active {
  -webkit-animation: fadeIn 0.5s ease-out;
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c4964;
}

.departments .details p {
  color: #777777;
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: #fff;
    background: #1977cc;
  }
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.doctors {
  background: #fff;
}

.doctors .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
  padding: 30px;
  border-radius: 10px;
}

/* Garante que o container da galeria apareça e se expanda */
#grid-galeria {
  display: flex !important;
  flex-wrap: wrap !important;
  min-height: 200px; /* Se estiver vazio, ele ainda ocupa espaço */
  visibility: visible !important;
  opacity: 1 !important;
}

.galeria-card {
  display: block !important;
  background: #fff;
}

/* Ajuste dos Cards para não ocuparem a linha toda */
.medico-card, .galeria-card {
  flex: 0 0 calc(33.333% - 20px) !important; /* Força 3 por linha no PC */
  min-width: 280px !important; /* Impede de ficar pequeno demais */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

/* Ajuste para Tablet (2 por linha) */
@media (max-width: 992px) {
  .medico-card, .galeria-card {
    flex: 0 0 calc(50% - 20px) !important;
  }
}

/* Ajuste para Celular (1 por linha) */
@media (max-width: 576px) {
  .medico-card, .galeria-card {
    flex: 0 0 100% !important;
  }
}

/* Garante que a imagem preencha o card */
.medico-card img, .galeria-card img {
  width: 100% !important;
  height: 300px !important; /* Altura fixa para alinhar tudo */
  object-fit: cover !important;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
/* Layout Geral do FAQ */
.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
}

/* Estilo do Link (Pergunta) */
.faq .faq-list a {
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  color: #1977cc; /* Cor de quando está aberto */
}

.faq .faq-list a:hover {
  color: #3291e6; /* Um azul mais claro no hover */
}

.faq .faq-list a.collapsed {
  color: #343a40; /* Cor cinza escuro padrão */
}

.faq .faq-list a.collapsed:hover {
  color: #1977cc; /* Volta para o azul ao passar o mouse */
}

.faq .faq-list a:hover .icon-help,
.faq .faq-list a:hover .icon-show,
.faq .faq-list a:hover .icon-close {
  color: inherit; /* Faz o ícone herdar a cor do link no hover */
}
.faq .faq-list .icon-help {
  font-size: 24px;
  color: #76b5ee;
  margin-right: 12px;
  flex-shrink: 0;
  transition: 0.3s;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 20px;
  margin-left: auto;
  flex-shrink: 0;
  transition: 0.3s;
}

.faq .faq-list a.collapsed .icon-show { display: inline-block; }
.faq .faq-list a.collapsed .icon-close { display: none; }
.faq .faq-list a:not(.collapsed) .icon-show { display: none; }
.faq .faq-list a:not(.collapsed) .icon-close { display: inline-block; }

/* Ícone de Ajuda (Fixo à esquerda) */
.faq .faq-list .icon-help {
  font-size: 24px;
  color: #76b5ee;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Setas de Abrir/Fechar (Empurradas para a direita) */
.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 20px;
  margin-left: auto; /* Truque flex para alinhar na direita */
  flex-shrink: 0;
  transition: 0.3s;
}

/* Lógica de Exibição das Setas */
.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

.faq .faq-list a:not(.collapsed) .icon-show {
  display: none;
}

.faq .faq-list a:not(.collapsed) .icon-close {
  display: inline-block;
  color: #1977cc;
}

/* Estilo da Resposta */
.faq .faq-list p {
  margin-bottom: 0;
  padding: 15px 0 0 36px; /* Alinha o texto abaixo da pergunta, pulando o ícone */
  color: #444;
  line-height: 1.6;
}

/* Responsividade */
@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/

/* Estilo da seção do widget */
.reviews-widget {
  max-width: 800px; /* Define a largura máxima */
  margin: 20px auto; /* Centraliza horizontalmente */
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Estilo adicional (opcional) */
.reviews-widget .elfsight-app {
  width: 100%; /* Garante que o widget ocupe 100% da área disponível */
}

.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #badaf7;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1977cc;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1977cc;
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Gallery -
--------------------------------------------------------------*/
/* Container de Grid Geral (serve para Médicos e Galeria) */

/* Container que segura os médicos */
/* Container principal da equipe */
#grid-equipe.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centraliza se houver poucos médicos */
  gap: 30px;
  margin-top: 20px;
}

/* O Card do Médico */
.medico-card {
  background: #fff;
  /* Ajusta a largura: em telas grandes terá cerca de 350px */
  flex: 1 1 350px; 
  max-width: 400px; 
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  margin-bottom: 20px;
}

/* Efeito de destaque ao passar o mouse */
.medico-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Foto do médico */
.medico-card img {
  width: 100%;
  height: 400px; /* Altura imponente para fotos verticais */
  object-fit: cover;
  display: block;
}

/* Informações abaixo da foto */
.medico-info {
  padding: 25px;
  text-align: center;
}

.medico-info h3 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: #333;
}

.medico-info p {
  font-style: italic;
  color: #666;
  margin: 0;
  font-size: 1rem;
}

/* Ajuste para telas de celular */
@media (max-width: 575px) {
  .medico-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Estilo do Card da Galeria  */
#grid-galeria.row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-right: -15px !important;
  margin-left: -15px !important;
}

/* Garante que as colunas do Bootstrap não ocupem 100% sozinhas */
#grid-galeria [class*="col-"] {
  display: block !important;
  width: auto; /* Deixa o Bootstrap controlar o width */
}

.galeria-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 100%; /* Faz todos os cards da mesma linha terem a mesma altura */
  border: 1px solid #eee;
}

.galeria-img-container {
  width: 100%;
  height: 200px;
}

.galeria-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#grid-equipe.row, #grid-galeria.row {
  display: flex !important;
  flex-wrap: wrap !important;
}
/* Em telas de computador (opcional), se quiser 4 fotos por linha em vez de 2 */
@media (min-width: 992px) {
  /* .gallery .gallery-item { flex: 0 0 25% !important; max-width: 25% !important; } */
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

#contact {
  padding: 20px 0; /* 20px no topo e embaixo da seção */
}

/* Container principal do mapa */
.map-row {
  display: flex; /* Flexbox para organizar os mapas lado a lado */
  gap: 20px; /* Espaçamento entre os mapas */
  justify-content: space-between; /* Garante espaçamento igual entre os elementos */
  flex-wrap: wrap; /* Para telas menores os mapas irão empilhar */
}

/* Cada mapa e título */
.map-container {
  flex: 1; /* Divide o espaço igualmente entre os mapas */
  min-width: 300px; /* Define um limite mínimo de tamanho dos mapas */
  height: auto;
  text-align: center;
}

.map-container h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1977cc;
  font-weight: bold;
  text-transform: uppercase; /* Apenas para estilizar os títulos */
}

/* Ajuste do iframe do mapa */
.map-container iframe {
  width: 100%; /* Ocupa toda a largura do container */
  height: 400px; /* Altura fixa */
  border: none; /* Remove a borda padrão */
  border-radius: 8px; /* Bordas arredondadas no mapa */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adiciona sombras para embelezar */
  overflow: hidden;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
  .map-row {
    flex-direction: column; /* Empilha os mapas verticalmente no mobile */
    gap: 30px; /* Aumenta o espaço entre os mapas quando empilhados */
  }

  .map-container iframe {
    height: 300px; /* Reduz a altura do mapa em telas menores */
  }
}


/* Estilo geral das divs .info */
.info {
  background: #ffffff; /* Fundo branco para cada item .info */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); /* Sombra suave ao redor */
  padding: 20px; /* Espaçamento interno nos 4 lados */
  border-radius: 8px; /* Cantos arredondados */
  margin-bottom: 10px; /* Espaçamento vertical entre cada .info */
  margin-right: 10px; /* Espaço horizontal para alinhamento, se lado a lado */
  text-align: left; /* Alinha texto à esquerda */
  width: 100%; /* Largura fixa para cada div .info */
}

/* Estilo dos ícones dentro de cada .info */
.info i {
  font-size: 24px; /* Tamanho do ícone */
  color: #1977cc; /* Cor inicial do ícone */
  float: left; /* Faz o ícone flutuar à esquerda do conteúdo de texto */
  margin-right: 15px; /* Espaço entre o ícone e o texto */
  width: 44px; /* Largura do ícone com fundo */
  height: 44px; /* Altura do ícone com fundo */
  background: #d6e9fa; /* Fundo azul claro inicial */
  display: flex; /* Centraliza o conteúdo do ícone */
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
  border-radius: 50%; /* Forma circular para o fundo do ícone */
  transition: all 0.3s ease-in-out; /* Suaviza as mudanças no hover */
}

/* Estilo do título (H4) dentro de cada .info */
.info h4 {
  font-size: 18px; /* Tamanho da fonte do título */
  margin-bottom: 5px; /* Espaço abaixo do título */
  font-weight: 600; /* Peso do texto (ligeiramente mais grosso) */
  color: #2c4964; /* Cor do título */
}

/* Estilo dos parágrafos (P) dentro de cada .info */
.info p {
  font-size: 14px; /* Tamanho da fonte do parágrafo */
  margin: 0; /* Remove margem padrão do parágrafo */
  color: #4b7dab; /* Cor do texto */
}

/* Efeito ao passar o mouse nas divs .info */
.info:hover i {
  background: #1977cc; /* Altera o fundo do ícone ao passar o mouse */
  color: #de5393; /* Altera a cor do ícone ao passar o mouse */
}


@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #444444;
  font-size: 14px;
  background: #f1f7fd;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #1c84e3;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #1977cc;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  text-align: left;
  border: 1px solid #bfdcf7;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #1977cc;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #1c84e3;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #444444;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #1977cc;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #1c84e3;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 768px) {
  #header {
    padding: 10px 20px;
    text-align: center;
  }
  #header .logo {
    font-size: 20px;
  }
}
.container-funcionarios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

/* Card com foco na imagem */
.card-funcionario {
  background: #fff;
  border-radius: 20px; /* Bordas mais arredondadas */
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: none; /* Removida a borda para um look mais clean */
}

.card-funcionario:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* IMAGEM EM DESTAQUE (VERTICAL) */
.card-funcionario img {
  width: 100%;
  height: 380px; /* Altura maior para o efeito vertical */
  object-fit: cover; /* Garante que a foto preencha o espaço sem achatar */
  object-position: center top; /* Foca no rosto/topo da foto */
}

/* Info do funcionário sobreposta ou abaixo */
.card-info {
  padding: 20px;
  background: #ffffff;
  text-align: center;
}

.card-info h3 {
  font-size: 1.3rem;
  color: #0c8dbc;
  margin: 0;
  font-weight: 700;
  text-transform: capitalize;
}

.card-info p {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
  font-weight: 600;
}