/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f9fbfd;
  color: #0b1a2e;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

h1, h2, h3, h4, .logo, .nav-links a, .btn, .price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ VARIABLES ============ */
:root {
  --primary: #2065e8;
  --primary-dark: #1550c4;
  --primary-light: #edf3fe;
  --dark: #0b1a2e;
  --gray-100: #f9fbfd;
  --gray-200: #f2f7ff;
  --gray-300: #e9eef4;
  --gray-400: #dbe2eb;
  --gray-600: #5b6b7c;
  --gray-700: #3a4a5c;
  --white: #ffffff;
  --cyan: #00d4ff;
  --purple: #8b5cf6;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 30px -12px rgba(32, 101, 232, 0.15);
  --shadow-lg: 0 30px 40px -20px rgba(0, 0, 0, 0.15);
  --radius: 24px;
  --radius-lg: 40px;
}

/* ============ NAVBAR ============ */
.navbar {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 20, 40, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.logo span { color: var(--primary); }

.menu-toggle {
  display: none;
  background: var(--primary-light);
  border: none;
  color: var(--primary);
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.menu-toggle:active {
  transform: scale(0.94);
  background: #dbe7fd;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a:not(.btn) {
  color: #1f2b3a;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) {
  color: var(--primary);
}

.nav-links a.active:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(32, 101, 232, 0.35);
}

.btn-primary:hover, .btn-primary:active {
  background: var(--primary-dark);
  box-shadow: 0 12px 24px -6px rgba(32, 101, 232, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover, .btn-outline:active {
  background: var(--primary);
  color: var(--white);
}

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ============ HERO ============ */
.hero {
  padding: 70px 0 60px;
  background: linear-gradient(145deg, #ffffff 0%, #f2f7ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero h1 i { color: var(--primary); font-style: normal; }

.hero p {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 28px;
  max-width: 90%;
}

.hero-badge {
  display: inline-block;
  background: rgba(32, 101, 232, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div h3 { font-size: 1.7rem; color: var(--dark); }
.hero-stats div p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 380px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 380px;
}

.hero-image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 22px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.15);
}

.hero-image-overlay i { color: var(--primary); }

/* ============ SECTIONS ============ */
section { padding: 70px 0; }

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--gray-700);
  max-width: 680px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 40px -15px rgba(32, 101, 232, 0.2);
  border-color: #cbd9f0;
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--primary-light);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 26, 46, 0.3) 100%);
  pointer-events: none;
}

.service-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  margin-top: -44px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 16px -6px rgba(32, 101, 232, 0.35);
  border: 3px solid var(--white);
}

.service-icon i { font-size: 1.5rem; color: var(--primary); }

.service-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-body p { color: var(--gray-700); font-size: 0.93rem; margin-bottom: 18px; flex: 1; }

.service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}

.service-link i { transition: transform 0.2s; }
.service-link:hover i { transform: translateX(5px); }

/* ============ VALUES ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i { font-size: 1.8rem; color: var(--primary); }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--gray-700); font-size: 0.95rem; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  transition: all 0.3s;
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stars { color: #f5b301; margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-card p {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary-light);
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-info h4 { font-size: 0.98rem; margin-bottom: 2px; }
.author-info span { color: var(--gray-600); font-size: 0.85rem; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, #2065e8, #1550c4);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: white;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 50%);
  pointer-events: none;
}

.cta-banner h2 { font-size: 2.2rem; margin-bottom: 16px; color: white; position: relative; }
.cta-banner p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }

.cta-banner .btn {
  background: white;
  color: var(--primary);
  position: relative;
}

.cta-banner .btn:hover {
  background: #f0f5ff;
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: #8fa3b9;
  padding: 60px 0 30px;
  border-top: 1px solid #1a2b3f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: white; margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0c4de;
  transition: 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
  color: #8fa3b9;
  font-size: 0.92rem;
  transition: 0.2s;
}

.footer-col ul a:hover { color: white; padding-left: 4px; }

.footer-newsletter input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: inherit;
  font-size: 0.92rem;
  margin-bottom: 10px;
  outline: none;
}

.footer-newsletter input:focus { border-color: var(--primary); }

.footer-newsletter .btn {
  width: 100%;
  padding: 12px;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid #1a2b3f;
  padding-top: 26px;
  text-align: center;
  font-size: 0.88rem;
  color: #6b7f99;
}

.footer-bottom a { color: #b0c4de; }
.footer-bottom a:hover { color: white; }

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   Mobile-only — Bottom-Right Corner
   ============================================ */

/* Default: HIDDEN on desktop */
.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 22px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 99999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45),
              0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float i {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.whatsapp-float:active {
  transform: scale(0.92);
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.6);
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappRing 2s infinite;
  z-index: -1;
}

@keyframes whatsappRing {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Show on MOBILE only */
@media (max-width: 768px) {
  .whatsapp-float {
    display: flex;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    bottom: 20px;
    right: 16px;
    font-size: 1.9rem;
  }
  .whatsapp-float i { font-size: 1.9rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 16px;
    right: 14px;
    font-size: 1.75rem;
  }
  .whatsapp-float i { font-size: 1.75rem; }
}

/* Desktop: hidden */
@media (min-width: 769px) {
  .whatsapp-float {
    display: none !important;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before {
    animation: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: 2.7rem; }
  .hero p { font-size: 1.05rem; max-width: 100%; }
  .section-title { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 24px;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid var(--gray-300);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a:not(.btn) {
    width: 100%;
    padding: 15px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid #f0f4f9;
  }

  .nav-links a:not(.btn):last-of-type { border-bottom: none; }
  .nav-links a.active:not(.btn)::after { display: none; }
  .nav-links .btn { width: 100%; margin-top: 12px; padding: 14px; }

  .hero { padding: 50px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; min-width: 140px; }
  .hero-stats { gap: 20px; justify-content: space-between; margin-top: 32px; }
  .hero-stats div h3 { font-size: 1.45rem; }
  .hero-stats div p { font-size: 0.82rem; }
  .hero-image { min-height: 280px; border-radius: 30px; }
  .hero-image img { min-height: 280px; }

  section { padding: 55px 0; }
  .section-title { font-size: 1.9rem; }
  .section-sub { font-size: 1rem; margin-bottom: 36px; }

  .services-grid, .pricing-grid { grid-template-columns: 1fr; gap: 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding: 50px 0 24px; }

  .cta-banner { padding: 44px 24px; border-radius: 30px; }
  .cta-banner h2 { font-size: 1.7rem; }
  .cta-banner p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .navbar { padding: 12px 0; }
  .logo { font-size: 1.4rem; }
  .menu-toggle { width: 40px; height: 40px; font-size: 1.15rem; }

  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 0.95rem; margin-bottom: 22px; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero-cta .btn { width: 100%; flex: none; padding: 13px 20px; font-size: 0.92rem; }
  .hero-stats { gap: 14px; justify-content: flex-start; }
  .hero-stats div h3 { font-size: 1.25rem; }
  .hero-stats div p { font-size: 0.75rem; }

  section { padding: 45px 0; }
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.93rem; margin-bottom: 30px; }

  .service-image { height: 180px; }
  .service-body { padding: 20px 20px 24px; }
  .service-body h3 { font-size: 1.15rem; }

  .cta-banner { padding: 40px 20px; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.95rem; }

  .footer { font-size: 0.85rem; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.65rem; }
  .section-title { font-size: 1.45rem; }
}

@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; }
  .service-link { min-height: 40px; align-items: center; }
  .nav-links a:not(.btn) { min-height: 44px; display: flex; align-items: center; }
}