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

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

  /* Brand Colors from Identity Manual */
  --brand-black: #000000;
  --brand-dark-gray: #272727;
  --brand-light-gray: #DBD6D6;
  --brand-off-white: #FFFFF9;
  --brand-green-gray: #6E7D77;
  --brand-dark-green: #2D4239;
  --brand-gold: #B8936D;

  /* Note: Cores já estão alinhadas com o manual de identidade visual */

  /* Applied Colors */
  --first-color: var(--brand-dark-green);
  --first-color-alt: var(--brand-green-gray);
  --first-color-lighter: rgba(45, 66, 57, 0.1);
  --title-color: var(--brand-dark-gray);
  --text-color: var(--brand-dark-gray);
  --text-color-light: var(--brand-green-gray);
  --input-color: var(--brand-off-white);
  --body-color: var(--brand-off-white);
  --container-color: #FFFFFF;
  --scroll-bar-color: var(--brand-light-gray);
  --scroll-thumb-color: var(--brand-green-gray);

  /* Accent colors */
  --accent-gold: var(--brand-gold);
  --accent-green: var(--brand-dark-green);
  --accent-gray: var(--brand-green-gray);

  /* Medical specific colors */
  --medical-blue: var(--brand-dark-green);
  --medical-teal: var(--brand-green-gray);
  --medical-green: var(--brand-dark-green);
  --medical-gray: var(--brand-dark-gray);
  --medical-light-gray: var(--brand-off-white);
  --medical-border: var(--brand-light-gray);

  /* Font and typography - As per brand manual */
  --body-font: 'Lato', sans-serif;
  --title-font: 'Playfair Display', serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /* Font weight */
  --font-light: 300;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Margins Bottom */
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --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;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100vh;
  touch-action: none;
  left: 0;
  right: 0;
}

@media screen and (min-width: 768px) {
  body.menu-open {
    overflow: auto !important;
    position: static;
    touch-action: auto;
  }
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/* ===== MEDIA QUERIES ===== */
@media screen and (min-width: 768px) {
  .nav__menu {
    position: static !important;
    top: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    border-bottom: none !important;
  }

  .nav__list {
    display: flex !important;
    gap: 2rem;
    padding-top: 0;
  }

  .nav__link {
    flex-direction: row;
  }

  .nav__close,
  .nav__toggle {
    display: none;
  }

  .nav__overlay {
    display: none;
  }
}

/* ===== REUSABLE CSS CLASSES ===== */
.section {
  padding: 2rem 0 4rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--brand-dark-green);
  text-align: center;
  margin-bottom: var(--mb-3);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  position: relative;
  padding-bottom: 20px;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
  color: var(--first-color);
  font-weight: var(--font-medium);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 768px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: rgba(255, 255, 249, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  transition: all .3s ease;
  border-bottom: 2px solid var(--brand-gold);
  backdrop-filter: blur(10px);
}

/* Hide header on scroll down (mobile) */
@media screen and (max-width: 767px) {
  .header.scroll-down {
    transform: translateY(-100%);
  }

  .header.scroll-up {
    transform: translateY(0);
  }
}

.header.scroll-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  background-color: rgba(255, 255, 249, 0.98);
  backdrop-filter: blur(10px);
}

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

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-family: var(--title-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-dark-green);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav__menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background-color: var(--brand-off-white);
  padding: 4rem 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  border-radius: 0 0 1.5rem 1.5rem;
  transition: top .3s ease;
  margin-top: var(--header-height);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
}

.nav__menu.show-menu {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

.nav__list {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 1rem;
}

.nav__menu.show-menu .nav__list {
  display: grid;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--brand-dark-gray);
  font-weight: var(--font-medium);
  transition: .3s;
  font-family: var(--body-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem;
  min-height: 44px;
  justify-content: center;
  touch-action: manipulation;
}

.nav__link:hover {
  color: var(--brand-gold);
}

.nav__link:active {
  opacity: 0.7;
}

.nav__close {
  position: absolute;
  right: 1.3rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brand-dark-green);
}

.nav__close:hover {
  color: var(--first-color-alt);
}

.nav__toggle {
  font-size: 1.1rem;
  cursor: pointer;
}

.nav__toggle:hover {
  color: var(--first-color);
}

/* show menu */
.show-menu {
  top: 0;
}

/* Menu overlay for mobile */
.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-fixed) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.show-overlay {
  opacity: 1;
  visibility: visible;
}

/* Active link */
.active-link {
  color: var(--brand-gold);
  font-weight: var(--font-semi-bold);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
}

/* ===== HOME ===== */
.home {
  gap: 1rem;
  background: linear-gradient(135deg, var(--brand-dark-green) 0%, var(--brand-green-gray) 100%);
  padding-top: 4rem;
  margin-top: calc(var(--header-height) * -1);
  position: relative;
  overflow: hidden;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23B8936D" stroke-width="0.05" opacity="0.1"/></svg>');
  background-size: 30px 30px;
  opacity: 0.1;
}

.home__container {
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}

.home__content {
  align-content: center;
  text-align: left;
  order: 1;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-bottom: var(--mb-1);
  border: 1px solid rgba(184, 147, 109, 0.3);
  animation: fadeInRight 1s ease-out 0.2s backwards;
}

.home__badge i {
  color: var(--brand-gold);
  font-size: 1.2rem;
}

.home__badge span {
  color: white;
  font-weight: var(--font-semi-bold);
  font-size: var(--small-font-size);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-0-75);
  line-height: 1.2;
  font-family: var(--title-font);
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.home__title-accent {
  display: block;
  color: var(--brand-gold);
  font-weight: var(--font-medium);
  font-size: var(--h2-font-size);
  margin-top: var(--mb-0-5);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.home__description {
  margin-bottom: var(--mb-2);
  color: var(--brand-off-white);
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.home__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: var(--mb-2);
  animation: fadeInUp 1s ease-out 0.5s backwards;
}

.home__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.home__stat-number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--brand-gold);
  font-family: var(--title-font);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.home__stat-label {
  font-size: var(--small-font-size);
  color: var(--brand-off-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home__button {
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.home__image {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
  animation: fadeInRight 1s ease-out 0.7s backwards;
}

.home__img {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 350px;
  width: 100%;
  border: 4px solid rgba(184, 147, 109, 0.4);
  object-fit: cover;
  object-position: center;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-gold) 0%, #9A7A5B 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: all .3s ease;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  text-align: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  box-shadow: 0 4px 15px rgba(184, 147, 109, 0.3);
  min-height: 44px;
  touch-action: manipulation;
  user-select: none;
}

.button:hover {
  background: linear-gradient(135deg, #9A7A5B 0%, var(--brand-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 147, 109, 0.4);
}

.button:active {
  transform: translateY(0);
}

.button i {
  font-size: 1.1rem;
}

/* Touch-friendly elements */
@media (hover: none) {
  .button:hover {
    transform: none;
  }

  .button:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

/* ===== WELCOME ===== */
.welcome {
  padding: 4rem 0;
  background-color: var(--container-color);
}

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

.welcome__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.welcome__text p {
  margin-bottom: var(--mb-1-5);
  line-height: 1.8;
  font-size: var(--normal-font-size);
}

.welcome__closing {
  text-align: center;
  font-weight: var(--font-semi-bold);
  color: var(--brand-dark-green);
  font-size: var(--h3-font-size);
  font-family: var(--title-font);
}

.highlights {
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: var(--mb-3);
}

.highlight__card {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-off-white) 100%);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--brand-light-gray);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.highlight__card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 147, 109, 0.1), transparent);
  transition: all .4s ease;
}

.highlight__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(184, 147, 109, 0.05), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.highlight__card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(45, 66, 57, 0.15);
  border-color: var(--brand-gold);
}

.highlight__card:hover::before {
  width: 200px;
  height: 200px;
  top: -100px;
  right: -100px;
}

.highlight__card:hover::after {
  opacity: 1;
}

.highlight__card:hover .highlight__icon {
  transform: scale(1.1) rotate(5deg);
}

.highlight__icon {
  background: linear-gradient(135deg, var(--brand-gold), #9A7A5B);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(184, 147, 109, 0.3);
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.highlight__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  color: var(--title-color);
}

.highlight__description {
  color: var(--text-color);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--brand-off-white) 0%, #FFFFFF 100%);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(184, 147, 109, 0.02) 35px,
    rgba(184, 147, 109, 0.02) 70px
  );
}

.about__content {
  gap: 3rem;
  align-items: center;
}

.about__main-text {
  background-color: var(--container-color);
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--brand-gold);
  position: relative;
  overflow: hidden;
}

.about__main-text::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent, rgba(184, 147, 109, 0.05));
  border-radius: 0 0 0 100%;
}

.about__main-text::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(184, 147, 109, 0.08), transparent);
  border-radius: 50%;
}

.about__intro,
.about__formation,
.about__passion {
  margin-bottom: var(--mb-2);
  line-height: 1.8;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.about__intro {
  font-size: 1.1rem;
  color: var(--brand-dark-gray);
}

.about__formation {
  color: var(--brand-green-gray);
}

.about__passion {
  color: var(--brand-dark-green);
  font-weight: 500;
  margin-bottom: 0;
}

.about__main-text strong {
  color: var(--brand-dark-green);
  font-weight: 600;
}

.about__main-text em {
  color: var(--brand-gold);
  font-style: italic;
  font-weight: 500;
}

.about__image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about__img {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  width: 100%;
  border: 3px solid var(--brand-gold);
  object-fit: cover;
  aspect-ratio: 3/4;
  object-position: center;
}

.about__timeline {
  margin-top: var(--mb-3);
  position: relative;
}

.timeline__item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--mb-2);
  position: relative;
  padding-left: 1rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 50px;
  width: 2px;
  height: calc(100% + 2rem);
  background: linear-gradient(180deg, var(--brand-gold), var(--brand-green-gray));
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__icon {
  background: linear-gradient(135deg, var(--brand-gold), #9A7A5B);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(184, 147, 109, 0.3);
  position: relative;
  z-index: 1;
}

.timeline__content {
  flex: 1;
  background: var(--container-color);
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  border-left: 3px solid var(--brand-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all .3s ease;
}

.timeline__content:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.timeline__year {
  color: var(--brand-dark-green);
  font-size: var(--h3-font-size);
  font-family: var(--title-font);
  margin-bottom: var(--mb-0-25);
  font-weight: var(--font-semi-bold);
}

.timeline__text {
  color: var(--text-color);
  font-size: var(--normal-font-size);
  line-height: 1.6;
}

.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: var(--mb-2);
}

.credential__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--brand-dark-green), var(--brand-green-gray));
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(45, 66, 57, 0.2);
  transition: all .3s ease;
}

.credential__badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(45, 66, 57, 0.3);
}

.credential__badge i {
  color: var(--brand-gold);
  font-size: 1.2rem;
}

.credential__badge span {
  color: white;
  font-weight: var(--font-semi-bold);
  font-size: var(--small-font-size);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SERVICES ===== */
.services {
  padding: 4rem 0;
  background-color: var(--container-color);
}

.services__philosophy {
  text-align: center;
  margin-bottom: var(--mb-3);
  background: linear-gradient(135deg, var(--brand-off-white) 0%, #FFFFFF 100%);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--brand-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.services__philosophy::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 60px;
  color: var(--brand-gold);
  opacity: 0.15;
  font-family: var(--title-font);
}

.services__philosophy p {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  color: var(--medical-gray);
  font-style: italic;
  line-height: 1.6;
}

.services__content {
  gap: 3rem;
  margin-bottom: var(--mb-3);
}

.service__category {
  background: linear-gradient(135deg, var(--brand-off-white) 0%, #FFFFFF 100%);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  border-top: 4px solid var(--brand-dark-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.service__category::after {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(184, 147, 109, 0.08), transparent);
  border-radius: 50%;
}

.service__title {
  color: var(--brand-dark-green);
  margin-bottom: var(--mb-1);
  font-size: var(--h2-font-size);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.service__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand-gold);
}

.service__description {
  text-align: center;
  margin-bottom: var(--mb-2);
  color: var(--text-color);
  font-weight: var(--font-medium);
  line-height: 1.6;
}

.procedure {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: var(--mb-1-5);
  border-left: 3px solid var(--brand-gold);
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.procedure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--brand-dark-green);
  transition: height 0.4s ease;
}

.procedure::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184, 147, 109, 0.05));
  transition: width 0.4s ease;
}

.procedure:hover::before {
  height: 100%;
}

.procedure:hover::after {
  width: 100%;
}

.procedure:hover {
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(45, 66, 57, 0.15);
  border-left-width: 4px;
}

.procedure__name {
  color: var(--brand-dark-green);
  margin-bottom: var(--mb-0-5);
  font-size: var(--h3-font-size);
  font-family: var(--title-font);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.procedure__name::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--brand-gold);
  transition: transform 0.3s ease;
}

.procedure:hover .procedure__name::after {
  transform: translateX(5px);
}

.procedure__description {
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.services__cta {
  text-align: center;
  margin-top: var(--mb-3);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--brand-off-white) 0%, #FFFFFF 100%);
  position: relative;
}

/* Google Reviews Widget */
.google-reviews-widget {
  margin: 2rem 0 3rem;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Doctoralia Reviews Badge */
.doctoralia-reviews-widget {
  margin: 3rem 0 2rem;
}

.doctoralia-badge {
  display: block;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.doctoralia-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-gold);
}

.doctoralia-badge-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--medical-border);
}

.doctoralia-logo-wrapper {
  flex-shrink: 0;
}

.doctoralia-logo {
  width: 140px;
  height: 40px;
}

.doctoralia-stats {
  flex: 1;
}

.doctoralia-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.doctoralia-rating i {
  color: #FFB800;
  font-size: 1.25rem;
}

.doctoralia-rating .rating-number {
  margin-left: 0.5rem;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  font-family: var(--title-font);
}

.reviews-count {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin: 0;
}

.reviews-count strong {
  color: var(--title-color);
}

.doctoralia-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #e6f7ed 100%);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--brand-gold);
}

.doctoralia-highlight i {
  color: var(--brand-gold);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.doctoralia-highlight p {
  margin: 0;
  color: var(--text-color);
  font-size: var(--normal-font-size);
  line-height: 1.6;
}

.doctoralia-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.doctoralia-cta span {
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
}

.doctoralia-cta i {
  font-size: 1.5rem;
  color: var(--brand-gold);
  transition: transform 0.3s ease;
}

.doctoralia-badge:hover .doctoralia-cta i {
  transform: translateX(5px);
}

@media screen and (max-width: 576px) {
  .doctoralia-badge-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .doctoralia-logo {
    width: 100px;
  }

  .doctoralia-rating {
    justify-content: center;
  }

  .doctoralia-cta {
    flex-direction: column;
    text-align: center;
  }

  .doctoralia-cta i {
    display: none;
  }
}

.testimonials__subtitle {
  text-align: center;
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin: 3rem 0 2rem;
  font-family: var(--title-font);
  position: relative;
}

.testimonials__subtitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(184, 147, 109, 0.05), transparent);
  border-radius: 50%;
}

.testimonials__slider {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--mb-2);
}

.testimonial__card {
  background-color: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 4px solid var(--brand-gold);
  display: none;
  position: relative;
}

.testimonial__card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 80px;
  color: var(--brand-gold);
  opacity: 0.2;
  font-family: var(--title-font);
}

.testimonial__card.active {
  display: block;
}

.testimonial__text {
  font-size: var(--h3-font-size);
  font-style: italic;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: var(--mb-2);
  position: relative;
}

.testimonial__text::before {
  content: '"';
  font-size: 3rem;
  color: var(--medical-blue);
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: var(--title-font);
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-gold);
  box-shadow: 0 2px 10px rgba(184, 147, 109, 0.3);
}

.testimonial__name {
  color: var(--title-color);
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.testimonial__procedure {
  color: var(--brand-dark-green);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.testimonials__indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: var(--mb-1-5);
}

.testimonial__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-light-gray);
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid transparent;
}

.testimonial__indicator:hover {
  background: var(--brand-green-gray);
  transform: scale(1.2);
}

.testimonial__indicator.active {
  background: var(--brand-gold);
  width: 32px;
  border-radius: 6px;
  border-color: var(--brand-gold);
}

.testimonial__control {
  background: linear-gradient(135deg, var(--brand-gold), #9A7A5B);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(184, 147, 109, 0.3);
}

.testimonial__control:hover {
  background: linear-gradient(135deg, #9A7A5B, var(--brand-gold));
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(184, 147, 109, 0.4);
}

.testimonial__control:active {
  transform: scale(0.95);
}

/* ===== CONTACT ===== */
.contact {
  padding: 4rem 0;
  background-color: var(--container-color);
}

.contact__content {
  gap: 3rem;
}

.contact__info {
  background: linear-gradient(135deg, var(--brand-off-white) 0%, #FFFFFF 100%);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--brand-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact__subtitle {
  color: var(--brand-dark-green);
  margin-bottom: var(--mb-1-5);
  font-size: var(--h3-font-size);
  text-align: center;
  font-family: var(--title-font);
}

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

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--mb-1);
}

.contact__detail i {
  color: var(--medical-blue);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact__description {
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.contact__note {
  font-style: italic;
  color: var(--medical-blue);
  text-align: center;
  margin-bottom: var(--mb-1-5);
  font-weight: var(--font-medium);
}

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

.hospital {
  background-color: var(--container-color);
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  border: 1px solid var(--medical-border);
}

.contact__methods-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--mb-1);
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--container-color);
  border-radius: 0.5rem;
  color: var(--text-color);
  transition: .3s;
  border: 1px solid var(--medical-border);
}

.contact__method:hover {
  background: linear-gradient(135deg, var(--brand-gold), #9A7A5B);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 147, 109, 0.3);
}

.contact__method i {
  font-size: 1.2rem;
  color: var(--brand-dark-green);
}

.contact__method:hover i {
  color: white;
}

.contact__hours {
  text-align: center;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

/* Insurance Plans */
.contact__insurance {
  margin-top: var(--mb-2);
}

.insurance__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--mb-1);
}

.insurance__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: var(--container-color);
  border-radius: 0.5rem;
  border: 1px solid var(--medical-border);
  transition: .3s;
}

.insurance__item:hover {
  transform: translateX(5px);
  border-color: var(--brand-gold);
}

.insurance__item i {
  color: var(--brand-gold);
  font-size: 1.2rem;
}

.insurance__item span {
  color: var(--text-color);
  font-weight: var(--font-medium);
}

/* Contact Form */
.contact__form-container {
  background: linear-gradient(135deg, var(--brand-off-white) 0%, #FFFFFF 100%);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--brand-dark-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form__title {
  text-align: center;
  color: var(--brand-dark-green);
  margin-bottom: var(--mb-2);
  font-size: var(--h3-font-size);
  font-family: var(--title-font);
}

.form__group {
  position: relative;
  margin-bottom: var(--mb-2);
}

.form__input {
  width: 100%;
  background-color: var(--container-color);
  color: var(--text-color);
  padding: 1.25rem 1rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--medical-border);
  outline: none;
  transition: .3s;
  font-family: var(--body-font);
}

.form__input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 109, 0.15);
}

.form__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-color-light);
  transition: .3s;
  pointer-events: none;
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
  top: 0.3rem;
  font-size: var(--smaller-font-size);
  color: var(--brand-gold);
  font-weight: var(--font-medium);
}

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

.form__button {
  width: 100%;
  justify-content: center;
}

.form__error {
  display: block;
  color: #dc2626;
  font-size: var(--smaller-font-size);
  margin-top: 0.25rem;
  min-height: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form__error.show {
  opacity: 1;
}

.form__input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form__input.success {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.contact__map {
  margin-top: var(--mb-2);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--brand-light-gray);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--brand-dark-green) 0%, #1A2B22 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold), #9A7A5B, var(--brand-gold));
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(184, 147, 109, 0.08), transparent);
  border-radius: 50%;
}

.footer__content {
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: var(--mb-3);
  text-align: center;
  padding: 0 1rem;
}

@media screen and (min-width: 768px) {
  .footer__content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    text-align: left;
    gap: 4rem;
    align-items: start;
  }

  .footer__brand {
    text-align: left;
  }
}

.footer__brand {
  text-align: center;
}

.footer__brand-name {
  font-family: var(--title-font);
  font-size: 1.75rem;
  color: white;
  margin-bottom: var(--mb-1-5);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.footer__brand-name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--brand-gold);
}

@media screen and (min-width: 768px) {
  .footer__brand-name::after {
    left: 0;
  }
}

@media screen and (max-width: 767px) {
  .footer__brand-name::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer__description {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: white;
  text-align: center;
  font-family: var(--title-font);
  font-weight: 500;
  position: relative;
  display: inline-block;
  width: 100%;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--brand-gold);
}

@media screen and (min-width: 768px) {
  .footer__title {
    text-align: left;
  }

  .footer__title::after {
    left: 0;
    transform: none;
  }
}

.footer__contact-list,
.footer__social-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .footer__contact-list,
  .footer__social-list {
    align-items: flex-start;
  }
}

.footer__contact-item,
.footer__social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  transition: .3s;
  justify-content: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.footer__contact-item:hover,
.footer__social-link:hover {
  color: var(--brand-gold);
  transform: translateX(5px);
}

.footer__credentials {
  text-align: center;
}

.footer__credential {
  margin-bottom: var(--mb-0-75);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--mb-2-5);
  margin-top: var(--mb-2);
  position: relative;
}

.footer__bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: var(--brand-gold);
}

.footer__bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer__bottom-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

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

.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .footer__links {
    justify-content: flex-end;
  }
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--small-font-size);
  transition: .3s;
  position: relative;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-gold);
  transition: width 0.3s;
}

.footer__link:hover {
  color: var(--brand-gold);
}

.footer__link:hover::after {
  width: 100%;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all .3s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float i {
  font-size: 2rem;
  color: white;
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 1.5rem;
  bottom: -20%;
  background: linear-gradient(135deg, var(--brand-gold), #9A7A5B);
  opacity: .8;
  padding: 0.3rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-tooltip);
  transition: .4s;
  box-shadow: 0 4px 15px rgba(184, 147, 109, 0.3);
}

.scrollup:hover {
  background: linear-gradient(135deg, #9A7A5B, var(--brand-gold));
  opacity: 1;
  transform: translateY(-5px);
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}

.show-scroll {
  bottom: 6.5rem;
}

/* ===== MEDIA QUERIES ===== */

/* For mobile optimization */
@media screen and (max-width: 480px) {
  /* Hero Section Mobile */
  .home__badge {
    padding: 0.5rem 1rem;
    font-size: var(--smaller-font-size);
  }

  .home__badge i {
    font-size: 1rem;
  }

  .home__stats {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .home__stat-number {
    font-size: var(--h2-font-size);
  }

  .home__stat-label {
    font-size: var(--smaller-font-size);
  }

  .home__img {
    max-width: 250px;
  }

  /* Timeline Mobile */
  .timeline__item {
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
  }

  .timeline__item::before {
    display: none;
  }

  .timeline__icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline__content {
    padding: 1rem;
  }

  .timeline__year {
    font-size: var(--normal-font-size);
  }

  /* Credentials Mobile */
  .about__credentials {
    flex-direction: column;
  }

  .credential__badge {
    padding: 0.6rem 1rem;
    justify-content: center;
  }

  .credential__badge i {
    font-size: 1rem;
  }

  .credential__badge span {
    font-size: var(--smaller-font-size);
  }

  /* Contact Mobile */
  .contact__map iframe {
    height: 250px;
  }

  /* Procedure cards mobile */
  .procedure {
    padding: 1.25rem;
  }

  .procedure__name {
    font-size: var(--normal-font-size);
  }

  /* Testimonials mobile */
  .testimonial__card {
    padding: 2rem 1.5rem;
  }

  .testimonial__text {
    font-size: var(--normal-font-size);
  }

  /* Footer mobile */
  .footer__content {
    gap: 2rem;
  }

  .footer__brand-name {
    font-size: 1.5rem;
  }
}

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

  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }

  .nav__list {
    column-gap: 0;
    grid-template-columns: repeat(2, 1fr);
  }

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

  .home__badge {
    font-size: 0.65rem;
    padding: 0.5rem 0.75rem;
  }

  .home__stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .home__img {
    max-width: 200px;
  }

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

  .highlight__card {
    padding: 1.5rem 1rem;
  }

  .about__timeline {
    margin-top: var(--mb-2);
  }

  .timeline__content {
    padding: 0.75rem 1rem;
  }

  .contact__map iframe {
    height: 200px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .whatsapp-float i {
    font-size: 1.5rem;
  }

  .scrollup {
    width: 40px;
    height: 40px;
    right: 0.75rem;
  }

  .scrollup__icon {
    font-size: 1.25rem;
  }

  .show-scroll {
    bottom: 5rem;
  }

  .testimonial__control {
    width: 45px;
    height: 45px;
  }

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

/* For medium devices */
@media screen and (min-width: 568px) {
  .about__content {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }

  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

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

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

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

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  body {
    margin: 0;
    padding-top: var(--header-height);
  }

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

  .section__subtitle {
    margin-bottom: 4rem;
  }

  .header {
    top: 0;
    background-color: rgba(255, 255, 249, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--brand-gold);
  }

  .header,
  .main,
  .footer__container {
    padding: 0 1rem;
  }

  .nav {
    height: 5rem;
    column-gap: 1rem;
    padding: 0 3rem;
  }

  .nav__close,
  .nav__toggle,
  .nav__overlay {
    display: none;
  }

  .nav__list {
    display: flex;
    column-gap: 2.5rem;
    padding: 0;
    gap: 0;
  }

  .nav__link {
    flex-direction: row;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    position: relative;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: width 0.3s;
  }

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

  .nav__menu {
    position: static !important;
    top: auto !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: auto;
    margin-top: 0 !important;
    border-radius: 0 !important;
    width: auto !important;
  }

  .change-theme {
    margin: 0;
  }

  .home__container {
    row-gap: 5rem;
  }

  .home__content {
    padding-top: 5.5rem;
    column-gap: 2rem;
  }

  .home__blob {
    width: 270px;
  }

  .home__scroll {
    display: block;
  }

  .home__scroll-button {
    margin-left: 3rem;
  }

  .about__content {
    gap: 4rem;
  }

  .about__main-text {
    padding: 3.5rem 3rem;
  }

  .about__img {
    width: 350px;
  }

  .about__description {
    text-align: initial;
  }

  .about__info {
    justify-content: space-between;
  }

  .about__buttons {
    justify-content: initial;
  }

  .highlights {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__bg {
    padding: 3rem 0 3.5rem;
  }

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

  .footer__socials {
    justify-self: flex-end;
  }

  .footer__copy {
    margin-top: 4.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .header,
  .main,
  .footer__container {
    padding: 0;
  }

  .home__blob {
    width: 320px;
  }

  .home__social {
    transform: translateX(-6rem);
  }

  .contact__form {
    width: 460px;
  }

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

/* Additional styles for better responsiveness */
@media screen and (min-width: 768px) {
  .home__container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .home__content {
    text-align: left;
    order: 1;
  }

  .home__image {
    order: 2;
    justify-self: end;
  }
}

@media screen and (min-width: 968px) {
  .container {
    max-width: 1200px;
  }

  .home__container {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }

  .about__content {
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }

  .welcome__text {
    text-align: center;
  }

  .contact__methods-list {
    flex-direction: row;
    justify-content: space-around;
  }

  .footer__bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}