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

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

  /* ===== Colors ===== */
  --primary-color: #2E86AB;
  --primary-color-alt: #1E5F7A;
  --secondary-color: #A8DADC;
  --accent-color: #F1FAEE;
  --text-color: #495057;
  --text-color-light: #6C757D;
  --body-color: #FFFFFF;
  --container-color: #F8F9FA;
  --border-color: #E9ECEF;
  --success-color: #28A745;
  --warning-color: #FFC107;
  --danger-color: #DC3545;

  /* ===== Font and Typography ===== */
  --body-font: 'Open Sans', sans-serif;
  --title-font: 'Poppins', sans-serif;
  --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: 0.875rem;
  --smaller-font-size: 0.813rem;

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

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

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  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(--text-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;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
}

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

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

.section__title-accent {
  color: var(--primary-color);
}

.section__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  color: var(--text-color-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: var(--body-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.btn:hover {
  background-color: var(--primary-color-alt);
  border-color: var(--primary-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 134, 171, 0.3);
}

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

.btn--outline:hover {
  background-color: var(--primary-color);
  color: var(--body-color);
}

.btn--primary {
  background-color: var(--primary-color);
  color: var(--body-color);
}

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

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--primary-color);
  font-weight: var(--font-bold);
  font-size: var(--h5-font-size);
  font-family: var(--title-font);
}

.nav__logo i {
  font-size: 3rem;
}

.nav__menu {
  position: relative;
}

.nav__list {
  display: flex;
  gap: 1rem;
}

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

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

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

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
}

.nav__phone:hover {
  color: var(--primary-color);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.nav__toggle:hover,
.nav__close:hover {
  color: var(--primary-color);
}

/* ===== HOME ===== */
.home {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.home__data {
  order: 1;
}

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

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

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

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

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

.home__stat {
  text-align: center;
}

.home__stat-number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-25);
}

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

.home__img {
  position: relative;
  order: 2;
}

.home__img-main {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.home__img-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

.home__img-card {
  background-color: var(--body-color);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home__img-card i {
  font-size: 1.5rem;
  color: var(--success-color);
}

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

/* ===== ABOUT ===== */
.about__container {
  gap: 0.5rem;
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
}

.about__img {
  position: relative;
}

.about__img-main {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about__img-card {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--body-color);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 50px;
}

.about__img-card i {
  font-size: 1rem;
  color: var(--primary-color);
}

.about__img-card h4 {
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-25);
}

.about__img-card p {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.about__data {
  padding-left: 2rem;
}

.about__description {
  margin-bottom: var(--mb-1-5);
  color: var(--text-color-light);
}

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

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

.about__feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.about__feature h4 {
  margin-bottom: var(--mb-0-25);
  font-size: var(--h3-font-size);
}

.about__feature p {
  color: var(--text-color-light);
}
/* ===== SERVICES ===== */
.services {
  background-color: var(--container-color);
}

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

.service__card {
  background-color: var(--body-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service__card--featured {
  border: 2px solid var(--primary-color);
}

.service__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: var(--body-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
}

.service__icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--mb-1);
}

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

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

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

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

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

.service__features i {
  color: var(--success-color);
  font-size: var(--small-font-size);
}

.service__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: var(--body-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.service__btn:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}

/* ===== WHY CHOOSE US ===== */
.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-choose__card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 1rem;
  transition: var(--transition);
}

.why-choose__card:hover {
  background-color: var(--container-color);
  transform: translateY(-5px);
}

.why-choose__icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
}

.why-choose__icon i {
  font-size: 2rem;
  color: var(--body-color);
}

.why-choose__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.why-choose__description {
  color: var(--text-color-light);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background-color: var(--container-color);
}

.testimonials__wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials__slider {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial__card {
  min-width: 100%;
  background-color: var(--body-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.testimonial__stars i {
  color: var(--warning-color);
  font-size: var(--small-font-size);
}

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

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

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__info {
  text-align: left;
}

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

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

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--mb-2);
}

.testimonials__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--body-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonials__btn:hover {
  background-color: var(--primary-color-alt);
  transform: scale(1.1);
}

/* ===== CONTACT ===== */
.contact__container {
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
}

.contact__data {
  padding-right: 2rem;
}

.contact__description {
  margin-bottom: var(--mb-2-5);
  color: var(--text-color-light);
}

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

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

.contact__info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.contact__info-item h4 {
  margin-bottom: var(--mb-0-25);
  font-size: var(--h3-font-size);
}

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

.contact__social h4 {
  margin-bottom: var(--mb-1);
}

.contact__social-links {
  display: flex;
  gap: 1rem;
}

.contact__social-link {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--body-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact__social-link:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}

.contact__form-container {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
}

.contact__form-title {
  text-align: center;
  margin-bottom: var(--mb-2);
  color: var(--text-color);
}

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

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

.contact__form-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

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

.contact__form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
}

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

/* ===== FOOTER ===== */
.footer {
  background-color: var(--text-color);
  color: var(--body-color);
  padding-top: 3rem;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-bold);
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-family: var(--title-font);
}

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

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

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--body-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

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

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

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

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

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

.footer__info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__info i {
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer__bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.8);
}

.footer__bottom-links {
  display: flex;
  gap: 2rem;
}

.footer__bottom-link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer__bottom-link:hover {
  color: var(--primary-color);
}/*========== CHATBOT BUTTON ==========*/
.chatbot-float {
    position: fixed;
    bottom: 90px;
    right: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.chatbot-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.chatbot-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.chatbot-float:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
}

/*========== WHATSAPP BUTTON ==========*/
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: var(--body-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

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

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 2rem;
  bottom: 5rem;
  background-color: var(--primary-color);
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  visibility: hidden;
}

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

.scrollup i {
  font-size: 1.5rem;
  color: var(--body-color);
}

.show-scroll {
  visibility: visible;
  bottom: 5rem;
}

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

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

  .home__data {
    order: 2;
    text-align: center;
  }

  .home__img {
    order: 1;
  }

  .home__stats {
    justify-content: center;
  }

  .about__data {
    padding-left: 0;
    text-align: center;
  }

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

  .why-choose__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 4rem 0 0 3rem;
    transition: var(--transition);
  }

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

  .nav__close {
    display: block;
    position: absolute;
    top: 0.75rem;
    right: 1.3rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__phone span {
    display: none;
  }

  .show-menu {
    right: 0;
  }

  .home__buttons {
    justify-content: center;
  }

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

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

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

  .contact__data {
    padding-right: 0;
  }

  .footer__bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .nav__menu {
    padding: 2rem 1.25rem 0;
    width: 90%;
  }

  .nav__list {
    gap: 1.5rem;
  }

  .home__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .why-choose__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__controls {
    gap: 0.5rem;
  }

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

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

  .scrollup {
    right: 1rem;
    bottom: 4rem;
  }

  .show-scroll {
    bottom: 4rem;
  }
}

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

  .nav__menu {
    padding: 2rem 1.25rem 0;
    width: 100%;
  }

  .home__buttons .btn {
    padding: 0.75rem 1.5rem;
  }

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

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

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

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease-out;
}



/*========== TEAM SECTION ==========*/
.team {
    background: var(--accent-color);
    padding: 80px 0;
}

.team__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.team__card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.team__img-container {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.team__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team__card:hover .team__img {
    transform: scale(1.05);
}

.team__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.team__card:hover .team__overlay {
    opacity: 0.9;
}

.team__social {
    display: flex;
    gap: 1rem;
}

.team__social-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.team__card:hover .team__social-link {
    transform: translateY(0);
    opacity: 1;
}

.team__social-link:nth-child(1) { transition-delay: 0.1s; }
.team__social-link:nth-child(2) { transition-delay: 0.2s; }
.team__social-link:nth-child(3) { transition-delay: 0.3s; }

.team__social-link:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-5px);
}

.team__info {
    padding: 2rem;
}

.team__name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team__role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.team__specialties,
.team__education {
    margin-bottom: 1.5rem;
}

.team__specialties h4,
.team__education h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.team__specialties ul,
.team__education ul {
    list-style: none;
    padding: 0;
}

.team__specialties li,
.team__education li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.team__specialties i,
.team__education i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.team__experience {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.team__experience p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.team__experience strong {
    color: var(--primary-color);
}

.team__cta {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.team__cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.team__cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 768px) {
    .team__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team__card {
        margin: 0 1rem;
    }
    
    .team__img-container {
        height: 250px;
    }
    
    .team__info {
        padding: 1.5rem;
    }
    
    .team__cta {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .team__cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .team__container {
        grid-template-columns: 1fr;
    }
    
    .team__social {
        gap: 0.5rem;
    }
    
    .team__social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}





/*========== CLINIC CAROUSEL ==========*/
.clinic-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-btn i {
    font-size: 1.2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Auto-play animation */
.carousel-slide {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}



/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-button:hover {
    transform: scale(1.1);
}

.call-button {
    background-color: #007bff; /* Blue for phone */
}

.whatsapp-button {
    background-color: #25D366; /* Green for WhatsApp */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .floating-contact-buttons {
        bottom: 80px; /* Adjust position to avoid mobile bottom nav */
        right: 15px;
        gap: 8px;
    }

    .floating-button {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}


