:root {
  --primary: #2cbfc2;
  --primary-dark: #1a8a8c;
  --primary-light: #e5f7f7;
  --primary-lighter: #f0fafa;
  --text: #1e1e1e;
  --muted: #5f6b6d;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(26, 138, 140, 0.16);
  --shadow-sm: 0 4px 12px rgba(26, 138, 140, 0.1);
  --shadow-lg: 0 20px 50px rgba(26, 138, 140, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Banner - CSS Version */
.hero-banner {
  background: linear-gradient(135deg, #7dd8db 0%, #5bc4c7 30%, #3eb5b8 70%, #2ca8ab 100%);
  position: relative;
  padding: 60px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-banner h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: #0a5e5f;
  margin-bottom: 16px;
  font-weight: 600;
  font-style: italic;
}

.hero-banner-content > p {
  font-size: clamp(16px, 2vw, 20px);
  color: #1a7a7c;
  margin-bottom: 48px;
  font-style: italic;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-icon-circle {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.hero-icon-circle i {
  font-size: 36px;
  color: var(--primary-dark);
}

.hero-icon-item:hover .hero-icon-circle {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.hero-icon-item span {
  font-size: 14px;
  color: #0a5e5f;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* Hero Section */
.hero {
  padding: 72px 0 90px;
  background: linear-gradient(130deg, rgba(44, 191, 194, 0.12), rgba(26, 138, 140, 0.04));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 18px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Page Hero */
.page-hero {
  padding: 72px 0 60px;
  background: linear-gradient(130deg, rgba(44, 191, 194, 0.14), rgba(26, 138, 140, 0.06));
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease;
}

.page-hero p {
  color: var(--muted);
  max-width: 720px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.button:hover::before {
  width: 300px;
  height: 300px;
}

.button.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.button.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button.secondary {
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  background: var(--white);
}

.button.secondary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.button i {
  font-size: 16px;
}

/* Logo Card */
.logo-card {
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  animation: fadeInRight 0.8s ease 0.4s both;
}

.logo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 40px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(44, 191, 194, 0.1);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: var(--primary-dark);
  transition: var(--transition);
}

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

.card h3 {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 18px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}

.card-link:hover {
  gap: 10px;
}

/* Highlight Section */
.highlight {
  background: var(--primary-light);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat strong {
  display: block;
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 24px;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .process-number {
  transform: scale(1.15);
  box-shadow: var(--shadow-lg);
}

.process-step h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

/* References/Clients Section */
.references-section {
  background: var(--primary-lighter);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  align-items: center;
}

.reference-item {
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.reference-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.reference-item i {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.reference-item span {
  display: block;
  font-weight: 500;
  color: var(--text);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.8;
}

/* Contact Section */
.contact {
  background: linear-gradient(120deg, rgba(44, 191, 194, 0.15), rgba(26, 138, 140, 0.08));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.contact-details {
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.contact-details span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-details i {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  padding: 48px 0 24px;
  color: var(--muted);
  font-size: 14px;
  background: var(--primary-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  align-items: start;
}

.footer h3 {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-text {
  margin-top: 16px;
  max-width: 280px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.footer-cta {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.footer-cta p {
  margin: 12px 0 16px;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid rgba(44, 191, 194, 0.2);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

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

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: var(--shadow);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

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

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  border-radius: 24px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 201;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-header .card-icon {
  margin-bottom: 0;
}

.modal-header h3 {
  font-size: 20px;
  color: var(--primary-dark);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-dark);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-body {
  padding: 24px;
}

.modal-body p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.modal-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.modal-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--primary-light);
}

.modal-features li:last-child {
  border-bottom: none;
}

.modal-features i {
  color: var(--primary);
  margin-top: 4px;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--primary-light);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--primary-light);
    font-size: 16px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-banner {
    padding: 40px 0 50px;
  }

  .hero-banner h1 {
    font-size: 24px;
  }

  .hero-banner-content > p {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .hero-icons {
    gap: 16px;
  }

  .hero-icon-circle {
    width: 65px;
    height: 65px;
  }

  .hero-icon-circle i {
    font-size: 26px;
  }

  .hero-icon-item span {
    font-size: 11px;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .highlight {
    padding: 32px 24px;
  }

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

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

  .footer-text {
    margin: 16px auto;
  }

  .social-links {
    justify-content: center;
  }

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

  .whatsapp-btn {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .scroll-top {
    width: 44px;
    height: 44px;
    bottom: 88px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 94%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

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

  .contact-grid {
    text-align: center;
  }

  .contact-details span {
    justify-content: center;
  }
}
