:root {
  --primary: #0f6fbf;
  --primary-dark: #0a4f86;
  --accent: #ff8f1f;
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-alt: #eef5fb;
  --text: #111827;
  --muted: #5f6b7a;
  --border: rgba(15, 111, 191, 0.14);
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  --nav-bg: rgba(7, 18, 38, 0.78);
}

body[data-theme="dark"] {
  --bg: #07111f;
  --surface: #101a2f;
  --surface-alt: #15233b;
  --text: #eef4fb;
  --muted: #aab6c7;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --nav-bg: rgba(3, 8, 18, 0.86);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg), var(--surface-alt));
  line-height: 1.75;
  transition: background 0.35s ease, color 0.35s ease;
}
h1, h2, h3, h4, .btn, .nav-link, .navbar-brand {
  font-family: 'Manrope', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }
section { overflow: hidden; }
body.loading { overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
}
.navbar {
  padding: 1rem 0;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.site-header.scrolled .navbar {
  background: rgba(7, 18, 38, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}
.navbar-brand {
  color: #fff !important;
  font-size: 1.12rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}
.brand-mark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 10px 24px rgba(15, 111, 191, 0.28);
}
.nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 600;
  transition: color 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.mega-menu {
  min-width: 680px;
  padding: 1.2rem 1.4rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.mega-menu h6 { color: var(--primary); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.mega-links li { margin-bottom: 0.55rem; }
.mega-links a { color: var(--muted); }
.mega-links a:hover { color: var(--primary); }
.theme-toggle, .lang-toggle {
  border: 1px solid rgba(255,255,255,0.16);
  color: white !important;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}


.theme-toggle i {
  color: white !important;
}
.theme-toggle:hover, .lang-toggle:hover { transform: translateY(-2px); background: rgba(255,255,255,0.16); box-shadow: 0 8px 22px rgba(0,0,0,0.18); }
.theme-toggle.is-switching, .lang-toggle.is-switching { transform: scale(0.96); }

body::before, body::after {
  content: '';
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}
body::before { top: -8rem; left: -8rem; background: rgba(15, 111, 191, 0.28); }
body::after { right: -10rem; bottom: -8rem; background: rgba(255, 143, 31, 0.2); animation-duration: 22s; }

.hero-section {
  min-height: 100vh;
  padding: 8.5rem 0 5.5rem;
  position: relative;
  isolation: isolate;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(3, 12, 24, 0.95) 0%, rgba(7, 22, 41, 0.9) 42%, rgba(7, 17, 31, 0.78) 100%),
    url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1800&q=80') center/cover;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 143, 31, 0.24), transparent 24%),
              radial-gradient(circle at 85% 15%, rgba(15, 111, 191, 0.24), transparent 24%),
              linear-gradient(120deg, rgba(2, 12, 24, 0.72), rgba(2, 12, 24, 0.18));
  z-index: -1;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: -20% auto auto -10%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 66%);
  filter: blur(8px);
  animation: float 12s ease-in-out infinite;
  z-index: -1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  filter: blur(0.5px);
  pointer-events: none;
  animation: float 10s ease-in-out infinite alternate;
}
.hero-orb.orb-left { width: 15rem; height: 15rem; left: -4rem; top: 8rem; }
.hero-orb.orb-right { width: 19rem; height: 19rem; right: -6rem; bottom: 4rem; animation-duration: 14s; }
.hero-particle {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 0 0.8rem rgba(255,255,255,0.25);
  animation: pulse 3s ease-in-out infinite;
}
.hero-particle.particle-one { top: 18%; left: 22%; }
.hero-particle.particle-two { top: 30%; right: 16%; animation-delay: 1s; }
.hero-particle.particle-three { bottom: 24%; left: 44%; animation-delay: 1.6s; }
.hero-content { position: relative; z-index: 1; }
.hero-copy-block { max-width: 760px; }
.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.9rem);
  font-weight: 800;
  line-height: 1.04;
  margin-bottom: 1.2rem;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 32px rgba(2, 12, 24, 0.24);
}
.hero-copy { font-size: 1.08rem; max-width: 720px; color: rgba(255,255,255,0.86); }
.hero-badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.7rem; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 0.8rem; color: #dce8f7; margin-top: 1.2rem; }
.hero-highlights span {
  background: rgba(255,255,255,0.1);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.4rem; }
.hero-metric {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.14);
}
.hero-metric strong { display: block; font-size: 1.15rem; margin-bottom: 0.2rem; }
.hero-metric span { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.glass-card {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 45px rgba(2, 12, 24, 0.24);
}
.hero-card-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #a9d2ff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.hero-list li { margin-bottom: 0.8rem; color: white; }
.hero-list i { color: var(--accent); margin-right: 0.45rem; }
.hero-card-footer {
  margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
}

.section-heading { max-width: 780px; margin: 0 auto; }
.section-heading h2, .page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero {
  padding: 6.5rem 0 4rem;
  background: linear-gradient(135deg, rgba(15,111,191,0.09), rgba(255,143,31,0.08));
}
.page-hero p { color: var(--muted); }
.max-800 { max-width: 820px; }

.card-surface, .service-card, .info-card, .service-detail-card, .contact-card, .quote-box, .industry-card, .gallery-card, .map-card, .blog-card, .career-card, .timeline-card, .testimonial-card {
  border-radius: 24px;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--surface), rgba(255,255,255,0.72));
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
body[data-theme="dark"] .card-surface, body[data-theme="dark"] .service-card, body[data-theme="dark"] .info-card, body[data-theme="dark"] .service-detail-card, body[data-theme="dark"] .contact-card, body[data-theme="dark"] .quote-box, body[data-theme="dark"] .industry-card, body[data-theme="dark"] .gallery-card, body[data-theme="dark"] .map-card, body[data-theme="dark"] .blog-card, body[data-theme="dark"] .career-card, body[data-theme="dark"] .timeline-card, body[data-theme="dark"] .testimonial-card {
  background: linear-gradient(135deg, rgba(16,26,47,0.95), rgba(21,35,59,0.88));
}
.premium-section {
  position: relative;
}
.premium-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,111,191,0.04), rgba(255,143,31,0.03));
  pointer-events: none;
}
.alt-section { background: linear-gradient(180deg, rgba(15,111,191,0.03), transparent 70%); }
.premium-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(242,248,255,0.85));
  border: 1px solid rgba(15,111,191,0.14);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}
body[data-theme="dark"] .premium-card {
  background: linear-gradient(145deg, rgba(17,28,47,0.96), rgba(24,39,63,0.9));
}
.premium-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 60px rgba(15,111,191,0.18);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 0.5rem;
}
.text-link::after { content: '→'; transition: transform 0.2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.premium-visual-card {
  padding: 0.6rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.32), rgba(255,255,255,0.1));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}
.premium-visual-card img {
  border-radius: 22px;
  min-height: 360px;
  object-fit: cover;
}
.premium-industry-card {
  min-height: 200px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,246,255,0.9));
}
body[data-theme="dark"] .premium-industry-card { background: linear-gradient(135deg, rgba(16,26,47,0.95), rgba(21,35,59,0.86)); }
.service-card::before, .info-card::before, .timeline-card::before, .blog-card::before, .career-card::before, .industry-card::before, .testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,111,191,0.08), transparent 45%, rgba(255,143,31,0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::before, .info-card:hover::before, .timeline-card:hover::before, .blog-card:hover::before, .career-card:hover::before, .industry-card:hover::before, .testimonial-card:hover::before {
  opacity: 1;
}
.service-card:hover, .service-detail-card:hover, .gallery-card:hover, .blog-card:hover, .career-card:hover, .timeline-card:hover, .testimonial-card:hover, .industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15,111,191,0.18);
  border-color: rgba(15,111,191,0.22);
}
.icon-box {
  width: 56px; height: 56px; display: inline-flex; justify-content: center; align-items: center; border-radius: 16px;
  background: linear-gradient(145deg, rgba(15,111,191,0.16), rgba(255,143,31,0.16));
  color: var(--primary);
  font-size: 1.2rem; margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.why-us { background: linear-gradient(135deg, rgba(15,111,191,0.06), rgba(255,143,31,0.04)); }
.image-card img { border-radius: 24px; box-shadow: var(--shadow); }
.feature-item { display: flex; gap: 1rem; margin-bottom: 1rem; }
.feature-item i { color: var(--accent); font-size: 1.1rem; margin-top: 0.25rem; }
.feature-list li { margin-bottom: 0.75rem; }
.feature-list i { color: var(--accent); margin-right: 0.55rem; }

.stats-section { background: radial-gradient(circle at top, rgba(15,111,191,0.06), transparent 60%); }
.stat-card {
  padding: 2rem 1.2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15,111,191,0.96), rgba(17,24,39,0.96));
  color: white;
  box-shadow: var(--shadow);
}
.counter { font-size: 2rem; font-weight: 800; color: #fff; }

.industry-card { text-align: left; }
.industry-card .icon-box { margin-bottom: 1rem; }
.industry-pill { text-align: center; font-weight: 600; color: var(--primary-dark); background: linear-gradient(135deg, rgba(15,111,191,0.09), rgba(255,143,31,0.12)); }

.timeline-list { display: grid; gap: 1rem; }
.timeline-step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-step:last-child { border-bottom: 0; }
.timeline-marker {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; font-weight: 700;
}

.faq-list { display: grid; gap: 1rem; }
.faq-item { background: var(--surface); border-radius: 18px; padding: 0.95rem 1rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: transparent; text-align: left;
  font-weight: 700; color: var(--text);
}
.faq-answer { display: none; margin-top: 0.7rem; color: var(--muted); }
.faq-item.active .faq-answer { display: block; }

.form-control, .form-select {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(15,111,191,0.16); transform: translateY(-1px); }
.btn {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15,111,191,0.2);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}
.btn-primary:hover { filter: brightness(1.04); }
.btn-outline-light, .btn-outline-warning { border-radius: 999px; }
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

.map-placeholder {
  min-height: 220px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(15,111,191,0.08), rgba(255,143,31,0.1)); color: var(--primary-dark); font-weight: 700; border: 1px dashed #9cc1e3; text-align: center; padding: 1rem;
}

.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.filter-btn { border: 0; border-radius: 999px; padding: 0.6rem 1rem; background: var(--surface); color: var(--text); box-shadow: 0 8px 24px rgba(17,24,39,0.08); transition: transform 0.2s ease, background 0.2s ease; }
.filter-btn:hover { transform: translateY(-1px); }
.filter-btn.active { background: var(--primary); color: white; }
.gallery-card { overflow: hidden; padding: 0; }
.gallery-card img { height: 220px; width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: end; padding: 1rem; background: linear-gradient(180deg, transparent, rgba(8,19,36,0.8));
  color: white; font-weight: 700;
}
.gallery-item { position: relative; }

.contact-info-list i { color: var(--primary); font-size: 1rem; }
.footer {
  background: linear-gradient(135deg, #071522, #142132);
  color: #dce7f5;
  position: relative;
}
.footer h5 { color: white; margin-bottom: 1rem; }
.footer-links a, .social-links a { color: #dce7f5; }
.footer-links li { margin-bottom: 0.55rem; }
.social-links { display: flex; gap: 0.85rem; font-size: 1.15rem; }
.newsletter .form-control { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }

.floating-actions { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: 0.7rem; z-index: 1060; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: white; border: none; box-shadow: var(--shadow); transition: transform 0.25s ease;
}
.fab:hover { transform: translateY(-3px); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--primary); }
.fab-top { background: var(--accent); }

.loading-screen {
  position: fixed; inset: 0; background: linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(9, 23, 41, 0.96)); display: grid; place-items: center; z-index: 2000; transition: opacity 0.45s ease, visibility 0.45s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 128px; height: 128px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.12); border-top-color: var(--accent); animation: spin 1s linear infinite; display: grid; place-items: center;
  box-shadow: inset 0 0 24px rgba(255,143,31,0.16), 0 0 40px rgba(15,111,191,0.2);
}
.loader-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: transparent; /* Remove gradient background */
  box-shadow: none; /* Remove box shadow if not needed */
}

.loader-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.loader-text { color: white; margin-top: 1rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(1.2rem, -1.2rem, 0) scale(1.03); } }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(3rem, 2rem, 0) scale(1.08); } }
@keyframes pulse { 0%, 100% { opacity: 0.35; transform: scale(0.9); } 50% { opacity: 0.95; transform: scale(1.2); } }

@media (max-width: 991px) {
  .hero-section { padding-top: 6.4rem; }
  .hero-actions { flex-direction: column; align-items: start; }
  .mega-menu { min-width: auto; width: 100%; }
}

@media (max-width: 767px) {
  .hero-section { min-height: auto; padding: 5.5rem 0 3.5rem; }
  .hero-highlights { flex-direction: column; align-items: start; }
  .page-hero { padding-top: 4.8rem; }
  .service-card, .info-card, .service-detail-card, .contact-card, .quote-box, .industry-card, .gallery-card, .map-card, .blog-card, .career-card, .timeline-card, .testimonial-card { border-radius: 18px; }
  .floating-actions { right: 0.75rem; bottom: 0.75rem; }
}


