/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --header-height: 3.5rem;

  /* Colors */
  --primary-color: #2C5F7C;
  --primary-color-alt: #1e4a63;
  --secondary-color: #7FB3D3;
  --accent-color: #F4A261;
  --neutral-color: #264653;
  --background-color: #F8F9FA;
  --text-color: #2D3748;
  --text-color-light: #718096;
  --white-color: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-color: rgba(45, 55, 72, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

  /* Typography */
  --body-font: 'Open Sans', sans-serif;
  --title-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /* Font Weight */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Margins */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Responsive Typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 5rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--primary-color);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.section__description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-color-light);
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  gap: var(--mb-0-5);
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  text-align: center;
  font-size: var(--normal-font-size);
}

.button:hover {
  background-color: var(--primary-color-alt);
  border-color: var(--primary-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 95, 124, 0.3);
}

.button--primary {
  background: var(--gradient-primary);
  border: 2px solid transparent;
}

.button--ghost {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button--ghost:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* ===== HEADER & NAV ===== */
.header {
  width: 100%;
  background-color: var(--white-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: var(--transition);
  box-shadow: 0 2px 20px var(--shadow-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo h3 {
  color: var(--primary-color);
  font-size: var(--h3-font-size);
  margin-bottom: 0;
}

.nav__logo span {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -0.5rem;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__contact-btn {
  display: flex;
  align-items: center;
  gap: var(--mb-0-5);
  background-color: var(--accent-color);
  color: var(--white-color);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
}

.nav__contact-btn:hover {
  background-color: #e8956b;
  transform: translateY(-2px);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* ===== HOME ===== */
.home {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.home__data {
  margin-bottom: var(--mb-2);
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-1);
  line-height: 1.2;
}

.home__title span {
  color: var(--primary-color);
}

.home__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
  line-height: 1.7;
  font-size: 1.1rem;
}

.home__buttons {
  display: flex;
  gap: var(--mb-1);
  flex-wrap: wrap;
}

.home__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--mb-1-5);
  margin-top: var(--mb-2);
}

.home__info-item {
  display: flex;
  align-items: center;
  gap: var(--mb-0-75);
  padding: 1rem;
  background-color: var(--white-color);
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: var(--transition);
}

.home__info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.home__info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.home__info-item h4 {
  font-size: var(--small-font-size);
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.home__info-item span {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.home__image {
  position: relative;
  justify-self: center;
}

.home__img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.home__image-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.home__stats {
  display: flex;
  justify-content: space-around;
}

.home__stat {
  text-align: center;
}

.home__stat-number {
  display: block;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.home__stat-text {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

/* ===== ABOUT ===== */
.about {
  background-color: var(--white-color);
}

.about__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.about__img-wrapper {
  position: relative;
}

.about__img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.about__experience {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--gradient-primary);
  color: var(--white-color);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(44, 95, 124, 0.3);
}

.about__experience-number {
  display: block;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
}

.about__experience-text {
  font-size: var(--small-font-size);
  line-height: 1.2;
}

.about__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.about__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
  line-height: 1.7;
}

.about__details {
  margin-bottom: var(--mb-2);
}

.about__detail {
  display: flex;
  align-items: center;
  gap: var(--mb-0-75);
  margin-bottom: var(--mb-1);
  padding: 1rem;
  background-color: var(--background-color);
  border-radius: 0.5rem;
  transition: var(--transition);
}

.about__detail:hover {
  background-color: #e9ecef;
  transform: translateX(10px);
}

.about__detail i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.about__detail h4 {
  font-size: var(--normal-font-size);
  margin-bottom: 0.25rem;
}

.about__detail span {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.about__mission {
  font-style: italic;
  color: var(--primary-color);
  background-color: var(--background-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
  background-color: var(--background-color);
}

.services__container {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.services__card {
  background-color: var(--white-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow-color);
  transition: var(--transition);
}

.services__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.services__card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.services__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.services__card:hover .services__img {
  transform: scale(1.1);
}

.services__icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(44, 95, 124, 0.3);
}

.services__card-content {
  padding: 2rem;
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.services__description {
  margin-bottom: var(--mb-1-5);
  color: var(--text-color-light);
  line-height: 1.7;
}

.services__features {
  list-style: none;
}

.services__features li {
  display: flex;
  align-items: center;
  gap: var(--mb-0-5);
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
}

.services__features i {
  color: var(--accent-color);
  font-size: var(--small-font-size);
}

/* ===== THERAPY ===== */
.therapy {
  background-color: var(--white-color);
}

.therapy__container {
  max-width: 1000px;
  margin: 0 auto;
}

.therapy__description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color-light);
  margin-bottom: var(--mb-3);
  text-align: center;
}

.therapy__benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: var(--mb-3);
}

.therapy__benefit {
  display: flex;
  gap: var(--mb-1);
  padding: 1.5rem;
  background-color: var(--background-color);
  border-radius: 0.75rem;
  transition: var(--transition);
}

.therapy__benefit:hover {
  background-color: #e9ecef;
  transform: translateY(-5px);
}

.therapy__benefit-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.25rem;
}

.therapy__benefit-content h4 {
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
}

.therapy__benefit-content p {
  color: var(--text-color-light);
  line-height: 1.6;
}

.therapy__process {
  background: var(--gradient-primary);
  padding: 3rem 2rem;
  border-radius: 1rem;
  color: var(--white-color);
}

.therapy__process h3 {
  text-align: center;
  margin-bottom: var(--mb-2);
  color: var(--white-color);
  font-size: var(--h2-font-size);
}

.therapy__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.therapy__step {
  text-align: center;
}

.therapy__step-number {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background-color: var(--white-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--h3-font-size);
  margin: 0 auto var(--mb-1);
}

.therapy__step-content h4 {
  margin-bottom: var(--mb-0-5);
  color: var(--white-color);
}

.therapy__step-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
  background-color: var(--background-color);
}

.contact__container {
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__card {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px var(--shadow-color);
  transition: var(--transition);
}

.contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.contact__card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.25rem;
  margin-bottom: var(--mb-1);
}

.contact__card h3 {
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
}

.contact__card p {
  color: var(--text-color-light);
  line-height: 1.6;
}

.contact__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--mb-0-5);
  color: #25D366;
  font-weight: var(--font-medium);
  margin-top: var(--mb-0-5);
  transition: var(--transition);
}

.contact__whatsapp:hover {
  color: #1da851;
}

.contact__form-container {
  background-color: var(--white-color);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px var(--shadow-color);
}

.contact__form-group {
  margin-bottom: var(--mb-1-5);
}

.contact__label {
  display: block;
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.contact__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: var(--transition);
  background-color: var(--white-color);
}

.contact__input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__button {
  width: 100%;
  justify-content: center;
  margin-top: var(--mb-1);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--neutral-color);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__logo h3 {
  color: var(--white-color);
  margin-bottom: var(--mb-0-25);
}

.footer__logo span {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--small-font-size);
}

.footer__description {
  margin-top: var(--mb-1);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__title {
  margin-bottom: var(--mb-1);
  color: var(--white-color);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--mb-0-5);
}

.footer__links li {
  display: flex;
  align-items: flex-start;
  gap: var(--mb-0-5);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--white-color);
}

.footer__social {
  display: flex;
  gap: var(--mb-0-75);
  margin-top: var(--mb-1);
}

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  transition: var(--transition);
}

.footer__social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--mb-1);
  text-align: center;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--small-font-size);
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background: var(--gradient-primary);
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  color: var(--white-color);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrollup:hover {
  background-color: var(--primary-color-alt);
  opacity: 1;
  transform: translateY(-3px);
}

.show-scroll {
  bottom: 5rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: var(--white-color);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #1da851;
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===== BREAKPOINTS ===== */
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .home__container,
  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home__image {
    order: -1;
  }

  .therapy__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    padding: 6rem 2rem 2rem;
    transition: var(--transition);
    z-index: var(--z-modal);
  }

  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
  }

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

  .nav__close {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
  }

  .nav__toggle {
    display: block;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
  }

  .nav__contact {
    display: none;
  }

  .show-menu {
    right: 0;
  }

  .section {
    padding: 4rem 0 2rem;
  }

  .home {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .home__buttons {
    flex-direction: column;
    align-items: center;
  }

  .home__info {
    grid-template-columns: 1fr;
  }

  .services__container {
    grid-template-columns: 1fr;
  }

  .therapy__steps {
    grid-template-columns: 1fr;
  }

  .therapy__process {
    padding: 2rem 1rem;
  }

  .contact__container {
    grid-template-columns: 1fr;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__buttons {
    flex-direction: column;
  }

  .button {
    padding: 0.75rem 1.5rem;
  }

  .services__card-content,
  .contact__form-container {
    padding: 1.5rem;
  }

  .therapy__process {
    padding: 1.5rem 1rem;
  }
}

