/* theme tokens */
:root[data-theme="light"]{
  --bg: #ffffff;
  --text: #1f2328;
  --muted: #6b7280;
  --border: #e5e7eb;
  --elev: #ffffff;
  --cta: #f8fafc;
  --primary: #ff4d4d;
  --primary-600: #e04343;
}
:root[data-theme="dark"]{
  --bg: #0f1116;
  --text: #e6e8ee;
  --muted: #a1a6b1;
  --border: #2a2f3a;
  --elev: #161a22;
  --cta: #121620;
  --primary: #ff4d4d;
  --primary-600: #ff3a3a;
}

html,body{height:100%}
body{
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* small helpers */
.text-muted-2{ color:var(--muted) !important; }
.brand-gradient{
  background: linear-gradient(90deg, var(--primary), #ff7aa2);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:800;
}
.btn-gradient{
  background: linear-gradient(90deg, var(--primary), #ff7aa2);
  color:#fff;
  border:0;
  box-shadow:0 8px 24px rgba(255,77,77,.12);
}
.btn-gradient:hover{ filter:brightness(1.03); }
.card{ background:var(--elev); border:1px solid var(--border); }
.section{ padding:4.5rem 0; }
img, iframe{ max-width:100%; height:auto; display:block; }

/* navbar tweaks */
.navbar-premium{ background: color-mix(in srgb, var(--elev) 94%, transparent); backdrop-filter: blur(8px); border-bottom:1px solid var(--border); }
.nav-premium .nav-link{ position:relative; padding:.75rem .25rem; color:var(--text); }
.nav-premium .nav-link::after{ content:""; position:absolute; left:0; bottom:.35rem; height:2px; width:0; background: var(--primary); transition: width .25s ease; }
.nav-premium .nav-link:hover::after{ width:100%; }
/* Premium breadcrumb (pill) */
.premium-breadcrumb {
  display: inline-flex;
  gap: .5rem;
  padding: .45rem .9rem;
  background: var(--elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(18,24,34,.04);
  align-items: center;
  font-weight: 600;
}
.premium-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "›"; color: var(--muted); margin: 0 .6rem; }
.premium-breadcrumb a { color: var(--text); text-decoration: none; transition: color .15s ease, transform .12s ease; }
.premium-breadcrumb a:hover { color: var(--primary); transform: translateY(-1px); }

/* General contact tweaks */
.section { padding: 3.75rem 0; }
.text-muted-2 { color: var(--muted) !important; }
.card.shadow-sm { box-shadow: 0 8px 24px rgba(18,24,34,.06); }

/* Buttons & outlines (solid colors only) */
.btn-primary { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background-color: var(--primary-600); border-color: var(--primary-600); }

/* Outline buttons color hints */
.btn-outline-primary { color: var(--primary); border-color: rgba(0,0,0,.08); }
.btn-outline-success { color: #0f9d58; border-color: rgba(0,0,0,.08); }
.btn-outline-info { color: #17a2b8; border-color: rgba(0,0,0,.08); }

/* attachments small text */
#attachments-list { word-break: break-word; font-size: .875rem; color: var(--muted); }

/* responsive tweaks for smaller devices */
@media (max-width: 576px) {
  .display-5 { font-size: 1.6rem; }
}
/* Full-bleed hero */
.hero-fullbleed { position: relative; margin-bottom: 2rem; }
.hero-fullbleed .carousel-inner { height: 62vh; min-height: 420px; max-height: 780px; }
.hero-fullbleed .carousel-item {
  background-size: cover;
  background-position: center center;
  position: relative;
}

/* simple solid overlay (no gradient color usage) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 14, 0.45); /* semi-transparent dark overlay to keep text legible */
}

/* content panel (left aligned, centered vertically) */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-top: 8vh;
  color: var(--elev);
}
.hero-content .text-muted-2 { color: rgba(255,255,255,0.85); }

/* Ensure headings/lead are readable */
.hero-content h1 { color: #fff; }
.hero-content p.lead { color: rgba(255,255,255,0.85); }

/* Thumbnails styling (no gradients) */
.hero-thumbs .thumb {
  border: 1px solid var(--border);
  padding: 0;
  background: var(--elev);
  border-radius: .375rem;
  overflow: hidden;
  width: 110px;
  height: 62px;
  display: inline-block;
}
.hero-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display:block; }
.hero-thumbs .thumb.active { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-4px); border-color: var(--primary); }

/* controls visibility */
.carousel-control-prev-icon,
.carousel-control-next-icon { filter: invert(1) contrast(1.3); }

/* responsive tweaks */
@media (max-width: 991px) {
  .hero-fullbleed .carousel-inner { height: 48vh; min-height: 300px; }
  .hero-content { max-width: 100%; margin-top: 6vh; padding: 0 1rem; text-align: center; }
  .hero-content .d-flex { justify-content: center; }
  .hero-thumbs { gap: .5rem; }
}
/* Mega dropdown look */
.navbar .dropdown-menu {
  border-radius: .75rem;
  border: 1px solid var(--border);
}

.navbar .dropdown-item {
  font-size: .9rem;
  padding: .5rem .75rem;
  border-radius: .5rem;
  transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
  background: var(--cta);
  color: var(--primary);
}

.navbar .dropdown-menu .btn {
  font-size: .8rem;
  font-weight: 600;
}
/* Premium Services Cards */
.service-card-premium {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  cursor: pointer;
}
.service-card-premium:hover {
  transform: translateY(-8px);
  border-color: #dc3545; /* danger red */
  box-shadow: 0 12px 32px rgba(220, 53, 69, 0.2);
}

/* Icon badge (gradient circle) */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc3545 0%, #ff6b81 100%);
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}
/* Simple register page styles */
.section { padding: 3.5rem 0; }
.text-muted-2 { color: var(--muted) !important; }

.card.shadow-sm {
  border-radius: .75rem;
  box-shadow: 0 10px 30px rgba(18,24,34,.06);
}
/* Login page styling */
.section { padding: 4rem 0; }
.text-muted-2 { color: var(--muted) !important; }

.card.shadow-sm {
  border-radius: .85rem;
  box-shadow: 0 12px 30px rgba(18,24,34,.06);
}

/* Social buttons */
.btn-outline-dark, .btn-outline-primary {
  border-radius: .6rem;
  padding: .6rem .9rem;
}
.btn-outline-dark i, .btn-outline-primary i { font-size: 1.05rem; }

/* password toggle */
#togglePwd { border-left: 1px solid rgba(0,0,0,.06); }

/* small responsive tweak */
@media (max-width: 576px) {
  .card.shadow-sm { padding: 1.25rem; }
}
/* Hero with video background */
.hero-services {
  position: relative;
  min-height: 70vh;
  text-align: center;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute; top:0; left:0;
  width:100%; height:100%; object-fit:cover;
  z-index: -1;
  filter: brightness(0.4);
}
.hero-services .container { position: relative; z-index: 2; }

/* Animations */
.animate-fadein { animation: fadeInUp 1s ease forwards; }
.animate-fadein-delay { animation: fadeInUp 1.5s ease forwards; opacity:0; }
.animate-bounce { animation: bounce 2s infinite; }
@keyframes fadeInUp { from {opacity:0; transform:translateY(40px);} to{opacity:1; transform:none;} }
@keyframes bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }

/* Premium service tiles */
.service-tile {
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
}
.service-tile:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.icon-glow {
  display:inline-flex; align-items:center; justify-content:center;
  width:80px; height:80px;
  border-radius:50%; background:linear-gradient(135deg,#dc3545,#ff6b81);
  color:#fff; box-shadow:0 0 25px rgba(255,0,50,.5);
}

/* Timeline */
.timeline-step {
  text-align:center;
}
.timeline-step .step-circle {
  width:60px; height:60px; border-radius:50%;
  background:#dc3545; color:#fff; font-weight:bold;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 10px;
  transition: transform .3s ease;
}
.timeline-step:hover .step-circle {
  transform: scale(1.15);
  box-shadow:0 0 20px rgba(220,53,69,.4);
}

/* Case studies */
.case-tile img { transition: transform .3s ease; }
.case-tile:hover img { transform: scale(1.05); }

/* CTA */
.cta-final {
  background: linear-gradient(135deg,#dc3545,#111);
  padding: 5rem 0;
}
/* Global map markers */
.global-map { position: relative; }
.map-marker {
  position: absolute;
  background: var(--primary);
  color: #fff;
  padding: .3rem .6rem;
  border-radius: .5rem;
  font-size: .8rem;
  animation: pulse 2s infinite;
}
.marker-in { top: 60%; left: 55%; }
.marker-us { top: 40%; left: 20%; }
.marker-ae { top: 55%; left: 70%; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,77,77,.7); }
  70% { box-shadow: 0 0 0 15px rgba(255,77,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); }
}

/* Timeline */
.timeline-step .step-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-weight: bold;
}
.timeline-step:hover .step-circle {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255,77,77,.5);
}
