:root{
  --deep-red:#b30000;
  --deep-red-2:#e60000;
  --dark-black:#0b0b0b;
  --cream:#fdfaf5;
  --white:#ffffff;
  --muted:#6c6c73;
  --text-primary:#1a1a1c;
  --text-secondary:#6c6c73;
  --card-bg:#ffffff;
  --card-border:rgba(0,0,0,0.08);
  --card-shadow:0 8px 30px rgba(0,0,0,0.05);
  --header-bg:rgba(255,255,255,0.85);
  --header-border:rgba(179,0,0,0.12);
  --header-shadow:0 8px 30px rgba(0,0,0,0.03);
  --hero-bg:radial-gradient(circle at 80% 40%, rgba(179,0,0,0.05) 0%, rgba(255,255,255,1) 70%), linear-gradient(180deg,#f8f9fa,#ffffff);
  --hero-color:#1a1a1c;
  --hud-stroke:rgba(26, 26, 28, 0.22);
  --hud-fill:rgba(179, 0, 0, 0.02);
  --hud-light-fill:rgba(0, 0, 0, 0.01);
  --hud-guard-fill:#161618;
  --hud-status-bg:rgba(255, 255, 255, 0.85);
  --hud-status-text:rgba(26, 26, 28, 0.65);
}

body.dark-theme{
  --white:#08080a;
  --cream:#121216;
  --text-primary:#f1f1f5;
  --text-secondary:#a0a0ab;
  --dark-black:#ffffff;
  --card-bg:#141418;
  --card-border:rgba(255,26,26,0.15);
  --card-shadow:0 8px 30px rgba(0,0,0,0.3);
  --header-bg:rgba(8,8,10,0.85);
  --header-border:rgba(214,18,18,0.2);
  --header-shadow:0 8px 30px rgba(0,0,0,0.4);
  --hero-bg:radial-gradient(circle at 80% 40%, rgba(139,0,0,0.15) 0%, rgba(8,8,10,1) 70%), linear-gradient(180deg,#08080a,#0f0f13);
  --hero-color:#ffffff;
  --hud-stroke:rgba(255, 255, 255, 0.32);
  --hud-fill:rgba(255, 26, 26, 0.07);
  --hud-light-fill:rgba(255, 255, 255, 0.02);
  --hud-guard-fill:#0a0a0c;
  --hud-status-bg:rgba(8, 8, 10, 0.9);
  --hud-status-text:rgba(255, 255, 255, 0.6);
}

/* Basic resets */
body{font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:var(--text-primary);background:var(--white);transition: background 0.3s ease, color 0.3s ease}
.logo{width:90px;height:90px;object-fit:contain;transition: all 0.3s ease}
.brand-title{font-weight:800;font-size:1.15rem;color:var(--text-primary);transition: color 0.3s ease}
.tagline{font-size:.9rem;color:var(--text-secondary);transition: color 0.3s ease;letter-spacing:0.5px}

/* Header specific */
.site-header{background:var(--header-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:2px solid var(--header-border);box-shadow:var(--header-shadow);position:sticky;top:0;z-index:1050;transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease}
.navbar .nav-link{color:var(--text-primary);font-weight:600;padding:.6rem .8rem;border-bottom:3px solid transparent;transition: all 0.3s ease}
.navbar .nav-link:hover{color:var(--deep-red-2)}
.navbar .nav-link.active{color:var(--deep-red-2);border-bottom-color:var(--deep-red-2)}

/* Header CTA buttons */
.site-header .btn-danger{background:var(--deep-red);border-color:var(--deep-red)}
.site-header .btn-danger:hover{background:var(--deep-red-2);border-color:var(--deep-red-2)}
.site-header .btn-outline-dark{border-color:var(--text-primary);color:var(--text-primary)}
.site-header .btn-outline-dark:hover{background:var(--deep-red);border-color:var(--deep-red);color:#ffffff}
.site-header .btn-outline-light{border-color:var(--text-primary);color:var(--text-primary)}
.site-header .btn-outline-light:hover{background:var(--deep-red);border-color:var(--deep-red);color:#ffffff}

/* Preloader */
.preloader{position:fixed;inset:0;background:var(--white);display:flex;align-items:center;justify-content:center;z-index:2000}
.preloader .spinner{width:48px;height:48px;border-radius:50%;border:5px solid var(--card-border);border-top-color:var(--deep-red-2);animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Hero section styling (grows from variables) */
.hero{min-height:75vh;position:relative;overflow:hidden;background:var(--hero-bg);color:var(--hero-color);transition: background 0.3s ease, color 0.3s ease}
.hero-overlay{display:none}
.hero-watermark{position:absolute;inset:0;background-image:url('../assets/logo.svg');background-repeat:no-repeat;background-position:center center;background-size:60%;opacity:0.04;pointer-events:none;filter:grayscale(1) saturate(0.1)}
.hero .container{position:relative;z-index:3}
.hero .col-lg-7{position:relative;z-index:60}
.hero.text-dark{color:var(--hero-color) !important}
.hero.text-white{color:var(--hero-color) !important}

/* Custom Security HUD Viewport Animation (Seamless & Adaptive) */
.security-hud-viewport {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 16px;
  background: transparent; /* Seamless blend */
  border: none; /* Removed square outline border */
  box-shadow: none;
  overflow: hidden;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

/* Tech Grid Pattern overlay */
.hud-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 26, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 26, 26, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

/* Radar concentric rings backdrop */
.hud-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
}
.hud-ring-1 {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1px dashed var(--hud-stroke);
  animation: radar-spin 40s linear infinite;
}
.hud-ring-2 {
  position: absolute;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  border: 1px double var(--hud-stroke);
  animation: radar-spin 25s linear reverse infinite;
}


/* Scenes Viewport wrapper */
.scene-viewport {
  position: absolute;
  width: 100%;
  height: calc(100% - 40px);
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 2;
}

/* Scene Slide formatting */
.scene-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.scene-slide.active {
  opacity: 0.75;
  transform: scale(1);
  pointer-events: auto;
  z-index: 3;
}

/* SVG Scene Styles inside the Viewport (Adaptive) */
.scene-slide svg {
  width: 85%;
  height: auto;
  max-height: 190px;
  position: absolute;
  top: 25px;
}
.security-hud-viewport .scene-stroke {
  stroke: var(--hud-stroke);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.security-hud-viewport .scene-accent-stroke {
  stroke: var(--deep-red-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 0 3px rgba(255, 26, 26, 0.35));
}
.security-hud-viewport .scene-fill {
  fill: var(--hud-fill);
}
.security-hud-viewport .scene-light-fill {
  fill: var(--hud-light-fill);
}

/* Dynamic scene micro-animations */
.scene-pulse {
  animation: element-pulse 2s ease-in-out infinite;
}
.scene-rotate {
  transform-origin: center;
  animation: element-rotate 12s linear infinite;
}
.scene-sweep {
  transform-origin: bottom center;
  animation: element-sweep 5s ease-in-out infinite;
}
.scene-sweep-reverse {
  transform-origin: bottom center;
  animation: element-sweep-reverse 6s ease-in-out infinite;
}

/* Foreground Guard Outline */
.guard-foreground {
  position: absolute;
  bottom: 50px; /* Shifted up to add a gap between the text and the guard */
  left: 50%;
  transform: translateX(-50%);
  width: 195px; /* Broad prominent look */
  height: auto;
  z-index: 6;
  pointer-events: none;
  /* Fade out the bottom cropped edge of the image to blend naturally */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 12%);
  mask-image: linear-gradient(to top, transparent 0%, black 12%);
}
.guard-foreground svg,
.guard-foreground img {
  width: 100%;
  height: auto;
  display: block;
}

/* HUD bottom status strip (Seamless & Centered) */
.hud-status-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42px;
  background: transparent; /* Seamless overlay */
  border-top: 1px dashed rgba(255, 26, 26, 0.15);
  display: flex;
  align-items: center;
  justify-content: center; /* Center the label */
  padding: 0 16px;
  z-index: 10;
  font-family: 'Courier New', Courier, monospace;
}
.hud-scene-title {
  font-size: 0.92rem; /* Prominent main focused element */
  color: var(--deep-red-2);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(255, 26, 26, 0.45);
}

/* Viewport Keyframe Animations */
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes guard-breathing {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.025) translateY(1.5px); }
}
@keyframes element-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes element-rotate {
  100% { transform: rotate(360deg); }
}
@keyframes element-sweep {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}
@keyframes element-sweep-reverse {
  0%, 100% { transform: rotate(12deg); }
  50% { transform: rotate(-12deg); }
}

/* Responsive constraints for the viewport */
@media(min-width:1200px){
  .hero .row{align-items:center}
  .hero .col-lg-7{max-width:62%}
}
@media(min-width:992px){
  .hero .row .col-lg-5{position:relative}
  .security-hud-viewport{margin-left:auto}
}
@media(max-width:991px){
  .security-hud-viewport{display:none}
}

/* Accent bar under header */
.accent-bar{height:6px;background:var(--deep-red);box-shadow:0 4px 12px rgba(179,0,0,0.1)}

/* Shield cards */
.shield-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:8px;box-shadow:var(--card-shadow);color:var(--text-primary);transition: all 0.3s ease;}
.shield-card:hover{transform: translateY(-5px); border-color: var(--deep-red-2); box-shadow: 0 12px 35px rgba(255, 26, 26, 0.15);}
.shield-card h5{color:var(--deep-red-2);font-weight:700}
.small-shield{width:64px}

/* Service cards */
.service-card{border:1px solid var(--card-border);border-left:6px solid var(--deep-red);border-radius:10px;overflow:hidden;background:var(--card-bg);color:var(--text-primary);transition: all 0.3s ease;}
.service-card:hover{transform: translateY(-5px); border-color: var(--deep-red-2); box-shadow: 0 12px 35px rgba(255, 26, 26, 0.15);}
.service-card .card-body h5{font-weight:700;color:var(--text-primary)}
.service-card img{height:180px;object-fit:cover;filter:brightness(0.9);transition: all 0.3s ease;}
.service-card:hover img{filter:brightness(1.0)}

/* Industry cards */
.industry-card{
  background: linear-gradient(135deg, var(--deep-red), #660000);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius:8px;
  color:#ffffff;
  min-height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  box-shadow:0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.industry-card:hover{
  transform:scale(1.05);
  background: linear-gradient(135deg, var(--deep-red-2), var(--deep-red));
  box-shadow: 0 8px 25px rgba(255, 26, 26, 0.25);
}

/* ensure industry cards readable on cream background */
.cream-bg .industry-card{background: linear-gradient(135deg, var(--deep-red), #660000);color:#ffffff}

/* Counters */
.counter{font-size:2.2rem;color:var(--deep-red-2);}

/* CTA */
.cta-section{background:#070709;border-top:1px solid rgba(255,26,26,0.1);border-bottom:1px solid rgba(255,26,26,0.1)}

/* Brand strip - modern premium ribbon */
.brand-strip {
  background: linear-gradient(90deg, var(--deep-red) 0%, #200000 50%, #08080c 100%);
  border-top: 2px solid var(--deep-red-2);
  padding: 1.25rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  z-index: 10;
}
.brand-strip-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand-strip-brand {
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 1.15rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-strip-brand i {
  color: var(--deep-red-2);
  filter: drop-shadow(0 0 5px rgba(255, 26, 26, 0.6));
}
.brand-strip-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand-strip-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.brand-strip-link:hover {
  color: var(--deep-red-2);
  transform: translateY(-1px);
}
.brand-strip-link i {
  color: var(--deep-red-2);
}

.cta-section .btn-light{background:#ffffff;color:#070709;font-weight:700;transition: all 0.3s ease;}
.cta-section .btn-light:hover{background:var(--deep-red-2);color:#ffffff;border-color:var(--deep-red-2)}

/* Footer */
.footer-logo{width:88px; filter: drop-shadow(0 0 8px rgba(255, 26, 26, 0.2)); transition: all 0.3s ease;}
.footer-logo:hover{transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(255, 26, 26, 0.4));}

/* Cream background utility */
.cream-bg{background:var(--cream);transition: background 0.3s ease}

/* Footer watermark */
.site-footer{position:relative;background:linear-gradient(180deg,#08080a,#050507);color:#ffffff;border-top:1px solid rgba(255,255,255,0.06);overflow:hidden;}
.footer-watermark{position:absolute;inset:0;background-image:url('../assets/logo.svg');background-repeat:no-repeat;background-position:center right;background-size:35%;opacity:0.02;pointer-events:none;filter:grayscale(1) saturate(0.2)}
.site-footer h6 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.site-footer h6::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--deep-red-2);
}
.site-footer ul.list-unstyled li {
  margin-bottom: 0.75rem;
}
.site-footer ul.list-unstyled a {
  color: #a0a0ab;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
}
.site-footer ul.list-unstyled a::before {
  content: '→';
  opacity: 0;
  width: 0;
  color: var(--deep-red-2);
  transition: all 0.25s ease;
  font-weight: bold;
}
.site-footer ul.list-unstyled a:hover {
  color: #ffffff;
  padding-left: 6px;
}
.site-footer ul.list-unstyled a:hover::before {
  opacity: 1;
  width: 12px;
}
.site-footer a {
  color: #a0a0ab;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: var(--deep-red-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #a0a0ab;
}
.footer-contact-item i {
  color: var(--deep-red-2);
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  font-size: 1rem;
  width: 16px;
  text-align: center;
}
.footer-contact-item a {
  text-decoration: none;
  color: #a0a0ab;
  transition: color 0.3s ease;
}
.footer-contact-item a:hover {
  color: var(--deep-red-2);
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0ab !important;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}
.footer-social-icon:hover {
  background: var(--deep-red-2);
  border-color: var(--deep-red-2);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230,0,0,0.4);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.site-footer .footer-bottom a {
  color: #a0a0ab;
  transition: color 0.3s ease;
}
.site-footer .footer-bottom a:hover {
  color: var(--deep-red-2);
}

/* Trust cards */
.trust-cards .card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;box-shadow:var(--card-shadow);padding:1.2rem;color:var(--text-primary);transition: all 0.3s ease;}
.trust-cards .card:hover{transform: translateY(-5px); border-color: var(--deep-red-2); box-shadow: 0 12px 35px rgba(255, 26, 26, 0.15);}
.trust-cards .card .fa-2x{color:var(--deep-red-2)}

/* Testimonials card adjustment */
#testimonialCarousel .card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
}

/* Forms and Inputs */
.form-control, .form-select {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
  background-color: var(--white);
  border-color: var(--deep-red-2);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(179, 0, 0, 0.15);
}
.form-label {
  color: var(--text-primary);
  font-weight: 500;
}

/* Buttons */
.btn-danger{background:var(--deep-red);border-color:var(--deep-red);transition: all 0.3s ease;}
.btn-danger:hover{background:var(--deep-red-2);border-color:var(--deep-red-2);box-shadow:0 0 15px rgba(255, 26, 26, 0.4)}
/* Contrast-safe outline button utilizing custom CSS variables for light/dark modes */
.btn-outline-dark {
  border-width: 2px !important;
  border-color: var(--text-primary) !important;
  color: var(--text-primary) !important;
  background-color: transparent !important;
  transition: all 0.3s ease;
}
.btn-outline-dark:hover {
  background-color: var(--deep-red-2) !important;
  border-color: var(--deep-red-2) !important;
  color: #ffffff !important;
}

/* Floating buttons */
.floating-btn{position:fixed;right:20px;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#ffffff;z-index:1000;box-shadow: 0 4px 15px rgba(0,0,0,0.3);transition: all 0.3s ease;}
.floating-btn.whatsapp{bottom:90px;background:#25D366}
.floating-btn.whatsapp:hover{transform: scale(1.1);background:#20ba5a}
.floating-btn.phone{bottom:30px;background:var(--deep-red)}
.floating-btn.phone:hover{transform: scale(1.1);background:var(--deep-red-2);box-shadow:0 0 15px rgba(255, 26, 26, 0.4)}
.floating-btn i{font-size:20px}

.scroll-top{position:fixed;right:86px;bottom:30px;border-radius:50%;width:44px;height:44px;border:1px solid var(--card-border);background:var(--card-bg);color:var(--text-primary);box-shadow:var(--card-shadow);display:flex;align-items:center;justify-content:center;transition: all 0.3s ease;}
.scroll-top:hover{background:var(--deep-red-2);border-color:var(--deep-red-2);color:#ffffff;transform: translateY(-3px);}

/* Responsive tweaks */
@media(min-width:992px){
  .logo{width:115px;height:115px}
  .brand-title{font-size:1.35rem}
  .tagline{font-size:0.95rem}
}

/* Utilities */
.text-muted{color:#a0a0ab !important}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-size: 1rem;
}

/* About Page Specific Styles */
.about-stats-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.about-stats-card:hover {
  transform: translateY(-5px);
  border-color: var(--deep-red-2);
  box-shadow: 0 12px 35px rgba(255, 26, 26, 0.15);
}
.about-stats-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--deep-red-2);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.about-stats-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Feature/Why Choose Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--deep-red-2);
  box-shadow: 0 12px 35px rgba(255, 26, 26, 0.15);
}
.feature-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(179, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-red-2);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-card-icon {
  background: var(--deep-red-2);
  color: #ffffff;
}

/* Service Card Design */
.service-item-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  height: 100%;
}
.service-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--deep-red-2);
  box-shadow: 0 12px 35px rgba(255, 26, 26, 0.15);
}
.service-item-icon {
  font-size: 2.25rem;
  color: var(--deep-red-2);
  margin-bottom: 1rem;
}

/* Contract Management Timeline */
.timeline-steps {
  position: relative;
  padding: 1rem 0;
}
.timeline-steps::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--card-border);
  transform: translateX(-50%);
}
@media (max-width: 767.98px) {
  .timeline-steps::before {
    left: 20px;
    transform: none;
  }
}
.timeline-step-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-step-item:last-child {
  margin-bottom: 0;
}
.timeline-step-badge {
  position: absolute;
  left: 50%;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--deep-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
  transform: translateX(-50%);
  border: 3px solid var(--white);
  box-shadow: var(--card-shadow);
}
@media (max-width: 767.98px) {
  .timeline-step-badge {
    left: 20px;
    transform: none;
  }
}
.timeline-step-content {
  width: 45%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.timeline-step-content:hover {
  border-color: var(--deep-red-2);
  box-shadow: 0 12px 35px rgba(255, 26, 26, 0.15);
}
/* Alternating sides */
.timeline-step-item:nth-child(odd) .timeline-step-content {
  margin-left: auto;
}
.timeline-step-item:nth-child(even) .timeline-step-content {
  margin-right: auto;
  text-align: right;
}
@media (max-width: 767.98px) {
  .timeline-step-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    text-align: left !important;
  }
}

/* Event Badges */
.event-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  margin: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.event-badge:hover {
  background: var(--deep-red-2);
  color: #ffffff;
  border-color: var(--deep-red-2);
  transform: translateY(-2px);
}
.event-badge i {
  color: var(--deep-red-2);
  margin-right: 0.5rem;
}
.event-badge:hover i {
  color: #ffffff;
}

/* Expertise List styling */
.expertise-list {
  list-style: none;
  padding-left: 0;
}
.expertise-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}
.expertise-list li::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--deep-red-2);
}

/* Testimonials Carousel Custom Controls */
#testimonialCarousel {
  position: relative;
}
#testimonialCarousel .carousel-inner {
  padding: 0 60px; /* gutter for arrow controls so they don't overlap cards */
}
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  opacity: 0.85;
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
body.dark-theme #testimonialCarousel .carousel-control-prev,
body.dark-theme #testimonialCarousel .carousel-control-next {
  background: #111115;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
#testimonialCarousel .carousel-control-prev {
  left: 0;
}
#testimonialCarousel .carousel-control-next {
  right: 0;
}
#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
  opacity: 1;
  background: var(--deep-red);
  border-color: var(--deep-red);
  color: #ffffff !important;
}
/* Override Bootstrap default SVG backgrounds with high-quality FontAwesome icons for precise alignment and styling */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-image: none; /* remove bootstrap default svg */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}
#testimonialCarousel .carousel-control-prev-icon::before {
  content: "\f053"; /* fa-chevron-left */
}
#testimonialCarousel .carousel-control-next-icon::before {
  content: "\f054"; /* fa-chevron-right */
}
#testimonialCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next:hover .carousel-control-next-icon {
  color: #ffffff !important;
}

/* Location Image Hover Zoom */
.location-image-container {
  transition: all 0.3s ease;
}
.location-image-container:hover img {
  transform: scale(1.03);
}
