/*
Theme Name: GrowRankers
Theme URI: https://growrankers.com/
Author: GrowRankers Team
Author URI: https://growrankers.com/
Description: Custom WordPress theme for GrowRankers AI Technology.
Version: 1.0.0
Text Domain: grow-rankers
*/

:root {
  --primary: #173dff;
  --primary-light: #3b82f6;
  --dark-bg: #0a0e2e;
  --white: #fff;
  --primary-hover: #355aff;
  --bg-color: #ffffff;
  --text-main: #0a0e2e;
  --text-muted: #64748b;
  --gray-light: #e2e8f0;
  --gray-placeholder: #cbd5e1;
  --font-main: "Inter", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 1rem;
  --radius-lg: 1rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(23, 61, 255, 0.3);
}

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

/* Custom Scrollbar - Main Page Only */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 14px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 20px;
  border: 3px solid var(--dark-bg);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Inner elements subtle scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Firefox */
html,
body {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) var(--dark-bg);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

input,
select,
textarea,
button {
  font-family: var(--font-main);
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: var(--text-main);
}


/* Unify all dark-cased slate utility colors to our exact theme text color */
h1.text-slate-900,
h1.text-slate-950,
h2.text-slate-900,
h2.text-slate-950,
h3.text-slate-900,
h3.text-slate-950,
h4.text-slate-900,
h4.text-slate-950,
h5.text-slate-900,
h5.text-slate-950,
h6.text-slate-900,
h6.text-slate-950 {
  color: var(--text-main);
}

/* Ensure white and transparent text utilities override perfectly */
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
[class*="bg-[#0a0e2e]"] h1,
[class*="bg-[#0a0e2e]"] h2,
[class*="bg-[#0a0e2e]"] h3,
[class*="bg-[#0a0e2e]"] h4,
[class*="bg-[#0a0e2e]"] h5,
[class*="bg-[#0a0e2e]"] h6,
.bg-dark-bg h1,
.bg-dark-bg h2,
.bg-dark-bg h3,
.bg-dark-bg h4,
.bg-dark-bg h5,
.bg-dark-bg h6 {
  color: var(--white);
}

h1.text-transparent,
h2.text-transparent,
h3.text-transparent,
h4.text-transparent,
h5.text-transparent,
h6.text-transparent {
  color: transparent !important;
}


h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.2 !important;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.25 !important;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25 !important;
}

h4 {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.3 !important;
}

h5 {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.3 !important;
}

h6 {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.3 !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-main);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 12px 30px rgba(23, 61, 255, 0.4) !important;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--gray-light);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--white);
  flex-shrink: 0;
}

.btn-icon-secondary {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--white);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-icon-small {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-outline-icon {
  border: 1px solid var(--gray-light);
  background: transparent;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-outline-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.large-icon {
  width: 64px;
  height: 64px;
  font-size: 1.25rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.bg-gradients {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

#hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right,
      #0a0e2eab 0%,
      rgb(5 5 5 / 70%) 70%);
  z-index: -1;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: floatBlob 10s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.shape-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle,
      rgba(59, 130, 246, 0.8) 0%,
      rgba(255, 255, 255, 0) 70%);
}

.shape-2 {
  top: 20%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle,
      rgba(96, 165, 250, 0.6) 0%,
      rgba(255, 255, 255, 0) 70%);
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 30px) scale(1.05);
  }
}

/* .hero-bottom-blur {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, var(--bg-color) 100%);
    pointer-events: none;
    z-index: 2;
} */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 1rem 0;
  /* transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); */
  /* background: rgba(255, 255, 255, 0.02); */
  /* backdrop-filter: blur(10px); */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
  animation: headerEntrance 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes headerEntrance {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.main-header.scrolled {
  background: rgba(10, 14, 46, 0.92);
  backdrop-filter: blur(30px) saturate(150%);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10000;
}

.logo-area {
  display: flex;
  justify-content: flex-start;
}

.logo img {
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(23, 61, 255, 0.2));
}

.nav-menu {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-trigger {
  position: static;
}

.nav-list>li>a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.8;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0;
}

.nav-list>li>a:hover,
.mega-trigger:hover>a {
  opacity: 1;
  color: var(--primary-light);
}

.nav-list>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-list>li>a:hover::after,
.mega-trigger:hover>a::after {
  width: 100%;
}

.mega-trigger>a::before {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

/* ==========================================================================
   ISOLATED PREMIUM AI BUTTON
   ========================================================================== */
.ai-menu-wrapper {
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.gr-ai-button {
  position: relative;
  width: 42px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* The White Button Itself */
.gr-ai-link {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  /* background: #ffffff !important; */
  color: #fff;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  opacity: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10 !important;
  animation: grTextPulse 2s ease-in-out infinite;
  transition: transform 0.3s ease !important;
}

.gr-ai-link:after,
.gr-ai-link:before {
  display: none !important;
  /* Remove any menu underscores */
}

/* The Rotating Border Container */
.gr-ai-border {
  position: absolute;
  inset: -2.5px;
  background: transparent;
  border-radius: 8px;
  z-index: 1;
  overflow: hidden;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2.5px;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%, 0 55%);
}

/* The Shifting Gradient Border Chaser */
.gr-ai-border::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, var(--primary-light), #ffffff, var(--primary), #00f0ff);
  background-size: 300% 100%;
  animation: grBorderShift 1.8s linear infinite;
}

/* The Floating Star Icon */
.gr-ai-star {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 20px;
  height: 20px;
  background: url("https://media.excellentwebworld.com/wp-content/uploads/2025/07/03115600/listing-star-icon.svg") no-repeat center;
  background-size: contain;
  z-index: 20;
  filter: drop-shadow(0 0 5px rgba(23, 61, 255, 0.6));
  animation: grStarCustom 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes grBorderShift {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 300% 0%;
  }
}

@keyframes grTextPulse {

  0%,
  100% {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 20px rgba(59, 130, 246, 0.2);
  }

  50% {
    color: #00f0ff;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.8), 0 0 25px rgba(23, 61, 255, 0.5);
  }
}

@keyframes grStarCustom {
  0% {
    transform: scale(1) rotateZ(0);
  }

  20% {
    transform: scale(1.2) rotateZ(180deg);
  }

  40% {
    transform: scale(1.4) rotateZ(250deg);
  }

  60% {
    transform: scale(1.6) rotateZ(280deg);
  }

  80% {
    transform: scale(1.4) rotateZ(90deg);
  }

  100% {
    transform: scale(1) rotateZ(0);
  }
}

.gr-ai-button:hover .gr-ai-link {
  transform: scale(1.03);
}

.gr-ai-button:hover .gr-ai-border::after {
  animation-duration: 1.5s;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.contact-btn {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.75rem 1.8rem !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 15px -3px rgba(23, 61, 255, 0.2), 0 4px 6px -4px rgba(23, 61, 255, 0.2) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.contact-btn i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(23, 61, 255, 0.35) !important;
  background: var(--primary-hover) !important;
}

.contact-btn:hover i {
  transform: rotate(-15deg) scale(1.1);
}

.mega-wrapper {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.985);
  transform-origin: top center;
  width: 95vw;
  max-width: 1200px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.mega-trigger:hover .mega-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.theme-glass {
  background: linear-gradient(135deg,
      rgba(10, 14, 46, 0.96) 0%,
      rgba(6, 9, 32, 0.98) 100%) !important;
  backdrop-filter: blur(40px) saturate(120%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.85),
    0 0 60px -10px rgba(23, 61, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  overflow: hidden;
}

.theme-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), var(--primary), transparent);
  animation: megaBorderGlow 3s linear infinite;
  z-index: 10;
}

@keyframes megaBorderGlow {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.mega-inner {
  display: flex;
  width: 100%;
}

.mega-left {
  flex: 1.8;
  padding: 3rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.m-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.m-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.m-card:hover::before {
  opacity: 1;
}

.m-icon {
  width: 48px;
  height: 48px;
  background: rgba(23, 61, 255, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.35rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-card span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.m-card:hover,
.m-card.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow:
    0 20px 45px -12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(23, 61, 255, 0.08);
}

.m-card:hover .m-icon,
.m-card.active .m-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow:
    0 8px 20px rgba(23, 61, 255, 0.4),
    0 0 15px rgba(59, 130, 246, 0.2);
}

.m-card:hover span {
  color: var(--primary-light);
}

.m-card.active {
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.18) 0%,
      rgba(147, 51, 234, 0.08) 100%);
}

.m-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.m-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.1em;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.m-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.m-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white) !important;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.m-links a i {
  color: var(--primary-light);
  font-size: 0.95rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-links a:hover,
.m-links a.active,
.m-links a.active-text {
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.18) 0%,
      rgba(147, 51, 234, 0.08) 100%) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  color: #ffffff !important;
  box-shadow:
    0 20px 45px -12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(23, 61, 255, 0.08) !important;
  transform: translateY(-3px) scale(1.02);
}

.m-links a:hover i,
.m-links a.active i,
.m-links a.active-text i {
  color: #ffffff !important;
  transform: scale(1.15);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.mega-right {
  flex: 1;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.r-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.r-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.r-list li {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.r-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), transparent);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.r-list li:hover::before {
  width: 100%;
}

.r-list li i {
  font-size: 0.7rem;
  color: var(--primary-light);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.r-list li:hover {
  color: var(--primary-light);
  padding-left: 1.5rem;
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.r-list li:hover i {
  opacity: 1;
  transform: translateX(0);
}

.about-mega .mega-inner {
  min-height: 400px;
}

.mega-side-banner {
  flex: 0.8;
  background: linear-gradient(180deg, var(--primary) 0%, #0a0e2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.mega-side-banner::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 70%);
  top: -50%;
  left: -50%;
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-content i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.banner-content h3 {
  font-size: 2.8rem;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.mega-content-area {
  flex: 2;
  padding: 3.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resources-mega .mega-inner {
  padding: 3.5rem;
  gap: 4rem;
}

.res-col {
  display: flex;
  flex-direction: column;
}

.res-main {
  flex: 1;
}

.res-recommended {
  flex: 1.5;
}

.res-spotlight {
  flex: 1.5;
}

.res-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 2.5rem;
  letter-spacing: 0.1em;
}

.res-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.res-list li {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.res-list li a i {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.res-list li a:hover {
  color: var(--primary-light);
  transform: translateX(12px);
}

.res-list li a:hover i {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(23, 61, 255, 0.4);
}

.res-study-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.study-thumb {
  width: 90px;
  height: 65px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.study-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.study-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.res-study-item:hover {
  transform: translateX(8px);
}

.res-study-item:hover .study-thumb {
  border-color: var(--primary-light);
  box-shadow: 0 10px 20px rgba(23, 61, 255, 0.2);
}

.res-study-item:hover .study-thumb img {
  transform: scale(1.1);
}

.res-study-item:hover .study-info p {
  color: var(--primary-light);
}

.spotlight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}

.spotlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.spotlight-img {
  height: 220px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spotlight-card:hover .spotlight-img img {
  transform: scale(1.05);
}

.spotlight-content {
  padding: 1.8rem;
}

.spotlight-content h4 {
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--white);
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.section-padding {
  padding: 8rem 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero {
  min-height: 100vh;
  width: 100%;
  position: relative;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 20px 0rem;
  position: relative;
  z-index: 1;
}

.hero-top-grid {
  display: flex;
  gap: 2rem;
  min-height: 85vh;
  align-items: center;
  /* margin-bottom: 6rem; */
  position: relative;
  justify-content: space-between;
}

.hero-text-col {
  /* flex: 6; */
  width: 64%;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--white);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--primary);
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: flex-end;
  /* margin-top: -18rem; */
  position: relative;
  z-index: 10;
  perspective: 1000px;
}

/* Premium Hero Cards */
.hero-card {
  border-radius: 2rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.primary-card {
  background: linear-gradient(135deg,
      rgb(23 61 255 / 90%) 0%,
      rgba(30, 58, 138, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  min-height: 400px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-card:hover {
  background: linear-gradient(135deg,
      rgb(23 61 255 / 95%) 0%,
      rgba(37, 99, 235, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-15px);
}

.center-card {
  background: linear-gradient(180deg,
      rgba(17, 24, 39, 0.9) 0%,
      rgb(23 61 255 / 90%) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 550px;
  justify-content: flex-end;
  text-align: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.center-card:hover {
  background: linear-gradient(180deg,
      rgba(31, 41, 55, 0.95) 0%,
      rgb(23 61 255 / 95%) 100%);
  box-shadow:
    0 45px 90px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-20px) scale(1.02);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-icon {
  background: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.card-icon.outline-icon {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.avatar-group {
  display: flex;
  position: relative;
}

.avatar-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: -15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.avatar-item:last-child {
  margin-right: 0;
}

.avatar-item:hover {
  transform: translateY(-5px);
  z-index: 10;
}

.card-body h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.card-header h2 {
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
}

.card-header p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tags span {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.tags span:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-card-large {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2rem;
  color: white;
  text-decoration: none;
  width: fit-content;
  min-width: 180px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.btn-card-large i {
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.btn-card-large:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-card-large:hover i {
  transform: translate(3px, -3px);
}

.card-center-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.center-card:hover .card-center-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: translate(-50%, -50%) scale(1.1) rotate(10deg);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.center-card h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.line-chart {
  height: 60px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 10px rgba(59, 130, 246, 0.2));
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.hero-badge i {
  margin-left: 0.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
  perspective: 1200px;
}

.word-wrap {
  display: inline-block;
  vertical-align: bottom;
  margin-right: 0.15em;
}

.animate-word {
  display: inline-block;
  opacity: 0;
  filter: blur(15px);
  transform: rotateX(-90deg) translateZ(-50px);
  animation: cinematicReveal 1s cubic-bezier(0, 0.5, 0.5, 1) forwards;
}

.animate-word.highlight {
  color: var(--primary-light);
}

.word-wrap:nth-child(1) .animate-word {
  animation-delay: 0.1s;
}

.word-wrap:nth-child(2) .animate-word {
  animation-delay: 0.2s;
}

.word-wrap:nth-child(3) .animate-word {
  animation-delay: 0.3s;
}

.word-wrap:nth-child(4) .animate-word {
  animation-delay: 0.4s;
}

.word-wrap:nth-child(6) .animate-word {
  animation-delay: 0.55s;
}

.word-wrap:nth-child(7) .animate-word {
  animation-delay: 0.65s;
}

.word-wrap:nth-child(8) .animate-word {
  animation-delay: 0.75s;
}

.word-wrap:nth-child(9) .animate-word {
  animation-delay: 0.85s;
}

@keyframes cinematicReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: rotateX(0) translateZ(0);
  }
}

@keyframes neonFlow {
  to {
    background-position: 200% center;
  }
}

.hero-actions-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(10px); */
  padding: 1rem 1rem 1rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  width: max-content;
  max-width: 100%;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--gray-placeholder);
}

.hero-stat h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat p {
  font-size: 0.875rem;
  color: var(--gray-placeholder);
}

.hero-right-col {
  /* flex: 3; */
  /* position: absolute; */
  right: 0;
  bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-main-image {
  height: auto;
  width: 450px;
  -webkit-mask-image: linear-gradient(to bottom, #0a0e2e 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #0a0e2e 90%, transparent 100%);
}

.floating-stat-card {
  width: 320px;
  padding: 2rem;
  margin-bottom: 2rem;
  z-index: 2;
}

.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.stat-header h3 {
  font-size: 2rem;
  font-weight: 700;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 60px;
  gap: 8px;
}

.bar-chart .bar {
  flex: 1;
  background: var(--gray-placeholder);
  border-radius: 4px;
  transition: var(--transition);
}

.bar-chart .bar.active,
.bar-chart .bar:hover {
  background: var(--primary);
}

.explore-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 500;
  margin-right: 2rem;
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 5;
}

.float-anim-1 {
  animation: float1 6s ease-in-out infinite;
}

.float-anim-2 {
  animation: float2 8s ease-in-out infinite reverse;
}

.float-anim-3 {
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }
}

.about-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.white-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--gray-placeholder);
  border-radius: var(--radius-xl);
}

.feature-list-item .feature-icon {
  font-size: 1.75rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

.feature-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 4rem;
  border-top: 1px solid var(--gray-light);
}

.stat-divider-vertical {
  width: 1px;
  height: 60px;
  background-color: var(--gray-light);
}

.stat-box h2 {
  font-size: 3rem;
  font-weight: 700;
}

.stat-box p {
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.5rem;
}

.how-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.process-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background-color: var(--gray-placeholder);
  border-radius: var(--radius-lg);
}

.process-content h3 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  color: var(--primary);
}

.step-item p {
  color: var(--text-muted);
  padding-top: 0.5rem;
}

.grey-card {
  background-color: var(--gray-placeholder);
  position: relative;
  min-height: 400px;
}

.absolute-bottom-right {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
}

.absolute-bottom-left {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

.limitless-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  background: var(--white);
  padding: 4rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.grid-circles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--gray-placeholder);
}

.limitless-text {
  flex: 1.5;
  min-width: 300px;
}

.limitless-text h2 {
  font-size: 2.5rem;
}

.limitless-desc {
  flex: 1;
  min-width: 300px;
}

.feature-large-img-placeholder {
  background-color: var(--gray-placeholder);
  border-radius: var(--radius-xl);
  border-bottom-left-radius: 0;
  min-height: 300px;
  position: relative;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.card-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(23, 61, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.card-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-bottom h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.card-mini-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--gray-placeholder);
}

.features-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-light);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.icon-tab {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
}

.cta-section {
  padding: 8rem 20px 0px;
  /* max-width: 1400px; */
  margin: 0 auto;
  margin-bottom: -150px;
}

.cta-middle {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.big-text {
  font-size: 2.25rem;
  font-weight: 700;
}

.cta-input-group {
  display: flex;
  gap: 0.5rem;
}

.cta-input-group input {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-light);
  flex: 1;
  font-family: var(--font-main);
}

.cta-visual {
  position: relative;
}

.visual-badge {
  position: absolute;
  left: -3rem;
  top: 25%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 280px;
  color: var(--white);
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.badge-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #4ade80;
  margin-right: 0.5rem;
}

.cta-large-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: var(--gray-placeholder);
  border-radius: 2rem;
}

.cta-stats-mini {
  display: flex;
  gap: 1rem;
  color: var(--white);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  background-color: var(--primary);
}

.connect-section {
  padding: 8rem 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.connect-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--gray-placeholder);
  border-radius: 1.5rem;
}

.huge-title {
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.social-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: var(--transition);
}

.social-circle:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-light);
}

.contact-card .avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--gray-placeholder);
}

.contact-card-text {
  flex: 1;
}

.footer {
  background-color: var(--dark-bg);
  color: var(--white);
}

.footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 20px 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.footer-input-group {
  display: flex;
  gap: 1rem;
}

.footer-input-group input {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  flex: 1;
}

.footer-placeholder {
  width: 100%;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-col,
.footer-contact-col,
.footer-location-col,
.footer-legal-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* AI Icon Animation */
.ai-item img,
.ai-item-mobile img {
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.2));
  }

  50% {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
  }

  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.2));
  }
}

/* AI Ecosystem Section */
.ai-ecosystem-section {
  background: #f8fafc;
  color: var(--text-main);
  padding: 8rem 0;
  overflow: hidden;
  position: relative;
}

.ecosystem-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ecosystem-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.ecosystem-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.eco-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.eco-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -1px;
}

.eco-desc {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.6;
  max-width: 600px;
}

.eco-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.eco-feature-box {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.eco-feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-light);
}

.eco-feature-icon {
  font-size: 1.75rem;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 0.5rem;
}

.eco-feature-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.eco-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eco-feature-list li {
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.eco-feature-list li i {
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 3px;
}

.eco-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.eco-actions .btn-primary {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
}

.eco-actions .btn-outline {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* =========================================
   Responsive Styles for Nav Bar & Site
   ========================================= */

/* Desktop hide mobile elements */
@media (min-width: 1025px) {
  .mobile-accordion,
  .res-mobile-menu,
  .ai-item-mobile,
  .mobile-nav-logo,
  .mobile-canvas,
  .mobile-canvas-overlay {
    display: none !important;
  }
}

/* Tablet and smaller desktop */




/* Very Small Mobile */


/* Very Small Mobile */


.ai-item-mobile {
  display: none;
  /* background: rgba(255, 255, 255, 0.05); */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  /* backdrop-filter: blur(10px); */
  padding: 6px 16px;
  /* border-radius: 100px; */
  color: var(--white);
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.ai-item-mobile img {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 5px var(--primary-light));
}



/* =======================================
   AI INDUSTRY TABS SECTION 
   ======================================= */
/* ==========================================================================
   MODERN INDUSTRY TABS (HORIZONTAL UI MODEL)
   ========================================================================== */
.industry-horizontal-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.industry-nav-horizontal {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  padding: 12px;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: fit-content;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.industry-nav-horizontal::-webkit-scrollbar {
  display: none;
}

.industry-tab {
  position: relative;
  padding: 6px 20px;
  cursor: pointer;
  border-radius: 0.75rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-weight: 600;
  border: 1px solid transparent;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

.industry-tab-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.industry-tab.active .industry-tab-glow {
  opacity: 1;
}

.industry-tab i {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #f1f5f9; */
  border-radius: 10px;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-tab span {
  position: relative;
  z-index: 2;
}

.industry-tab:hover {
  color: var(--primary);
  background: #f8fafc;
  transform: translateY(-3px);
}

.industry-tab.active {
  color: var(--white);
  box-shadow: 0 15px 35px -10px rgba(23, 61, 255, 0.3);
  border-color: transparent;
}

.industry-tab.active i {
  /* background: rgba(255, 255, 255, 0.2); */
  color: var(--white);
  /* backdrop-filter: blur(5px); */
}

.industry-content-horizontal {
  width: 100%;
  background: var(--white);
  border-radius: 1rem;
  padding: 60px 40px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.04);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.industry-content-horizontal::after {
  display: none;
}

.industry-tab-pane {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.industry-tab-pane.active {
  display: grid;
  animation: paneEntranceModern 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paneEntranceModern {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.industry-pane-text {
  animation: paneTextSlide 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes paneTextSlide {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.industry-pane-image {
  position: relative;
  animation: paneImageScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes paneImageScale {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.industry-pane-image::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}

.industry-pane-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2.5rem;
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.15);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-pane-image:hover img {
  transform: translateY(-15px) scale(1.02) rotate(1deg);
  box-shadow: 0 50px 100px -20px rgba(23, 61, 255, 0.2);
}









/* RESPONSIVE */






/* ==========================================================================
   CASE STUDIES SLIDER (PREMIUM DARK UI)
   ========================================================================== */
.case-studies-section {
  background-color: #030712;
  /* Very dark background */
}

.case-study-progress-bar {
  background: var(--primary);
  width: 33.33%;
  /* Default for 3 cards */
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-slider-inner {
  display: flex;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-slide {
  min-width: 100%;
}

.case-study-card {
  background: #ffffff;
  /* White card as per image */
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  transition: all 0.5s ease;
}

.case-study-card .lg\:col-span-5 {
  background-color: #f8fafc;
}

.case-study-card h1,
.case-study-card h2,
.case-study-card h3,
.case-study-card h4,
.case-study-card h5,
.case-study-card h6 {
  color: var(--text-main) !important;
}

.case-study-card p.impact-number {
  color: #020617 !important;
  /* text-slate-950 */
}

.case-study-card p {
  color: inherit;
}



/* ==========================================================================
   OUR PROVEN DEVELOPMENT PROCESS SECTION
   ========================================================================== */
.process-section {
  background-color: #ffffff;
}

.process-tab-pane {
  opacity: 0;
}

.process-tab-pane.active {
  display: grid;
  animation: processFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes processFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-image-container {
  /* animation: processFloat 6s ease-in-out infinite; */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.process-image-container:hover {
  /* transform: translateY(-4px) scale(1.02); */
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
}

.process-image-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-image-container:hover img {
  transform: scale(1.05);
}

@keyframes processFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   FAQ SECTION ACCORDION STYLES
   ========================================================================== */
.faq-section {
  background-color: #fafafc;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0 !important;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.08) !important;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem !important;
}

.faq-item.active .faq-icon-wrapper {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  transform: rotate(45deg);
}

.faq-icon-wrapper i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   PROCESS SECTION INTERACTIVE STYLES
   ========================================================================== */
.process-nav-container {
  margin-bottom: 2rem;
  width: 100%;
}




.process-nav-horizontal {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  padding: 12px;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: fit-content;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.process-nav-horizontal::-webkit-scrollbar {
  display: none;
}

.process-tab {
  position: relative;
  padding: 14px 24px;
  cursor: pointer;
  border-radius: 0.75rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.process-tab-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 61, 255, 0.08) 0%, rgba(23, 61, 255, 0.03) 100%);
  border: 1px solid rgba(23, 61, 255, 0.15);
  border-radius: 0.75rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.process-tab.active .process-tab-glow {
  opacity: 1;
}

.process-tab i {
  font-size: 1.1rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.process-tab span {
  position: relative;
  z-index: 1;
}

.process-tab:hover {
  color: var(--primary);
}

.process-tab.active {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px -5px rgba(23, 61, 255, 0.1);
}



@keyframes processPaneFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.process-tab-pane.active {
  display: grid !important;
  animation: processPaneFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   PREMIUM CTA & MEGA FOOTER STYLES
   ========================================================================== */
.footer-mega-section {
  background-color: #030712;
  background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
}

.footer-grid-overlay {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

@keyframes cyberHandFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.cyber-hand-animated {
  animation: cyberHandFloat 5s ease-in-out infinite;
}

.cta-glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   GLOBAL BORDER RADIUS UNIFICATION (1rem / 16px) FOR CARDS & IMAGES
   ========================================================================== */

/* Enforce 1rem border-radius on all card structures and card-like containers */
.m-card,
.spotlight-card,
.hero-card,
.primary-card,
.center-card,
.glass-card,
.floating-stat-card,
.white-card,
.how-card,
.grey-card,
.feature-card,
.contact-card,
.case-study-card,
.cta-glass-card,
.faq-item,
.industry-tab-pane,
.industry-content-horizontal,
.industry-pane-image,
.process-tab-pane [class*="rounded-"],
[class*="-card"],
[class*="card-"] {
  border-radius: 1rem !important;
}

/* Enforce 1rem border-radius on all content images, excluding small icons, logos, and circular avatars */
img:not(.avatar):not([class*="avatar"]):not([style*="50%"]):not([class*="rounded-full"]):not([style*="width: 40px"]):not([style*="height: 40px"]):not([class*="logo"]):not([src*="logo"]) {
  border-radius: 1rem;
}

/* Override Tailwind custom utility classes for roundings on cards/images to exactly 1rem */
.rounded-2xl,
.rounded-3xl,
.rounded-\[2rem\],
.rounded-\[2\.5rem\],
.rounded-\[1\.5rem\] {
  border-radius: 1rem !important;
}

/* ==========================================================================
   Responsive Refactor & Inline CSS Migration
   ========================================================================== */

/* Hero fallback background */
.hero-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0e2e;
  z-index: -3;
}

/* Hero title title-with-badges */
.title-with-badges {
  display: block;
  margin-bottom: 2.5rem;
}

/* Hero description */
.hero-desc {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.125rem;
  max-width: 90%;
  line-height: 1.6;
  text-align: left;
}

/* Hero actions and stats container */
.hero-actions-stats {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  background: transparent;
  border: none;
  padding: 10px 40px 10px 0px;
  box-shadow: none;
}

/* Hero action buttons wrap */
.action-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Hero actions padding and borders */
.hero .action-buttons .btn-primary {
  border-radius: var(--radius-sm);
  padding: 1rem 2rem;
}

.hero .action-buttons .btn-outline {
  border-radius: var(--radius-sm);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
}

/* Hero stats alignment */
.hero-stats-group {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-stat {
  text-align: left;
}

.hero-stat p {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hero right column flex alignment */
.hero-right-col {
  display: flex;
  justify-content: center;
}

/* Hero animation coordinate delays */
.hero-main-image.hero-animate-image {
  animation-delay: 0.3s;
}

.hero-desc.hero-animate-fade-up {
  animation-delay: 0.4s;
}

.hero-actions-stats.hero-animate-fade-up {
  animation-delay: 0.6s;
}

/* Blob animation duration helpers */
.duration-4s {
  animation-duration: 4s !important;
}

.duration-5s {
  animation-duration: 5s !important;
}

.duration-7s {
  animation-duration: 7s !important;
}

/* Reusable pattern radial grids */
.pattern-grid-white {
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 40px 40px;
}

.pattern-grid-primary {
  background-image: radial-gradient(#173dff 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Entrance reveal transition delays */
.delay-100 {
  transition-delay: 0.1s !important;
}

.delay-200 {
  transition-delay: 0.2s !important;
}

.delay-300 {
  transition-delay: 0.3s !important;
}

/* Premium bottom mask overlay */
.premium-blur-overlay {
  background: linear-gradient(to top, #f8fafc 0%, rgba(248, 250, 252, 0.8) 7%, rgba(248, 250, 252, 0) 30%) !important;
  mask-image: linear-gradient(to top, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 20%, transparent 100%);
}

/* Tall enterprise-grade security card dark backdrop */
.tall-security-card {
  background: rgb(10 14 46 / 92%) !important;
}

/* Trust rating brand logos responsive dimensions */
.rating-platform-logo {
  width: 40px !important;
  height: 40px !important;
}

/* Hero Section Mobile/Tablet Responsive Adaptations */




/* ==========================================================================
   About Us Page Scoped Hero Styling (Isolated to .about- to prevent conflicts)
   ========================================================================== */

.about-hero-section {
  padding-top: 150px;
  padding-bottom: 60px;
}

.about-hero-wave {
  background-image: url('images/about_hero_wave.png');
}

/* Centered Flex Layout for Desktop and Tablet */
.about-hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.about-hero-text-col {
  width: 100%;
  max-width: 56rem;
  /* 4xl */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.about-hero-title {
  font-family: 'Merriweather', serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-align: center;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
}

.about-hero-desc {
  color: #cbd5e1;
  /* slate-300 */
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  /* text-sm to text-lg responsive */
  line-height: 1.625;
  max-width: 42rem;
  /* 2xl */
  margin: 0 auto 2.5rem auto;
  text-align: center;
  opacity: 0.9;
}

.about-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.about-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Scoped Button Custom Border Radius & Color */
.about-hero-section .btn {
  border-radius: var(--radius-sm) !important;
}

.about-hero-section .btn-outline {
  color: white !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Entrance Animation Keyframes (Self-contained for About Hero) */
@keyframes aboutHeroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-hero-animate-fade-up {
  opacity: 0;
  animation: aboutHeroFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Tablet/Mobile Responsive Override: Left-Align on Mobile Screen sizes <= 640px */


/* ==========================================================================
   Global Helper Styles
   ========================================================================== */
.text-primary {
  color: var(--primary);
}

/* ==========================================================================
   About Us Page Scoped Story Section Styling
   ========================================================================== */

.about-story-title {
  font-family: 'Merriweather', serif !important;
}

.about-story-highlight {
  color: var(--primary) !important;
}

.about-story-offset-frame {
  border-radius: 80px 16px;
  transform: translate(16px, 16px);
}

.group:hover .about-story-offset-frame {
  transform: translate(8px, 8px);
  border-color: rgba(23, 61, 255, 0.45) !important;
}

.about-story-img-container {
  border-radius: 80px 16px;
}

.about-story-img-container:hover {
  box-shadow: 0 25px 60px rgba(10, 14, 46, 0.15);
}

.about-story-img-inner {
  border-radius: 70px 12px;
}

/* Mobile responsive fixes for Story Section */


/* ==========================================================================
   About Us Page — Solutions Comparative Section Responsive
   ========================================================================== */

/* Paragraph description: left-align, no stray margins */
.about-solutions-desc {
  text-align: left;
  margin: 0;
}

/* Tablet (≤ 1024px): tighten header gap */


/* Mobile (≤ 640px): shrink card padding, reset middle card scale, full-width CTA */


/* ==========================================================================
   Premium Contact Us Page Custom Styles
   ========================================================================== */

/* Contact info and careers sections */
.contact-page .contact-info-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(23, 61, 255, 0.07), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f8fafc 100%);
  overflow: hidden;
}

.contact-page .contact-info-pattern {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(23, 61, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 61, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
}

.contact-page .contact-section-header {
  position: relative;
}

.contact-page .contact-section-kicker,
.contact-page .contact-careers-kicker {
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.contact-page .contact-section-title {
  color: #0a0e2e;
  letter-spacing: -0.02em;
}

.contact-page .contact-section-desc {
  margin: 0;
}

.contact-page .contact-section-action {
  flex: 0 0 auto;
}

.contact-page .contact-info-grid {
  align-items: stretch;
}

.contact-page .contact-info-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  border-color: rgba(226, 232, 240, 0.92) !important;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(10, 14, 46, 0.045) !important;
  min-height: 320px;
}

.contact-page .contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.contact-page .contact-info-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(23, 61, 255, 0.05);
  pointer-events: none;
}

.contact-page .contact-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 61, 255, 0.28) !important;
  box-shadow: 0 24px 58px rgba(23, 61, 255, 0.1) !important;
}

.contact-page .contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-page .contact-info-icon {
  border-radius: 16px !important;
  border: 1px solid rgba(23, 61, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.contact-page .contact-card-heading {
  flex-wrap: wrap;
}

.contact-page .contact-status-badge {
  white-space: nowrap;
}

.contact-page .contact-card-meta {
  border-top: 1px solid #eef2f7;
  margin-top: 24px;
  padding-top: 16px;
  gap: 12px;
}

.contact-page .contact-location-list li {
  padding: 12px;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: #f8fafc;
}

.contact-page .contact-location-list li span:first-child {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 61, 255, 0.08);
  margin-top: 0 !important;
  flex: 0 0 auto;
}

.contact-page .contact-channel-link {
  border-radius: 14px !important;
  border-color: #eef2f7 !important;
  background: #f8fafc !important;
}

.contact-page .contact-channel-link:hover {
  transform: translateX(4px);
  border-color: rgba(23, 61, 255, 0.28) !important;
  box-shadow: 0 12px 28px rgba(10, 14, 46, 0.06);
}

.contact-page .contact-channel-icon {
  border-radius: 12px !important;
}

.contact-page .contact-careers-section {
  /* background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important; */
  padding-top: 0;
}

.contact-page .contact-careers-cta {
  border-radius: 28px !important;
  background: #0a0e2e !important;
  box-shadow: 0 28px 80px rgba(10, 14, 46, 0.22), 0 18px 45px rgba(23, 61, 255, 0.16) !important;
}

/* .contact-page .contact-careers-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 4;
} */

.contact-page .contact-careers-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.8s ease;
  z-index: 0;
}

.contact-page .contact-careers-cta:hover .contact-careers-bg {
  transform: scale(1.07);
}

.contact-page .contact-careers-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 14, 46, 0.96) 0%, rgba(10, 14, 46, 0.84) 42%, rgba(23, 61, 255, 0.44) 72%, rgba(59, 130, 246, 0.16) 100%),
    radial-gradient(circle at 22% 18%, rgba(59, 130, 246, 0.34), transparent 34%),
    linear-gradient(180deg, rgba(10, 14, 46, 0.12), rgba(10, 14, 46, 0.48));
}

.contact-page .contact-careers-grid {
  min-height: 430px;
  padding: 56px;
}

.contact-page .contact-careers-title {
  letter-spacing: -0.02em;
  max-width: 680px;
}

.contact-page .contact-careers-cta a {
  min-height: 48px;
}

.contact-page .contact-careers-content {
  position: relative;
  z-index: 2;
}

.contact-page .contact-careers-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 0 18%;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.24);
  filter: blur(46px);
}

.contact-page .contact-careers-points {
  max-width: 680px;
}

.contact-page .contact-careers-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.contact-page .contact-careers-points span {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  flex: 0 0 auto;
}

.contact-page .contact-careers-primary {
  box-shadow: 0 14px 34px rgba(10, 14, 46, 0.22) !important;
}

.contact-page .contact-careers-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.contact-page .contact-careers-signal {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 60px rgba(10, 14, 46, 0.28);
  backdrop-filter: blur(18px);
  padding: 28px;
  overflow: hidden;
}

.contact-page .contact-careers-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%),
    radial-gradient(circle at 90% 0%, rgba(59, 130, 246, 0.3), transparent 35%);
  pointer-events: none;
}

.contact-page .contact-careers-signal-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.contact-page .contact-careers-signal-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-page .contact-careers-signal-top i {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 12px 30px rgba(23, 61, 255, 0.35);
}

.contact-page .contact-careers-signal h3 {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-page .contact-careers-signal p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.contact-page .contact-careers-mini-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-page .contact-careers-mini-grid div {
  border-radius: 14px;
  background: rgba(10, 14, 46, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 10px;
}

.contact-page .contact-careers-mini-grid strong,
.contact-page .contact-careers-mini-grid span {
  display: block;
}

.contact-page .contact-careers-mini-grid strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.contact-page .contact-careers-mini-grid span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}







/* Refined split careers CTA */
.contact-page .contact-careers-section {
  /* background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important; */
  padding-top: 24px;
}

.contact-page .contact-careers-cta {
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 30px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(10, 14, 46, 0.1) !important;
  padding: 8px !important;
}

.contact-page .contact-careers-cta::before {
  border-color: rgba(23, 61, 255, 0.1);
  border-radius: 29px;
}

.contact-page .contact-careers-grid {
  min-height: 430px;
  padding: 0 !important;
  gap: 0 !important;
}

.contact-page .contact-careers-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
  background: #0a0e2e;
}

.contact-page .contact-careers-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(10, 14, 46, 0.82) 100%),
    radial-gradient(circle at 20% 18%, rgba(59, 130, 246, 0.2), transparent 34%);
  pointer-events: none;
}

.contact-page .contact-careers-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.contact-page .contact-careers-cta:hover .contact-careers-media img {
  transform: scale(1.07);
}

.contact-page .contact-careers-media-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(10, 14, 46, 0.66);
  backdrop-filter: blur(14px);
  padding: 16px 18px;
}

.contact-page .contact-careers-media-badge span,
.contact-page .contact-careers-media-badge strong {
  display: block;
}

.contact-page .contact-careers-media-badge span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.contact-page .contact-careers-media-badge strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.contact-page .contact-careers-content {
  position: relative;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(59, 130, 246, 0.2), transparent 28%),
    linear-gradient(135deg, #0a0e2e 0%, #111a45 54%, #173dff 100%);
  padding: clamp(2rem, 4vw);
}

.contact-page .contact-careers-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  pointer-events: none;
}

.contact-page .contact-careers-title {
  max-width: 760px;
  font-size: clamp(2.25rem, 4vw, 4.35rem);
  line-height: 1.05;
}

.contact-page .contact-careers-content>* {
  position: relative;
  z-index: 1;
}

.contact-page .contact-careers-points {
  max-width: 760px;
}

.contact-page .contact-careers-points div {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.075);
}

.contact-page .contact-careers-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.contact-page .contact-careers-roles span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  padding: 8px 12px;
}

.contact-page .contact-careers-roles i {
  color: #93c5fd;
}





/* Simple contact inquiry cards and office locations */
.contact-page .contact-info-section {
  background: #f8fafc !important;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.contact-page .contact-info-section .container {
  max-width: 1400px;
}

.contact-page .contact-simple-card {
  min-height: 320px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(10, 14, 46, 0.07);
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-page .contact-simple-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(23, 61, 255, 0.11);
}

.contact-page .contact-simple-icon {
  color: var(--primary);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 3rem;
}

.contact-page .contact-simple-card h3 {
  max-width: 430px;
  color: #05082b;
  font-family: 'Merriweather', serif;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.45rem;
}

.contact-page .contact-simple-card p {
  color: #24304f;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-page .contact-simple-card a {
  margin-top: auto;
  color: #003cff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 600;
  transition: gap 0.2s ease, color 0.2s ease;
}

.contact-page .contact-simple-card a:hover {
  gap: 16px;
  color: var(--primary-hover);
}

.contact-page .contact-office-section {
  min-height: 560px;
  background: #080d2e;
  color: #ffffff;
  padding: 5rem 0 0;
}

.contact-page .contact-office-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(23, 61, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%);
  pointer-events: none;
}

.contact-page .contact-office-header>span {
  display: inline-flex !important;
  width: auto;
  color: var(--primary-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.22) !important;
}

.contact-page .contact-office-header>span span {
  display: inline-block;
  margin: 0;
}

.contact-page .contact-office-header h2 {
  color: #ffffff;
  font-family: 'Merriweather', serif;
  font-size: clamp(2.35rem, 4vw, 3.85rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.contact-page .contact-office-header h2 span {
  display: inline;
  white-space: nowrap;
}

.contact-page .contact-office-header p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 500;
}

.contact-page .contact-office-details {
  max-width: 720px;
  margin: 2.6rem auto 0;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.028);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  padding: 1.8rem 2rem 2rem;
}

.contact-page .contact-office-city {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  /* background: #3b82f6; */
  color: #ffffff;
  font-weight: 900;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
}

.contact-page .contact-office-details h3 {
  color: #ffffff;
  font-family: 'Merriweather', serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 900;
  margin-bottom: 1.6rem;
}

.contact-page .contact-office-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact-page .contact-office-phone,
.contact-page .contact-office-direction {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.contact-page .contact-office-phone i {
  color: var(--primary);
  font-size: 1.25rem;
}

.contact-page .contact-office-direction {
  min-width: 150px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.contact-page .contact-office-direction:hover {
  background: var(--primary);
}

.contact-page .contact-office-skyline {
  /* height: 190px; */
  opacity: 0.92;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 1.5rem;
  overflow: hidden;
  pointer-events: none;
}

.contact-page .contact-office-skyline span {
  width: 15%;
  height: 58%;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-bottom: 0;
  border-radius: 52px 52px 0 0;
  position: relative;
  box-shadow:
    inset 0 24px 0 transparent,
    0 -16px 0 -12px rgba(255, 255, 255, 0.86);
}

.contact-page .contact-office-skyline span::before,
.contact-page .contact-office-skyline span::after {
  content: "";
  position: absolute;
  bottom: 0;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
}

.contact-page .contact-office-skyline span::before {
  left: -38%;
  width: 54%;
  height: 72%;
}

.contact-page .contact-office-skyline span::after {
  right: -38%;
  width: 54%;
  height: 82%;
}

.contact-page .contact-office-skyline span:nth-child(2),
.contact-page .contact-office-skyline span:nth-child(5) {
  height: 78%;
}

.contact-page .contact-office-skyline span:nth-child(3) {
  height: 92%;
}





/* Simple careers banner CTA */
.contact-page .contact-careers-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.contact-page .contact-careers-cta {
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(105deg, #070b27 0%, #0b123d 46%, #173dff 100%) !important;
  box-shadow: 0 28px 70px rgba(10, 14, 46, 0.16) !important;
  padding: 0 !important;
}

/* .contact-page .contact-careers-cta::before,
.contact-page .contact-careers-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
} */

/* .contact-page .contact-careers-cta::before {
  inset: auto -10% -55% 42%;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 62%);
  z-index: 1;
} */

/* .contact-page .contact-careers-cta::after {
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 38%);
  z-index: 1;
} */

.contact-page .contact-careers-grid {
  min-height: 330px;
  gap: 0 !important;
  padding: 0 !important;
}

.contact-page .contact-careers-content {
  position: relative;
  z-index: 3;
  padding: clamp(2rem, 5vw, 3.8rem);
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible;
}

.contact-page .contact-careers-content::before {
  display: none;
}

.contact-page .contact-careers-title {
  max-width: 760px;
  margin: 0 0 1.15rem;
  color: #ffffff;
  font-family: 'Merriweather', serif;
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.contact-page .contact-careers-copy {
  max-width: 560px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 600;
  line-height: 1.65;
}

.contact-page .contact-careers-primary {
  min-height: 52px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #173dff);
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(23, 61, 255, 0.32) !important;
  padding: 0.95rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-page .contact-careers-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(23, 61, 255, 0.42) !important;
}

.contact-page .contact-careers-primary i {
  transition: transform 0.25s ease;
}

.contact-page .contact-careers-primary:hover i {
  transform: translateX(4px);
}

.contact-page .contact-careers-visual {
  position: relative;
  z-index: 3;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.5rem 1.5rem 0;
}

.contact-page .contact-careers-visual::before {
  display: none;
}

.contact-page .contact-careers-photo-card {
  position: relative;
  overflow: hidden;
  border: 5px solid #050816;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.contact-page .contact-careers-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-page .contact-careers-photo-card--main {
  width: min(240px, 48%);
  aspect-ratio: 0.72;
  transform: translate(28px, 6px);
  z-index: 2;
}

.contact-page .contact-careers-photo-card--side {
  width: min(230px, 46%);
  aspect-ratio: 0.72;
  transform: translate(-2px, -28px);
  z-index: 1;
}





/* Underlined Peer Inputs styling */
.contact-page input[type="text"]:focus~label,
.contact-page input[type="text"]:not(:placeholder-shown)~label,
.contact-page input[type="email"]:focus~label,
.contact-page input[type="email"]:not(:placeholder-shown)~label,
.contact-page input[type="tel"]:focus~label,
.contact-page input[type="tel"]:not(:placeholder-shown)~label,
.contact-page textarea:focus~label,
.contact-page textarea:not(:placeholder-shown)~label {
  transform: translateY(-1rem) scale(0.85);
  color: var(--primary);
}

.contact-page select:focus~.absolute,
.contact-page select:valid~.absolute {
  color: var(--primary);
}

/* Floating map pins animations */
@keyframes mapPinPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(23, 61, 255, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(23, 61, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(23, 61, 255, 0);
  }
}

/* Custom form checkbox focus styling */
.contact-page input[type="checkbox"]:focus {
  color: var(--primary);
}

.contact-page input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Tooltip and Hotspot styling updates */
.contact-page .group\/pin:hover .relative {
  transform: scale(1.15);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Map positioning adjustments for responsive display */

/* Extracted Inline Styles */
.contact-hero-bg {
  background-image: url('images/contact_hero_bg.png');
}

.contact-title-color {
  color: var(--text-main) !important;
}

.contact-phone-row {
  grid-template-columns: 100px 1fr !important;
}

/* Original contact.php styles */
.contact-form-wrapper .contact-floating-field {
  padding-top: 16px;
}

.contact-form-wrapper .contact-input {
  height: 46px;
  line-height: 1.4;
}

.contact-form-wrapper .contact-input,
.contact-form-wrapper .contact-select-button,
.contact-form-wrapper .country-picker-button {
  border-bottom-color: #dbe3ef !important;
}

.contact-form-wrapper .contact-input:focus,
.contact-form-wrapper .contact-select-button[aria-expanded="true"],
.contact-form-wrapper .country-picker-button[aria-expanded="true"] {
  border-bottom-color: #173dff !important;
}

.contact-form-wrapper textarea.contact-input {
  height: auto;
  /* min-height: 92px; */
  padding-top: 18px;
}

.contact-form-wrapper .contact-floating-label {
  top: 20px !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #ffffff;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.2;
  padding-right: 8px;
}

.contact-form-wrapper .contact-input:placeholder-shown+.contact-floating-label {
  top: 28px !important;
  color: #8a9bb6 !important;
  font-size: 14px !important;
  font-weight: 500;
}

.contact-form-wrapper .contact-floating-field:focus-within .contact-floating-label,
.contact-form-wrapper .contact-input:not(:placeholder-shown)+.contact-floating-label {
  top: 0 !important;
  color: #173dff !important;
  font-size: 12px !important;
  font-weight: 600;
}

.contact-form-wrapper .contact-textarea-label {
  max-width: calc(100% - 12px);
}

.contact-form-wrapper .contact-textarea-field .contact-input:placeholder-shown+.contact-floating-label {
  top: 34px !important;
}

.contact-select-picker,
.country-code-picker {
  position: relative;
  isolation: isolate;
  z-index: 20;
}

.contact-select-picker.is-open,
.country-code-picker.is-open {
  z-index: 80;
}

.contact-select-button,
.country-picker-button {
  min-height: 46px;
  border: 0;
  border-bottom: 2px solid #dbe3ef;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-select-button:hover,
.contact-select-button[aria-expanded="true"],
.country-picker-button:hover,
.country-picker-button[aria-expanded="true"] {
  border-color: #173dff;
  box-shadow: none;
}

.contact-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.contact-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 9999;
  min-width: 230px;
  width: 100%;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
  display: none;
  padding: 6px;
}

.contact-select-menu.is-open {
  display: block;
}

.contact-select-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.16s ease, color 0.16s ease;
}

.contact-select-option:hover,
.contact-select-option.is-selected {
  background: rgba(23, 61, 255, 0.08);
  color: #173dff;
}

.country-picker-button {
  padding: 10px 0;
}

.country-picker-current {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.country-picker-current>span.country-picker-flag {
  display: none;
}

.country-picker-flag,
.country-picker-flag-img {
  width: 22px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
}

.country-picker-current .country-picker-flag-img {
  width: 24px;
  height: 18px;
}

.country-picker-code {
  color: #0f172a;
  white-space: nowrap;
}

.country-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 9999;
  width: min(300px, 82vw);
  max-height: 292px;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
  display: none;
}

.country-picker-menu.is-open {
  display: block;
}

.country-picker-search-wrap {
  padding: 8px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.country-picker-search {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 9px;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  padding: 8px 10px;
}

.country-picker-search:focus {
  border-color: rgba(23, 61, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(23, 61, 255, 0.08);
}

.country-picker-options {
  max-height: 230px;
  overflow-y: auto;
  padding: 6px;
}

.country-picker-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease;
}

.country-picker-option:hover,
.country-picker-option.is-selected {
  background: rgba(23, 61, 255, 0.08);
  color: #173dff;
}

.country-picker-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.country-picker-dial {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
}

.country-picker-options::-webkit-scrollbar {
  width: 8px;
}

.country-picker-options::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}

.country-picker-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.contact-file-upload {
  border: 1px dashed #dbe3ef !important;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.95));
  padding: 18px 18px !important;
  margin-top: 2px;
}

.contact-file-upload:hover {
  border-color: rgba(23, 61, 255, 0.55) !important;
  background: rgba(23, 61, 255, 0.025);
}

.contact-file-text {
  color: #334e73;
  font-size: 14px;
  font-weight: 700;
}

.contact-file-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(23, 61, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-guarantees {
  display: grid;
  gap: 10px;
  padding: 4px 0 2px !important;
}

.contact-guarantees>div {
  line-height: 1.45;
}

.contact-guarantee-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(23, 61, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contact-checkboxes {
  border-top: 1px solid #eef2f7;
  padding-top: 16px !important;
}

.contact-checkboxes input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  margin-top: 0;
  flex: 0 0 auto;
}

.contact-submit-row {
  border: 1px solid #e6edf6 !important;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px !important;
}

.contact-captcha-box {
  background: #ffffff !important;
  border-color: #dbe3ef !important;
  border-radius: 12px !important;
  min-height: 48px;
}

.contact-captcha-box input {
  height: 32px;
  border-radius: 10px !important;
}

/* ========================================= */
/* DM Process Section Styles */
/* ========================================= */
.dm-process-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dm-process-container {
  display: flex;
  /* max-width: 1320px; */
  width: 100%;
  background: #0a0e2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(23, 61, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dm-process-visual {
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 600px;
  position: relative;
}

.dm-process-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 46, 0.8) 0%, rgba(23, 61, 255, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dm-process-container:hover .dm-process-visual::before {
  opacity: 0.3;
}

.dm-process-content {
  flex: 1;
  background: linear-gradient(135deg, rgba(23, 61, 255, 0.1) 0%, rgba(10, 14, 46, 0.95) 100%);
  backdrop-filter: blur(10px);
  color: white;
  padding: 40px 40px 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dm-process-content::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.dm-process-content::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.dm-process-timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dm-process-step {
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
}

.dm-process-step:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

.dm-process-step.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dm-process-indicator {
  position: absolute;
  left: -39px;
  top: 26px;
  width: 16px;
  height: 16px;
  background: #0a0e2e;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.dm-process-step.active .dm-process-indicator {
  background: #3b82f6;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
  transform: scale(1.3);
}

.dm-process-title {
  font-size: 20px !important;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.dm-process-step.active .dm-process-title {
  color: #ffffff;
}

.dm-process-desc {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 90%;
  display: none;
  transition: all 0.6s ease-in-out;
  padding-right: 15px;
}

.dm-process-step.active .dm-process-desc {
  display: block;
  animation: dmFadeIn 0.6s ease-out;
}

@keyframes dmFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.contact-form-wrapper input.wpcf7-form-control:focus,
.contact-form-wrapper textarea.wpcf7-form-control:focus,
.contact-form-wrapper .contact-input:focus {
  border-bottom-color: var(--primary) !important;
}

.contact-form-wrapper .contact-submit-row {
  display: flex !important;
  align-items: start !important;
  justify-content: space-between !important;
  border: 1px solid #e6edf6 !important;
  border-radius: 16px !important;
  padding: 12px 16px !important;
  background: #f8fafc !important;
  margin-top: 1.5rem !important;
}

.contact-form-wrapper .contact-captcha-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #fff !important;
  border: 1px solid #dbe3ef !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  height: 48px !important;
  margin: 0 !important;
}

.contact-form-wrapper .contact-captcha-box label {
  margin: 0 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.contact-form-wrapper .contact-captcha-box input,
.contact-form-wrapper .contact-captcha-box input.wpcf7-form-control {
  border: 1px solid #dbe3ef !important;
  border-radius: 8px !important;
  height: 32px !important;
  width: 60px !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
}

.contact-form-wrapper input[type="submit"].wpcf7-submit,
.contact-form-wrapper button[type="submit"] {
  background-color: #173dff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 32px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(23, 61, 255, 0.3) !important;
  transition: all 0.3s ease !important;
  height: 48px !important;
  width: auto !important;
}

.contact-form-wrapper input[type="submit"].wpcf7-submit:hover,
.contact-form-wrapper button[type="submit"]:hover {
  background-color: #355aff !important;
  transform: translateY(-2px) !important;
}

.contact-form-wrapper .country-code-picker {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.contact-form-wrapper .country-picker-button {
  border: none !important;
  border-bottom: 1px solid #dbe3ef !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 10 !important;
}

/* Fix CF7 Validation Error UI so it doesnt break layout */
.contact-form-wrapper .wpcf7-form-control-wrap {
  position: static !important;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
  position: absolute !important;
  bottom: -20px !important;
  left: 0 !important;
  font-size: 11px !important;
  color: #e11d48 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  background: transparent !important;
  border: none !important;
}

.contact-form-wrapper .contact-phone-row {
  position: relative !important;
}

.contact-form-wrapper .wpcf7-response-output {
  border-radius: 8px !important;
  margin-top: 24px !important;
  padding: 12px !important;
  font-size: 14px !important;
}

.contact-form-wrapper .contact-captcha-box .wpcf7-not-valid-tip {
  bottom: -20px !important;
  left: 0 !important;
}

/* Fix country dropdown layout issues */
.contact-form-wrapper .country-picker-menu {
  border: 1px solid #dbe3ef !important;
}

.contact-form-wrapper .country-picker-option {
  border: none !important;
}

.wpcf7-list-item {
  margin: 0 0 0 0 !important;
}

/* Fix floating labels broken by CF7 wrapper */
.contact-page .contact-floating-field:has(input:not(:placeholder-shown)) .contact-floating-label,
.contact-page .contact-floating-field:has(textarea:not(:placeholder-shown)) .contact-floating-label,
.contact-page .contact-floating-field:focus-within .contact-floating-label {
  transform: translateY(-1rem) scale(0.85) !important;
  color: var(--primary) !important;
}

/* Fix budget range default text color */
.contact-form-wrapper .contact-select-value.text-slate-500 {
  color: #0f172a !important;
}

/* Fix input overflow and floating labels */
.contact-form-wrapper * {
  box-sizing: border-box !important;
}

.contact-page .contact-floating-field:has(input:not(:placeholder-shown)) .contact-floating-label,
.contact-page .contact-floating-field:has(textarea:not(:placeholder-shown)) .contact-floating-label,
.contact-page .contact-floating-field:focus-within .contact-floating-label {
  transform: translateY(-1rem) scale(0.85) !important;
  color: var(--primary) !important;
}

/* Fix budget range default text color */
.contact-form-wrapper .contact-select-value.text-slate-500 {
  color: #0f172a !important;
}

/* Core resets missing from preflight */
* {
  box-sizing: border-box !important;
}

body {
  font-family: 'Inter', sans-serif;
}

/* Fix Contact Form 7 wrappers and overflow */
.contact-form-wrapper .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

.contact-form-wrapper .contact-input {
  width: 100% !important;
  max-width: 100% !important;
}

.wpcf7-form-control.wpcf7-select.contact-select-button {
  width: 100% !important;
}

/* Custom Checkbox Styling for CF7 */
.contact-checkboxes .wpcf7-list-item {
  display: inline-block;
  margin: 0 !important;
}

.contact-checkboxes input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.contact-checkboxes .wpcf7-list-item-label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: inline-block;
  line-height: 1.5;
  font-size: 14px;
  color: #334155;
  user-select: none;
}

.contact-checkboxes .wpcf7-list-item-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.contact-checkboxes input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
  background-color: #173dff;
  border-color: #173dff;
}

.contact-checkboxes input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-checkboxes input[type="checkbox"]:focus-visible+.wpcf7-list-item-label::before {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* CF7 Validation Error Styling to prevent layout breaking */
.wpcf7-form-control-wrap {
  position: relative !important;
  display: block !important;
}

.wpcf7-not-valid-tip {
  position: absolute !important;
  bottom: -20px !important;
  left: 0 !important;
  font-size: 11px !important;
  color: #e11d48 !important;
  margin: 0 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

div.wpcf7-response-output {
  border-radius: 8px !important;
  margin-top: 20px !important;
  font-size: 14px !important;
}

/* RESTORE DELETED UI FIXES */
.contact-form-wrapper input.wpcf7-form-control.wpcf7-text,
.contact-form-wrapper input.wpcf7-form-control.wpcf7-tel,
.contact-form-wrapper input.wpcf7-form-control.wpcf7-email,
.contact-form-wrapper textarea.wpcf7-form-control.wpcf7-textarea,
.contact-form-wrapper .contact-input {
  border: none !important;
  border-bottom: 1px solid #dbe3ef !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 8px 0 !important;
}

.contact-form-wrapper .country-picker-button {
  border: none !important;
  border-bottom: 1px solid #dbe3ef !important;
  padding: 8px 0 !important;
  background: transparent !important;
  width: 100% !important;
}

.contact-form-wrapper .contact-file-upload {
  position: relative !important;
  overflow: visible !important;
}

.contact-form-wrapper .contact-file-upload input[type="file"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

/* FIX VALIDATION MESSAGES VISIBILITY */
.wpcf7-not-valid-tip {
  position: absolute !important;
  top: 100% !important;
  bottom: auto !important;
  left: 0 !important;
  margin-top: 4px !important;
  font-size: 11px !important;
  color: #e11d48 !important;
  line-height: 1 !important;
  white-space: nowrap;
  z-index: 50 !important;
}

.wpcf7-not-valid {
  border-bottom-color: #e11d48 !important;
}

/* Ensure Country Picker Button is always a flex container */
.contact-form-wrapper .country-picker-button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 46px !important;
}

.country-picker-current {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.contact-form-wrapper .country-code-picker {
  display: block !important;
  width: 100% !important;
}

/* ABSOLUTE OVERRIDE FOR COUNTRY PICKER */
.contact-form-wrapper .contact-phone-row {
  display: grid !important;
  grid-template-columns: 110px 1fr !important;
  gap: 12px !important;
  align-items: flex-end !important;
  width: 100% !important;
}

.contact-form-wrapper .country-code-picker {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 50 !important;
}

.contact-form-wrapper .country-picker-button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 10px !important;
  border: none !important;
  border-bottom: 2px solid #dbe3ef !important;
  background: transparent !important;
  visibility: visible !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

.contact-form-wrapper .country-picker-current {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  visibility: visible !important;
}

.contact-form-wrapper .country-picker-flag-img {
  display: block !important;
  width: 24px !important;
  height: 16px !important;
  visibility: visible !important;
  border-radius: 2px !important;
}

.contact-form-wrapper .country-picker-code {
  display: block !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  visibility: visible !important;
}

.contact-form-wrapper .fa-chevron-down {
  display: inline-block !important;
  visibility: visible !important;
  color: #173dff !important;
}

.contact-form-wrapper .country-picker-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: 250px !important;
  max-height: 250px !important;
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  z-index: 99999 !important;
  padding: 8px !important;
}

.contact-form-wrapper .country-picker-menu.is-open,
.contact-form-wrapper .country-code-picker.is-open .country-picker-menu {
  display: block !important;
}

.contact-form-wrapper .country-picker-options {
  max-height: 200px !important;
  overflow-y: auto !important;
}

.contact-form-wrapper .country-picker-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 8px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  text-align: left !important;
}

.contact-form-wrapper .country-picker-option:hover {
  background: #f1f5f9 !important;
}

/* Blog Pagination */
.gr-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gr-pagination ul.page-numbers li a.page-numbers,
.gr-pagination ul.page-numbers li span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.gr-pagination ul.page-numbers li a.page-numbers {
  background: #fff;
  color: #3d74ff;
  border: 1px solid #e2e8f0;
}

.gr-pagination ul.page-numbers li a.page-numbers:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.gr-pagination ul.page-numbers li span.page-numbers.current {
  background: #3d74ff;
  color: #fff;
  border: 1px solid #3d74ff;
  box-shadow: 0 4px 10px rgba(61, 116, 255, 0.3);
}

/* Single Post Content & Custom Widgets Styles */
.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popular-post {
  display: flex;
  gap: 15px;
}

.popular-post-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.popular-post:hover .popular-post-image img {
  transform: scale(1.1);
}

.popular-post-content {
  flex: 1;
}

.popular-post-title {
  font-size: 1rem !important;
  margin: 3px 0;
  line-height: 1.3 !important;
}

.popular-post-title a {
  color: #1e293b;
  transition: color 0.3s ease;
}

.popular-post-title a:hover {
  color: #3b82f6;
}

.popular-post-date {
  font-size: 0.8rem;
  color: #64748b;
}

.slider {
  position: relative;
  padding: 0 15px;
  overflow: visible;
}

.slider-track {
  margin: 0 -10px;
}

.slider-track .slider-card {
  padding: 0 10px;
  box-sizing: border-box;
}

.blog-card {
  display: flex;
  border: 1px solid #173DFF;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 130px;
}

.blog-card:hover {
  box-shadow: 0 8px 20px #173dff29;
}

.blog-card .blog-image {
  flex: 0 0 200px;
  overflow: hidden;
  border-radius: 10px;
}

.blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card .blog-content {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-content .category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
  color: #173DFF;
}

.blog-content .title {
  font-size: 20px;
  font-weight: 600;
  color: #0a0e2e;
  margin-bottom: 8px;
  line-height: 1.25;
}

.blog-content .desc {
  font-size: 14px;
  color: #2d3748;
  line-height: 1.4;
}

.slider-track.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
}

.slider-track .slick-list {
  overflow: hidden;
  margin: 0 -10px;
}

.slider-track .slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
}

.slider-dots {
  display: flex !important;
  justify-content: center;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.slider-dots li {
  margin: 0 4px;
}

.slider-dots li button {
  width: 10px !important;
  height: 10px !important;
  padding: 0 !important;
  border: none;
  border-radius: 50%;
  background: #000 !important;
  text-indent: -9999px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dots li.slick-active button {
  background: #173DFF !important;
}

.slick-dots {
  bottom: -50px !important;
}

.slick-prev,
.slick-next {
  display: none !important;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.single-post-content {
  color: #334155;
  font-size: 1.125rem;
  line-height: 1.8;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
  color: #0a0e2e;
  font-weight: 700;
  margin-top: 2.5em;
  margin-bottom: 1em;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.single-post-content h2 {
  font-size: 1.875rem;
}

.single-post-content h3 {
  font-size: 1.5rem;
}

.single-post-content h4 {
  font-size: 1.25rem;
}

.single-post-content h2:first-child,
.single-post-content h3:first-child {
  margin-top: 0;
}

.single-post-content p {
  margin-bottom: 1.5em;
}

.single-post-content a {
  color: #173DFF;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: all 0.3s ease;
}

.single-post-content a:hover {
  color: #0a1a6b;
  text-decoration-color: #0a1a6b;
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.single-post-content ul li {
  list-style-type: disc;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}

.single-post-content ul li::marker {
  color: #173DFF;
}

.single-post-content ol li {
  list-style-type: decimal;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}

.single-post-content ol li::marker {
  color: #0a0e2e;
  font-weight: 600;
}

.single-post-content blockquote {
  border-left: 4px solid #173DFF;
  background: #f8fafc;
  padding: 1.5em 2em;
  margin: 2em 0;
  font-style: italic;
  color: #0a0e2e;
  font-weight: 500;
  border-radius: 0 12px 12px 0;
}

.single-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2em auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.single-post-content table {
  width: 100%;
  margin: 2.5em 0;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  background-color: #fff;
}

.single-post-content table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #0a0e2e;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.single-post-content table td {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  color: #475569;
  vertical-align: top;
}

.single-post-content table tr:nth-child(even) {
  background-color: #f8fafc;
}

.single-post-content pre {
  background-color: #0a0e2e;
  color: #f8fafc;
  padding: 1.5em;
  border-radius: 12px;
  overflow-x: auto;
  margin: 2em 0;
  font-size: 0.9em;
}

.single-post-content code {
  background-color: #f1f5f9;
  color: #e11d48;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.single-post-content pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

/* User Requested Blog Content Overrides */
.blog-content {
  overflow: hidden;
}

.blog-content iframe,
.blog-content object,
.blog-content embed,
.blog-content video {
  max-width: 100%;
}

.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6,
.blog-content strong {
  color: #0A0E2E;
}

.blog-content h2 {
  font-size: 35px;
  margin: 0px;
}

.blog-content h3 {
  font-size: 28px;
  margin: 0px;
}

.blog-content h4 {
  font-size: 25px;
  margin: 0px;
}

.blog-content h5 {
  font-size: 22px;
  margin: 0px;
}

.blog-content h6 {
  font-size: 18px;
  margin: 0px;
}

.blog-content td {
  border: 1px solid #000;
  padding: 10px;
}

.blog-content table {
  padding: 5px;
  width: 100% !important;
  height: auto !important;
  border-radius: 6px;
  border-collapse: collapse;
  overflow: auto;
  display: block;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .blog-content h2 {
    font-size: 30px;
  }

  .blog-content h3 {
    font-size: 26px;
  }

  .blog-content h4 {
    font-size: 22px;
  }

  .blog-content h5 {
    font-size: 20px;
  }

  .blog-content h6 {
    font-size: 18px;
  }
}