/*

TemplateMo 566 Medic Care

https://templatemo.com/tm-566-medic-care

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #247cff;
  --section-bg-color:             #F9F9F9;
  --dark-color:                   #000000;
  --title-color:                  #565758;
  --p-color:                      #717275;
  --border-color:                 #eaeaea;

  --body-font-family:             'Poppins', sans-serif;

  --h1-font-size:                 48px;
  --h2-font-size:                 36px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --menu-font-size:               16px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
    padding-top: 94px;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
}

h1,
h2 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  color: #218A7E;
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

h7 {
  font-size: var(--h2-font-size);
  color: white;
  font-weight: var(--font-weight-bold);
  text-align: center; /* Centra el texto horizontalmente */
  display: block; /* Asegura que el elemento ocupe todo el ancho disponible */
  width: 100%; /* Ocupa el 100% del ancho del contenedor */
}

h8 {
  font-size: var(--h2-font-size);
  color: #218A7E;
  font-weight: var(--font-weight-bold);
  text-align: center; /* Centra el texto horizontalmente */
  display: block; /* Asegura que el elemento ocupe todo el ancho disponible */
  width: 100%; /* Ocupa el 100% del ancho del contenedor */
}

h9 {
  font-size: 20px;
  color: #218A7E;
  font-weight: var(--font-weight-bold);
  text-align: center; /* Centra el texto horizontalmente */
  display: block; /* Asegura que el elemento ocupe todo el ancho disponible */
  width: 100%; /* Ocupa el 100% del ancho del contenedor */
}

p {
  color: rgb(0, 0, 0, 0.7);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
}

p.form {
  color: white;
  font-size: var(--p-font-size);
  font-weight: bold;
  letter-spacing: 0.5px;
  text-align: center;
}

p.text {
  color: black;
  font-size: 16px;
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.5px;
  text-align: center;
}

#firstName,
#lastName,
#phone,
#firstName::placeholder,
#lastName::placeholder,
#phone::placeholder {
  color: white;
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  CUSTOM & BACKGROUND               
-----------------------------------------*/

.custom-link {
  color: #218A7E; /* Color del texto */
  text-decoration: none; /* Quita el subrayado */
  font-weight: bold; /* Texto en negrita */
  padding: 0.5rem 1rem; /* Espaciado interno */
  border: 2px solid #218A7E; /* Borde */
  border-radius: 0.375rem; /* Bordes redondeados */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave */
}

.custom-link:hover {
  background-color: #218A7E; /* Fondo al pasar el mouse */
  color: white; /* Texto blanco al pasar el mouse */
}

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.section-padding-form {
  background: linear-gradient(rgba(33, 138, 126, 0.8), rgba(33, 138, 126, 0.8)), url('../images/gallery/hero_meta_desktop.jpg');
  background-size: cover; /* Ajusta la imagen para cubrir toda la sección */
  background-position: center; /* Centra la imagen */
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.blue-background {
  background-color: #33658A; /* Fondo azul */
  padding: 1.5rem; /* Espaciado interno */
  border-radius: 0.5rem; /* Bordes redondeados */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/*---------------------------------------
  PLANS               
-----------------------------------------*/

/* Estilos para la sección de planes */
.plans-section {
  padding: 4rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #218A7E;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: #262626;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 1 columna en móviles */
  gap: 2rem;
  padding: 0 1rem; /* Espaciado lateral */
}

/* Estilos para pantallas medianas y grandes */
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tabletas y desktop */
    max-width: 1200px; /* Limita el ancho máximo del grid */
    margin: 0 auto; /* Centra el grid */
  }
}

.plan-card {
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column; /* Asegura que el contenido de la tarjeta esté organizado verticalmente */
}

.plan-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.plan-header {
  padding: 1.5rem;
  text-align: center;
}

.plan-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.plan-subtitle {
  font-size: 1rem;
  color: white;
}

.plan-body {
  padding: 1.5rem;
  flex-grow: 1; /* Asegura que el cuerpo de la tarjeta ocupe el espacio restante */
  display: flex;
  flex-direction: column;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  flex-grow: 1; /* Asegura que la lista ocupe el espacio restante */
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: #262626;
}

.plan-features li span {
  margin-right: 0.5rem;
  color: #218A7E;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: #218A7E;
  color: white;
  font-size: 1rem;
  font-weight: medium;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Asegura que el botón esté al final de la tarjeta */
}

.plan-cta:hover {
  background-color: #1a6c63;
}

/*---------------------------------------
  WHY CHOOSE US               
-----------------------------------------*/

.why-choose-us-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
  text-align: center;
}

.why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.why-choose-us-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.why-choose-us-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.why-choose-us-icon {
  font-size: 3rem;
  color: #218A7E;
  margin-bottom: 1rem;
}

.why-choose-us-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #218A7E;
  margin-bottom: 0.75rem;
}

.why-choose-us-description {
  font-size: 1rem;
  color: #262626;
  line-height: 1.6;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  pointer-events: auto;
  font-weight: var(--font-weight-semibold);
  line-height: 40px;
  position: relative;
  padding: 0 30px;
  box-sizing: border-box;
  margin: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  overflow: hidden;
  border-radius: 0;
  text-transform: uppercase;
}

.navbar-logo {
  width: 300px;
  height: auto;
}

.lead-form-container select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #2d3748;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.lead-form-container input:focus,
.lead-form-container select:focus {
  border-color: #3182ce;
  outline: none;
}

.custom-link::before {
  content: attr(data-hover);
  background-color: var(--border-color);
  color: var(--primary-color);
  position: absolute;
  top: 100%;
  bottom: 0;
  left: 0;
  transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);
  right: 0;
  text-align: center;
}

.custom-link:hover::before {
  top: 0;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  LIST GROUP               
-----------------------------------------*/
.list-group-item {
  background-color: transparent;
  color: var(--p-color);
  font-size: var(--p-font-size);
  padding: 1rem 0;
}

.list-group-item:first-child {
  padding-top: 0;
}

.list-group-item span {
  font-weight: var(--font-weight-semibold);
  margin-left: auto;
}

/*---------------------------------------
  ANIMATED TEXT              
-----------------------------------------*/
.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  min-width: 250px;
  position: relative;
}

.animated-item {
  color: var(--primary-color);
}

.animated-item {
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 6s linear infinite 0s;
}

.animated-item:nth-child(2n+2) {
  animation-delay: 2s;
}

.animated-item:nth-child(3n+3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(5px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(5px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {  
  padding-top: 0rem;
}

.hero .container {
  position: relative;
  overflow: hidden;
  height: 580px;
}

.heroText {
  background: var(--white-color);
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 0;
  padding: 1.5rem 2.5rem;
  width: 50%;
}

.contact-phone {
  font-weight: var(--font-weight-semibold);
}

/*---------------------------------------
  FEATURED              
-----------------------------------------*/
.featured-circle {
  border-radius: 100%;
  width: 350px;
  height: 350px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-text {
  font-size: var(--h6-font-size);
  line-height: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 0;
}

.featured-number {
  color: var(--primary-color);
  font-size: 8rem;
  margin: 0 10px;
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
  margin: 0 30px;
  padding: 0;
  text-align: center;
}

.navbar-brand strong {
  color: var(--p-color);
  font-size: 12px;
  position: relative;
  bottom: 5px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-weight: var(--font-weight-semibold);
  font-size: var(--menu-font-size);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-item.active .nav-link, 
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  TIMELINE               
-----------------------------------------*/
.timeline,
.timeline-nodes {
  position: relative;
}

.timeline-nodes:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline h3, 
.timeline p {
  padding: 10px 30px;
  text-align: left;
} 

.timeline h3 {
  background: #218A7E;
}

.timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 37px;
  left: 50%;
  width: 0;
  border-left: 1px solid var(--border-color);
  height: 85%;
  z-index: 1;
  transform: translateX(-50%);
}

.timeline-content {
  position: relative;
  border-radius: 0 0 0.25rem 0.25rem;
  padding: 0;
}

.timeline-nodes:nth-child(odd) h3,
.timeline-nodes:nth-child(odd) p {
  text-align: right;
}

.timeline-nodes:nth-child(odd) .timeline-date {
  text-align: left;
}
 
.timeline-nodes:nth-child(even) .timeline-date {
  text-align: right;
}

.timeline-nodes:nth-child(odd) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-left: 10px solid #218A7E;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-nodes h3 {
  position: relative;
  border-radius: 0.25rem 0.25rem 0 0;
}

.timeline-nodes:nth-child(even) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-right: 10px solid #218A7E;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-icons {
  position: relative;
  z-index: 100;
}

.timeline-icons::before {
  content: "";
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  z-index: 1;
}

.timeline-icon {
  position: relative;
  z-index: 100;
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  display: block;
  text-align: center;
  line-height: 80px;
}

@media (max-width: 767px) {
  .timeline-nodes:nth-child(odd) h3,
  .timeline-nodes:nth-child(odd) p {
    text-align: left;
  }

  .timeline-nodes:nth-child(even) {
    flex-direction: row;
  }

  .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 60px;
    left: 33px;
    width: 0;
    height: 90%;
    z-index: 1;
    transform: translateX(-50%);
  }

  .timeline-icons {
    position: absolute;
    left: 0%;
    top: 60px;
  }

  .timeline-nodes:nth-child(odd) h3::after {
    left: auto;
    right: 100%;
    border-left: 0;
    border-right: 10px solid #218A7E;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) h3::after {
    right: 100%;
    width: 0;
    border-right: 10px solid #218A7E;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) .timeline-date {
    text-align: left;
  }

  .timeline-icons::before {
    width: 75px;
    height: 75px;
  }

  .timeline-icon {
    line-height: 75px;
  }
}

@media (max-width: 575px) {
  .timeline::before {
    content: "";
    display: block;
    top: 60px;
    left: 57px;
    height: 87%;
  }

  .timeline-icons {
    position: absolute;
    left: -10px;
  }

  .timeline-icons::before {
    width: 70px;
    height: 70px;
  }

  .timeline-icon {
    line-height: 70px;
  }
}

/*---------------------------------------
  REVIEWS               
-----------------------------------------*/
.reviews-thumb {
  margin-bottom: 0;
  padding: 32px;
}

.reviews-text {
  margin-top: 10px;
  margin-bottom: 25px;
}

.reviews-image {
  border-radius: 100px;
  width: 70px !important;
  height: 70px !important;
}

.reviews-carousel .owl-item {
  opacity: 0.45;
}

.reviews-carousel .owl-item.active.center {
  opacity: 1;
}

.reviews-carousel .owl-item.active.center .reviews-thumb {
  background: var(--dark-color);
}

.reviews-carousel .owl-item.active.center .reviews-thumb,
.reviews-carousel .owl-item.active.center .reviews-text {
  color: var(--white-color);
}

.reviews-carousel .owl-nav {
  display: flex;
  justify-content: space-between;
  margin: auto;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.reviews-carousel .owl-nav span {
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: block;
}

.reviews-carousel .owl-nav .owl-prev {
  position: relative;
  left: -80px;
}

.reviews-carousel .owl-nav .owl-next {
  position: relative;
  right: -80px;
}

.reviews-carousel .owl-prev span,
.reviews-carousel .owl-next span {
  color: transparent;
}

.reviews-carousel .owl-prev span::before,
.reviews-carousel .owl-next span::before {
  font-family: bootstrap-icons;
  display: block;
  font-size: var(--h3-font-size);
  color: var(--p-color);
  width: 35px;
  height: 35px;
}

.reviews-carousel .owl-prev span::before {
  content: "\f12f";
}

.reviews-carousel .owl-next span::before {
  content: "\f138";
}

/*---------------------------------------
  BUTTON SUCCESS           
-----------------------------------------*/

.success .success-control {
  background: transparent;
  border-radius: 50;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  color: #6c757d;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 15px;
  transition: all 0.3s;
}

.success #success-button {
  background: var(--dark-color);
  border-bottom: 0;
  font-weight: var(--font-weight-semibold);
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 35px;
}

.success #success-button:hover {
  background: var(--primary-color);
}

/*---------------------------------------
  BOOKING FORM            
-----------------------------------------*/

.booking-form .form-control {
  background: transparent;
  border-radius: 50;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  color: #6c757d;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 15px;
  transition: all 0.3s;
}

.booking-form #submit-button {
  background: var(--dark-color);
  border-bottom: 0;
  font-weight: var(--font-weight-semibold);
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 35px;
}

.booking-form #submit-button:hover {
  background: var(--primary-color);
}

/*---------------------------------------
  FOOTER              
-----------------------------------------*/
.site-footer {
  background: var(--section-bg-color);
}

.copyright-text {
  font-size: var(--menu-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
  transition: all 0.3s;
}

.social-icon:hover li:not(:hover) {
  opacity: 0.65;
}

.social-icon-link {
  font-size: 25px;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  SECCION PLANES MODERNOS              
-----------------------------------------*/

.modern-plans-section {
  padding: 80px 0;
  background: #f8f9fa;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.section-title span {
  color: #29a2af;
  position: relative;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #29a2af, #33658a);
}

.section-description {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.modern-plan-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  width: 100%;
}

.modern-plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.plan-badge {
  position: absolute;
  background: linear-gradient(135deg, #A0D3FF 5%, #183A68 50%, #228B7E 100%);
  color: white;
  padding: 5px 30px;
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.individual-plan .plan-badge {
  right: -26px;
  top: 15px;
}

.woman-plan .plan-badge {
  right: -30px;
  top: 25px;
}

.senior-plan .plan-badge {
  right: -35px;
  top: 25px;
}

.family-plan .plan-badge {
  right: -35px;
  top: 30px;
}

.plan-header {
  padding: 30px 25px;
  color: white;
  position: relative;
  overflow: hidden;
}

.plan-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
}

.woman-plan .plan-header {
  background: linear-gradient(135deg, #e56399, #d44d8a);
}

.individual-plan .plan-header {
  background: linear-gradient(135deg, #183a68, #0f2a4a);
}

.senior-plan .plan-header {
  background: linear-gradient(135deg, #33658a, #1a4b6e);
}

.family-plan .plan-header {
  background: linear-gradient(135deg, #29a2af, #1d7a85);
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.plan-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.price-currency {
  font-size: 1.2rem;
  margin-top: 5px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 5px;
}

.price-period {
  align-self: flex-end;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.plan-body {
  padding: 25px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.plan-features li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #34495e;
}

.plan-features i {
  margin-right: 10px;
  font-size: 1.1rem;
  color: #29a2af;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-footer {
  display: flex;
  flex-direction: column;
  min-height: 120px;
  justify-content: flex-end;
}

.plan-cta {
  background: #228B7E;
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 15px;
}

.plan-cta:hover {
  background: #1A6D62;
}

.plan-more {
  color: #7f8c8d;
  text-align: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.plan-more:hover {
  color: #29a2af;
}

.plan-more i {
  transition: transform 0.3s ease;
}

.plan-more:hover i {
  transform: translateX(3px);
}

.plan-note {
  font-size: 0.8rem;
  color: #95a5a6;
  text-align: center;
  margin-bottom: 15px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 1200px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .hero .container {
    height: 740px;
  }
}

@media screen and (max-width: 991px) {
  body {
    padding-top: 74px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-nav .nav-link {
    padding-top: 5px;
    padding-bottom: 10px;
    border-radius: 50;
  }

  .hero .container {
    height: inherit;
  }

  .heroText {
    position: relative;
    bottom: 100px;
    left: 0;
    width: auto;
    margin-bottom: -100px;
    padding: 2rem;
  }

  .featured-circle {
    width: 320px;
    height: 320px;
  }
}

@media screen and (max-width: 767px) {
  .heroText {
    padding: 1.5rem;
  }

  .animated-info {
    min-width: 125px;
  }

  .featured-circle {
    margin-top: 20px;
  }

  .reviews-carousel .owl-nav {
    position: relative;
    width: auto !important;
    transform: inherit;
    top: 0;
    bottom: 0;
    left: 0;
    max-width: 100px;
    margin: 20px auto;
  }

  .reviews-carousel .owl-nav .owl-prev,
  .reviews-carousel .owl-nav .owl-next {
    right: 0;
    left: 0;
  }
}

@media screen and (max-width: 480px) {
  .heroText {
    padding: 1rem;
  }

  .heroLinks .custom-link {
    font-size: 12px;
    line-height: 30px;
    margin-right: 12px !important;
    padding: 0 25px;
  }

  .contact-phone {
    font-size: 12px;
  }
}

@media screen and (max-width: 360px) {
  .featured-number {
    font-size: 5rem;
  }

  .featured-circle {
    width: 235px;
    height: 235px;
  }

  .reviews-image {
    width: 55px !important;
    height: 55px !important;
  }

  .reviews-thumb figcaption {
    font-size: var(--menu-font-size);
  }

  .timeline::before {
    left: 42px;
  }
}