:root {
  /* Logo Identity Palette */
  --primary-blue: #185ee0;
  --primary-blue-dark: #0f409e;
  --primary-blue-glow: rgba(24, 94, 224, 0.35);
  --accent-orange: #f75800;
  --accent-orange-hover: #dc4d00;
  --accent-orange-glow: rgba(247, 88, 0, 0.35);
  --whatsapp-green: #25d366;

  /* Fully Dark Surfaces */
  --bg-main: #06090e;
  --bg-surface: #0c121d;
  --bg-card: #111a28;
  --bg-card-hover: #162235;

  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(24, 94, 224, 0.35);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(24, 94, 224, 0.2);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-main) !important;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Animated Fullscreen Preloader */
#site-preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-color: #06090e;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  z-index: 2;
  animation: logoPulse 1.8s ease-in-out infinite;
}

.preloader-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary-blue);
  border-bottom-color: var(--accent-orange);
  box-shadow: 0 0 25px rgba(24, 94, 224, 0.4), 0 0 25px rgba(247, 88, 0, 0.3);
  animation: ringSpin 1.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.preloader-rings::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-left-color: var(--accent-orange);
  border-right-color: var(--primary-blue);
  animation: ringSpinReverse 1s linear infinite;
}

.preloader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  border-radius: 6px;
  animation: barProgress 1.4s ease-in-out infinite alternate;
}

@keyframes ringSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ringSpinReverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(0.94);
    filter: drop-shadow(0 0 8px rgba(24, 94, 224, 0.4));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 20px rgba(247, 88, 0, 0.6));
  }
}

@keyframes barProgress {
  0% { left: 0%; width: 25%; }
  50% { width: 60%; }
  100% { left: 75%; width: 25%; }
}

/* Header & Large Logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 9, 14, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.logo img {
  height: 68px;
  max-height: 74px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-orange);
}

/* Header Action Buttons */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-clear-cache {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-clear-cache svg {
  transition: transform 0.4s ease;
}

.btn-clear-cache:hover {
  background: rgba(24, 94, 224, 0.15);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.btn-clear-cache:hover svg {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

.btn-clear-cache.clearing svg {
  animation: spinCache 0.6s linear infinite;
}

@keyframes spinCache {
  100% { transform: rotate(360deg); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), #ff772e);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(247, 88, 0, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(247, 88, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid var(--primary-blue);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  box-shadow: var(--shadow-glow);
}

/* Sections & Headings */
section {
  width: 100%;
  clear: both;
}

.page-section {
  padding: 80px 0;
  background-color: var(--bg-main);
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-top: 10px;
  color: #ffffff;
}

.badge {
  background: rgba(24, 94, 224, 0.12);
  border: 1px solid rgba(24, 94, 224, 0.35);
  color: #60a5fa;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  padding: 100px 0 85px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(24, 94, 224, 0.18) 0%, rgba(247, 88, 0, 0.06) 50%, var(--bg-main) 80%);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 span.blue-text {
  color: #3b82f6;
  text-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
}

.hero h1 span.orange-text {
  color: var(--accent-orange);
  text-shadow: 0 0 25px rgba(247, 88, 0, 0.4);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.18rem;
  max-width: 800px;
  margin: 0 auto 38px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 21 Logos Carousel Section */
.carousel-section {
  padding: 50px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.carousel-title {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 25px;
}

.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 40s linear infinite;
}

.logo-slide {
  width: 170px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  flex-shrink: 0;
}

.logo-slide img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.6);
  opacity: 0.55;
  transition: var(--transition);
}

.logo-slide img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.bento-card .icon-box {
  width: 50px;
  height: 50px;
  background: rgba(24, 94, 224, 0.15);
  color: #60a5fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 700;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Services Split Cards */
.service-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 45px;
  background: var(--bg-card);
  padding: 40px;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.service-row:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.service-row:nth-child(even) {
  direction: rtl;
}

.service-row:nth-child(even) .service-content {
  direction: ltr;
}

.service-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  display: block;
}

.service-content h3 {
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

/* Testimonials Layout */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.feedback-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.review-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.client-name {
  font-weight: 700;
  color: #60a5fa;
}

/* FAQs */
.faq-list {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 24px;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-glow);
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: #ffffff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent-orange);
  font-size: 1.5rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 14px;
  color: var(--text-secondary);
}

/* Site Footer */
.site-footer {
  background: #030508;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 35px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 45px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Floating Call & WhatsApp Action Buttons */
.floating-btn {
  position: fixed;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-btn:hover {
  transform: scale(1.12);
}

/* Call Button - Left Side */
.float-call {
  left: 28px;
  background: linear-gradient(135deg, var(--accent-orange), #ff772e);
}

/* WhatsApp Button - Right Side */
.float-whatsapp {
  right: 28px;
  background: linear-gradient(135deg, var(--whatsapp-green), #20ba5a);
}

/* Pulse Ripple Animation */
.btn-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  animation: floatPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: -1;
}

.pulse-orange {
  border: 2px solid var(--accent-orange);
}

.pulse-green {
  border: 2px solid var(--whatsapp-green);
}

@keyframes floatPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Tooltip on Hover */
.float-tooltip {
  position: absolute;
  white-space: nowrap;
  background: rgba(12, 18, 29, 0.94);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.float-call .float-tooltip {
  left: 70px;
  transform: translateX(-8px);
}

.float-whatsapp .float-tooltip {
  right: 70px;
  transform: translateX(8px);
}

.floating-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Responsiveness */
@media (max-width: 880px) {
  .nav-container {
    height: 80px;
  }
  .logo img {
    height: 56px;
  }
  .nav-links {
    display: none;
  }
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .btn-clear-cache span {
    display: none;
  }
  .floating-btn {
    width: 52px;
    height: 52px;
    bottom: 20px;
  }
  .float-call {
    left: 20px;
  }
  .float-whatsapp {
    right: 20px;
  }
}