/* ========== EVER4EST — Design System ========== */
:root {
  --bg-primary: #08080C;
  --bg-secondary: #0E0E14;
  --bg-card: #12121E;
  --bg-card-hover: #1A1A2E;
  --green-primary: #1DB954;
  --green-light: #2ECC71;
  --green-dark: #158A40;
  --green-glow: rgba(29,185,84,0.15);
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(29,185,84,0.3);
  --glass-bg: rgba(18,18,30,0.75);
  --glass-border: rgba(255,255,255,0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-glow: 0 0 40px rgba(29,185,84,0.12);
  --font: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8,8,12,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center;
}
.brand-logo {
  height: 42px; width: auto;
  border-radius: 8px;
  transition: opacity 0.3s;
}
.brand-logo:hover { opacity: 0.85; }
.footer .brand-logo { height: 36px; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--green-primary);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green-primary);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: flex; background: var(--bg-card); border-radius: 8px;
  overflow: hidden; border: 1px solid var(--border);
}
.lang-toggle button {
  padding: 6px 12px; border: none; background: transparent;
  color: var(--text-muted); font-family: var(--font);
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s;
}
.lang-toggle button.active {
  background: var(--green-primary); color: #fff;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text-primary);
  transition: all 0.3s; border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(29,185,84,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(29,185,84,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(16,185,129,0.08) 0%, transparent 50%),
    var(--bg-primary);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(29,185,84,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,185,84,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(29,185,84,0.1); border: 1px solid rgba(29,185,84,0.2);
  font-size: 0.82rem; font-weight: 600; color: var(--green-primary);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-primary);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 24px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 40px; max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s var(--ease); border: none;
}
.btn-primary {
  background: var(--green-primary); color: #fff;
  box-shadow: 0 4px 20px rgba(29,185,84,0.3);
}
.btn-primary:hover {
  background: var(--green-light);
  box-shadow: 0 6px 30px rgba(29,185,84,0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--green-primary); color: var(--green-primary);
  background: rgba(29,185,84,0.05);
}

/* ========== SECTION COMMON ========== */
.section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--green-primary); margin-bottom: 16px;
}
.section-label .line {
  width: 30px; height: 2px; background: var(--green-primary); border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 20px;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 600px; line-height: 1.8;
}

/* ========== SERVICE CARDS (Home) ========== */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; margin-top: 60px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.4s var(--ease);
  position: relative;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(29,185,84,0.08) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-card-img {
  width: 100%; height: 220px; object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.service-card-body {
  padding: 28px; position: relative; z-index: 1;
}
.service-card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(29,185,84,0.1); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.4rem;
}
.service-card-icon svg {
  width: 24px; height: 24px; stroke: var(--green-primary);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7;
}
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 0.88rem; font-weight: 600;
  color: var(--green-primary); transition: gap 0.3s;
}
.service-card:hover .card-link { gap: 12px; }

/* ========== STATS ========== */
.stats-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.88rem; color: var(--text-muted);
  margin-top: 6px; font-weight: 500;
}

/* ========== WHY US ========== */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 50px;
}
.why-card {
  display: flex; gap: 20px; padding: 28px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: all 0.3s var(--ease);
}
.why-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.why-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(29,185,84,0.1); display: flex;
  align-items: center; justify-content: center;
}
.why-icon svg {
  width: 22px; height: 22px; stroke: var(--green-primary);
  fill: none; stroke-width: 2;
}
.why-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* ========== CTA BANNER ========== */
.cta-section {
  padding: 80px 0;
}
.cta-box {
  padding: 60px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(29,185,84,0.15), rgba(29,185,84,0.05));
  border: 1px solid rgba(29,185,84,0.2);
  text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 {
  font-size: 2rem; font-weight: 800; margin-bottom: 16px;
}
.cta-box p {
  color: var(--text-secondary); margin-bottom: 32px;
  max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  padding: 160px 0 80px; text-align: center;
  position: relative; overflow: hidden;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.page-header .hero-bg { position: absolute; inset: 0; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -1px; margin-bottom: 16px;
}
.page-header p { color: var(--text-secondary); font-size: 1.1rem; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--green-primary); }
.breadcrumb .sep { color: var(--text-muted); }

/* ========== ABOUT PAGE ========== */
.about-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; margin-top: 20px;
}
.about-text h2 {
  font-size: 1.8rem; font-weight: 800; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.about-text p {
  color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8;
}
.about-image {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,185,84,0.1), transparent);
}

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 50px;
}
.value-card {
  padding: 32px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  text-align: center; transition: all 0.3s var(--ease);
}
.value-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
}
.value-card .value-icon {
  width: 60px; height: 60px; margin: 0 auto 20px;
  border-radius: 16px; background: rgba(29,185,84,0.1);
  display: flex; align-items: center; justify-content: center;
}
.value-card .value-icon svg {
  width: 26px; height: 26px; stroke: var(--green-primary);
  fill: none; stroke-width: 2;
}
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* ========== SERVICES PAGE ========== */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:nth-child(even) .service-detail-img { order: -1; }
.service-detail-img {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); position: relative;
}
.service-detail-img img { width: 100%; height: 380px; object-fit: cover; }
.service-detail-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,185,84,0.08), transparent);
}
.service-detail-content h2 {
  font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px;
}
.service-detail-content > p {
  color: var(--text-secondary); margin-bottom: 28px; line-height: 1.8;
}
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.feature-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(29,185,84,0.15); display: flex;
  align-items: center; justify-content: center; margin-top: 2px;
}
.feature-check svg {
  width: 12px; height: 12px; stroke: var(--green-primary);
  fill: none; stroke-width: 3;
}
.feature-item span { font-size: 0.95rem; color: var(--text-secondary); }

/* ========== CONTACT PAGE ========== */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 48px; margin-top: 20px;
}
.contact-info-card {
  padding: 36px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  height: fit-content;
}
.contact-info-card h3 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 24px;
}
.contact-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(29,185,84,0.1); display: flex;
  align-items: center; justify-content: center;
}
.contact-item-icon svg {
  width: 20px; height: 20px; stroke: var(--green-primary);
  fill: none; stroke-width: 2;
}
.contact-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: var(--text-secondary); }

.contact-form-card {
  padding: 36px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.contact-form-card h3 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 24px;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
}
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-primary); font-family: var(--font);
  font-size: 0.92rem; transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(29,185,84,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-secondary); }
.form-submit { margin-top: 12px; }
.form-success {
  display: none; text-align: center; padding: 40px;
}
.form-success.show { display: block; }
.form-success svg {
  width: 60px; height: 60px; stroke: var(--green-primary);
  fill: none; stroke-width: 1.5; margin: 0 auto 16px;
}
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

/* Form Error State */
.form-error {
  display: none; text-align: center; padding: 40px;
}
.form-error.show { display: block; }
.form-error svg {
  width: 60px; height: 60px; stroke: #e74c3c;
  fill: none; stroke-width: 1.5; margin: 0 auto 16px;
}
.form-error h3 { font-size: 1.3rem; margin-bottom: 8px; color: #e74c3c; }
.form-error p { color: var(--text-secondary); }

/* Button Loading State */
.btn-loading {
  opacity: 0.7; cursor: not-allowed; pointer-events: none;
}
.spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.6s linear infinite; vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  color: var(--text-secondary); font-size: 0.88rem;
  margin-top: 16px; line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px; color: var(--text-primary);
}
.footer-col a {
  display: block; font-size: 0.88rem; color: var(--text-secondary);
  padding: 5px 0; transition: color 0.3s;
}
.footer-col a:hover { color: var(--green-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; margin-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-muted);
}

/* ========== ANIMATIONS (GSAP handles reveal) ========== */


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

/* ========== MOBILE NAV ========== */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,12,0.97); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 1.4rem; font-weight: 600; color: var(--text-secondary);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--green-primary); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail:nth-child(even) .service-detail-img { order: 0; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .cta-box { padding: 36px 24px; }
  .section { padding: 60px 0; }
}

/* ========== PAGE TRANSITION OVERLAY ========== */
.page-transition-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  pointer-events: none;
}
.transition-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: scaleY(1);
  transform-origin: top;
}
.tl-1 { background: #158A40; z-index: 1; }
.tl-2 { background: #1DB954; z-index: 2; }
.tl-3 { background: #0a0a10; z-index: 3; }
.transition-content { display: none; }
.transition-logo { display: none; }
.transition-page-name { display: none; }

/* ========== FAQ COMPONENT ========== */
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: rgba(29, 185, 84, 0.25); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; gap: 12px;
  background: none; border: none; width: 100%;
  font-family: var(--font); text-align: left;
  color: var(--text-primary, #fff);
  font-size: 0.9rem; font-weight: 600; line-height: 1.45;
}
.faq-question:hover { color: #1DB954; }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.faq-item.active .faq-icon {
  background: rgba(29, 185, 84, 0.15);
  border-color: rgba(29, 185, 84, 0.4);
  color: #1DB954; transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
}
.faq-item.active .faq-answer {
  max-height: 300px; padding: 0 22px 18px;
}
.faq-answer p {
  color: var(--text-secondary, rgba(255,255,255,0.6));
  font-size: 0.85rem; line-height: 1.7; margin: 0;
}
body.light-mode .faq-item {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}
body.light-mode .faq-icon {
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.35);
}

/* ========== SSS PAGE (Dedicated) ========== */
.sss-category-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.sss-category-section:last-of-type { border-bottom: none; }
.sss-category-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  max-width: 860px; margin-left: auto; margin-right: auto;
}
.sss-category-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(29,185,84,0.1); border: 1px solid rgba(29,185,84,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sss-category-icon svg {
  width: 24px; height: 24px; stroke: var(--green-primary);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sss-category-header h2 {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px;
}
.sss-faq-list {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 860px; margin-left: auto; margin-right: auto;
}
.sss-faq-list .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}
.sss-faq-list .faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(29,185,84,0.06);
}
.sss-faq-list .faq-item.active {
  border-color: rgba(29,185,84,0.3);
  background: rgba(29,185,84,0.03);
}
.sss-faq-list .faq-question { padding: 20px 24px; font-size: 0.95rem; }
.sss-faq-list .faq-answer { padding: 0 24px; }
.sss-faq-list .faq-answer a { color: var(--primary); text-decoration: underline; transition: color 0.3s; }
.sss-faq-list .faq-answer a:hover { color: var(--green-hover); }
.sss-faq-list .faq-item.active .faq-answer { padding: 0 24px 20px; }
body.light-mode .sss-faq-list .faq-item {
  background: var(--bg-card);
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}
body.light-mode .sss-category-icon {
  background: rgba(29,185,84,0.08);
}
@media (max-width: 768px) {
  .sss-category-section { padding: 28px 0; }
  .sss-category-header h2 { font-size: 1.25rem; }
  .sss-faq-list .faq-question { padding: 16px 18px; font-size: 0.88rem; }
}

/* ========== SERVICE DETAIL MODAL ========== */
.service-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 24px;
}
.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.service-modal {
  background: linear-gradient(145deg, rgba(18, 18, 28, 0.97), rgba(12, 12, 20, 0.99));
  border: 1px solid rgba(29, 185, 84, 0.15);
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 44px;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(29, 185, 84, 0.06);
}
.service-modal-overlay.active .service-modal {
  transform: translateY(0) scale(1);
}
.service-modal::-webkit-scrollbar { width: 6px; }
.service-modal::-webkit-scrollbar-track { background: transparent; }
.service-modal::-webkit-scrollbar-thumb { background: rgba(29, 185, 84, 0.3); border-radius: 3px; }
.service-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.service-modal-close:hover {
  background: rgba(29, 185, 84, 0.15);
  border-color: rgba(29, 185, 84, 0.4);
  color: #1DB954;
  transform: rotate(90deg);
}
.service-modal .modal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #1DB954;
  margin-bottom: 12px;
}
.service-modal .modal-label .line {
  width: 28px; height: 2px;
  background: #1DB954;
  display: inline-block;
}
.service-modal h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin-bottom: 16px;
  line-height: 1.3;
}
.service-modal .modal-desc {
  color: var(--text-secondary, rgba(255,255,255,0.65));
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.service-modal .modal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.service-modal .modal-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary, rgba(255,255,255,0.7));
  line-height: 1.5;
}
.service-modal .modal-feature svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: #1DB954;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-modal .modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #1DB954, #158A40);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.service-modal .modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(29, 185, 84, 0.3);
}
.detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  margin-top: 20px;
  background: transparent;
  border: 1px solid rgba(29, 185, 84, 0.35);
  border-radius: 8px;
  color: #1DB954;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
}
.detail-btn:hover {
  background: rgba(29, 185, 84, 0.1);
  border-color: #1DB954;
  transform: translateY(-2px);
}
.detail-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Light mode modal */
body.light-mode .service-modal {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.99));
  border-color: rgba(29, 185, 84, 0.2);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 0 60px rgba(29, 185, 84, 0.05);
}
body.light-mode .service-modal-close {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.5);
}
body.light-mode .detail-btn {
  border-color: rgba(29, 185, 84, 0.4);
}

@media (max-width: 768px) {
  .service-modal {
    padding: 28px 22px;
    max-height: 90vh;
    border-radius: 16px;
  }
  .service-modal h3 { font-size: 1.3rem; }
  .service-modal .modal-features {
    grid-template-columns: 1fr;
  }
  .service-modal-overlay { padding: 12px; }
}

/* ========== PARTICLE CANVAS ========== */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ========== FLUID SIMULATION CURSOR ========== */
#fluidCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9989;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
}

/* Light mode adjustments for fluid */
body.light-mode #fluidCanvas {
  mix-blend-mode: multiply;
  opacity: 0.55;
}

/* Fallback cursor if WebGL fails (from older code) */
#cursorTrail { display: none; }

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9000;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  opacity: 1;
  transform: scale(1);
}
.whatsapp-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}
.whatsapp-btn svg {
  width: 32px; height: 32px;
  fill: #fff;
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--bg-card);
}

@media (max-width: 480px) {
  .whatsapp-btn {
    width: 52px; height: 52px;
    bottom: 20px; right: 20px;
  }
  .whatsapp-btn svg { width: 28px; height: 28px; }
  .whatsapp-tooltip { display: none; }
}

/* ========== THEME TOGGLE ========== */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--green-primary);
  background: rgba(29,185,84,0.1);
}
.theme-toggle svg {
  width: 20px; height: 20px;
  stroke: var(--green-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-moon { display: none; }

/* ========== LIGHT MODE ========== */
body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.light-mode {
  --bg-primary: #F5F7FA;
  --bg-secondary: #EBEEF3;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F0F2F5;
  --text-primary: #1A1A2E;
  --text-secondary: #555570;
  --text-muted: #8888A0;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(29,185,84,0.35);
  --glass-bg: rgba(255,255,255,0.8);
  --glass-border: rgba(0,0,0,0.06);
  --shadow-glow: 0 0 40px rgba(29,185,84,0.08);
}

body.light-mode .navbar.scrolled {
  background: rgba(245,247,250,0.9);
  border-bottom-color: rgba(0,0,0,0.06);
}

body.light-mode .hero-bg {
  background:
    radial-gradient(ellipse at 20% 40%, rgba(29,185,84,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(29,185,84,0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(16,185,129,0.06) 0%, transparent 50%),
    var(--bg-primary);
}

body.light-mode .hero-grid {
  background-image:
    linear-gradient(rgba(29,185,84,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,185,84,0.06) 1px, transparent 1px);
}

body.light-mode .mobile-menu {
  background: rgba(245,247,250,0.97);
}

body.light-mode .hamburger span {
  background: var(--text-primary);
}

body.light-mode .tl-1 { background: #2ECC71; }
body.light-mode .tl-2 { background: #1DB954; }
body.light-mode .tl-3 { background: #f0f2f5; }

body.light-mode .service-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

body.light-mode .service-card:hover {
  box-shadow: 0 8px 30px rgba(29,185,84,0.1);
}

body.light-mode .cta-box {
  background: linear-gradient(135deg, rgba(29,185,84,0.08), rgba(29,185,84,0.02));
}

body.light-mode .stats-section {
  background: var(--bg-secondary);
}

body.light-mode .footer {
  background: #1A1A2E;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;
  --border: rgba(255,255,255,0.06);
}
body.light-mode .footer .brand-logo {
  filter: brightness(1.2);
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
  background: var(--bg-secondary);
  border-color: rgba(0,0,0,0.1);
  color: var(--text-primary);
}

body.light-mode .whatsapp-tooltip {
  background: #fff;
  color: #1A1A2E;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .whatsapp-tooltip::after {
  border-left-color: #fff;
}

body.light-mode .contact-info-card,
body.light-mode .contact-form-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

body.light-mode .value-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

body.light-mode .why-card {
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

/* ========== BLOG SECTION ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29, 185, 84, 0.4);
  box-shadow: 0 12px 32px rgba(29, 185, 84, 0.08);
}
.blog-card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}
.blog-card-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}
.blog-category {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s;
}
.blog-card:hover .blog-title {
  color: var(--green-primary);
}
.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

body.light-mode .blog-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* ========== BLOG ARTICLE DETAIL PAGE ========== */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  margin-top: 20px;
}
.blog-article {
  min-width: 0;
}
.blog-article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.blog-article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29,185,84,0.1);
  border: 1px solid rgba(29,185,84,0.2);
  color: var(--green-primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.blog-article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.blog-article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-article-meta svg {
  width: 15px;
  height: 15px;
  stroke: var(--green-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.blog-article-cover {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  position: relative;
}
.blog-article-cover img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.blog-article-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,8,12,0.4));
  pointer-events: none;
}
.blog-article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.blog-article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
  position: relative;
  padding-left: 18px;
}
.blog-article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--green-primary);
}
.blog-article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.blog-article-body p {
  margin-bottom: 18px;
}
.blog-article-body ul, .blog-article-body ol {
  margin: 16px 0;
  padding-left: 24px;
}
.blog-article-body li {
  margin-bottom: 10px;
  position: relative;
  list-style: none;
  padding-left: 24px;
}
.blog-article-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-primary);
  opacity: 0.7;
}
.blog-article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}
.blog-article-body a {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
}
.blog-article-body a:hover {
  opacity: 0.8;
}

/* Blog Comparison Table */
.blog-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.blog-table thead {
  background: rgba(29,185,84,0.08);
}
.blog-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--green-primary);
}
.blog-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.blog-table tr:last-child td {
  border-bottom: none;
}
.blog-table tr:hover td {
  background: rgba(29,185,84,0.03);
}
.blog-table .highlight {
  color: var(--green-primary);
  font-weight: 600;
}

/* Blog Info Box / Tip */
.blog-info-box {
  padding: 24px 28px;
  background: rgba(29,185,84,0.06);
  border: 1px solid rgba(29,185,84,0.15);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 0.92rem;
}
.blog-info-box strong {
  color: var(--green-primary);
  display: block;
  margin-bottom: 6px;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card h4 svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-primary);
  fill: none;
  stroke-width: 2;
}

/* Table of Contents */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}
.toc-list a:hover {
  background: rgba(29,185,84,0.06);
  color: var(--green-primary);
}
.toc-list a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  opacity: 0.4;
  flex-shrink: 0;
}
.toc-list a:hover::before {
  opacity: 1;
}

/* Sidebar CTA */
.sidebar-cta {
  padding: 32px 28px;
  background: linear-gradient(145deg, rgba(29,185,84,0.12), rgba(29,185,84,0.04));
  border: 1px solid rgba(29,185,84,0.2);
  border-radius: var(--radius-lg);
  text-align: center;
}
.sidebar-cta h4 {
  border: none;
  padding: 0;
  margin-bottom: 12px;
  justify-content: center;
}
.sidebar-cta p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Related Articles */
.blog-related {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* Blog Article Tags */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.blog-tag {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.3s;
}
.blog-tag:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  background: rgba(29,185,84,0.05);
}

/* Blog Article Share */
.blog-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.blog-share span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Light mode blog */
body.light-mode .blog-article-cover::after {
  background: linear-gradient(180deg, transparent 60%, rgba(245,247,250,0.3));
}
body.light-mode .sidebar-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
body.light-mode .blog-table thead {
  background: rgba(29,185,84,0.05);
}
body.light-mode .blog-info-box {
  background: rgba(29,185,84,0.04);
}

/* Blog Detail Responsive */
@media (max-width: 1024px) {
  .blog-article-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-sidebar {
    grid-template-columns: 1fr;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
  .blog-article-cover img {
    height: 240px;
  }
  .blog-article-meta {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Smooth transition for all themed elements */
.navbar, .service-card, .why-card, .value-card, .cta-box,
.contact-info-card, .contact-form-card, .footer, .stats-section,
.page-header, .form-group input, .form-group select, .form-group textarea,
.lang-toggle, .theme-toggle, .whatsapp-tooltip, .sidebar-card, .blog-table {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
