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

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

  /*========== Colors ==========*/
  /* Biovitta Brand Colors */
  --primary-color: #29A867; /* Verde da logo */
  --primary-light: #4fd882;
  --primary-dark: #1e7a4b;
  --secondary-color: #7B2CBF; /* Roxo/Azul da logo */
  --secondary-light: #9d4edd;
  --secondary-dark: #5a189a;

  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-light: linear-gradient(135deg, var(--primary-light), var(--secondary-light));

  /* Base Colors */
  --title-color: #333;
  --text-color: #666;
  --text-color-light: #999;
  --body-color: #fff;
  --container-color: #fff;
  --border-color: #e9ecef;

  /*========== Font and typography ==========*/
  --body-font: 'Inter', sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;

  /*========== 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 {
    --big-font-size: 3rem;
    --h1-font-size: 2.75rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0 0 var(--header-height) 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;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

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

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-0-25);
}

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

.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: var(--normal-font-size);
  box-shadow: 0 4px 20px rgba(41, 168, 103, 0.3);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(41, 168, 103, 0.4);
}

.button--outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.button--outline:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 30px rgba(41, 168, 103, 0.4);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.3s ease;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 2px;
}

.logo-text {
  font-weight: var(--font-bold);
  font-size: var(--h2-font-size);
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-weight: var(--font-medium);
  color: var(--title-color);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

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

.nav__toggle,
.nav__close {
  cursor: pointer;
  color: var(--title-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
}

.nav__close {
  display: none;
}

.nav__toggle i,
.nav__close i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.nav__toggle:hover,
.nav__close:hover {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(41, 168, 103, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Show menu */
.show-menu {
  right: 0 !important;
}

/* Add blur to header */
.scroll-header {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Active link */
.active-link {
  color: var(--primary-color);
}

/*=============== HOME ===============*/
.home {
  background: linear-gradient(135deg, #f8fffe 0%, #f5f9ff 50%, #fafafa 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 3rem;
}

.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"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e8f5e8" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
  z-index: 0;
}

.home__container {
  position: relative;
  z-index: 1;
}

.home__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 60vh;
}

.home__data {
  text-align: left;
}

.home__greeting {
  color: var(--primary-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  display: block;
}

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

.home__title-main {
  display: block;
  font-size: var(--big-font-size);
  font-weight: var(--font-extra-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home__title-subtitle {
  display: block;
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  opacity: 0.8;
}

.home__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color);
  line-height: 1.7;
  max-width: 500px;
}

.home__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: var(--mb-2-5);
}

.home__stat {
  text-align: center;
}

.home__stat-number {
  display: block;
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  line-height: 1;
}

.home__stat-text {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
}

.home__science-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.molecule {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.molecule-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.molecule-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  border-color: var(--secondary-color);
}

.molecule-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.home__lab-equipment {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.equipment-circle {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(41, 168, 103, 0.2);
  transition: all 0.3s ease;
  animation: bounce-equipment 3s ease-in-out infinite;
}

.equipment-circle:nth-child(2) {
  animation-delay: 1s;
}

.equipment-circle:nth-child(3) {
  animation-delay: 2s;
}

.equipment-circle:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 20px 40px rgba(41, 168, 103, 0.3);
}

.equipment-circle i {
  font-size: 2.2rem;
  color: #fff;
}

@keyframes bounce-equipment {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/*=============== ABOUT ===============*/
.about {
  background: linear-gradient(135deg, 
    rgba(41, 168, 103, 0.03) 0%, 
    rgba(123, 44, 191, 0.03) 50%, 
    rgba(41, 168, 103, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.about::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"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="%2329A867" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%237B2CBF" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.about__container {
  position: relative;
  z-index: 2;
}

.about__content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(240, 240, 240, 0.5);
  position: relative;
  overflow: hidden;
}



.about__content:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.15),
    0 12px 35px rgba(41, 168, 103, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about__img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.about__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid #e0e0e0;
  background: white;
  transform: scale(1.2);
}

.about__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__name {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--title-color);
  margin-bottom: var(--mb-0-25);
  letter-spacing: 1px;
}

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

.about__description {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: var(--mb-1);
  text-align: justify;
  font-size: var(--normal-font-size);
}

.about__description:first-of-type {
  font-size: 1.1rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

.about__description strong {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: var(--font-bold);
  position: relative;
}



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

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 60%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

/* Responsive About */
@media screen and (max-width: 968px) {
  .about__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }
  
  .about__img-wrapper {
    order: -1;
    justify-self: center;
    width: 100px;
    height: 100px;
  }
  
  .about__img {
    width: 100px;
    height: 100px;
    border: 2px solid #e0e0e0;
  }
  
  .about__name {
    font-size: 2.2rem;
  }
  
  .about__description:first-of-type {
    font-size: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .about {
    padding: 1rem 0;
  }
  
  .about__content {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-radius: 20px;
  }
  
  .about__img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
  }
  
  .about__img-wrapper {
    width: 90px;
    height: 90px;
  }
  
  .about__title {
    font-size: var(--smaller-font-size);
  }
  
  .about__description {
    text-align: left;
    font-size: var(--small-font-size);
  }
  
  .about__description:first-of-type {
    font-size: var(--normal-font-size);
  }
}

@media screen and (max-width: 480px) {
  .about__content {
    padding: 1.5rem 1rem;
    margin: 0 1rem;
  }
  
  .about__name {
    font-size: 1.8rem;
  }
  
  .home__buttons .button {
    min-width: min(200px, 85vw);
    max-width: min(240px, 90vw);
    padding: 0.9rem 1rem;
    font-size: var(--small-font-size);
    box-sizing: border-box;
  }
  
  .home__buttons {
    padding: 0 0.5rem;
  }
}

/*=============== INSTAGRAM FEED ===============*/
.instagram-feed {
  background: var(--body-color);
  padding: 2rem 0;
}

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

/* Responsive for Instagram widget */
@media screen and (max-width: 767px) {
  .instagram-feed {
    padding: 1.5rem 0;
  }
  
  .instagram-feed .container {
    padding: 0 0.5rem;
  }
}

/* Hide nav toggle by default (desktop) */
.nav__toggle {
  display: none !important;
}

/* Force hide on desktop screens */
@media screen and (min-width: 969px) {
  .nav__toggle {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Show only on mobile devices */
@media screen and (max-width: 968px) {
  .nav__toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
  }
}

/*=============== SERVICES ===============*/
.services__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services__content {
  background: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.services__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.services__content:hover::before {
  transform: scaleX(1);
}

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

.services__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1-5);
  transition: all 0.3s ease;
}

.services__content:hover .services__icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  transform: scale(1.1) rotate(10deg);
}

.services__icon i {
  font-size: 2.5rem;
  color: #fff;
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

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

/*=============== UNITS ===============*/
.units__container {
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.units__content {
  background: var(--container-color);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: block;
  text-decoration: none;
  color: inherit;
}

.units__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.units__content:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.units__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--mb-2);
}

.units__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(41, 168, 103, 0.2);
  margin-bottom: 0.5rem;
}

.units__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
}

.units__title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  margin: 0;
}

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

/* Old units contact styles removed as buttons were removed */

/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 3rem;
}

.contact__information {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 900px;
}

.contact__info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--container-color);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.contact__info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact__info:hover::before {
  transform: scaleX(1);
}

.contact__info:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.contact__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(41, 168, 103, 0.2);
}

.contact__icon--phone::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact__icon--whatsapp::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.413 3.488' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.413 3.488' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact__icon--location::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.25rem;
  color: var(--title-color);
}

.contact__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.contact__content {
  background-color: var(--container-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
  border: 2px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.contact__content:focus-within {
  border-color: var(--primary-color);
}

.contact__label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.contact__input {
  width: 100%;
  background-color: var(--container-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem 0.5rem 0;
}

.contact__input::placeholder {
  color: var(--text-color-light);
}

.contact__form {
  width: 100%;
  background: var(--container-color);
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

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

.contact__button {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== FOOTER ===============*/
.footer {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.footer::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"><defs><pattern id="footer-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.footer__bg {
  padding: 3rem 0 1rem;
  position: relative;
  z-index: 1;
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer__brand {
  max-width: 350px;
}

.footer__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-0-5);
  color: #fff;
  font-weight: var(--font-extra-bold);
  letter-spacing: 1px;
}

.footer__subtitle {
  font-size: var(--normal-font-size);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--mb-1);
  line-height: 1.6;
}

.footer__description {
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--mb-2);
}

.footer__links-section h3 {
  font-size: var(--h3-font-size);
  color: #fff;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-semi-bold);
}

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

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-regular);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  text-decoration: none;
}

.footer__link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: width 0.3s ease;
}

.footer__link:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer__link:hover::before {
  width: 20px;
}

.footer__socials-section h3 {
  font-size: var(--h3-font-size);
  color: #fff;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-semi-bold);
  text-align: center;
}

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

.footer__social {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.footer__social.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.footer__social.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer__social.instagram:hover {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  border-color: #E1306C;
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 1.5rem 0 1rem;
}

.footer__copy {
  font-size: var(--small-font-size);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
}

/* Remove old footer logo styles */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: var(--z-tooltip);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
  font-size: 1.8rem;
  color: #fff;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.60rem;
  background-color: #f1f1f1;
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-dark);
}

/*=============== MEDIA QUERIES ===============*/
/* 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;
  }

  .logo-icon {
    width: 2rem;
    height: 2rem;
  }

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

  .home__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .home__visual {
    height: 250px;
    display: none;
  }

  .equipment-circle {
    width: 80px;
    height: 80px;
  }

  .equipment-circle i {
    font-size: 2rem;
  }

  .home__stats {
    gap: 1rem;
  }

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

  .home__buttons .button {
    width: auto;
    min-width: min(160px, 80vw);
    max-width: min(220px, 90vw);
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

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

  .contact__icon,
  .units__icon {
    width: 60px;
    height: 60px;
  }

  .contact__icon i,
  .units__icon i {
    font-size: 1.5rem;
  }

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

  .footer__container {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
    padding: 2rem 0 1rem;
  }

  .footer__brand {
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__socials-section h3 {
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

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

  .home__data {
    text-align: left;
  }

  .home__visual {
    display: flex;
    height: 400px;
  }

  .equipment-circle {
    width: 100px;
    height: 100px;
  }

  .equipment-circle i {
    font-size: 2.5rem;
  }

  .contact__information {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

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

  .footer__container {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }

  .footer__socials-section {
    text-align: center;
  }

  .footer__socials-section h3 {
    text-align: center;
  }
}

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

  body {
    margin: 0;
  }

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

  .section__subtitle {
    margin-bottom: 2.5rem;
  }

  .header {
    top: 0;
    bottom: initial;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }

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

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 1rem;
  }

  .nav__icon,
  .nav__close {
    display: none;
  }
  


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

  .nav__menu {
    margin-left: auto;
  }

  .home {
    padding: 8rem 0 2rem;
  }

  .home__content {
    gap: 4rem;
  }

  .home__visual {
    height: 600px;
  }

  .equipment-circle {
    width: 140px;
    height: 140px;
  }

  .equipment-circle i {
    font-size: 3.5rem;
  }

  .about__container {
    column-gap: 5rem;
  }

  .about__img {
    width: 350px;
  }

  .about__description {
    text-align: initial;
  }

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

  .about__buttons {
    justify-content: initial;
  }

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

  .footer__container {
    grid-template-columns: 3fr 1.5fr 1.5fr;
    gap: 2rem;
    text-align: left;
    align-items: start;
  }

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

  .footer__socials {
    justify-content: flex-start;
  }

  .footer__socials-section h3 {
    text-align: left;
  }

  .footer__copy {
    margin-top: 0;
  }
}

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

  .home__content {
    gap: 5rem;
  }

  .home__visual {
    height: 700px;
  }

  .equipment-circle {
    width: 160px;
    height: 160px;
  }

  .equipment-circle i {
    font-size: 4rem;
  }

  .services__container {
    grid-template-columns: repeat(3, 350px);
    justify-content: center;
  }

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

  .contact__info {
    padding: 1.8rem 2rem;
    min-height: 140px;
  }

  .contact__title {
    font-size: 1.25rem;
  }

  .contact__subtitle {
    font-size: 1rem;
  }

  .footer__container {
    padding: 0 2rem;
  }
}

/* Favicon styles */
link[rel="icon"] {
  border-radius: 50%;
}

/* Smooth scrolling for all anchor links */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Loading state */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.loaded .loading {
  opacity: 1;
  transform: translateY(0);
}

/* Selection styles */
::selection {
  background: var(--primary-color);
  color: #fff;
}

::-moz-selection {
  background: var(--primary-color);
  color: #fff;
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    top: -100%;
    right: 1rem;
    width: 260px;
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.75rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: var(--z-fixed);
    margin-top: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
  }

  .nav__menu.show-menu {
    top: calc(var(--header-height) + 0.75rem);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    row-gap: 0.25rem;
    padding: 0;
  }

  .nav__toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    font-size: 1.1rem;
    cursor: pointer;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  .nav__toggle i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    line-height: 1;
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .nav__toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 168, 103, 0.1), rgba(123, 44, 191, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav__toggle:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(41, 168, 103, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }

  .nav__toggle:hover::before {
    opacity: 1;
  }

  .nav__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.03);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 1;
    transition: all 0.3s ease;
  }

  .nav__close:hover {
    color: var(--primary-color);
    background: rgba(41, 168, 103, 0.08);
    transform: rotate(90deg);
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  /* Mobile navigation links styling */
  @media screen and (max-width: 768px) {
    .nav__link {
      display: block;
      padding: 0.875rem 1.25rem;
      margin: 0.125rem 0;
      border-radius: 10px;
      background: transparent;
      color: var(--title-color);
      font-weight: var(--font-medium);
      text-align: left;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      border: 1px solid transparent;
      position: relative;
      font-size: 0.925rem;
      overflow: hidden;
    }

    .nav__link::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(41, 168, 103, 0.08), rgba(123, 44, 191, 0.05));
      transition: left 0.3s ease;
    }

    .nav__link:hover,
    .nav__link.active-link {
      background: rgba(41, 168, 103, 0.06);
      border-color: rgba(41, 168, 103, 0.15);
      color: var(--primary-color);
      transform: translateX(4px);
      box-shadow: 0 2px 8px rgba(41, 168, 103, 0.08);
    }

    .nav__link:hover::before,
    .nav__link.active-link::before {
      left: 0;
    }

    .nav__link::after {
      display: none;
    }
  }

  .home__title {
    font-size: 2.5rem;
  }

  .home__description {
    font-size: var(--normal-font-size);
    padding: 0;
    text-align: left;
    margin: 0;
  }

  .section__title {
    font-size: 2rem;
  }

  .about__data {
    text-align: center;
  }

  .about__container {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .about__img {
    order: -1;
  }

  .services__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .units__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .contact__information {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bg {
    padding: 4rem 0 1rem;
  }

  .home__circle {
    width: 200px;
    height: 200px;
  }

  .molecule {
    width: 40px;
    height: 40px;
  }

  .floating-element {
    width: 30px;
    height: 30px;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .nav__logo {
    gap: 0.5rem;
  }

  .logo-icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .nav__toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

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

  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home {
    min-height: 85vh;
    padding: 10rem 0 2rem;
  }

  .home__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .home__title {
    font-size: 2rem;
    line-height: 1.2;
    text-align: left;
  }

  .home__description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    text-align: left;
    padding: 0;
  }

  .home__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0 1rem;
  }

  .home__buttons .button {
    width: 100%;
    max-width: min(260px, 90vw);
    min-width: min(200px, 85vw);
    justify-content: center;
    text-align: center;
    padding: 1rem 1.2rem;
    font-size: var(--normal-font-size);
    white-space: normal;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .home__button {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .section__subtitle {
    font-size: 0.9rem;
  }

  .about__description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .services__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .services__content {
    padding: 1.5rem;
  }

  .services__icon {
    width: 60px;
    height: 60px;
  }

  .services__icon i {
    font-size: 1.5rem;
  }

  .services__title {
    font-size: 1.1rem;
  }

  .services__description {
    font-size: 0.9rem;
  }

  .units__container {
    padding: 0 0.5rem;
  }

  .units__content {
    padding: 1.5rem;
  }

  .units__icon {
    width: 50px;
    height: 50px;
  }

  .units__title {
    font-size: 1.1rem;
  }

  .contact__information {
    padding: 0 0.5rem;
  }

  .contact__info {
    padding: 1.5rem;
    gap: 1rem;
  }

  .contact__icon {
    width: 50px;
    height: 50px;
  }

  .contact__title {
    font-size: 1.1rem;
  }

  .footer__container {
    padding: 1.5rem 2rem 0.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__title {
    font-size: 1.5rem;
  }

  .footer__subtitle {
    font-size: 0.9rem;
  }

  .footer__socials {
    justify-content: center;
    gap: 1.5rem;
  }

  .footer__social {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

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

  .footer__divider {
    margin: 1rem 0 0.5rem;
  }

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

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

  .home__circle {
    display: none;
  }

  .molecule {
    display: none;
  }

  .floating-element {
    display: none;
  }
}

/* For extra small devices */
@media screen and (max-width: 350px) {
  html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .nav__logo {
    gap: 0.3rem;
  }

  .logo-icon {
    width: 2rem;
    height: 2rem;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .nav__toggle {
    display: flex !important;
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .nav__toggle i {
    font-size: 0.95rem;
  }

  .home {
    padding: 8rem 0 2rem;
  }

  .home__title {
    font-size: 1.75rem;
  }

  .home__description {
    font-size: 0.9rem;
  }

  .home__button {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .services__content,
  .units__content,
  .contact__info {
    padding: 1.5rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem 1.5rem;
  }

  .footer__socials {
    justify-content: center;
    gap: 1rem;
  }

  .footer__social {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .contact__icon,
  .units__icon,
  .services__icon {
    width: 50px;
    height: 50px;
  }

  .services__icon i,
  .units__icon i,
  .contact__icon i {
    font-size: 1.2rem;
  }

  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }

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

/* Remove this duplicate rule - already handled above */

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .nav {
    height: calc(var(--header-height) + 1rem);
  }

  .nav__list {
    column-gap: 2rem;
  }



  .home {
    height: 100vh;
  }

  .home__title {
    font-size: 4rem;
  }

  .home__description {
    font-size: 1.25rem;
    max-width: 600px;
  }

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

  .section__title {
    font-size: 3rem;
  }

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

  .about__img {
    width: 100%;
  }

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

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

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

  .contact__info {
    padding: 1.8rem 2rem;
    min-height: 140px;
  }

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

  .footer__social {
    justify-content: center;
  }
}

/* For 2K resolutions (2048 x 1152, 2048 x 1536) */
@media screen and (min-width: 2048px) {
  body {
    zoom: 1.3;
  }
}

/*=============== ANIMATIONS ===============*/
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  animation: slideInUp 0.6s ease forwards;
}

/*=============== SMOOTH TRANSITIONS ===============*/
* {
  transition: all 0.3s ease;
}

button,
.button,
a {
  transition: all 0.3s ease;
}

img {
  transition: transform 0.3s ease;
}

/*=============== LOADING STATES ===============*/
body.loaded .home__circle {
  animation: float 6s ease-in-out infinite;
}

body.loaded .molecule {
  animation: rotate 20s linear infinite;
}

body.loaded .floating-element {
  animation: pulse 4s ease-in-out infinite;
}

/*=============== ACCESSIBILITY ===============*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*=============== FOCUS STYLES ===============*/
button:focus,
a:focus,
input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.nav__link:focus {
  outline: none;
  color: var(--primary-color);
}

.nav__link:focus::after {
  width: 100%;
}

/*=============== REVIEWS ===============*/
.reviews__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.reviews__content {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.reviews__content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.reviews__stars {
  display: flex;
  gap: 0.25rem;
}

.reviews__stars i {
  color: #FFD700;
  font-size: 1rem;
}

.reviews__rating {
  font-weight: var(--font-bold);
  color: var(--primary-color);
  font-size: var(--h3-font-size);
}

.reviews__text {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.reviews__name {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

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

.reviews__profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviews__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviews__google-link {
  text-align: center;
  margin-top: 2rem;
}

.reviews__google-link .button {
  background: transparent;
  color: #4285F4;
  border: 2px solid #4285F4;
  box-shadow: none;
}

.reviews__google-link .button:hover {
  background: #4285F4;
  color: #fff;
  box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
}

/* Responsive Reviews */
@media screen and (max-width: 768px) {
  .reviews__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .reviews__content {
    padding: 1.5rem;
  }
}