/**

*/

/*--------------------------------------------------------------
# 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: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}
body {
  font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, sans-serif;
}
body {
  font-family: "Open Sans", "Trebuchet MS", sans-serif;
}
body {
  font-family: "PT Sans", "Trebuchet MS", sans-serif;
}



/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #656565; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0db14b; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #0db14b; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0db14b; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f7fcfc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #656565;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #3fbbc0;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #65c9cd;
}
.bg-quarter {
  background-color: #4d4d4d;
  --background-color: #0c6f72;
  --default-color: #af1b1b;
  --heading-color: #701b1b;
  --surface-color: #65c9cd;
}

/* 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: #0db14b;
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

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

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

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

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

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
header {
  color: var(--default-color);
  background: linear-gradient(to right, #000000 40%, #004d1a 70%, #00b140 100%);
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  overflow: visible; /* permite que el logo sobresalga */
  position: relative;
}

.header .topbar {
  background-color: #656565;
  color: #ffffff;
  height: 40px;
  padding: 0;
  transition: all 0.5s;
  position: relative;
  z-index: 5;
}

.header .branding {
  min-height: 60px;
  padding: 0; /* sin padding superior */
  position: relative;
  overflow: visible;
  z-index: 10;
}

.header .logo {
  line-height: 1;
  position: absolute;
  top: -23px; /* logo empieza en el borde superior del header */
  left: 0;
  z-index: 20;
}

.header .logo img {
  width: 275px; /* tamaño real */
  height: auto;
  transform: translateY(-20px); /* sobresale hacia abajo */
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 20px;
  margin: 0 5px 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/*--------------------------------------------------------------
# Responsive - Logo en dispositivos móviles
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .header .logo img {
    width: 160px; /* tamaño reducido del logo */
    transform: translateY(-10px); /* ajusta su posición vertical */
  }

  .header .logo {
    top: 0px; /* sube un poco el logo */
  }

  .header .branding {
    min-height: 50px;
  }
}

/* --- Estilo general del topbar --- */
.topbar {
  background-color: #000;
  color: #fff;
  font-size: 13px;
  z-index: 9999;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Íconos sociales --- */
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 15%;
  border: 1px solid color-mix(in srgb, #ffffff, transparent 50%);
  font-size: 12px;
  color: color-mix(in srgb, #0db04b, transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.social-links a:hover {
  border-color: #0db04b;
  color: #0db04b;
}

/* --- Banderas --- */
.social-links a.flag {
  width: 25px;
  height: 25px;
  border-radius: 15%;
  border: 1px solid color-mix(in srgb, #0db04b, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-right: 10px;
  transition: 0.3s;
}

.social-links a.flag img {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

.social-links a.flag:hover {
  border-color: #0db04b;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #ffffff;
    padding: 18px 15px;
    font-size: 12px;
    font-family: var(--nav-font);
    font-weight: 500;
    text-transform: uppercase;
    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: 10px;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #0db14b;
    background-color: #004d40;
  }

  .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;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

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

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: #00b140;
  }

  .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,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    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;
    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;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #ffffff;
  background-color: #004d40;
  font-size: 14px;
  position: relative;
  width: 100%;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 15%;
  border: 1px solid color-mix(in srgb, #ffffff, transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, #0db04b, transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

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

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

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

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

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

.footer .footer-links ul a {
  color: color-mix(in srgb, #ffffff, transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

/*--------------------------------------------------------------
# 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;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.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: #000000;
  background-color: url("../img/bg4.jpg");
  padding: 0px;
  padding-bottom: 10px;
  scroll-margin-top: 120px;
  overflow: clip;
}

section,
.section3 {
  color: #000000;
  background-color: url("../img/bg4.jpg");
  padding: 60px 0;
  scroll-margin-top: 120px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 100px;
  }
}

.section2,
.section2 {
  color: #ffffff;
  background-image: url("../img/bg3.jpg");
  padding: 60px 0;
  scroll-margin-top: 120px;
  overflow: clip;
  
}


@media (max-width: 1199px) {

  .section2,
  .section2 {
    scroll-margin-top: 100px;
  }
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section2-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section2-title h2 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: center;
  text-align: center;
  
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

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

.section-title2 p {
  margin-bottom: 0;
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
}

.section-title2 h2 {
  color: #ffffff;
  text-align: center;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 70vh;
  padding: 0;
  margin: 0;
  position: relative;
}

@media (max-height: 500px),
(max-width: 580px) {
  .hero .carousel {
    min-height: 100vh;
  }
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero .container {
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  position: relative;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 50px;
  border-top: 4px solid var(--accent-color);
  z-index: 3;
}

@media (max-width: 1200px) {
  .hero .container {
    margin-left: 50px;
    margin-right: 50px;
  }
}

.hero h2 {
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}

.hero .btn-get-started {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  transition: 0.3s;
  margin: 10px;
  border-radius: 5px;
  color: var(--contrast-color);
  background: var(--accent-color);
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 50px;
  color: var(--contrast-color);
  transition: 0.3s;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

.hero .carousel-control-prev:hover .carousel-control-next-icon,
.hero .carousel-control-prev:hover .carousel-control-prev-icon,
.hero .carousel-control-next:hover .carousel-control-next-icon,
.hero .carousel-control-next:hover .carousel-control-prev-icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.hero .carousel-indicators li {
  cursor: pointer;
  background: var(--contrast-color);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 1;
  transition: 0.3s;
}

.hero .carousel-indicators li.active {
  opacity: 1;
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.featured-services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 18px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
  color: #000000;
}

.featured-services .service-item:hover h3 a,
.featured-services .service-item:hover .icon i,
.featured-services .service-item:hover p {
  color: #ffffff;
}

.featured-services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}
/* Ajustes para que todos los service-item tengan la misma altura */
.featured-services .row {
  display: flex;
  flex-wrap: wrap;
}

.featured-services .col-xl-3,
.featured-services .col-md-6 {
  display: flex;
}

.featured-services .service-item {
  flex: 1; /* ocupa todo el alto disponible */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente el contenido */
  text-align: center; /* centra el texto horizontalmente */
  min-height: 250px; /* altura base en móvil */
}

/* 💡 Ajustes responsive: en móviles los cajones mantienen misma altura */
@media (max-width: 768px) {
  .featured-services .service-item {
    min-height: 280px; /* un poco más alto para textos más largos */
    margin-bottom: 20px; /* espacio entre tarjetas */
  }
}


/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.3s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--contrast-color);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

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

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  background-image: url("../img/bg2.jpg");
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.features h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  left: 0;
  bottom: 0;
}

.features .icon-box {
  margin-top: 50px;
}

.features .icon-box i {
  color: var(--accent-color);
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.features .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.features .icon-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.features .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .icon-box h4 a:hover {
  color: var(--accent-color);
}

.features .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  text-align: center;
  padding: 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  background-color: var(--surface-color);
  color: var(--accent-color);
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  font-size: 32px;
  transition: ease-in-out 0.3s;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .service-item h3 {
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-size: 22px;
  transition: 0.3s;
  position: relative;
}

.services .service-item h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .icon {
  box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

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

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

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

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

.appointment .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  overflow: hidden;
}

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

.tabs .nav-link {
  border: 1px;
  border-color: #0db14b;
  padding: 5px 5px 5px 0;
  transition: 0.3s;
  color: #011a15;
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
  background-color: #004d40;
  border-style: double;
  color: #ffffff;
  padding-left: 10px;
}

.tabs .nav-link:hover {
  color: #0db14b;
}

.tabs .nav-link.active {
  color: var(--accent-color);
  border-color: #ffffff;
  background-color: var(--background-color);
}

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

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, #ffffff, transparent 20%);
}

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

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

  .tabs .nav-link.active {
    color: #ffffff;
    background: var(--accent-color);
    border: 1px;
    border-color: #0db14b;
  }
}

/*--------------------------------------------------------------
# Testimonials Section (ajustado)
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  box-sizing: border-box;
  min-height: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  margin: 0 auto 20px auto;
  display: block;
  position: relative;
  z-index: 1;
  border: 2px solid #ffffff;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto;
  padding: 25px 25px 35px 25px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 10px;
  position: relative;
  z-index: 1;
  max-width: 90%;
  line-height: 1.5;
  color: #ffffff;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--accent-color);
  font-size: 20px;
}

.testimonials .testimonial-item .quote-icon-left {
  margin-right: 5px;
}

.testimonials .testimonial-item .quote-icon-right {
  margin-left: 5px;
  transform: scaleX(-1);
}

.testimonials .swiper-pagination {
  margin-top: 30px;
  color: #ffffff;
}


/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background: none;          /* elimina fondo verde oscuro */
  box-shadow: none;          /* quita cualquier sombra */
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctors .team-member .member-img {
  position: relative;
  overflow: hidden;
  height: 250px;
  width: 250px;
  border-radius: 15px;       /* borde redondeado */
}

.doctors .team-member .member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* llena el cuadro sin deformar */
  border-radius: 15px;       /* mantiene esquinas redondeadas */
  display: block;
}

/* Overlay del ícono (+) */
.doctors .team-member .social {
  position: absolute;
  inset: 0;
  background: rgba(0, 177, 64, 0.55); /* verde translúcido en hover */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;       /* coincide con el borde de la imagen */
}

.doctors .team-member:hover .social {
  opacity: 1;
}

.doctors .team-member .social i {
  font-size: 32px;
  color: #fff;
}


/* === GALERÍA - Imágenes más grandes y horizontales === */
.gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

/* Contenedor general */
.blog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 600px; /* Mismo ancho de imagen */
  border-radius: 10px;
  overflow: hidden;
  background: #030303;
  box-shadow: 0 6px 15px rgba(31, 233, 48, 0.1);
  padding-left: 10px;
  padding-right: 10px;
}

/* Imagen del blog */
.blog-item img {
  width: 100%;
  height: 305px;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: brightness(0.9);
}

/* Efecto de brillo al pasar el mouse */
.blog-item:hover img {
  filter: brightness(1.15) saturate(1.2);
  transform: scale(1.03);
}

/* Contenedor de texto */
.blog-text {
  width: 100%;
  padding: 15px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.blog-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #00b140;
}

.blog-text p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-item {
    width: 90%;
  }
  .blog-item img {
    height: 250px;
  }
}



/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  border-color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 80px 0;
}

.contact .php-email-form {
  background-color: #004d40;
  box-shadow: 0px 0px 20px #000000;
  padding: 30px;
  border-radius: 8px;
}

.contact .info-item {
  background-color: #004d40;
  padding: 24px 30px 30px;
  border-radius: 8px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}

.contact .info-item i {
  color: var(--accent-color);
  font-size: 28px;
  margin-bottom: 10px;
}

.contact .info-item h3 {
  color: #0db14b;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact .info-item p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 0;
}

/* Centrar el formulario */
.contact .col-lg-8 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tabs */
.nav-tabs .nav-link {
  color: #004d40;
  border: 2px solid #0db14b;
  margin: 0 5px;
  border-radius: 6px;
}

.nav-tabs .nav-link.active {
  background-color: #0db14b;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .contact .info-item {
    margin-bottom: 20px;
  }
  .contact .col-lg-8 {
    width: 100%;
  }
}


/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
#hero .carousel-item {
  position: relative;
  height: 100vh;  /* ocupa toda la pantalla */
  min-height: 600px;
  overflow: hidden;
  background: transparent; /* fallback */
}

#hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Estilos para video + overlay */
#hero .carousel-item {
  position: relative;
  height: 80vh;              /* ajusta la altura si quieres */
  min-height: 400px;
  overflow: hidden;
}

#hero .carousel-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;         /* recorta para cubrir el contenedor */
  transform: translate(-50%, -50%);
}

/* capa oscura para que el texto se vea bien */
#hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* ajusta la opacidad según necesites */
  z-index: 1;
}

/* contenido encima del overlay */
#hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  text-align: left; /* o center si lo prefieres */
}

/* maquillaje de indicadores si quieres */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  border: none;
}
.carousel-indicators .active {
  background-color: #fff;
}
/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: #0db14b;
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: #004d40;
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: #0db14b;
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: #004d40;
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: transparent, url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/
#bg-video {
    min-width: 100%;
    min-height: 100vh;
    max-width: 100%;
    max-height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/*--------------------------------------------------------------
# CONTENEDOR DE TARJETAS
--------------------------------------------------------------*/
.bg-quarter {
  position: relative;
  margin-top: -200px;
  z-index: 5;
  background: transparent;
}

/*--------------------------------------------------------------
# TARJETAS
--------------------------------------------------------------*/
.card.card-img {
  position: relative;
  width: 280px;
  height: 325px;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;         /* cambiamos a cover para asegurar que la imagen llene bien */
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: transparent !important;
  margin: 0 auto; /* centra las tarjetas en pantallas grandes si hay espacio */
}

/* Hover */
.card.card-img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Espaciado entre tarjetas */
.row.g-4 {
  row-gap: 20px;
  justify-content: center !important; /* asegura que las tarjetas estén centradas */
}

/* Elimina capa oscura o texto */
.card::before {
  content: none;
}

.text-card, 
.text-six, 
.icon {
  display: none !important;
}

/* Hover adicional */
.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/*--------------------------------------------------------------
# RESPONSIVE - Ajuste en móviles
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .bg-quarter {
    margin-top: -100px; /* sube un poco las tarjetas */
  }

  .row.g-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .card.card-img {
    width: 90%; /* ocupa la mayor parte del ancho */
    max-width: 320px;
    height: 260px; /* altura más corta para móvil */
    background-size: cover; /* asegura que se vea completa */
  }
}



/* Color principal de los títulos */
.text-primary {
  color: #004d40 !important;
}
/* Color principal de los títulos */
.text-six {
  color: #ffffff !important;
}
/* Fondo superior (topbar del header) */
header .topbar,
header .Topbar,
header .bg-dark {
  background-color: #000000 !important;
}

.doctors .team-member {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.doctors .team-member:hover {
  transform: translateY(-5px);
}
.doctors .member-img img {
  border-bottom: 3px solid #0db04b;
}
.swiper-button-prev, .swiper-button-next {
  color: #0db04b;
}

.about .content {
  text-align: center;
  font-size: 10px;
}

.porcentaje::after {
  content: "%";
  font-weight: light;
  margin-left: 2px;
}

/* === Barra lateral redes sociales con efecto desplegable === */
.social-sidebar {
  position: fixed;
  top: 25%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.social-sidebar a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px; /* ancho base solo icono */
  height: 45px;
  color: #fff;
  text-decoration: none;
  overflow: visible; /* permite mostrar el texto fuera */
  border-radius: 4px 0 0 4px;
  transition: all 0.3s ease;
}

/* Ícono centrado */
.social-sidebar a i {
  font-size: 18px;
  z-index: 2;
}

/* Texto que se despliega */
.social-sidebar a span {
  position: absolute;
  right: 45px; /* inicia justo a la izquierda del icono */
  background: inherit; /* mismo color que el botón */
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  border-radius: 4px 0 0 4px;
  transition: opacity 0.3s, right 0.3s;
}

/* Al pasar el mouse */
.social-sidebar a:hover span {
  right: 45px; /* mantiene posición alineada con el icono */
  opacity: 1;
}

/* Colores por red */
.social-sidebar a.clientes { background: #3b5998; }
.social-sidebar a.empleados { background: #1da1f2; }
.social-sidebar a.trabajo { background: #e9a20a; }
.social-sidebar a.linkedin { background: #0077b5; }
.social-sidebar a.youtube { background: #ff0000; }
.social-sidebar a.custom { background: #004d40; }

/* Fondo del contenedor de pestañas */
.nav-tabs {
  border-bottom: 2px solid #0db14b; /* color del borde inferior */
}

/* Botón normal (sin seleccionar) */
.nav-tabs .nav-link {
  color: #004d40; /* texto */
  background-color: #ffffff; /* fondo */
  border: 1px solid #0db14b;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: all 0.3s ease;
}

/* Hover */
.nav-tabs .nav-link:hover {
  background-color: #0db14b;
  color: #ffffff;
}

/* Botón activo (seleccionado) */
.nav-tabs .nav-link.active {
  background-color: #0db14b;
  color: #ffffff;
  border-color: #0db14b #0db14b #ffffff;
  font-weight: bold;
}


/*--------------------------------------------------------------
# Fondo con imagen (Nosotros)
--------------------------------------------------------------*/
.about-bg {
  position: relative;
  background-image: url("../img/bg5.jpg"); /* tu imagen */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

/* Degradado oscuro encima del fondo */
.about-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.65), rgba(0, 177, 64, 0.35));
  z-index: 0;
}

/* Asegura que el contenido quede encima del overlay */
.about-bg > * {
  position: relative;
  z-index: 1;
}

/* 🌊 Onda inferior dentro del fondo */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 1; /* queda dentro de la sección, no encima */
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 120px;
}

.wave-bottom path {
  fill: #000000; /* color de la siguiente sección (se une visualmente) */
}

/*--------------------------------------------------------------
# Fondo con imagen (servicios)
--------------------------------------------------------------*/
.servicios-bg {
  position: relative;
  background-image: url("../img/bg4.jpg"); /* tu imagen */
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #000000;

  /* Ajustes estructurales */
  overflow: visible;
  padding: 100px 0 140px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Asegura que el contenido esté encima de las ondas */
.servicios-bg > * {
  position: relative;
  z-index: 2;
}

/* 🔹 Eliminamos fondo blanco y sombra */
.servicios-bg .container {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 50px 40px;
}

/* 🌊 Onda inferior */
.wave-bottom2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 1;
  margin-bottom: -1px; /* 🔹 elimina línea blanca entre secciones */
}

.wave-bottom2 svg {
  display: block;
  width: 100%;
  height: 80px;
  margin-bottom: -1px; /* 🔹 asegura unión exacta */
}

.wave-bottom2 path {
  fill: #000000; /* color de la siguiente sección */
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .servicios-bg {
    padding: 80px 0 120px;
    min-height: auto;
  }

  .servicios-bg .container {
    padding: 30px 20px;
  }

  .wave-bottom2 svg {
    height: 50px;
  }
}


/*--------------------------------------------------------------
# Fondo con imagen (servicios)
--------------------------------------------------------------*/
.blog-bg {
  position: relative;
  background-image: url("../img/bg3.jpg"); /* tu imagen */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #000000;
  overflow: hidden;
}


/* Asegura que el contenido quede encima del overlay */
.blog-bg > * {
  position: relative;
  z-index: 1;
}


/*--------------------------------------------------------------
# Fondo con imagen (servicios)
--------------------------------------------------------------*/
/* Fondo completo para Experiencias */
.experiencias-bg {
  position: relative;
  width: 100%;
  left: 50%;
  right: 50%;
  margin-left: -50vw; /* extiende el fondo fuera del container */
  margin-right: -50vw;
  background-image: url("../img/bg1.jpg"); /* tu imagen */
  background-size: cover; /* que ocupe todo el ancho */
  background-position: center center;
  background-repeat: no-repeat;
  color: #ebe8e8;
  overflow: hidden;
  padding: 60px 0;
}

/* Ajuste para que los elementos internos sigan alineados */
.experiencias-bg .container {
  position: relative;
  z-index: 2;
}

/* Sombra o degradado opcional encima del fondo (para contraste) */
.experiencias-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* oscurece un poco el fondo */
  z-index: 1;
}



/* Asegura que el contenido quede encima del overlay */
.blog-bg > * {
  position: relative;
  z-index: 1;
}
/*--------------------------------------------------------------
# Fondo con imagen (counter)
--------------------------------------------------------------*/
.count-bg {
  position: relative;
  width: 100%; /* ocupa todo el ancho de la ventana */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;


  background-image: url("../img/bg6.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #000000;
  overflow: hidden;
  min-height: 300px; /* ajusta según el diseño */
}
/*--------------------------------------------------------------
# Fondo con imagen (otro)
--------------------------------------------------------------*/
.otro-bg {
  position: relative;
  width: 100%;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  background-image: url("../img/bg8.jpg");
  background-size: cover;
  background-position: center center; /* ✅ centrado vertical y horizontal */
  background-repeat: no-repeat;
  color: #000000;
  overflow: hidden;

  /* Ajustes para más espacio */
  min-height: 500px; /* puedes ajustar a gusto (450–600px) */
  padding: 100px 0; /* da aire arriba y abajo */
}




/* Asegura que el contenido quede encima del overlay */
.count-bg > * {
  position: relative;
  z-index: 1;
}

/* Capa oscura sobre la imagen */
.count-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* oscuridad para contraste */
  z-index: 0;
}

/* Contenido encima de la capa oscura */
.count-bg .container {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

/* Estilos de cada bloque de estadísticas */
.stats-item {
  color: #fff;
  text-align: center;
}

.stats-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-item span {
  display: block;
  font-size: 70px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 10px;

  /* Fallback (por si el navegador no soporta degradado en texto) */
  color: #00b140;

  /* Degradado de arriba a abajo */
  background: linear-gradient(to bottom, #000000 0%, #00b140 60%, rgba(0, 177, 64, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



.stats-item i {
  font-size: 40px;
  color: #0db14b;
  margin-top: 10px;
}

/* Agrega el símbolo % automáticamente */
.porcentaje::after {
  content: "%";
}

/* Responsive */
@media (max-width: 767px) {
  .stats-item span {
    font-size: 50px;
  }
  .stats-item i {
    font-size: 30px;
  }
}


/* 🌊 Onda inferior dentro del fondo */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 1; /* queda dentro de la sección, no encima */
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 120px;
}

.wave-bottom path {
  fill: #ffffff; /* color de la siguiente sección (se une visualmente) */
}




/* ==== Franja de Premios ==== */
#premios {
  background: #000000;
  overflow: hidden;
  padding: 20px 0;
  background-color: #000000;
}

.premios-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #000000;
}

.premios-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scrollPremios 25s linear infinite;
}

@keyframes scrollPremios {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pausar animación al pasar el mouse */
.premios-wrapper:hover .premios-track {
  animation-play-state: paused;
}

/* Estilo de los logos */
.premios-track img {
  height: 100px;
  width: auto;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.premios-track img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsivo */
@media (max-width: 768px) {
  .premios-track img {
    height: 70px;
  }
}



.text-white i {
  color: #fff;
  font-size: 2.2rem;
}

.text-white h5 {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.text-white h1 {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  color: #ffffff;
}

.text-white p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.row.text-white .d-flex {
  align-items: flex-start;
}

.titulo-historia {
  font-size: 2rem; /* tamaño del título */
  font-weight: 700;
  color:  #ffffff;
  margin-bottom: 20px;
}

.texto-historia {
  font-size: 1.1rem; /* texto más grande */
  line-height: 1.8;
  color: #ffffff;
  text-align: justify; /* justifica el texto */
  margin-bottom: 0;
}

/* Opcional: mejora el espaciado en móviles */
@media (max-width: 768px) {
  .titulo-historia {
    text-align: center;
    font-size: 1.6rem;
  }

  .texto-historia {
    font-size: 1rem;
    padding: 0 10px;
  }
}

/* === Elimina cualquier filtro oscuro o capa encima de las imágenes === */
#blog .card-img-top {
  filter: brightness(1) !important;
  opacity: 1 !important;
  transition: transform 0.4s ease, filter 0.4s ease;
  background: none !important;
}

#blog .card-img-top::before,
#blog .card::before,
#blog .card::after {
  content: none !important;
  background: none !important;
}

/* === Fondo blanco limpio === */
#blog .card-body {
  background: #fff !important;
  color: #222 !important;
}

/* === Cajón con efecto acordeón suave === */
.extra-info {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s ease;
}

.extra-info.show {
  max-height: 600px; /* ajusta según el contenido */
  opacity: 1;
  margin-top: 15px;
}

/* Fondo del contenedor de pestañas */
.nav-tabs {
  border-bottom: 2px solid #0db14b; /* color del borde inferior */
}

/* Botón normal (sin seleccionar) */
.nav-tabs .nav-link {
  color: #004d40; /* texto */
  background-color: #ffffff; /* fondo */
  border: 1px solid #0db14b;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: all 0.3s ease;
}

/* Hover */
.nav-tabs .nav-link:hover {
  background-color: #0db14b;
  color: #ffffff;
}

/* Botón activo (seleccionado) */
.nav-tabs .nav-link.active {
  background-color: #0db14b;
  color: #ffffff;
  border-color: #0db14b #0db14b #ffffff;
  font-weight: bold;
}
/* Scroll Top y WhatsApp juntos */
#scroll-top, .whatsapp-float {
  position: fixed;
  bottom: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  text-align: center;
  line-height: 45px;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Botón Scroll */
#scroll-top {
  right: 20px;
  background-color: #00b140;
}

/* Botón WhatsApp */
.whatsapp-float {
  right: 80px; /* Lo separa del botón de scroll */
  background-color: #25d366;
}

/* Efectos hover */
#scroll-top:hover, .whatsapp-float:hover {
  transform: scale(1.1);
  opacity: 0.9;
}


.iconos-flotantes {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/* Igualar tamaños */
.iconos-flotantes a,
.iconos-flotantes #chat-wolkvox * {
    width: 50px !important;
    height: 50px !important;
}

/* QUITAR posición fixed original del chat */
#chat-wolkvox * {
    position: static !important;
    inset: unset !important;
    margin: 0 !important;
}



/* Limitar ancho del bloque de formularios y centrar */
.contact .form-wrapper {
  max-width: 800px;      /* Ajusta el tamaño del bloque */
  margin: 0 auto;        /* Centrado horizontal */
}

/* Hacer el formulario visualmente más compacto */
.contact .php-email-form {
  max-width: 100%;
  width: 100%;
  padding: 25px;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
  .contact .form-wrapper {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* Contenedor general de los formularios */
.form-wrapper {
  max-width: 900px;   /* Ajusta este valor: 900px, 800px, 700px */
  margin: 0 auto;     /* Centrar horizontalmente */
  width: 100%;
}
