:root {
  --primary: #0f172a;
  --accent: #99cc33;
  --accent-hover: #86b32d;
  --location-red: #ef4444;
}

html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}
/* Ensure the page has smooth scrolling globally */

/* State when the button is visible */
#backToTop.show {
  opacity: 1;
  translate-y: 0;
  pointer-events: auto;
}
body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-lexend {
  font-family: "Lexend", sans-serif;
}

/* NAVIGATION STABILITY */
/* #mainNav {
  height: 80px;
  transition: background-color 0.4s ease, height 0.4s ease, box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
  will-change: background-color, height, box-shadow;
} */

/* #mainNav.scrolled {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.3);
  height: 70px;
} */
/* #mainNav.scrolled {
  background-color: rgb(255 255 255 / 90%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.3);
  height: 70px;
} */
/* PREMIUM DROPDOWN FIXES */
/* .dropdown {
  position: relative;
}

.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  display: block;
} */

/* .dropdown-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
} */

/* MOBILE MENU SMOOTH TRANSITION */
/* #mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

#mobile-menu.active {
  max-height: 500px;
  opacity: 1;
} */

/* HERO SLIDER LOGIC */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  transition: transform 10s linear;
  transform: scale(1);
}

.slide.active img {
  transform: scale(1.15);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dot.active {
  width: 24px;
  background: var(--accent);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.btn-premium {
  background-color: var(--accent);
  color: #0f172a;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(153, 204, 51, 0.4);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* NEW PREMIUM FOOTER STYLES */
.footer-bg {
  background-color: #020617;
  background-image: radial-gradient(
    circle at 50% -20%,
    #1e293b 0%,
    #020617 100%
  );
  position: relative;
  overflow: hidden;
}

.footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.footer-link {
  position: relative;
  display: inline-block;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(153, 204, 51, 0.3);
  transform: translateY(-5px);
}

/* ABOUT SECTION STYLING */
/* ABOUT SECTION STYLING */
.about-image-stack {
  position: relative;
  padding-bottom: 12%;
}

.about-image-main {
  width: 88%;
  border-radius: 2rem;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  height: 480px;
}

.about-image-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 300px;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 8px solid #fff;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.accent-dot-grid {
  background-image: radial-gradient(#99cc33 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.btn-premium {
  background-color: var(--accent);
  color: #0f172a;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(153, 204, 51, 0.4);
}

@media (max-width: 1024px) {
  .about-image-main {
    height: 400px;
  }

  .about-image-sub {
    height: 220px;
  }
}

/* WHY CHOOSE US CUSTOM STYLES */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-10px);
  border-color: var(--accent);
}

/*Our Expertise*/
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-8px);
  border-color: var(--accent);
}

.solution-card {
  background: white;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  height: 100%;
}

.solution-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.btn-premium {
  background-color: var(--accent);
  color: #0f172a;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(153, 204, 51, 0.4);
}
/* Premium Trust Cards */
.trust-card {
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.4),
    rgba(15, 23, 42, 0.1)
  );
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.trust-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(153, 204, 51, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.trust-card:hover::before {
  transform: translateX(100%);
}

.solution-card {
  background: white;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  height: 100%;
}

.solution-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.btn-premium {
  background-color: var(--accent);
  color: #0f172a;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(153, 204, 51, 0.4);
}

/* Premium Trust Cards */
.trust-card {
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.4),
    rgba(15, 23, 42, 0.1)
  );
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.trust-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(153, 204, 51, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.trust-card:hover::before {
  transform: translateX(100%);
}

.solution-card {
  background: white;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  height: 100%;
}

.solution-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.btn-premium {
  background-color: var(--accent);
  color: #0f172a;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(153, 204, 51, 0.4);
}
/* World Map Specific Styles */
.map-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
}

/* Specific Red Property Marker */
.property-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  color: var(--location-red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transform: translate(
    -50%,
    -100%
  ); /* Position tip of icon on the coordinate */
}

.property-marker i {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.property-marker::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  background-color: var(--location-red);
  border-radius: 50%;
  opacity: 0.4;
  transform: scale(1);
  animation: pulse-red 2s infinite;
  z-index: -1;
}

.tooltip {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #0f172a;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 11px;
  width: 220px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.3);
  z-index: 30;
  line-height: 1.5;
  text-align: center;
}

.tooltip b {
  color: var(--location-red);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-marker:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* Generic pulse for green dots */
.map-marker::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-marker 2s infinite;
}

@keyframes pulse-marker {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
/* Tech Icon Styles */
.tech-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}
.tech-card:hover {
  background: rgba(153, 204, 51, 0.05);
  border-color: var(--accent);
}
/* Industry Slider Styles */
.industry-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.industry-track {
  display: flex;
  width: calc(250px * 10);
  animation: scroll 30s linear infinite;
}

.industry-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 5));
  }
}

.industry-mini-card {
  flex: 0 0 230px;
  margin: 0 10px;
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  text-align: center;
  transition: all 0.3s ease;
}

.industry-mini-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}
/* Logo Grid & Certifications */
.logo-item {
  filter: grayscale(1);
  opacity: 0.5;
  transition: all 0.4s ease;
}
.logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}
.cert-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.cert-badge:hover {
  border-color: var(--accent);
  background: white;
}
.typed-cursor {
  color: #99cc33;
  font-style: normal; /* Keeps the cursor straight even if text is italic */
  margin-left: 2px;
}
