@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'Manrope', sans-serif;

  /* Color Palette (Required Specs) */
  --color-bg-primary: #F5F5F5;
  --color-bg-secondary: #DFF1F1;
  --color-border: #BBD5DA;
  --color-accent-red: #FF0000;

  /* Color Palette RGB (For opacity controls) */
  --color-bg-primary-rgb: 245, 245, 245;
  --color-bg-secondary-rgb: 223, 241, 241;
  --color-border-rgb: 187, 213, 218;
  --color-accent-red-rgb: 255, 0, 0;

  /* Premium Luxury UI Typography Colors */
  --color-text-title: #0C1A1A;
  --color-text-body: #34484B;
  --color-text-muted: #597377;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(223, 241, 241, 0.35);
  --glass-bg-hover: rgba(223, 241, 241, 0.7);
  --glass-border: rgba(187, 213, 218, 0.55);
  --glass-border-hover: rgba(255, 0, 0, 0.45);

  /* Shadows & Glows */
  --shadow-sm: 0 4px 6px -1px rgba(12, 26, 26, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(12, 26, 26, 0.06), 0 4px 6px -2px rgba(12, 26, 26, 0.02);
  --shadow-lg: 0 20px 30px -5px rgba(12, 26, 26, 0.08), 0 8px 10px -5px rgba(12, 26, 26, 0.03);
  --red-glow-soft: 0 0 15px rgba(255, 0, 0, 0.08);
  --red-glow-medium: 0 0 25px rgba(255, 0, 0, 0.16);
  --red-glow-hard: 0 0 35px rgba(255, 0, 0, 0.35);

  /* Curves & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & GLOBAL BASIS --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-primary);
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-title);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 1rem;
  color: var(--color-text-body);
}

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

/* --- THE FUTURE CANVAS: GRID & ABSTRACT BACKGROUNDS --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(rgba(187, 213, 218, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(187, 213, 218, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(223, 241, 241, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(187, 213, 218, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.02) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.blur-orb-1 {
  top: 15%;
  right: -5%;
  width: 450px;
  height: 450px;
  background-color: var(--color-bg-secondary);
}

.blur-orb-2 {
  bottom: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background-color: var(--color-border);
  animation-duration: 25s;
}

.blur-orb-red {
  top: 45%;
  right: 25%;
  width: 250px;
  height: 250px;
  background-color: rgba(255, 0, 0, 0.25);
  animation-duration: 14s;
  opacity: 0.15;
}

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

  50% {
    transform: translate(40px, -60px) scale(1.1);
  }

  100% {
    transform: translate(-20px, 30px) scale(0.9);
  }
}

/* --- PREMIUM CONTAINER CONSTRAINT --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* --- STICKY NAV SYSTEM --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(245, 245, 245, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  color: var(--color-text-title);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--color-accent-red);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  font-weight: 900;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-body);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-red);
  box-shadow: 0 0 8px var(--color-accent-red);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-text-title);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-text-title);
}

/* Nav Action Button */
.nav-cta {
  display: flex;
  align-items: center;
}

/* --- MOBILE MENU ELEMENT --- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 8px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-title);
  margin: 6px 0;
  transition: var(--transition-normal);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background-color: rgba(245, 245, 245, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--color-border);
  box-shadow: -10px 0 30px rgba(12, 26, 26, 0.05);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 36px 40px;
  gap: 32px;
  transition: var(--transition-slow);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer .nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  width: fit-content;
}

/* --- LUXURY BUTTON SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  gap: 8px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}


/* Premium Solid Red Button */
.btn-primary {
  background-color: var(--color-text-title);
  color: var(--color-bg-primary);
  border-color: var(--color-text-title);
  box-shadow: var(--shadow-md);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover {
  background-color: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.45);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  left: 100%;
}

/* Light Luxury Border Button */
.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--color-text-title);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(223, 241, 241, 0.85);
  border-color: var(--color-accent-red);
  color: var(--color-accent-red);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Neon Glow Outline Button */
.btn-neon {
  background: transparent;
  color: var(--color-text-title);
  border: 1.5px solid var(--color-text-title);
  position: relative;
  z-index: 1;
}

.btn-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent-red);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-neon:hover {
  color: #FFFFFF;
  border-color: var(--color-accent-red);
  box-shadow: var(--red-glow-medium);
  transform: translateY(-2px);
}

.btn-neon:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- GLASSMORPHISM CARDS --- */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--color-accent-red);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 0, 0, 0.08);
  transform: translateY(-6px);
}

/* Accent top-glow laser line inside cards */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-red), transparent);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.card:hover::before {
  transform: scaleX(1);
}

/* Custom indicator tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 50px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  gap: 6px;
}

.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-red);
  box-shadow: 0 0 6px var(--color-accent-red);
}

/* --- SECTIONS SPACING & HEADINGS --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: rgba(223, 241, 241, 0.25);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* --- HERO COMPONENT --- */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-text-title) 30%, var(--color-accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-body);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  max-width: 500px;
}

.hero-stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-title);
  display: flex;
  align-items: center;
}

.hero-stat-item h3 span {
  color: var(--color-accent-red);
}

.hero-stat-item p {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Hero Cinematic Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--red-glow-soft);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Glass decorative overlays on Hero */
.hero-glow-element {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* --- ABOUT SECTION & STATS --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-accent-red);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(255, 0, 0, 0.1);
  max-width: 220px;
}

.about-floating-card h4 {
  font-size: 1.1rem;
  color: var(--color-text-title);
  margin-bottom: 6px;
}

.about-floating-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--color-text-body);
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-title);
  margin-bottom: 4px;
}

.stat-number span {
  color: var(--color-accent-red);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

/* --- SERVICES COMPONENT --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-text-title);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background-color: var(--color-accent-red);
  border-color: var(--color-accent-red);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.service-card:hover .service-icon svg {
  color: #000;
  transform: rotate(5deg) scale(1.05);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-cta {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-title);
}

.service-cta svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.service-card:hover .service-cta {
  color: var(--color-accent-red);
}

.service-card:hover .service-cta svg {
  transform: translateX(4px);
  color: var(--color-accent-red);
}

/* --- THE TIMELINE PROCESS SECTION --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 60px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-bg-primary);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-title);
  z-index: 5;
  transition: var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -16px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -16px;
}

.timeline-item:hover .timeline-badge {
  background-color: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.timeline-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.timeline-card:hover {
  border-color: var(--color-accent-red);
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
}

.timeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- THE EXPERTISE SECTION (Bars and Stacks) --- */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.progress-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.progress-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-title);
}

.progress-track {
  height: 6px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--color-text-title);
  border-radius: 50px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: var(--color-accent-red);
  box-shadow: 0 0 8px var(--color-accent-red);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-normal);
}

.tech-card:hover {
  border-color: var(--color-accent-red);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-title);
}

.tech-card:hover .tech-icon {
  background-color: var(--color-accent-red);
  color: #FFFFFF;
}

.tech-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

/* --- WHAT WE DO GRID --- */
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.what-card {
  padding: 32px;
}

.what-num {
  font-family: var(--font-code);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(187, 213, 218, 0.4);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.what-card:hover .what-num {
  color: rgba(255, 0, 0, 0.85);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-red);
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.15);
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--color-accent-red);
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-title);
  margin-bottom: 24px;
}

.testimonial-author h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-author p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-title);
  transition: var(--transition-normal);
}

.slider-arrow:hover {
  background-color: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--color-border);
  background-color: var(--glass-bg-hover);
}

.faq-item.active {
  border-color: var(--color-accent-red);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.03);
}

.faq-trigger {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-trigger h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-title);
  transition: var(--transition-fast);
}

.faq-item:hover .faq-trigger h3 {
  color: var(--color-text-title);
}

.faq-item.active .faq-trigger h3 {
  color: var(--color-accent-red);
}

.faq-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.faq-icon-box svg {
  width: 14px;
  height: 14px;
  color: var(--color-text-title);
  transition: var(--transition-normal);
}

.faq-item.active .faq-icon-box {
  border-color: var(--color-accent-red);
  background-color: var(--color-accent-red);
}

.faq-item.active .faq-icon-box svg {
  transform: rotate(180deg);
  color: #FFFFFF;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
  padding: 0 32px 24px;
  color: var(--color-text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- SERVICES DETAIL ALTERNATING BLOCKS --- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-block-reverse .service-block-visual {
  order: -1;
}

.service-block-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.service-block-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
}

.service-block-content h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-accent-red);
}

.service-block-content p {
  color: var(--color-text-body);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.service-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.service-benefits li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-red);
}

.service-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.service-stack-item {
  padding: 6px 14px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* --- CONTACT PORTAL SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  padding: 32px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-title);
  margin-bottom: 20px;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-form-card {
  padding: 40px;
  align-self: start;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-title);
}

.form-input {
  background-color: rgba(245, 245, 245, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-title);
  outline: none;
  transition: var(--transition-normal);
}

.form-input:focus {
  background-color: #FFFFFF;
  border-color: var(--color-accent-red);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Simulated Vector Map Layout */
.map-section {
  padding-top: 0;
}

.map-container {
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
  background-color: var(--color-bg-secondary);
}

.map-visual-grid {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(187, 213, 218, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(187, 213, 218, 0.25) 1px, transparent 1px);
  background-size: 30px 30px;
  position: absolute;
  top: 0;
  left: 0;
}

.map-vector-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
}

.map-pin-glowing {
  width: 24px;
  height: 24px;
  background-color: var(--color-accent-red);
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 20px var(--color-accent-red), 0 0 35px var(--color-accent-red);
  animation: pinPulse 2s infinite;
  margin: 0 auto 12px;
}

@keyframes pinPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
  }

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

.map-pin-label {
  background-color: var(--color-text-title);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* --- PREMIUM FOOTER COMPONENT --- */
.footer {
  background-color: rgba(223, 241, 241, 0.35);
  border-top: 1px solid var(--color-border);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 260px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-title);
  transition: var(--transition-normal);
}

.social-btn:hover {
  background-color: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.25);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent-red);
  padding-left: 4px;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-newsletter p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form .form-input {
  flex-grow: 1;
  background-color: rgba(245, 245, 245, 0.8);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-legal-links a:hover {
  color: var(--color-accent-red);
}

/* --- INNER PAGES BREADCRUMB HEADER --- */
.inner-hero {
  padding: 140px 0 60px;
  background-color: rgba(223, 241, 241, 0.2);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.inner-hero h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-body);
}

.breadcrumb a:hover {
  color: var(--color-accent-red);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

/* --- PREMIUM LEGAL TEXT WRAPPERS --- */
.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text-title);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-red);
}

/* --- REVEAL SCROLL CLASS SYSTEMS --- */
.reveal {
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .services-grid,
  .what-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin-right: auto;
    margin-left: auto;
  }

  .about-split,
  .expertise-grid,
  .service-block,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-block-reverse .service-block-visual {
    order: 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-badge {
    left: 4px !important;
  }

  .services-grid,
  .what-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: span 2;
  }

  .contact-form-card {
    padding: 30px 20px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .legal-wrapper {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: span 1;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* --- SUCCESS STATE & GREEN HOVER GLOW --- */
#contact-success-wrapper {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-fade-in {
  animation: successFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(46, 204, 113, 0.15);
  border: 2px solid #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ecc71;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
  animation: successPulse 2s infinite;
}

.success-icon-wrapper svg {
  width: 36px;
  height: 36px;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.success-tag {
  background-color: rgba(46, 204, 113, 0.1) !important;
  border-color: rgba(46, 204, 113, 0.3) !important;
  color: #27ae60 !important;
}

.success-tag::before {
  background-color: #2ecc71 !important;
  box-shadow: 0 0 6px #2ecc71 !important;
}

#contact-success-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #27ae60;
}

.success-message {
  color: var(--color-text-body);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Green Glow Hover Effect for the entire card on Success State */
.contact-form-card.success-state {
  border-color: #2ecc71 !important;
  background: rgba(223, 241, 241, 0.4);
}

.contact-form-card.success-state:hover {
  border-color: #2ecc71 !important;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(46, 204, 113, 0.45) !important;
  background: rgba(223, 241, 241, 0.7);
}

.contact-form-card.success-state::before {
  background: linear-gradient(90deg, transparent, #2ecc71, transparent) !important;
}

.btn-success-back {
  border-color: rgba(46, 204, 113, 0.4) !important;
}

.btn-success-back:hover {
  background-color: #2ecc71 !important;
  border-color: #2ecc71 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.45) !important;
}