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

/* ==================== CSS VARIABLES ==================== */
:root {
  --primary-color: #0d6efd;
  --primary-color-alt: #0a58ca;
  --secondary-color: #e3f2fd;
  --accent-color: #42a5f5;
  --text-color: #334155;
  --text-color-light: #64748b;
  --title-color: #0f172a;
  --body-color: #fafafa;
  --container-color: #ffffff;
  --border-color: #e2e8f0;
  --body-font: 'Inter', sans-serif;
  --title-font: 'Outfit', sans-serif;
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

@media screen and (min-width: 1024px) {
  :root {
    --h1-font-size: 3.5rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1.125rem;
  }
}

/* ==================== BASE ==================== */
* { box-sizing: border-box; padding: 0; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--title-font); color: var(--title-color); font-weight: var(--font-semi-bold); line-height: 1.2; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; border-radius: 12px; }
.text-primary { color: var(--primary-color); }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.bg-light { background-color: #f8fafc; }
.bg-secondary { background-color: var(--secondary-color) !important; color: var(--primary-color) !important; }
.bg-accent { background-color: #e0f2fe !important; color: #0369a1 !important; }
.mt-2 { margin-top: 2rem; }

/* ==================== REUSABLE CSS CLASSES ==================== */
.container { max-width: 1200px; margin-inline: 1.5rem; }
.grid { display: grid; gap: 1.5rem; }
.section { padding-block: 5rem 2rem; }
.section__header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section__title { margin-bottom: 1rem; }
.section__subtitle { color: var(--text-color-light); font-size: var(--normal-font-size); }
.section__title-left { margin-bottom: 1rem; }
.section__subtitle-left { display: inline-block; color: var(--primary-color); font-weight: var(--font-semi-bold); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; font-size: var(--small-font-size); }

/* ==================== BUTTONS ==================== */
.btn { display: inline-flex; align-items: center; justify-content: center; column-gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: 50px; font-size: var(--normal-font-size); font-weight: var(--font-medium); transition: all 0.3s ease; cursor: pointer; }
.btn i { font-size: 1.25rem; transition: transform 0.3s ease; }
.btn:hover i { transform: translateX(4px); }
.btn--primary { background-color: var(--primary-color); color: #fff; box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39); }
.btn--primary:hover { background-color: var(--primary-color-alt); transform: translateY(-2px); }
.btn--secondary { background-color: var(--secondary-color); color: var(--primary-color); }
.btn--secondary:hover { background-color: #d0e8fc; transform: translateY(-2px); }
.btn--ghost { background-color: transparent; color: var(--title-color); border: 1px solid var(--border-color); }
.btn--ghost:hover { border-color: var(--primary-color); color: var(--primary-color); }
.btn--white { background-color: #fff; color: var(--primary-color); box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.05); }
.btn--white:hover { transform: translateY(-2px); }
.btn--large { padding: 1rem 2rem; font-size: 1.125rem; }

/* ==================== HEADER & NAV ==================== */
.header { position: fixed; width: 100%; top: 0; left: 0; background-color: transparent; z-index: var(--z-fixed); transition: all 0.4s ease; }
.header.scroll-header { background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); }
.nav { height: 4.5rem; display: flex; justify-content: space-between; align-items: center; }
.nav__logo { display: flex; align-items: center; column-gap: 0.5rem; font-family: var(--title-font); font-weight: var(--font-bold); font-size: 1.25rem; color: var(--title-color); }
.nav__logo i { font-size: 1.5rem; }
.nav__buttons { display: flex; align-items: center; column-gap: 1rem; }
.nav__toggle, .nav__close { display: inline-flex; font-size: 1.5rem; color: var(--title-color); cursor: pointer; transition: color 0.3s; }
.nav__toggle:hover, .nav__close:hover { color: var(--primary-color); }

.desktop-only { display: none !important; }

/* Mobile Menu Logic (Below 1024px) */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: #ffffff;
    padding: 6rem 3rem 0;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: var(--z-fixed);
  }
  .nav__toggle { display: inline-flex; }
}

.nav__list { display: flex; flex-direction: column; row-gap: 2rem; }
.nav__link { color: var(--title-color); font-weight: var(--font-medium); font-size: 1.125rem; transition: color 0.3s; display: inline-block; }
.nav__link:hover { color: var(--primary-color); }
.active-link { color: var(--primary-color); }
.nav__close { position: absolute; top: 1.5rem; right: 1.5rem; }
.show-menu { right: 0 !important; }

/* ==================== HERO ==================== */
.hero { padding-top: 7rem; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .hero { padding-top: 10rem; }
  .hero__title { font-size: 3rem; }
}
.hero::before { content: ''; position: absolute; top: -10%; right: -5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(13,110,253,0.08) 0%, rgba(255,255,255,0) 70%); z-index: -1; border-radius: 50%; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background-color: var(--secondary-color); color: var(--primary-color); border-radius: 50px; font-size: var(--small-font-size); font-weight: var(--font-medium); margin-bottom: 1.5rem; }
.hero__badge i { color: #f59e0b; }
.hero__title { font-size: var(--h1-font-size); margin-bottom: 1.5rem; }
.hero__description { color: var(--text-color-light); margin-bottom: 2rem; max-width: 500px; font-size: 1.125rem; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero__trust { font-size: var(--small-font-size); color: var(--text-color-light); display: flex; align-items: center; gap: 0.5rem; }
.hero__img-wrapper { position: relative; z-index: 1; }
.hero__img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); aspect-ratio: 4/3; object-fit: cover; animation: floatImage 6s ease-in-out infinite; }
.hero__floating-card { position: absolute; bottom: -2rem; left: -2rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 1.25rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); display: flex; align-items: center; gap: 1rem; animation: float 4s ease-in-out infinite; }
.floating-icon { width: 45px; height: 45px; background-color: var(--secondary-color); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.hero__floating-card h4 { font-size: var(--normal-font-size); color: var(--title-color); margin: 0; }
.hero__floating-card p { font-size: var(--small-font-size); color: var(--text-color-light); margin: 0; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
@keyframes floatImage { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* ==================== TRUST BAR ==================== */
.trust-bar { background-color: #fff; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding-block: 2rem; }
.trust-bar__container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-weight: var(--font-medium); color: var(--title-color); }
.trust-item i { font-size: 1.5rem; color: var(--primary-color); background-color: var(--secondary-color); padding: 0.5rem; border-radius: 10px; }

/* ==================== SERVICES ==================== */
.services__container { grid-template-columns: 1fr; }
.service__card { background-color: var(--container-color); padding: 2.5rem 2rem; border-radius: 20px; border: 1px solid var(--border-color); transition: all 0.3s ease; position: relative; overflow: hidden; }
.service__card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary-color); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.service__card:hover { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); transform: translateY(-5px); }
.service__card:hover::after { transform: scaleX(1); }
.service__icon { width: 60px; height: 60px; background-color: var(--secondary-color); color: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 2rem; border-radius: 16px; margin-bottom: 1.5rem; transition: all 0.3s ease; }
.service__card:hover .service__icon { background-color: var(--primary-color); color: #fff; }
.service__title { margin-bottom: 1rem; }
.service__description { color: var(--text-color-light); margin-bottom: 1.5rem; }
.service__link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-color); font-weight: var(--font-medium); transition: gap 0.3s; }
.service__link:hover { gap: 0.75rem; }

/* ==================== ABOUT ==================== */
.about__container { row-gap: 3rem; }
.about__images { position: relative; }
.about__img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); aspect-ratio: 4/5; object-fit: cover; }
.about__img-small { position: absolute; bottom: -2rem; right: -2rem; width: 200px; border-radius: 16px; border: 10px solid var(--body-color); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.about__description { margin-bottom: 2rem; font-size: 1.125rem; }
.about__features { display: grid; row-gap: 1rem; margin-bottom: 2rem; }
.about__feature { display: flex; align-items: center; gap: 0.75rem; }
.about__feature i { font-size: 1.25rem; }
.about__feature p { font-weight: var(--font-medium); color: var(--title-color); }

/* ==================== REVIEWS ==================== */
.reviews__container { grid-template-columns: 1fr; }
.review__card { background-color: #fff; padding: 2.5rem 2rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); transition: transform 0.3s ease; }
.review__card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06); }
.review__stars { color: #f59e0b; margin-bottom: 1rem; font-size: 1.25rem; }
.review__text { font-style: italic; color: var(--text-color); margin-bottom: 1.5rem; }
.review__author { display: flex; align-items: center; gap: 1rem; }
.review__avatar { width: 50px; height: 50px; background-color: var(--primary-color); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: var(--font-bold); }

/* ==================== GALLERY ==================== */
.gallery__container { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; aspect-ratio: 1/1; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(13, 110, 253, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.gallery__overlay i { color: #fff; font-size: 2rem; transform: translateY(20px); transition: transform 0.3s ease; }
.gallery__item:hover .gallery__img { transform: scale(1.1); }
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__item:hover .gallery__overlay i { transform: translateY(0); }

/* ==================== CTA SECTION ==================== */
.cta__container { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); padding: 4rem 2rem; border-radius: 24px; text-align: center; color: #fff; box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2); }
.cta__title { color: #fff; font-size: var(--h2-font-size); margin-bottom: 1rem; }
.cta__description { margin-bottom: 2.5rem; font-size: 1.125rem; opacity: 0.9; max-width: 600px; margin-inline: auto; }
.cta__buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }

/* ==================== CONTACT ==================== */
.contact__container { row-gap: 3rem; }
.contact__info { display: grid; gap: 2rem; margin-top: 2rem; }
.contact__card { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact__icon { width: 50px; height: 50px; background-color: var(--secondary-color); color: var(--primary-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.contact__details h4 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.contact__details p { color: var(--text-color-light); }
.contact__map { border-radius: 20px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.05); height: 400px; }

/* ==================== FOOTER ==================== */
.footer { background-color: var(--title-color); color: #fff; padding-block: 4rem 2rem; }
.footer__container { row-gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer__logo { display: flex; align-items: center; column-gap: 0.5rem; font-family: var(--title-font); font-weight: var(--font-bold); font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }
.footer__description { color: rgba(255, 255, 255, 0.7); max-width: 300px; }
.footer__title { color: #fff; margin-bottom: 1.5rem; font-size: 1.125rem; }
.footer__links { display: flex; flex-direction: column; row-gap: 0.75rem; }
.footer__link { color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.footer__link:hover { color: var(--primary-color); }
.footer__copy { text-align: center; margin-top: 2rem; color: rgba(255, 255, 255, 0.5); font-size: var(--small-font-size); }

/* ==================== FLOATING ELEMENTS ==================== */
.floating-whatsapp { position: fixed; bottom: 2rem; left: 2rem; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 32px; box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); z-index: var(--z-fixed); transition: all 0.3s ease; }
.floating-whatsapp:hover { transform: scale(1.1); }
.scrollup { position: fixed; right: 1.5rem; bottom: -50%; background-color: var(--title-color); opacity: 0.8; padding: 0.35rem 0.5rem; border-radius: 8px; color: #fff; z-index: var(--z-tooltip); transition: all 0.4s; }
.scrollup:hover { background-color: var(--primary-color); opacity: 1; }
.show-scroll { bottom: 2rem; }

/* ==================== ANIMATIONS ==================== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==================== BREAKPOINTS ==================== */
@media screen and (min-width: 576px) {
  .services__container { grid-template-columns: repeat(2, 1fr); }
  .gallery__container { grid-template-columns: repeat(3, 1fr); }
  .cta__buttons { flex-direction: row; }
  .footer__container { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 768px) {
  .trust-bar__container { grid-template-columns: repeat(4, 1fr); }
  .about__container { grid-template-columns: repeat(2, 1fr); align-items: center; gap: 4rem; }
  .about__images { order: -1; }
  .contact__container { grid-template-columns: repeat(2, 1fr); align-items: center; }
  .footer__container { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (min-width: 1024px) {
  .section { padding-block: 7rem 2rem; }
  .nav { height: calc(4.5rem + 1.5rem); }
  .nav__toggle, .nav__close { display: none; }
  .nav__menu { width: initial; position: initial; height: initial; background-color: transparent; padding: 0; box-shadow: none; }
  .nav__list { flex-direction: row; column-gap: 2.5rem; }
  .desktop-only { display: inline-flex !important; }
  .hero { padding-top: 10rem; }
  .hero__container { grid-template-columns: repeat(2, 1fr); align-items: center; }
  .hero__data { padding-right: 2rem; }
  .hero__floating-card { left: -4rem; bottom: 2rem; }
  .services__container { grid-template-columns: repeat(4, 1fr); }
  .reviews__container { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (min-width: 1200px) {
  .container { margin-inline: auto; }
}
