* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.fab {
  font-size: 26px;
}


.navbar {
  background: linear-gradient(135deg, #2c3e87, #6b4c9a);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-size: 20px;
  min-height: 80px;
  padding: 0.5rem 0;
}

.navbar .navbar-brand {
  color: white;
  font-size: 1.25rem;
  padding: 0.5rem 0;
  letter-spacing: 0.9px;
}

.navbar .nav-link {
  color: white;
  padding: 0.5rem 1rem;
}

p {
  padding-bottom: 10px;
  font-family: "Barlow", sans-serif;
}

.navbar-toggler {
  border: none;
  background: transparent;
}

.banner-section {
  background: linear-gradient(135deg, rgba(44, 62, 135, 0.7), rgba(107, 76, 154, 0.7)), url(img/download.jpg) center /
    cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 120px 20px 60px;
  margin-top: 80px;
}

.banner-section h1 {
  font-family: "Surprisedmonkey", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.2;
}

.banner-section .lead {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

section {
  position: relative;
}

section h2 {
  font-weight: 700;
  color: #2c3e87;
  margin-bottom: 2rem;
}

.subtitulo {
  font-size: 1.25rem;
  color: #d9d6d6;
  line-height: 1.6;
}

section .lead {
  font-size: 1.25rem;
  color: #454444;
  line-height: 1.6;
}

.card-body h3 {
  color: #2c3e87;
}

.card-body h5 {
  color: #6b4c9a;
  margin-top: 1rem;
}

.card-body p,
.card-body ul li {
  line-height: 1.7;
  color: #333;
}

.card-body a,
section a {
  color: #2c3e87;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-body a:hover,
section a:hover {
  color: #6b4c9a;
  text-decoration: underline;
}

.btn-outline-dark:hover {
  background-color: #2c3e87;
  border-color: #2c3e87;
  color: white;
}

.card-body img {
  width: 130%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

footer {
  background: linear-gradient(135deg, #2c3e87, #6b4c9a);
  color: white;
  text-align: center;
  padding: 20px 0;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 700;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.text-primary {
  color: #2c3e87;
}

.text-danger {
  color: #dc3545;
}

.text-warning {
  color: #ffc107;
}

.text-success {
  color: #28a745;
}

.accordion-button {
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  background-color: #f8f9fa;
  color: #2c3e87;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #2c3e87, #6b4c9a);
  color: white;
  box-shadow: 0 4px 15px rgba(44, 62, 135, 0.3);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 135, 0.25);
  border-color: #2c3e87;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(23%) sepia(45%) saturate(1500%) hue-rotate(215deg);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-item {
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-body {
  background-color: #ffffff;
}

#depoimentosCarousel .carousel-inner {
  border-radius: 12px;
  background: white;
}

#depoimentosCarousel .carousel-control-prev,
#depoimentosCarousel .carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

#depoimentosCarousel .carousel-control-prev:hover,
#depoimentosCarousel .carousel-control-next:hover {
  opacity: 1;
}

#depoimentosCarousel .carousel-control-prev-icon,
#depoimentosCarousel .carousel-control-next-icon {
  background-color: #2c3e87;
  border-radius: 50%;
  padding: 20px;
}

#depoimentosCarousel .carousel-indicators button {
  background-color: #2c3e87;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

#depoimentosCarousel .carousel-indicators button.active {
  background-color: #6b4c9a;
}

#depoimentosCarousel blockquote {
  font-style: italic;
  color: #2c3e87;
  position: relative;
  padding: 0 2rem;
}

#depoimentosCarousel blockquote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -10px;
  top: -20px;
  color: #6b4c9a;
  opacity: 0.3;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Responsividade */
@media (max-width: 991px) {
  .navbar {
    min-height: 70px;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-collapse {
    background: linear-gradient(135deg, #2c3e87, #6b4c9a);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 4px;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .banner-section {
    min-height: 400px;
    padding: 100px 20px 50px;
    margin-top: 70px;
  }

  .banner-section h1 {
    font-size: 50px;
  }

  .banner-section .lead {
    font-size: 1.2rem;
  }

  .navbar {
    min-height: 65px;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .card-img-top {
    height: 200px;
  }

  #depoimentosCarousel .card-body {
    padding: 2rem !important;
  }

  #depoimentosCarousel blockquote p {
    font-size: 1rem !important;
  }

  #depoimentosCarousel .carousel-control-prev,
  #depoimentosCarousel .carousel-control-next {
    width: 10%;
  }
}

@media (max-width: 576px) {
  .banner-section {
    min-height: 350px;
    padding: 90px 15px 40px;
    margin-top: 65px;
  }

  .banner-section h1 {
    font-size: 35px;
  }

  .banner-section .lead {
    font-size: 1rem;
  }

  .navbar {
    min-height: 60px;
    font-size: 16px;
  }

  .navbar-brand {
    font-size: 0.9rem;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1.1rem;
  }

  .display-4 {
    font-size: 2rem;
  }
}

@media (max-width: 400px) {
  .navbar-brand {
    font-size: 0.8rem;
  }

  .banner-section {
    min-height: 300px;
    padding: 80px 10px 30px;
  }

  .banner-section h1 {
    font-size: 28px;
  }
}
.titulo-ajuda {
  text-align: center;
  font-size: 1.2em;
}

body {
  font-family: "Barlow", sans-serif;
  background: linear-gradient(180deg, #c5c5c7b0, #c2c0c09c);
}

#orientadoras {
  background-color: #f5f6fa;
}

#livro {
  background-color: #f5f6fa;
}

.margin-ajuda {
  margin-bottom: 30px;
}

/* Estilos da Página de Contato */
.contact-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #c5c5c7e1, #c2c0c0c9);
}

.contact-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.contact-card h2 {
  color: #2c3e87;
  margin-bottom: 30px;
  font-weight: 700;
}

.formulario-contato .form-label {
  color: #2c3e87;
  font-weight: 600;
  margin-bottom: 8px;
}

.formulario-contato .form-control,
.formulario-contato .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  transition: border-color 0.3s ease;
}

.formulario-contato .form-control:focus,
.formulario-contato .form-select:focus {
  border-color: #2c3e87;
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 135, 0.15);
}

.btn-submit {
  background: linear-gradient(135deg, #2c3e87, #6b4c9a);
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 135, 0.3);
}

.info-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.info-card h3 {
  color: #2c3e87;
  margin-bottom: 30px;
  font-weight: 700;
}

.info-item {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  color: #2c3e87;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}

.info-item p {
  color: #555;
  margin: 0;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  .contact-card,
  .info-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-card,
  .info-card {
    padding: 25px;
  }

  .btn-submit {
    padding: 10px 30px;
    font-size: 1rem;
  }
}

/* Adding alternating section background colors */
/* White section background - default */
.section-white {
  background-color: #ffffff;
}

.section-white h2 {
  color: #2c3e87;
}

/* Light gray section background - matches Bootstrap's bg-light */
.section-light {
  background-color: #f8f9fa;
}

.section-light h2 {
  color: #2c3e87;
}

/* Added styles for drug cards to ensure equal height and proper alignment */
/* Drug cards section - ensures all cards have equal height */
.card.h-100 .card-body {
  display: flex;
  flex-direction: column;
}

.card.h-100 .card-body .card-text.flex-grow-1 {
  flex-grow: 1;
}

.card.h-100 .card-body .mt-auto {
  margin-top: auto;
}

/* Ensure consistent card styling in drug section */
.card.h-100 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card.h-100 .card-title {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure source links are consistently styled */
.card-body small {
  font-size: 0.875rem;
  color: #6c757d;
}

.card-body small a {
  color: #2c3e87;
  text-decoration: none;
  font-weight: 600;
}

.card-body small a:hover {
  color: #6b4c9a;
  text-decoration: underline;
}

/* Added styles for source links in the data page */
/* Source links styling for better visibility and accessibility */
.text-muted small a {
  color: #2c3e87;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.text-muted small a:hover {
  color: #6b4c9a;
  text-decoration: underline;
}

/* Alert info box links */
.alert-info a {
  color: #2c3e87;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.alert-info a:hover {
  color: #6b4c9a;
  text-decoration: underline;
}
