.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fff1eb, #ace0f9);
  color: #ff9a9e;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  animation: fadeIn 1s ease-in;
  color: #333;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  animation: slideIn 1s ease-out;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}
.site-header h1 {
  font-size: 1.8em;
  margin: 0;
  color: #fff;
}
.site-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.site-nav ul li {
  margin: 0 15px;
}
.site-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}
.site-nav ul li a:hover {
  color: #fce38a;
  transform: translateY(-5px);
}
.cookies-section {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 15px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  animation: fadeIn 1.5s ease-out;
}
.cookies-div p {
  margin: 0;
  padding-right: 15px;
  font-size: 0.9em;
  color: #555;
}
.cookies-button {
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  margin-right: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cookies-button:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #fcb69f, #ffecd2);
}
.site-footer {
  background: linear-gradient(90deg, #84fab0, #8fd3f4);
  color: #fff;
  padding: 30px 20px;
}
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-logo {
  text-align: center;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}
.footer-contact,
.footer-hours {
  text-align: center;
}
.footer-contact h3,
.footer-hours h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}
.footer-socials {
  text-align: center;
  margin-bottom: 20px;
}
.footer-socials a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.footer-socials a img {
  height: 30px;
  width: auto;
}
.footer-socials a:hover {
  transform: scale(1.1);
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.footer-links ul li {
  display: inline;
  margin: 0 10px;
}
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links ul li a:hover {
  color: #fce38a;
}
.footer-bottom {
  text-align: center;
  font-size: 0.9em;
}
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
  }
  .site-nav ul {
    flex-direction: column;
  }
  .site-nav ul li {
    margin: 10px 0;
  }
  .footer-container {
    flex-direction: column;
  }
}

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slideAnimation 15s infinite;
}
.hero-slide {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  animation: fadeInOverlay 2s ease-in-out;
}
.hero-logo {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}
@keyframes slideAnimation {
  0% {
    transform: translateX(0%);
  }
  33.33% {
    transform: translateX(0%);
  }
  38% {
    transform: translateX(-100%);
  }
  71.33% {
    transform: translateX(-100%);
  }
  76% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(-200%);
  }
}
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.about-clinic {
  background: linear-gradient(135deg, #fff1eb, #ace0f9);
  padding: 60px 20px;
  animation: fadeIn 1s ease-out;
}
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.about-text {
  flex: 1 1 500px;
  color: #333;
}
.about-text h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ff6f61;
  text-align: center;
}
.about-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}
.about-image {
  flex: 1 1 400px;
  text-align: center;
}
.about-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  animation: slideIn 1s ease-out;
}
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
  .about-text,
  .about-image {
    flex: 1 1 100%;
  }
}

.services {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  animation: fadeIn 1.5s ease-out;
}
.services h2 {
  text-align: center;
  font-size: 2.5em;
  color: #ff6f61;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: linear-gradient(135deg, #f6d365, #fda085);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideUp 1s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(0, 0, 0, 0.15)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::before {
  opacity: 1;
}
.service-content {
  padding: 20px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.service-content h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #fff;
}
.service-content p {
  font-size: 1em;
  line-height: 1.6;
  color: #fff;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.clinic-gallery {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e0f7fa, #ffe0b2);
  animation: fadeIn 1.5s ease-out;
  text-align: center;
}
.clinic-gallery h2 {
  font-size: 2.5em;
  color: #ff6f61;
  margin-bottom: 20px;
}
.clinic-gallery p {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  padding: 10px;
  font-size: 1em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.advantages-awards {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  animation: fadeIn 1.5s ease-out;
  text-align: center;
}
.advantages-awards h2 {
  font-size: 2.5em;
  color: #ff6f61;
  margin-bottom: 20px;
}
.advantages-awards p {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.advantage-card {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
.advantage-card h3 {
  font-size: 1.8em;
  color: #fff;
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 1em;
  color: #fff;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.award-item {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.award-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
.award-item img {
  max-width: 80px;
  display: block;
  margin: 0 auto 10px auto;
  transition: transform 0.3s ease;
}
.award-item:hover img {
  transform: scale(1.1);
}
.award-item p {
  font-size: 1em;
  color: #fff;
  margin: 0;
}
@media (max-width: 768px) {
  .advantages-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }
}

.feature-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0px 20px;
  background: linear-gradient(135deg, #e0f7fa, #ffe0b2);
}
.background-layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-height: 60vh;
  z-index: 1;
  opacity: 0.2;
  object-fit: cover;
}
.background-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.feature-text {
  max-width: 600px;
  text-align: center;
}
.feature-text h2 {
  font-size: 3em;
  color: #ff6f61;
  margin-bottom: 20px;
  animation: fadeInText 1s ease-out;
}
.feature-text p {
  font-size: 1.5em;
  color: #333;
  animation: fadeInText 1.2s ease-out;
}
.feature-image {
  text-align: center;
}
.feature-image img {
  width: 400px;
  height: auto;
  animation: slideDown 1s ease-out;
}
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .feature-container {
    flex-direction: column;
  }
  .feature-image img {
    width: 80%;
  }
}

.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fff1eb, #ace0f9);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}
.contact-container h2 {
  font-size: 2.8em;
  color: #ff6f61;
  margin-bottom: 20px;
  animation: fadeInText 1s ease-out;
}
.contact-form-container {
  position: relative;
}
.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form-container input {
  padding: 15px;
  font-size: 1.1em;
  border: 2px solid #ddd;
  border-radius: 10px;
  transition: border 0.3s ease;
}
.contact-form-container input:focus {
  border-color: #ff6f61;
  outline: none;
}
.contact-form-container button {
  padding: 15px;
  font-size: 1.1em;
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  border: none;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.contact-form-container button:hover {
  transform: translateY(-3px);
  background: linear-gradient(45deg, #fcb69f, #ffecd2);
}
#successMessage {
  display: none;
  font-size: 1.3em;
  color: #333;
  padding: 20px;
  animation: fadeInText 1s ease-out;
}
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .contact-container {
    padding: 30px 20px;
  }
  .contact-container h2 {
    font-size: 2.2em;
  }
  .contact-form-container input,
  .contact-form-container button {
    font-size: 1em;
    padding: 12px;
  }
}

.info-section {
  padding: 60px 20px;
  background: linear-gradient(90deg, #f9cdcf, #f9dcd3);
  animation: fadeIn 1s ease-out;
}
.info-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.address,
.hours-reception {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.address h2,
.hours-reception h2 {
  font-size: 2em;
  color: #ff6f61;
  margin-bottom: 15px;
}
.address p,
.hours-reception p,
.reception-rules li {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}
.hours h3,
.reception-rules h3 {
  font-size: 1.5em;
  color: #ff6f61;
  margin-top: 15px;
  margin-bottom: 10px;
}
.reception-rules ul {
  list-style: disc inside;
  padding-left: 20px;
  margin: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
  }
}

.detailed-about {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  text-align: left;
}
.detailed-container {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.detailed-container h2 {
  font-size: 2.8em;
  color: #ff6f61;
  margin-bottom: 20px;
  text-align: center;
}
.detailed-container h3 {
  font-size: 2em;
  color: #ff6f61;
  margin-top: 40px;
  margin-bottom: 15px;
}
.detailed-container p {
  font-size: 1.2em;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}
.detailed-container blockquote {
  font-size: 1.4em;
  font-style: italic;
  color: #888;
  border-left: 4px solid #ff6f61;
  padding-left: 20px;
  margin: 30px 0;
}
@media (max-width: 768px) {
  .detailed-container {
    padding: 30px 20px;
  }
  .detailed-container h2 {
    font-size: 2.4em;
  }
  .detailed-container h3 {
    font-size: 1.8em;
  }
  .detailed-container p {
    font-size: 1em;
  }
  .detailed-container blockquote {
    font-size: 1.2em;
  }
}

.detailed-services {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fbfbfb, #ececec);
  text-align: center;
}
.services-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.services-container h2 {
  font-size: 3em;
  color: #ff6f61;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: linear-gradient(135deg, #fddf90, #fbbd72);
  border-radius: 15px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.service-card h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}
.service-card p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 15px;
}
.service-card blockquote {
  font-size: 1em;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  border-left: 4px solid rgba(255, 255, 255, 0.7);
  padding-left: 10px;
  margin-top: 15px;
}
@media (max-width: 768px) {
  .services-container h2 {
    font-size: 2.5em;
  }
  .service-card h3 {
    font-size: 1.6em;
  }
  .service-card p, .service-card blockquote {
    font-size: 1em;
  }
}

.title_background {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ff6f61, #ff9a9e);
  text-align: center;
}
.title_background .title {
  font-size: 2.8em;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.text_background {
  padding: 40px 20px;
  background: #f9f9f9;
}
.text_background .text {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333333;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}