@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Ubuntu", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors */
:root { 
  --background-color: #ffffff;
  --default-color: #363f40;
  --heading-color: #1f2f31;
  --accent-color: #2e7bbf;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: #363f40;
  --nav-hover-color: #099aa7;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #363f40;
  --nav-dropdown-hover-color: #099aa7;
}

/* Color Presets */
.light-background {
  --background-color: #f7f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #021418;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #11262a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0;
  transition: all 0.5s;
  z-index: 997;
  min-height: 80px;
  top: 0;
}

.header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .logo img {
  height: 85px;
  width: auto;
  max-height: 60px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

body:not(.index-page) .logo {
  justify-content: center !important;
  width: 100%;
}

body:not(.index-page) .logo img {
  display: block;
  opacity: 1;
  margin: 0 auto !important;
  margin-left: 220px !important;
  transform: translateX(0) !important;
}

.header .logo img.logo-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header .logo img {
    height: 70px !important;
    max-height: 70px !important;
    margin-top: 0 !important;
  }
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo h1 span {
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
  white-space: nowrap;
  min-width: 160px;
  text-align: center;
  display: inline-block;
}

.header .btn-getstarted {
  margin-left: 25px !important;
  width: auto !important;
  padding: 8px 26px !important;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.header .btn-getstarted {
  width: auto !important;
  padding: 8px 26px !important;
}


@media (max-width: 768px) {
  .header {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 !important;
  }
  
  .header .container {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 15px !important;
    display: flex;
    align-items: center;
  }
  
  body.mobile-nav-active .header,
  body.mobile-nav-active .header .container {
    min-height: 80px !important;
    height: 80px !important;
  }
}

/* Global Header on Scroll */
.scrolled .header {
  --background-color: #ffffff;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  padding: 0;
  min-height: 80px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus,
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #000000 !important;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    max-height: 400px;
    overflow-y: auto;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a {
    font-size: 17px;
    font-weight: 500;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border: 2px solid transparent;
    border-radius: 20px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #3f97d3 !important;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    box-shadow: none;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
  }

  .navmenu .dropdown.active ul {
    display: block !important;
    max-height: 1000px;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown.active > ul {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #000000 !important;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    z-index: 9999;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: relative;
    overflow: hidden;
    inset: 0;
    background: transparent;
    transition: 0.3s;
    z-index: 9997;
  }

  .mobile-nav-active .navmenu ul {
    display: block !important;
    position: fixed;
    top: 80px;
    right: 20px;
    left: auto;
    background: white;
    width: 280px;
    padding: 20px 0;
    border-radius: 10px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }
  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
  padding-top: 100px;
}

.page-title .heading {
  padding: 80px 0;
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 500;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .services-grid {
  margin-bottom: 60px;
}

.services .service-card {
  background: var(--surface-color);
  border-radius: 25px;
  padding: 0;
  height: 100%;
  transition: all 0.4s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.services .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 98%), color-mix(in srgb, var(--accent-color), transparent 95%));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.services .service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.services .service-card:hover::before {
  opacity: 1;
}

.services .service-card:hover .service-icon i {
  transform: scale(1.2) rotate(10deg);
}

.services .service-card:hover .service-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-card:hover .service-btn i {
  transform: translateX(5px);
}

.services .service-card.featured {
  border-color: var(--accent-color);
  box-shadow: 0 10px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.services .service-card.featured .featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}

.services .service-card>* {
  position: relative;
  z-index: 1;
}

.services .service-header {
  padding: 30px 30px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.services .service-header .service-category {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.services .service-header .status-indicator {
  background: #28a745;
  color: var(--contrast-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.services .service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #007acc 50%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.services .service-icon i {
  font-size: 28px;
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.services .service-body {
  padding: 0 30px 20px;
}

.services .service-body h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.services .service-body p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 15px;
}

.services .service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.services .service-features .feature-badge {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.services .service-footer {
  padding: 0 30px 30px;
  margin-top: auto;
}

.services .service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 25px;
  color: var(--default-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.services .service-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.services .service-btn.emergency-btn {
  background: #dc3545;
  color: var(--contrast-color);
  border-color: #dc3545;
}

.services .service-btn.emergency-btn:hover {
  background: color-mix(in srgb, #dc3545, #000000 20%);
  border-color: color-mix(in srgb, #dc3545, #000000 20%);
}

.services .services-stats {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 50px 0;
  margin-bottom: 50px;
  box-shadow: 0 5px 30px color-mix(in srgb, var(--default-color), transparent 92%);
}

.services .services-stats .stat-item {
  text-align: center;
  padding: 0 20px;
}

.services .services-stats .stat-item .stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.services .services-stats .stat-item .stat-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
  font-size: 15px;
}

.services .appointment-banner {
  background-color: rgba(46, 123, 191, 0.85);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.services .appointment-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: color-mix(in srgb, var(--contrast-color), transparent 95%);
  border-radius: 50%;
}

.services .appointment-banner::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 200px;
  height: 200px;
  background: color-mix(in srgb, var(--contrast-color), transparent 97%);
  border-radius: 50%;
}

.services .appointment-banner .banner-content {
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .services .appointment-banner .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

.services .appointment-banner .banner-text h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--contrast-color);
  margin-bottom: 15px;
}

.services .appointment-banner .banner-text p {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  font-size: 16px;
  margin: 0;
  max-width: 400px;
  line-height: 1.6;
}

.services .appointment-banner .banner-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .services .appointment-banner .banner-actions {
    flex-direction: column;
    width: 100%;
  }
}

.services .appointment-banner .banner-actions .btn-primary {
  background: var(--contrast-color);
  color: var(--accent-color);
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--contrast-color);
}

.services .appointment-banner .banner-actions .btn-primary:hover {
  background: transparent;
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.services .appointment-banner .banner-actions .btn-secondary {
  background: transparent;
  color: var(--contrast-color);
  padding: 15px 30px;
  border: 2px solid color-mix(in srgb, var(--contrast-color), transparent 30%);
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services .appointment-banner .banner-actions .btn-secondary:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 90%);
  border-color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .services .service-card {
    margin-bottom: 20px;
  }

  .services .service-header {
    padding: 25px 25px 15px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .services .service-header .service-category {
    order: 2;
  }

  .services .service-icon {
    width: 60px;
    height: 60px;
  }

  .services .service-icon i {
    font-size: 24px;
  }

  .services .service-body {
    padding: 0 25px 15px;
    text-align: center;
  }

  .services .service-body h4 {
    font-size: 20px;
  }

  .services .service-footer {
    padding: 0 25px 25px;
  }

  .services .services-stats {
    padding: 40px 20px;
  }

  .services .services-stats .stat-item {
    margin-bottom: 30px;
  }

  .services .services-stats .stat-item .stat-number {
    font-size: 36px;
  }

  .services .appointment-banner .banner-content {
    padding: 40px 25px;
  }

  .services .appointment-banner .banner-text h3 {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# WhatsApp Float Button
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  left: 20px;
  z-index: 1000;
}

#scroll-top {
  display: none !important;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  background: #20bd5a;
}

.whatsapp-float i {
  font-size: 32px;
  color: white;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float a {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-float i {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Estilos dos Modais (Services Page)
--------------------------------------------------------------*/
.service-modal .modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}

.service-modal .modal-header {
  background: rgba(46, 123, 191, 70%);
  color: white;
  border-radius: 15px 15px 0 0;
  padding: 2rem;
  border-bottom: none;
}

.service-modal .modal-title {
  font-size: 1.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.service-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.service-modal .btn-close:hover {
  opacity: 1;
}

.service-modal .modal-body {
  padding: 2rem;
  font-family: 'Roboto', sans-serif;
}

.service-modal .detail-text {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-modal .detail-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.service-modal .detail-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.service-modal .detail-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.service-modal h6 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-backdrop.show {
  opacity: 0.8;
}

.service-btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/*--------------------------------------------------------------
# Estilos da Logo (Non-Index Pages)
--------------------------------------------------------------*/
.about-page .logo-home {
  height: 130px !important;
  max-height: 130px !important;
  width: auto;
  margin-top: -10px;
  margin-left: -1200px;
  position: relative;
  z-index: 20;
}

/*--------------------------------------------------------------
# Ajuste da linha azul no hover do menu
--------------------------------------------------------------*/
.navmenu ul li a {
  position: relative !important;
}

.navmenu ul li a::after {
  content: '' !important;
  position: absolute !important;
  width: 0 !important;
  height: 2px !important;
  bottom: -1px !important;
  left: 0 !important;
  right: 0 !important;
  background: #2e7bbf !important;
  transition: width 0.4s ease !important;
  margin: 0 auto !important;
}

.navmenu ul li a:hover::after {
  width: 100% !important;
}

.navmenu .dropdown > a::after {
  display: none !important;
}

/*--------------------------------------------------------------
# Correção do menu mobile (Dropdown)
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .navmenu .dropdown > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  .navmenu .dropdown > a span {
    flex: 1;
  }
  
  .navmenu .dropdown > a i {
    margin-left: 10px;
    flex-shrink: 0;
  }

  .navmenu .dropdown > a i.toggle-dropdown {
    display: inline-flex !important;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
  }

  body.mobile-nav-active .navmenu ul {
    top: 10px !important;
    padding: 30px 20px !important;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-radius: 10px !important;
    background: #ffffff !important;
  }

  body.mobile-nav-active .navmenu .dropdown ul {
    display: none !important;
  }
  
  body.mobile-nav-active .navmenu .dropdown.active ul {
    display: block !important;
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    box-shadow: none;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.5s ease-in-out;
    max-height: 0;
    overflow: hidden;
  }

  .navmenu .dropdown.active ul {
    display: block !important;
    max-height: 1000px;
    background-color: rgba(33, 37, 41, 0.03);
  }

  body.mobile-nav-active .navmenu ul {
    display: block !important;
    position: fixed;
    top: 52px !important;
    padding: 5px 10px !important;
    min-height: 450px !important;
  }
}

/*--------------------------------------------------------------
# Correção Footer - Links clicáveis
--------------------------------------------------------------*/
.footer::before,
.footer::after,
.footer-top::before,
.footer-top::after {
  pointer-events: none !important;
  z-index: 0 !important;
}

.footer {
  position: relative;
  z-index: 1;
}

.footer .copyright,
.footer .privacy-link,
.footer a {
  position: relative;
  z-index: 999 !important;
  pointer-events: auto !important;
}

.footer .privacy-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-decoration: underline;
  transition: color 0.3s ease;
  cursor: pointer !important;
}

.footer .privacy-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Menu Mobile - Esconde botão Agendar Consulta
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .header .btn-getstarted {
    display: none !important;
  }
  
  .header {
    min-height: 70px !important;
    padding: 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .header .container {
    min-height: 70px !important;
    align-items: center !important;
  }

  .index-page.mobile-nav-active .header {
    min-height: 40px !important;
  }
}

/*--------------------------------------------------------------
# Ajuste da Logo no Mobile
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .header .logo img,
  .header .logo-home img {
    margin-top: 30px !important;
    position: relative !important;
    z-index: 10000 !important;
  }
}

/*--------------------------------------------------------------
# Ajuste Menu Mobile - Ícone à direita
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    position: absolute;
    right: 15px;
    top: 25px;
    margin: 0;
  }

  .header .container {
    position: relative;
  }

  .navmenu ul li {
    width: 100%;
    margin-bottom: 8px;
  }

  .navmenu ul li a {
    display: block;
    padding: 12px 15px;
    background: transparent;
    border-radius: 6px;
    color: #363f40;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
  }

  .navmenu ul li a:hover {
    background: #f8f9fa;
  }

  .navmenu .dropdown ul li a {
    font-size: 16px;
    padding: 18px 20px;
  }
}

/*--------------------------------------------------------------
# Esconde "Agendar Consulta" do dropdown no desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu .dropdown ul li:last-child {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Heading Title Page (Services)
--------------------------------------------------------------*/
.page-title .heading-title {
  font-size: 38px;
  font-weight: 500;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .page-title .heading-title {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Container Principal
--------------------------------------------------------------*/
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/*--------------------------------------------------------------
# Grid System (Bootstrap-like)
--------------------------------------------------------------*/
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-auto, .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, 
.col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, 
.col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-auto,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, 
.col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, 
.col-md-10, .col-md-11, .col-md-12, .col-md-auto,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, 
.col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, 
.col-lg-10, .col-lg-11, .col-lg-12, .col-lg-auto,
.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, 
.col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, 
.col-xl-10, .col-xl-11, .col-xl-12, .col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

@media (max-width: 991px) {
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-top: calc(var(--bs-gutter-y) * -1);
}

.g-4 > * {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

/*--------------------------------------------------------------
# Utilitários de Espaçamento
--------------------------------------------------------------*/
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

/*--------------------------------------------------------------
# Utilitários de Texto
--------------------------------------------------------------*/
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

/*--------------------------------------------------------------
# Fixed Top (Header)
--------------------------------------------------------------*/
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/*--------------------------------------------------------------
# AOS (Animate On Scroll) Support
--------------------------------------------------------------*/
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}



/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0;
  transition: all 0.5s;
  z-index: 997;
  min-height: 80px;
  top: 0;
}

.header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
    margin-top: 25px !important;   
  
    
}

.header .logo img {
  height: 85px;
  width: auto;
  max-height: 60px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Exibe a logo normal nas páginas que não são a index */
body:not(.index-page) .logo {
  justify-content: center !important;
  width: 100%;
}

body:not(.index-page) .logo img {
  display: block;
  opacity: 1;
  margin: 0 auto !important;
  margin-left: 220px !important;
  transform: translateX(0) !important;
}

.header .logo img.logo-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header .logo img {
    height: 50px;
  }
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo h1 span {
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
  white-space: nowrap;
}

.header .btn-getstarted {
  margin-left: 25px !important;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Global Header on Scroll */
.scrolled .header {
  --background-color: #ffffff;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  padding: 0;
  min-height: 80px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus,
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #000000 !important;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    max-height: 400px;
    overflow-y: auto;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/*--------------------------------------------------------------
# Ajuste do Menu para Direita
--------------------------------------------------------------*/

/* Menu para direita - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    margin-left: auto !important;
    margin-right: 20px !important;
  }
  
  .navmenu ul {
    justify-content: flex-end !important;
  }
}

/* Para páginas que não são index - ajuste adicional */
body:not(.index-page) .navmenu {
    margin-left: auto !important;
}

/* Ajuste específico para mobile */
@media (max-width: 1199px) {
  .navmenu {
    margin-left: 0;
  }
}

/* Realce de sublinhado no hover dos itens de menu */
.navmenu ul li a {
  position: relative;
}

.navmenu ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -1px;
  left: 0;
  right: 0;
  background: #2e7bbf;
  transition: width 0.4s ease;
  margin: 0 auto;
}

.navmenu ul li a:hover::after {
  width: 100%;
}

.navmenu .dropdown > a::after {
  display: none;
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .mobile-nav-active .navmenu ul {
    display: block !important;
  }

  .navmenu a {
    font-size: 17px;
    font-weight: 500;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border: 2px solid transparent;
    border-radius: 20px;
  }

  .btn-getstarted {
    font-size: 17px;
    padding: 10px 22px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
    z-index: 9997;
  }

  .mobile-nav-active .navmenu ul {
    display: block !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    margin: 0 20px;
    padding: 20px 0;
    border-radius: 10px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}

/* Correção Menu Mobile */
@media (max-width: 1199px) {
  .header {
    min-height: 80px !important;
    padding: 0 !important;
  }

  body.mobile-nav-active .navmenu ul {
    top: 120px !important;
    padding: 40px 25px !important;
    min-height: 200px !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: linear-gradient(135deg, #2e7bbf 0%, #1a5a8f 50%, #3f97d3 100%);
  color: #ffffff;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

/* Ondas decorativas */
.footer::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 900px;
  height: 900px;
  background: rgba(26, 60, 100, 0.4);
  border-radius: 45% 55% 60% 40%;
  z-index: 0;
  pointer-events: none !important;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: rgba(35, 80, 130, 0.35);
  border-radius: 60% 40% 50% 50%;
  z-index: 0;
  pointer-events: none !important;
}

.footer-top::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 25%;
  width: 700px;
  height: 700px;
  background: rgba(45, 100, 150, 0.25);
  border-radius: 50% 50% 45% 55%;
  z-index: 0;
  pointer-events: none !important;
}

.footer-top::after {
  content: '';
  position: absolute;
  top: -30%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: rgba(30, 75, 120, 0.3);
  border-radius: 40% 60% 55% 45%;
  z-index: 0;
  pointer-events: none !important;
}

/* Footer Top */
.footer .footer-top {
  padding: 60px 0 40px;
  position: relative;
  z-index: 10;
}

/* Garante que TODO conteúdo fique acima das bolhas */
.footer .footer-top * {
  position: relative;
  z-index: 10;
}

.footer .logo-section,
.footer .footer-links,
.footer .footer-contact-section,
.footer .social-links,
.footer .contact-info,
.footer h4,
.footer ul,
.footer li,
.footer a,
.footer p {
  position: relative;
  z-index: 10;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  position: relative;
  z-index: 10;
}

/* Logo Section */
.footer .logo-section {
  margin-bottom: 10px;
  margin-top: 0;
}

.footer .logo-rodape {
  max-width: 280px;
  width: auto;
  height: auto;
  display: block;
  margin: -70px 30px 10px 0; /* 20px puxa levemente para a esquerda */
}




.footer .tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-style: italic;
  margin-top: -40px;
  margin-bottom: 0;
    margin-left: 28px;

}

/* Títulos das seções */
.footer h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links */
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;
  transition: all 0.3s ease;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer .footer-links ul a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* Redes Sociais */
.footer .social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer .social-links a:hover {
  background: #ffffff;
  color: #2e7bbf;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Informações de Contato */
.footer .contact-info p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer .contact-info i {
  color: #ffffff;
  font-size: 16px;
  margin-top: 2px;
}

/* Copyright */
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  position: relative;
  z-index: 999 !important;
}

.footer .copyright p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-size: 13px;
}

.footer .company-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 10px;
}

.footer .privacy-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-decoration: underline;
  transition: color 0.3s ease;
  cursor: pointer !important;
  position: relative;
  z-index: 999 !important;
  pointer-events: auto !important;
}

.footer .privacy-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Correção de cliques no rodapé */
.footer {
  position: relative;
  z-index: 1;
}

.footer .copyright,
.footer .privacy-link,
.footer a {
  position: relative;
  z-index: 999 !important;
  pointer-events: auto !important;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer .footer-top {
    padding: 40px 0 30px;
  }
  
  .footer .social-links {
    justify-content: center;
  }
  
  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-contact-section {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer .logo-rodape {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer .contact-info p {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

#scroll-top {
  display: none !important;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 120px 0;
}

.about .intro-section {
  margin-bottom: 100px;
}

.about .intro-section h2 {
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.about .intro-section p.lead {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 700px;
  margin: 0 auto;
}

.about .image-stats-section {
  margin-bottom: 120px;
}

.about .image-gallery {
  position: relative;
}

.about .image-gallery .main-image-container {
  position: relative;
}

.about .image-gallery .main-image-container .main-image {
  border-radius: 8px;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about .image-gallery .secondary-images {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.about .image-gallery .secondary-images .secondary-image {
  width: calc(50% - 10px);
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about .image-gallery .secondary-images .secondary-image:hover {
  transform: scale(1.02);
}

.about .stats-content {
  padding-left: 3rem;
}

@media (max-width: 992px) {
  .about .stats-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

.about .stats-content h3 {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about .stats-content>p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 3rem;
}

.about .stats-list .stat-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.about .stats-list .stat-row:last-child {
  margin-bottom: 0;
}

.about .stats-list .stat-row .stat-number {
  min-width: 120px;
  margin-right: 2rem;
}

.about .stats-list .stat-row .stat-number span {
  font-size: 3rem;
  font-weight: 200;
  color: var(--accent-color);
  line-height: 1;
}

.about .stats-list .stat-row .stat-number span:not(.purecounter) {
  font-size: 1.8rem;
}

.about .stats-list .stat-row .stat-info {
  flex: 1;
}

.about .stats-list .stat-row .stat-info h5 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.about .stats-list .stat-row .stat-info p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  line-height: 1.6;
}

/* Wrapper com fundo gradiente */
.about .mission-specialties-wrapper {
  background-image: url('../img/health/fundo-gradiante.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.about .mission-section,
.about .specialties-section {
  background: transparent;
  margin-bottom: 60px;
}

.about .mission-section {
  margin-bottom: 100px;
  padding: 80px 0;
}

.about .mission-section .mission-item {
  text-align: center;
  padding: 0 1rem;
  height: 100%;
}

.about .mission-section .mission-item .mission-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: transform 0.3s ease;
}

.about .mission-section .mission-item .mission-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.about .mission-section .mission-item h4 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.about .mission-section .mission-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.about .mission-section .mission-item:hover .mission-icon {
  transform: translateY(-5px) scale(1.05);
}

.about .specialties-section {
  margin-bottom: 100px;
}

.about .specialties-section h3 {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about .specialties-section .section-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about .specialties-section .specialty-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.about .specialties-section .specialty-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about .specialties-section .specialty-item i {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.about .specialties-section .specialty-item span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.about .specialties-section .specialty-item:hover i {
  color: var(--accent-color);
}

.about .specialties-section .specialty-item:hover span {
  color: var(--accent-color);
}

.about .accreditation-section h3 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about .accreditation-section .section-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.about .accreditation-section .accreditation-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about .accreditation-section .accreditation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .about .accreditation-section .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.about .accreditation-section .accreditation-grid .accreditation-item {
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.about .accreditation-section .accreditation-grid .accreditation-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 88%);
}

.about .accreditation-section .accreditation-grid .accreditation-item img {
  max-height: 50px;
  max-width: 100%;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.about .accreditation-section .accreditation-grid .accreditation-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* Responsividade About */
@media (max-width: 992px) {
  .about {
    padding: 80px 0;
  }

  .about .intro-section {
    margin-bottom: 60px;
  }

  .about .intro-section h2 {
    font-size: 2.6rem;
  }

  .about .image-stats-section {
    margin-bottom: 80px;
  }

  .about .mission-section {
    margin-bottom: 60px;
    padding: 60px 0;
  }

  .about .specialties-section {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .about .intro-section h2 {
    font-size: 2.2rem;
  }

  .about .stats-content h3 {
    font-size: 2rem;
  }

  .about .stats-list .stat-row .stat-number {
    min-width: 100px;
    margin-right: 1.5rem;
  }

  .about .stats-list .stat-row .stat-number span {
    font-size: 2.4rem;
  }

  .about .image-gallery .secondary-images {
    flex-direction: column;
    gap: 15px;
  }

  .about .image-gallery .secondary-images .secondary-image {
    width: 100%;
    height: 180px;
  }

  .about .mission-section .mission-item {
    margin-bottom: 3rem;
  }
}

/*--------------------------------------------------------------
# Botão de Continuar Lendo (Expandable Text)
--------------------------------------------------------------*/
#expandable-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

#expandable-text.expanded {
  max-height: 1000px;
  opacity: 1;
}

#toggle-text-btn {
  margin-top: 20px;
  padding: 10px 30px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

#toggle-text-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# WhatsApp Float Button
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  left: 20px;
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  background: #20bd5a;
}

.whatsapp-float i {
  font-size: 32px;
  color: white;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float a {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-float i {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Logo específica da página About
--------------------------------------------------------------*/
.about-page .logo-home {
  height: 130px !important;
  max-height: 130px !important;
  width: auto;
  margin-top: -10px;
  margin-left: -1200px;
  position: relative;
  z-index: 20;
}

/*--------------------------------------------------------------
# Animações de entrada da logo
--------------------------------------------------------------*/
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*--------------------------------------------------------------
# Container e ajustes gerais
--------------------------------------------------------------*/
.header .container {
  height: 80px;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center !important;
}

/*--------------------------------------------------------------
# Purecounter (animação de números)
--------------------------------------------------------------*/
.purecounter {
  display: inline-block;
}

/* ===== LOGOS - INDEX E ABOUT ===== */

/* Logo branca na index (antes de rolar) */
.index-page .logo-home {
  height: 130px !important;
  max-height: 130px !important;
  width: auto;
  margin-top: -10px;
  margin-left: -1200px;
  position: relative;
  z-index: 20;
  opacity: 1;
  display: block;
}

.index-page .logo-normal {
  display: none;
  opacity: 0;
}

/* Logo normal ao rolar na index */
.index-page.scrolled .logo-home {
  display: none;
  opacity: 0;
}

.index-page.scrolled .logo-normal {
  display: block !important;
  opacity: 1 !important;
  height: 130px !important;
  max-height: 130px !important;
  width: auto;
  margin-top: -10px;
  margin-left: -2500px;
  position: relative;
  z-index: 20;
  animation: fadeInDown 0.8s ease-out forwards;
}

/* Logo na página ABOUT (sempre visível) */
body:not(.index-page) .logo-home {
  display: none !important;
}

body:not(.index-page) .logo-normal {
  display: block !important;
  opacity: 1 !important;
  height: 130px !important;
  max-height: 130px !important;
  width: auto;
  margin: 0 auto !important;
  margin-left: -1200px !important;
  transform: translateX(0) !important;
  position: relative;
  z-index: 20;
}

/* ===== RESPONSIVO MOBILE ===== */
@media (max-width: 768px) {
  .index-page .logo-home,
  .index-page .logo-normal,
  body:not(.index-page) .logo-normal {
    height: 45px !important;
    max-height: 45px !important;
    margin-top: -15px !important;
    margin-left: 0 !important;
  }
  
  .header .logo {
    margin-top: -20px !important;
    padding: 5px 0 !important;
  }
  
  .header {
    min-height: 65px !important;
    padding: 8px 0 !important;
  }
  
  .header .container {
    padding: 8px 15px !important;
  }

  .index-page.scrolled .logo-normal {
    display: block !important;
    opacity: 1 !important;
    margin-left: 0 !important;
  }
}

/* ===== ANIMAÇÃO DA LOGO ===== */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== BLOCO BRANCO DO MENU (INDEX) ===== */
.index-page .navmenu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  margin: 0;
  padding: 20px 0;
  background: rgba(255, 255, 255, 1);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.index-page .navmenu-wrapper > * {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== HEADER SCROLL (INDEX E ABOUT) ===== */
.scrolled .header,
.header.scrolled {
  background: #fff !important;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  z-index: 9999 !important;
}

.index-page.scrolled .logo {
  justify-content: center;
  margin: 0 auto;
}

/* ===== LINHA AZUL NO HOVER DOS LINKS ===== */
.navmenu ul li a {
  position: relative !important;
}

.navmenu ul li a::after {
  content: '' !important;
  position: absolute !important;
  width: 0 !important;
  height: 2px !important;
  bottom: -1px !important;
  left: 0 !important;
  right: 0 !important;
  background: #2e7bbf !important;
  transition: width 0.4s ease !important;
  margin: 0 auto !important;
}

.navmenu ul li a:hover::after {
  width: 100% !important;
}

.navmenu .dropdown > a::after {
  display: none !important;
}

/* ===== ESCONDE BOTÃO "Agendar Consulta" NO MOBILE ===== */
@media (max-width: 768px) {
  .header .btn-getstarted {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Footer Moderno - IBR Hospital com Ondas
--------------------------------------------------------------*/
.footer {
  background: linear-gradient(135deg, #2e7bbf 0%, #1a5a8f 50%, #3f97d3 100%);
  color: #ffffff;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

/* Onda grande superior esquerda */
.footer::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 900px;
  height: 900px;
  background: rgba(26, 60, 100, 0.4);
  border-radius: 45% 55% 60% 40%;
  z-index: 0;
  pointer-events: none !important;
}

/* Onda grande inferior direita */
.footer::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: rgba(35, 80, 130, 0.35);
  border-radius: 60% 40% 50% 50%;
  z-index: 0;
  pointer-events: none !important;
}

/* Onda média central */
.footer-top::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 25%;
  width: 700px;
  height: 700px;
  background: rgba(45, 100, 150, 0.25);
  border-radius: 50% 50% 45% 55%;
  z-index: 0;
  pointer-events: none !important;
}

/* Onda superior direita */
.footer-top::after {
  content: '';
  position: absolute;
  top: -30%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: rgba(30, 75, 120, 0.3);
  border-radius: 40% 60% 55% 45%;
  z-index: 0;
  pointer-events: none !important;
}

/* Footer Top */
.footer .footer-top {
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

/* Logo Section */
.footer .logo-section {
  margin-bottom: 10px;
  margin-top: 0;
}

.footer .logo-rodape {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.footer .tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-style: italic;
  margin-top: 0;
  margin-bottom: 0;
}

/* Títulos das seções */
.footer h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links */
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;
  transition: all 0.3s ease;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer .footer-links ul a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* Redes Sociais */
.footer .social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer .social-links a:hover {
  background: #ffffff;
  color: #2e7bbf;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Informações de Contato */
.footer .contact-info p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer .contact-info i {
  color: #ffffff;
  font-size: 16px;
  margin-top: 2px;
}

/* Copyright */
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  position: relative;
  z-index: 999 !important;
}

.footer .copyright p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-size: 13px;
}

.footer .company-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 10px;
}

.footer .privacy-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-decoration: underline;
  transition: color 0.3s ease;
  position: relative;
  z-index: 999 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.footer .privacy-link:hover {
  color: #ffffff;
}

/* Garantir clique nos links do rodapé */
.footer {
  position: relative;
  z-index: 1;
}

.footer a {
  position: relative;
  z-index: 999 !important;
  pointer-events: auto !important;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer .footer-top {
    padding: 40px 0 30px;
  }
  
  .footer .social-links {
    justify-content: center;
  }
  
  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-contact-section {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer .logo-rodape {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer .contact-info p {
    justify-content: center;
  }
}


/* ========== HEADER MOBILE - ABOUT PAGE ========== */
@media (max-width: 1199px) {
  /* Altura e estrutura do header */
  .header {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 !important;
  }


  
    /* Esconde o botão "Agendar Consulta" no mobile/tablet */
  .header .btn-getstarted {
    display: none !important;
  }
  
  .header .container {
    min-height: 80px !important;
    height: 80px !important;
    padding: 0 15px !important;
    display: flex;
    align-items: center;
    position: relative !important;
  }
  
  /* Quando o menu mobile está ativo */
  body.mobile-nav-active .header,
  body.mobile-nav-active .header .container {
    min-height: 80px !important;
    height: 80px !important;
  }
  
  /* Logo no mobile - ABOUT */
  body:not(.index-page) .logo-normal {
    height: 50px !important;
    max-height: 50px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }
  
  /* Esconde logo-home na about */
  body:not(.index-page) .logo-home {
    display: none !important;
  }
  
  /* Ícone do menu mobile (hambúrguer) */
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 24px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 9999;
    position: absolute;
    right: 15px;
    top: 25px;
    margin: 0;
  }
  
  /* X preto no menu mobile quando ativo */
  .mobile-nav-active .mobile-nav-toggle {
    color: #000000 !important;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    z-index: 9999;
  }
  
  /* Container do menu */
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  
  /* Menu escondido por padrão */
  .navmenu ul {
    display: none !important;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  
/* Bloco branco do menu mobile quando ativo */
body.mobile-nav-active .navmenu ul {
  display: block !important;
  position: fixed;
  top: 60px !important;
 right: 15px !important;
  left: auto !important;
  background: #fff;
  width: 260px;
  padding: 5px 10px !important;
  border-radius: 12px;
  min-height: 180px !important; /* aumentei um pouco a base mínima */
  max-height: 440px !important; /* antes estava 380px */
  overflow-y: auto !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

  
  /* Estilo dos links do menu */
  .navmenu a {
    font-size: 17px;
    font-weight: 500;
  }
  
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border: 2px solid transparent;
    border-radius: 20px;
  }
  
  /* Ícone do dropdown */
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  
  .navmenu .dropdown > a i.toggle-dropdown {
    display: inline-flex !important;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
  }
  
  /* Hover dos links */
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #3f97d3 !important;
  }
  
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  
  /* Dropdowns no mobile */
  /* Dropdowns no mobile */
.navmenu .dropdown ul {
  position: static;
  display: none;
  box-shadow: none;
  padding: 0;
  margin: 10px 20px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  transition: all 0.4s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

.navmenu .dropdown.dropdown-active ul {
  display: block !important;
  max-height: 2000px !important;
  padding: 10px 0 !important;
  overflow-y: auto;
}

/* Estilo dos itens do dropdown */
.navmenu .dropdown ul li {
  width: 100%;
  padding: 0;
  margin: 0;
}

.navmenu .dropdown ul li a {
  padding: 12px 20px !important;
  font-size: 14px !important;
  color: var(--nav-dropdown-color) !important;
  display: block !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.navmenu .dropdown ul li a:hover {
  background: rgba(46, 123, 191, 0.1) !important;
  color: var(--nav-dropdown-hover-color) !important;
}

/* Ícone de rotação quando dropdown está ativo */
.navmenu .dropdown.dropdown-active > a i.toggle-dropdown {
  transform: rotate(180deg);
  background-color: var(--accent-color) !important;
  color: white !important;
}
  
  .navmenu .dropdown.active ul {
    display: block !important;
    max-height: 1000px;
    background-color: rgba(33, 37, 41, 0.03);
  }
  
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }
  
  .navmenu .dropdown > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
  
  .navmenu .dropdown > a .toggle-dropdown {
    margin-left: auto;
  }
  
  /* Força dropdowns fechados no mobile */
  body.mobile-nav-active .navmenu .dropdown ul {
    display: none !important;
  }
  
  body.mobile-nav-active .navmenu .dropdown.active ul {
    display: block !important;
  }
  
  /* Itens do menu mobile */
  .navmenu ul li {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .navmenu ul li a {
    display: block;
    padding: 12px 15px;
    background: transparent;
    border-radius: 6px;
    color: #363f40;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .navmenu ul li a:hover {
    background: #f8f9fa;
  }
  
  /* Previne overflow quando menu está ativo */
  .mobile-nav-active {
    overflow: hidden;
  }
  
  .mobile-nav-active .navmenu {
    position: relative;
    overflow: hidden;
    inset: 0;
    background: transparent;
    transition: 0.3s;
    z-index: 9997;
  }
}

/* ========== MOBILE ESPECÍFICO (768px) - ABOUT ========== */
@media (max-width: 768px) {
  /* Logo menor em telas muito pequenas - ABOUT */
  body:not(.index-page) .logo-normal {
    height: 45px !important;
    max-height: 45px !important;
    margin-top: -15px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .header .logo {
    margin-top: -20px !important;
    margin-bottom: 0 !important;
    padding: 5px 0 !important;
  }
  
  .header {
    min-height: 65px !important;
    padding: 8px 0 !important;
  }
  
  .header .container {
    min-height: auto !important;
    padding: 8px 15px !important;
  }
  
  /* Esconde botão "Agendar Consulta" no mobile */
  .header .btn-getstarted {
    display: none !important;
  }
  
  /* Ajusta a posição da logo para baixo - ABOUT */
  body:not(.index-page) .logo img,
  body:not(.index-page) .logo-normal img {
    margin-top: 30px !important;
    position: relative !important;
    z-index: 10000 !important;
  }
}

/* ========== CORREÇÃO APÓS SCROLL - ABOUT ========== */
.header.header-scrolled,
.header.scrolled,
.header.fixed-top {
  background: #fff !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.header.header-scrolled .container,
.header.scrolled .container {
  min-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* ========== GARANTE VISIBILIDADE DA LOGO - ABOUT ========== */
body:not(.index-page) .logo-normal {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  position: relative !important;
  z-index: 10000 !important;
}

body:not(.index-page) .logo-home {
  display: none !important;
}

/* ========== NAVMENU-WRAPPER (SEM FUNDO BRANCO NA ABOUT) ========== */
body:not(.index-page) .navmenu-wrapper {
  background: transparent !important;
  padding: 0 !important;
}

/* ============================================
   CORREÇÃO DEFINITIVA - LOGO FIXA NO MOBILE
   ============================================ */

@media (max-width: 1199px) {
  /* Força o tamanho fixo da logo em TODAS as situações */
  .header .logo img,
  .header.scrolled .logo img,
  header.scrolled .logo img,
  body.scrolled .header .logo img,
  body:not(.index-page) .logo img,
  body:not(.index-page) .logo-normal,
  body:not(.index-page).scrolled .logo img,
  .logo-home,
  .logo-normal {
    height: 70px !important;
    max-height: 70px !important;
    min-height: 70px !important;
    width: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
    animation: none !important;
  }

  /* Posiciona a logo no CANTO ESQUERDO */
  .header .logo,
  .header.scrolled .logo,
  body:not(.index-page) .logo {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    margin: 0 !important;
    margin-right: auto !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Container do header alinha itens nas pontas */
  .header .container,
  .header.scrolled .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
  }

  /* Fixa a altura do header */
  .header,
  .header.scrolled,
  header,
  header.scrolled {
    min-height: 70px !important;
    max-height: 70px !important;
    height: 70px !important;
    padding: 0 !important;
  }

  .header .container,
  .header.scrolled .container {
    min-height: 70px !important;
    max-height: 70px !important;
    height: 70px !important;
  }

  /* Remove qualquer centralização forçada */
  body:not(.index-page) .logo {
    justify-content: flex-start !important;
    width: auto !important;
    margin-left: 0 !important;
  }
}

/* Tablets menores e celulares */
@media (max-width: 768px) {
  .header .logo img,
  .logo-home,
  .logo-normal {
    height: 70px !important;
    max-height: 70px !important;
    min-height: 70px !important;
  }
  
  .header,
  .header.scrolled {
    min-height: 65px !important;
    max-height: 65px !important;
    height: 65px !important;
  }
  
  .header .logo {
    justify-content: flex-start !important;
  }
}

/* ========== CORREÇÃO FINAL DROPDOWN MOBILE ========== */
@media (max-width: 1199px) {
  
  /* FORÇA TODOS os dropdowns a ficarem ESCONDIDOS por padrão */
  .navmenu .dropdown ul,
  body.mobile-nav-active .navmenu .dropdown ul {
    display: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
  }
  
  /* SÓ mostra quando tiver a classe dropdown-active */
  .navmenu .dropdown.dropdown-active ul,
  body.mobile-nav-active .navmenu .dropdown.dropdown-active ul {
    display: block !important;
    max-height: 2000px !important;
    padding: 10px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: auto !important;
  }
  
  /* Remove bordas e estilos desnecessários dos links principais */
  .navmenu .dropdown > a {
    border: none !important;
  }
  
  /* Estilo dos itens dropdown */
  .navmenu .dropdown ul li a {
    padding: 12px 20px !important;
    font-size: 14px !important;
    border: none !important;
    border-radius: 0 !important;
  }
  
  /* Ícone girado quando dropdown está ativo */
  .navmenu .dropdown.dropdown-active > a i.toggle-dropdown {
    transform: rotate(180deg) !important;
    background-color: var(--accent-color) !important;
    color: white !important;
  }
}

/* ======== CORREÇÃO FINAL - SUBMENU MOBILE ======== */
@media (max-width: 1199px) {

  /* Mantém o menu branco centralizado */
  body.mobile-nav-active .navmenu ul {
    display: block !important;
    position: fixed;
    top: 80px !important;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #fff;
    width: 90%;
    max-width: 320px;
    padding: 15px 10px !important;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow-y: auto;
    max-height: calc(100vh - 100px);
  }

  /* 🔹 Submenu escondido inicialmente */
  .navmenu .dropdown ul {
    display: none;
    background: #fff;
    margin-top: 5px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: static !important; /* ← ESSENCIAL */
  }

  /* 🔹 Quando ativo, aparece logo abaixo */
  .navmenu .dropdown.dropdown-active > ul {
    display: block !important;
  }

  /* 🔹 Links do submenu */
  .navmenu .dropdown ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul li a:hover {
    color: var(--accent-color);
  }

  /* 🔹 Ícone da seta gira */
  .navmenu .dropdown > a i {
    transition: transform 0.3s ease;
  }

  .navmenu .dropdown.dropdown-active > a i {
    transform: rotate(180deg);
    background: var(--accent-color);
    color: #fff;
  }
}



/*--------------------------------------------------------------
# Esconde "Agendar Consulta" do dropdown em Desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  /* Esconde o item "Agendar Consulta" dentro do dropdown "Fale Conosco" */
  .navmenu .dropdown ul li:last-child {
    display: none !important;
  }
  
  /* OU se você quiser ser mais específico e seguro, use isso: */
  .navmenu .dropdown ul li a[href*="wa.me"] {
    display: none !important;
  }
  
  /* Esconde o <li> pai do link do WhatsApp */
  .navmenu .dropdown ul li:has(a[href*="wa.me"]) {
    display: none !important;
  }
}

/* ========== CORREÇÃO DO LAYOUT DO FOOTER ========== */

/* Garante que as 4 colunas fiquem lado a lado */
.footer .footer-top .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Força cada coluna a ocupar 25% da largura */
.footer .footer-top .row > div {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Remove margens extras que podem estar desalinhando */
.footer .footer-about,
.footer .footer-links,
.footer .footer-contact-section {
  padding-left: 15px;
  padding-right: 15px;
}

/* Responsivo - mobile */
@media (max-width: 991px) {
  .footer .footer-top .row > div {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .footer .footer-top .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/* ========================================================================
   CORREÇÃO DEFINITIVA DA LOGO ENTRE 1200px E 1400px
   ======================================================================== */
@media (min-width: 1200px) and (max-width: 1400px) {
  
  /* Logo Home (antes do scroll) - POSICIONADA À ESQUERDA */
  .index-page .logo-home {
    height: 130px !important;
    max-height: 130px !important;
    width: auto !important;
    margin-top: 15px !important; /* ← Aumentei de -10px para 15px - desce a logo */
    margin-left: -50px !important;
    position: relative !important;
    z-index: 20 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
  }
  
  /* Logo Normal (depois do scroll) - POSICIONADA À ESQUERDA */
  .index-page.scrolled .logo-normal {
    display: block !important;
    opacity: 1 !important;
    height: 130px !important;
    max-height: 130px !important;
    width: auto !important;
    margin-top: 15px !important; /* ← Aumentei de -10px para 15px - desce a logo */
    margin-left: -50px !important;
    position: relative !important;
    z-index: 20 !important;
    visibility: visible !important;
  }
  
  /* Esconde logo-home quando rolar */
  .index-page.scrolled .logo-home {
    display: none !important;
  }
  
  /* Esconde logo-normal antes de rolar */
  .index-page .logo-normal {
    display: none !important;
    opacity: 0 !important;
  }
  
  /* POSICIONA O CONTAINER DA LOGO À ESQUERDA */
  .index-page .logo,
  .index-page.scrolled .logo {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    margin-right: auto !important;
  }
  
  /* Garante que o header container distribua os elementos corretamente */
  .index-page .header .container,
  .index-page.scrolled .header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}


/* ========================================================================
   CORREÇÃO DEFINITIVA DA LOGO ENTRE 1200px E 1400px
   ======================================================================== */
@media (min-width: 1200px) and (max-width: 1400px) {
  
  /* Logo Home (antes do scroll) - POSICIONADA À ESQUERDA */
  .index-page .logo-home {
    height: 130px !important;
    max-height: 130px !important;
    width: auto !important;
    margin-top: 15px !important; /* ← Aumentei de -10px para 15px - desce a logo */
    margin-left: -50px !important;
    position: relative !important;
    z-index: 20 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
  }
  
  /* Logo Normal (depois do scroll) - POSICIONADA À ESQUERDA */
  .index-page.scrolled .logo-normal {
    display: block !important;
    opacity: 1 !important;
    height: 130px !important;
    max-height: 130px !important;
    width: auto !important;
    margin-top: 15px !important; /* ← Aumentei de -10px para 15px - desce a logo */
    margin-left: -50px !important;
    position: relative !important;
    z-index: 20 !important;
    visibility: visible !important;
  }
  
  /* Esconde logo-home quando rolar */
  .index-page.scrolled .logo-home {
    display: none !important;
  }
  
  /* Esconde logo-normal antes de rolar */
  .index-page .logo-normal {
    display: none !important;
    opacity: 0 !important;
  }
  
  /* POSICIONA O CONTAINER DA LOGO À ESQUERDA */
  .index-page .logo,
  .index-page.scrolled .logo {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    margin-right: auto !important;
  }
  
  /* Garante que o header container distribua os elementos corretamente */
  .index-page .header .container,
  .index-page.scrolled .header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

/* Ajuste apenas para telas em torno de 1200px */
@media (min-width: 1180px) and (max-width: 1250px) {
  .navmenu {
    margin-left: 110px !important; /* pode ajustar o valor */
  }
}


/* FIX EXATO: logo fica na MESMA posição antes e depois do scroll */
@media (min-width: 1180px) and (max-width: 1250px) {

  /* Logo antes do scroll */
  .index-page .logo-home {
    margin-left: -20px !important; /* puxa para a esquerda */
  }

  /* Logo depois do scroll */
  .index-page.scrolled .logo-normal {
    margin-left: -20px !important; /* MESMA posição depois do scroll */
  }

  .index-page .logo-home img,
  .index-page.scrolled .logo-normal img {
    transform: none !important;
  }

  .footer .logo-rodape {
  max-width: 280px;
  width: auto;
  height: auto;
  display: block;
  margin: -70px 30px 10px 0; /* 20px puxa levemente para a esquerda */
}


.footer .tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-style: italic;
  margin-top: -40px;
  margin-bottom: 0;
    margin-left: 28px;

}
}

