/* ============================================
   FlamingSoft Inc. - Modern Website Styles
   Brand Color: #801515 (Red)
   Fonts: Syne (display) + Outfit (body)
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #801515;
  --primary-light: #a02020;
  --primary-dark: #5e0f0f;
  --primary-glow: rgba(128, 21, 21, 0.3);
  --accent: #a81d84;
  --dark: #0c0e14;
  --dark-surface: #13151e;
  --dark-card: #1a1d2a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --font-display: 'Syne', 'Montserrat', sans-serif;
  --font-body: 'Outfit', 'Montserrat', sans-serif;
  --font-main: 'Outfit', 'Montserrat', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s ease;
  --transition-slow: 0.6s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(128, 21, 21, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

button, input, textarea, select {
  cursor: none;
  font-family: var(--font-body);
}

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

ul {
  list-style: none;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, background 0.2s ease;
  transform: translate(-50%, -50%);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-dot.hover {
  transform: translate(-50%, -50%) scale(2);
  background: var(--white);
}

.cursor-outline.hover {
  width: 60px;
  height: 60px;
  border-color: var(--primary-light);
  background: var(--primary-glow);
}

.cursor-dot.click {
  transform: translate(-50%, -50%) scale(0.5);
}

.cursor-outline.click {
  width: 30px;
  height: 30px;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--gray-600);
  line-height: 1.8;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(128, 21, 21, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.section-badge-dark {
  background: rgba(128, 21, 21, 0.2);
  color: #ff8a8a;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--gray-400);
}

.section-gray {
  background: var(--gray-50);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.text-center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all var(--transition-med);
  border: none;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(128, 21, 21, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(128, 21, 21, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn i {
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-med);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  transition: color var(--transition-med);
}

.navbar.scrolled .nav-logo {
  color: var(--gray-900);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-med);
  filter: brightness(0) invert(1);
}

.navbar.scrolled .nav-logo-img {
  filter: none;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--primary);
  background: rgba(128, 21, 21, 0.08);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition-med);
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-900);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 14, 20, 0.95) 0%, rgba(128, 21, 21, 0.6) 100%);
  z-index: 1;
}

/* Gradient mesh hero background */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 12% 45%, rgba(128, 21, 21, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 75% 15%, rgba(168, 29, 132, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 55% 85%, rgba(128, 21, 21, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(94, 15, 15, 0.12) 0%, transparent 55%);
}

/* Animated particles/grid effect */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(128, 21, 21, 0.4);
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(128, 21, 21, 0.15);
  border: 1px solid rgba(128, 21, 21, 0.25);
  border-radius: 50px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #ff6b6b;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
  line-height: 1.08;
}

.hero h1 .highlight {
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--primary);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
  line-height: 1.8;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* Hero social proof */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-proof-dots {
  display: flex;
}

.proof-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 2px solid rgba(255,255,255,0.15);
  margin-left: -8px;
}

.proof-dot:first-child {
  margin-left: 0;
}

.proof-dot:nth-child(2) {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.proof-dot:nth-child(3) {
  background: linear-gradient(135deg, #ff6b6b, var(--primary));
}

.hero-proof > span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  z-index: 2;
  opacity: 0.15;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 1s forwards;
  opacity: 0;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  padding: 160px 0 100px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 21, 21, 0.15), transparent 70%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 29, 132, 0.1), transparent 70%);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.page-hero .breadcrumb a:hover {
  color: var(--primary-light);
}

.page-hero .breadcrumb span {
  color: var(--primary);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all var(--transition-med);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition-med);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(128, 21, 21, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: all var(--transition-med);
}

.card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin-bottom: 16px;
}

/* Glass Card variant */
.card-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(128, 21, 21, 0.3);
}

.card-glass h3, .card-glass h4 {
  color: var(--white);
}

.card-glass p {
  color: var(--gray-400);
}

.card-glass .card-icon {
  background: rgba(128, 21, 21, 0.2);
  color: #ff6b6b;
}

.card-glass:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}

/* ---------- Feature/Image card ---------- */
.card-image {
  padding: 0;
  overflow: hidden;
}

.card-image .card-img {
  height: 220px;
  overflow: hidden;
}

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

.card-image:hover .card-img img {
  transform: scale(1.08);
}

.card-image .card-body {
  padding: 28px;
}

/* ---------- Stats ---------- */
.stat-item {
  text-align: center;
  padding: 32px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.stat-number span {
  font-size: 2rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 400;
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

.section-dark .stat-number {
  color: #ff6b6b;
}

.section-dark .stat-label {
  color: var(--gray-400);
}

/* ---------- Process Section ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  opacity: 0.15;
}

.process-step {
  text-align: center;
  padding: 40px 30px;
  position: relative;
}

.process-step .step-number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 24px rgba(128, 21, 21, 0.25);
  transition: transform var(--transition-med);
}

.process-step:hover .step-number {
  transform: scale(1.15);
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ---------- Portfolio Grid ---------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  border: 2px solid var(--gray-200);
  background: transparent;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(128, 21, 21, 0.05);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  transition: transform var(--transition-med);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover {
  transform: translateY(-4px);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 20, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: var(--white);
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform var(--transition-med);
}

.portfolio-overlay .tag {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transform: translateY(10px);
  transition: transform var(--transition-med) 0.05s;
}

.portfolio-overlay .portfolio-link {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition-med) 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay .tag {
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-overlay .portfolio-link {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
  color: var(--gray-800);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(128, 21, 21, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--gray-400);
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 3px;
}

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

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.social-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(128, 21, 21, 0.1);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

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

/* ---------- Blog Cards ---------- */
.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-med);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card .blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-card .blog-body {
  padding: 24px;
}

.blog-card .blog-date {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-card p {
  font-size: 0.95rem;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition-fast);
}

.blog-card:hover .read-more {
  gap: 10px;
}

/* ---------- Pricing Section ---------- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: all var(--transition-med);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured .pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-body);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card .pricing-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.pricing-card .pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card .pricing-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.pricing-card .pricing-features li i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ---------- Testimonial / Quote ---------- */
.quote-block {
  position: relative;
  padding: 36px;
  padding-left: 44px;
  border-left: 4px solid var(--primary);
  background: rgba(128, 21, 21, 0.03);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 36px 0;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-block p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gray-700);
}

.quote-block .quote-source {
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ---------- Feature List ---------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
}

.feature-item:hover {
  background: rgba(128, 21, 21, 0.03);
}

.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(128, 21, 21, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-item h4 {
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.95rem;
}

/* ---------- Contact Info ---------- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(128, 21, 21, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-info-item p {
  font-size: 0.95rem;
}

/* ---------- Marquee / Ticker ---------- */
.marquee-section {
  padding: 18px 0;
  background: var(--primary);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.marquee-track span::after {
  content: '\2666';
  opacity: 0.3;
  font-size: 0.6rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.trust-name:hover {
  color: var(--gray-600);
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

/* ---------- Why Cards Layout ---------- */
.why-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card-full {
  width: 100%;
}

.why-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- Services Card ---------- */
.services-grid {
  gap: 30px;
}

.services-card {
  padding: 44px;
  border-radius: var(--radius-lg);
}

.services-card .card-icon {
  background: rgba(128, 21, 21, 0.2);
  color: #ff6b6b;
}

/* Service checklist (for dark sections) */
.service-checklist {
  margin: 24px 0;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.service-checklist li i {
  color: #ff6b6b;
  font-size: 0.75rem;
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo-img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
}

.loader-bar {
  width: 100%;
  height: 3px;
  margin-top: 14px;
  background: var(--primary);
  border-radius: 2px;
  animation: loaderBar 1.5s ease-in-out infinite;
  position: relative;
}

@keyframes loaderBar {
  0% { width: 0; left: 0; }
  50% { width: 100%; left: 0; }
  100% { width: 0; left: 100%; }
}

/* ---------- Magnetic Hover Effect Elements ---------- */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .process-steps::before { display: none; }
  .hero-visual { display: none; }
  .why-card-grid { grid-template-columns: 1fr 1fr; }
  .trust-logos { gap: 12px; }
  .trust-name { font-size: 0.75rem; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .why-card-grid { grid-template-columns: 1fr; }

  .trust-bar { padding: 32px 0; }
  .trust-logos { gap: 8px; }
  .trust-name { font-size: 0.7rem; letter-spacing: 0; }
  .trust-divider { width: 3px; height: 3px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right var(--transition-med);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--gray-700) !important;
    padding: 12px 20px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(128, 21, 21, 0.08) !important;
    color: var(--primary) !important;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide custom cursor on mobile/touch devices */
  .cursor-dot, .cursor-outline {
    display: none;
  }

  body {
    cursor: auto;
  }

  a, button, input, textarea, select {
    cursor: auto;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .page-hero { padding: 140px 0 70px; }
  .stat-number { font-size: 2.5rem; }
  .services-card { padding: 28px; }
  .hero-proof { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Utility classes ---------- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Smooth image placeholder gradient */
.img-placeholder {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 2rem;
}

/* ---------- About Page ---------- */

/* Centered card variant */
.card-center {
  text-align: center;
}

.card-icon-center {
  margin: 0 auto 20px;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Founder cards */
.founders-grid {
  gap: 40px;
  align-items: stretch;
}

.founder-card {
  display: flex;
  gap: 28px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-med);
}

.founder-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-initial {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.founder-info h3 {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.founder-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.founder-info p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.founder-socials {
  display: flex;
  gap: 10px;
}

.founder-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.founder-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(128, 21, 21, 0.06);
}

/* Serve grid (4 columns with glass cards) */
.serve-grid .card-glass {
  padding: 36px 28px;
}

@media (max-width: 1024px) {
  .founders-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }
  .founder-socials { justify-content: center; }
  .serve-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact Page ---------- */
.contact-grid {
  gap: 60px;
}

.why-choose-card {
  background: var(--gray-50);
}

.feature-item-compact {
  padding: 10px 0;
}

@media (max-width: 1024px) {
  .contact-grid { gap: 40px; }
}

/* ---------- Form States ---------- */

/* Honeypot — invisible to real users */
.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Success message */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid #d1fae5;
}

.form-success.visible {
  display: flex;
}

.form-success-icon {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-success p {
  color: var(--gray-600);
  margin-bottom: 24px;
  max-width: 360px;
}

/* Error message */
.form-error {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.form-error.visible {
  display: flex;
}

.form-error i {
  flex-shrink: 0;
  font-size: 1.1rem;
}

.form-error span {
  flex: 1;
}

.form-error-close {
  background: none;
  border: none;
  color: #991b1b;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.form-error-close:hover {
  opacity: 1;
}

/* Submit button states */
.btn-text,
.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Turnstile widget spacing */
.cf-turnstile {
  margin-bottom: 4px;
}

/* Small outline button for "Send Another" */
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}
