/* ============================================
   ALPHA META DIGITAL — Main Stylesheet
   Primary: #0071c2 | Clean Premium Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --primary:       #0071c2;
  --primary-dark:  #005a9e;
  --primary-light: #e8f4fd;
  --accent:        #00c2a8;
  --dark:          #0a0f1e;
  --gray-900:      #111827;
  --gray-700:      #374151;
  --gray-500:      #6b7280;
  --gray-300:      #d1d5db;
  --gray-100:      #f3f6fa;
  --white:         #ffffff;
  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 2px 12px rgba(0,113,194,0.08);
  --shadow-md:     0 8px 32px rgba(0,113,194,0.14);
  --shadow-lg:     0 20px 60px rgba(0,113,194,0.18);
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ===== UTILITIES ===== */
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.8;
}

.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent) !important; }

.bg-light-blue { background: var(--gray-100); }
.bg-dark       { background: var(--dark); }

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,113,194,0.35);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,113,194,0.45);
}

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

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

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

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: transparent;
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
#mainNav {
  background: transparent;
  padding: 20px 0;
  transition: all 0.4s ease;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0,113,194,0.1);
}

.navbar-brand img {
  height: 44px;
  transition: var(--transition);
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

#mainNav.scrolled .nav-link { color: var(--gray-700) !important; }

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,113,194,0.35);
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler-icon {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
  position: relative;
  transition: var(--transition);
}

#mainNav.scrolled .navbar-toggler-icon { background: var(--dark); }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1628 0%, #0d2a52 40%, #0071c2 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,194,168,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,113,194,0.25) 0%, transparent 60%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mockup {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 460px;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-content-line {
  height: 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  margin-bottom: 10px;
}

.mockup-content-line.wide  { width: 80%; }
.mockup-content-line.medium{ width: 60%; }
.mockup-content-line.short { width: 40%; }

.mockup-block {
  background: rgba(0,113,194,0.3);
  border-radius: 10px;
  height: 100px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mockup-card {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  height: 60px;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--dark);
  animation: float-badge 4s ease-in-out infinite;
}

.floating-badge.fb-1 {
  top: 10%; right: -20px;
  animation-delay: 0s;
}

.floating-badge.fb-2 {
  bottom: 15%; left: -24px;
  animation-delay: 2s;
}

.floating-badge .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

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

/* ===== ABOUT SECTION ===== */
.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 140px;
}

.about-badge-float .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-float .label {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.03em;
}

.value-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.value-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

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

.value-text h5 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 4px;
}

.value-text p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== SERVICES SECTION ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

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

.service-card:hover::before { transform: scaleX(1); }

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

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotateY(180deg);
}

.service-card h4 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.service-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-700);
  padding: 5px 0;
  font-weight: 500;
}

.service-benefits li i {
  color: var(--accent);
  font-size: 0.8rem;
}

/* ===== WHY CHOOSE US ===== */
.why-hero-bg {
  background: linear-gradient(135deg, #0a1628, #0d2a52 60%, #0071c2);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.why-hero-bg::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(0,194,168,0.08);
}

.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 16px;
}

.trust-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateX(6px);
}

.trust-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(0,113,194,0.4);
  color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.trust-item h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.metric-box {
  text-align: center;
  padding: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.metric-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== PORTFOLIO ===== */
.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.portfolio-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h5 {
  color: var(--white);
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin: 0 0 14px;
}

.portfolio-overlay .tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===== CLIENTS ===== */
.clients-section { background: var(--gray-100); }

.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  height: 80px;
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.6;
}

.client-logo-wrap:hover {
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.client-logo-wrap img { max-height: 36px; object-fit: contain; }

/* ===== CONTACT / CTA SECTION ===== */
.cta-final {
  background: linear-gradient(135deg, #0a1628, #0071c2);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(0,194,168,0.06);
}

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.contact-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.contact-card .icon {
  width: 48px; height: 48px;
  background: rgba(0,113,194,0.4);
  color: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.contact-card h6 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-control {
  border: 2px solid var(--gray-300);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
  color: var(--dark);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,113,194,0.1);
  outline: none;
}

.form-control::placeholder { color: #b0bec5; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.65);
}

.footer-brand img { height: 42px; margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.wa-tooltip {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-btn {
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  animation: wa-bounce 3s ease-in-out infinite;
  transition: var(--transition);
}

.wa-btn:hover {
  background: #1ebe5d;
  color: var(--white);
  transform: scale(1.1);
}

@keyframes wa-bounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2a52 50%, #0071c2 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p  { color: rgba(255,255,255,0.65); max-width: 560px; margin: 16px auto 0; }

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
}

.breadcrumb-custom a    { color: rgba(255,255,255,0.5); }
.breadcrumb-custom a:hover { color: var(--white); }
.breadcrumb-custom span { color: rgba(255,255,255,0.25); }
.breadcrumb-custom .current { color: var(--accent); font-weight: 600; }

/* ===== SERVICE PAGE DETAILS ===== */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  margin-bottom: 40px;
  transition: var(--transition);
}

.service-detail-card:hover { box-shadow: var(--shadow-lg); }

.service-detail-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 40px;
  color: var(--white);
}

.service-detail-header .svc-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -10px;
}

.service-detail-header h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.service-detail-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin: 0;
}

.service-detail-body { padding: 36px 40px; }

.benefit-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
}

.benefit-list li i { color: var(--primary); font-size: 0.85rem; }

/* ===== PORTFOLIO PAGE ===== */
.portfolio-hero-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-hero-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.portfolio-hero-item img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-hero-item:hover img { transform: scale(1.05); }

.portfolio-item-info {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.portfolio-item-info h5 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-item-info p {
  font-size: 0.84rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

/* ===== MODAL ===== */
.modal-custom .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-custom .modal-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  padding: 24px 28px;
}

.modal-custom .modal-title { color: var(--white); font-family: var(--font-body); font-weight: 700; }
.modal-custom .btn-close { filter: invert(1) brightness(2); }
.modal-custom .modal-body { padding: 28px; }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 100px; right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
}

#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover   { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== DIVIDER ===== */
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px 0 24px;
}

.section-divider.center { margin: 16px auto 24px; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 48px; height: 48px;
  border: 3px solid rgba(0,113,194,0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

/* ===== ANIMATIONS ===== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .section-padding { padding: 70px 0; }
  .hero-stats { gap: 24px; }
  .why-hero-bg { padding: 40px 28px; }
  .benefit-list { grid-template-columns: 1fr; }
  .floating-badge.fb-1, .floating-badge.fb-2 { display: none; }
}

@media (max-width: 767px) {
  .section-padding { padding: 56px 0; }
  .hero { padding-top: 100px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-title { font-size: 2rem; }
  .contact-form-wrap { padding: 28px 20px; }
  .service-detail-body { padding: 24px 20px; }
  .service-detail-header { padding: 28px 20px; }
  .wa-float { bottom: 20px; right: 20px; }
}
