/* =============================================
   ELEGANT IT - Official Website Stylesheet
   Theme: Professional White & Red
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #e01010;
  --primary-dark: #b80d0d;
  --primary-light: #ff3333;
  --primary-soft: rgba(224, 16, 16, 0.05);
  --primary-glow: rgba(224, 16, 16, 0.25);
  --glass-bg: rgba(20, 21, 33, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --white: #08090d;
  --const-white: #ffffff;
  --off-white: #10111a;
  --gray-50: #121319;
  --gray-100: #1c1e28;
  --gray-200: #2a2d3d;
  --gray-300: #3b3f54;
  --gray-400: #6f738c;
  --gray-500: #9fa3b8;
  --gray-600: #c8cbd9;
  --gray-700: #e2e4ed;
  --gray-800: #f3f4f8;
  --gray-900: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 68px rgba(0, 0, 0, 0.55);
  --shadow-red: 0 8px 30px rgba(224,16,16,0.35);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --navbar-height: 80px;
}

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

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

body, input, button, select, textarea,
.hero-desc, .sec-sub, .card-body, .stat-lbl, .why-left-block p, .w-mini-sub, .wf-desc, .proc-desc, .t-text, .t-role, .cta-txt p, .dropdown-desc {
  font-family: 'EB Garamond', Georgia, serif !important;
}

body {
  background-color: var(--white);
  color: var(--gray-700);
  line-height: 1.75;
  overflow-x: hidden;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6, 
.section-title, .page-hero-title, .sec-title, .hero-title,
.pricing-name, .timeline-year, .stat-number, .counter-number,
.dropdown-title, .w-mini-title, .wf-title, .proc-ring span, .proc-title, .t-qt, .t-av, .t-name, .cta-txt h2, .btn-red, .btn-border, .btn-cta-w, .btn-cta-o, .hero-eyebrow, .sec-eyebrow {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif !important;
  font-weight: 700;
  color: var(--gray-800);
}

h1, h2, h3, h4, h5, h6, 
.section-title, .page-hero-title, .sec-title, .hero-title, .cta-txt h2 {
  color: var(--gray-800) !important;
}

.red {
  color: var(--primary) !important;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  background: rgba(10, 11, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  height: 68px;
}

.navbar.scrolled .nav-logo img {
  height: 22px;
}

/* Homepage specific navbar blending at the top */
body.home-page .navbar:not(.scrolled) {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.home-page .navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}
body.home-page .navbar:not(.scrolled) .nav-links a::after {
  background: var(--primary);
}
body.home-page .navbar:not(.scrolled) .nav-links a:hover,
body.home-page .navbar:not(.scrolled) .nav-links a.active {
  color: #ffffff;
  background: rgba(224, 16, 16, 0.15);
}
body.home-page .navbar:not(.scrolled) .nav-logo img {
  filter: none;
}
body.home-page .navbar:not(.scrolled) .dropdown-trigger {
  color: rgba(255, 255, 255, 0.85);
}
body.home-page .navbar:not(.scrolled) .dropdown-trigger:hover {
  color: #ffffff;
}
body.home-page .navbar:not(.scrolled) .hamburger span {
  background: #ffffff;
}

/* Fallback to standard navbar colors when mobile menu is open on homepage */
body.home-page .navbar:not(.scrolled):has(.hamburger.open) {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
body.home-page .navbar:not(.scrolled):has(.hamburger.open) .nav-links a {
  color: var(--gray-700);
}
body.home-page .navbar:not(.scrolled):has(.hamburger.open) .nav-logo img {
  filter: none;
}
body.home-page .navbar:not(.scrolled):has(.hamburger.open) .hamburger span {
  background: var(--gray-700);
}


.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.1px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 32px);
}

/* Services Hover Dropdown Menu styling for outer pages */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 500px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1100;
}
.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(6px);
}
.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  background: transparent !important;
  color: var(--gray-700) !important;
  text-align: left;
}
.dropdown-item::after {
  display: none !important; /* Remove bottom underline bar */
}
.dropdown-item:hover {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}
.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: var(--const-white);
}
.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
}
.dropdown-desc {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.35;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--const-white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-red);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(224,16,16,0.30) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 99px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  transform: translateY(-110%);
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.mobile-menu .nav-cta {
  background: var(--primary) !important;
  color: var(--const-white) !important;
  text-align: center;
  margin-top: 8px;
  border-bottom: none !important;
}

/* Mobile Dropdowns */
.mobile-dropdown-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-dropdown-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: var(--transition-fast);
}
.mobile-dropdown-trigger:hover {
  color: var(--primary);
  background: var(--primary-soft);
}
.mobile-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--gray-400);
}
.mobile-dropdown-item.open .mobile-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(224, 16, 16, 0.015);
  border-radius: var(--radius-sm);
  margin: 0 4px;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}
.mobile-dropdown-item.open .mobile-submenu {
  max-height: 400px;
  padding: 4px 0 12px;
}
.mobile-submenu a {
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--gray-600) !important;
  border-bottom: none !important;
}
.mobile-submenu a:hover,
.mobile-submenu a.active {
  color: var(--primary) !important;
  background: var(--primary-soft) !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 40%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(224,16,16,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,16,16,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  border: 1px solid rgba(224,16,16,0.15);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s forwards;
  opacity: 0;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 99px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s ease 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.7s ease 0.4s forwards;
  opacity: 0;
}

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

.stat-number {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}

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

.stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
}

.hero-card-main .logo-display {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 24px;
}

.hero-card-main .logo-display img {
  width: 100%;
  height: auto;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.service-pill {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.service-pill:hover {
  background: var(--primary-soft);
  border-color: rgba(224,16,16,0.3);
  color: var(--primary);
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
  top: -20px; left: -30px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: -20px; right: -30px;
  animation-delay: 1.5s;
}

.floating-card .fc-icon {
  width: 36px; height: 36px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.floating-card .fc-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-800);
}

.floating-card .fc-text span {
  font-size: 0.72rem;
  color: var(--gray-400);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(224,16,16,0.30);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

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

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

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

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35) !important;
  border: none !important;
  transition: var(--transition) !important;
}

.btn-whatsapp:hover {
  background: #1ebd54 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45) !important;
}

.btn-whatsapp svg {
  fill: currentColor !important;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* =============================================
   SECTION COMMON
   ============================================= */
section {
  padding: 100px 0;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.section-title .red { color: var(--primary); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 0 auto;
}

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

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,16,16,0.15);
}

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

.service-icon {
  width: 60px; height: 60px;
  background: var(--primary-soft);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.service-card-title {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.service-card-link:hover { gap: 10px; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-left-block {
  background: var(--gray-100) !important;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.why-left-block::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(224, 16, 16, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.why-left-block h3 {
  color: #ffffff !important;
}

.why-left-block p {
  color: var(--gray-2) !important;
}

.why-big-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  text-align: center;
}

.why-big-card .big-icon {
  width: 80px; height: 80px;
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
}

.why-big-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.why-big-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.why-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.why-mini-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.why-mini-card .mini-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.why-mini-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.why-mini-card p {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 48px; height: 48px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(224,16,16,0.15);
}

.why-feature-content h4 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.why-feature-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =============================================
   PROCESS SECTION
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(224,16,16,0.1));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px; height: 80px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--primary);
  color: var(--const-white);
  transform: scale(1.1);
}

.step-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  background: var(--off-white);
}

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

.testimonial-card {
  background: rgba(20, 21, 33, 0.65) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 16, 16, 0.2);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-800);
}

.author-role {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #050608;
  color: var(--gray-300);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--gray-400);
  margin-bottom: 24px;
}

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

.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: var(--const-white);
}

.footer-col h4 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a::before {
  content: '›';
  color: var(--primary);
  font-weight: 700;
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--const-white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-contact-icon {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

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

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: calc(var(--navbar-height) + 80px) 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
  background-image: 
    radial-gradient(at 0% 0%, rgba(224, 16, 16, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(224, 16, 16, 0.06) 0px, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,16,16,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--gray-300); }

/* =============================================
   CARDS COMMON
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,16,16,0.15);
}

/* =============================================
   TEAM CARDS
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 16, 16, 0.2);
}

.team-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(224,16,16,0.15));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  border: 3px solid rgba(224,16,16,0.15);
}

.team-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

/* =============================================
   PORTFOLIO / PROJECTS
   ============================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 16, 16, 0.2);
}

.portfolio-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(224,16,16,0.12) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(224,16,16,0.08) 100%);
  z-index: 2;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

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

.portfolio-body {
  padding: 24px;
}

.portfolio-tag {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.portfolio-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.portfolio-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: rgba(224,16,16,0.2);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px; height: 48px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.contact-info-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224,16,16,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  cursor: pointer;
}

/* =============================================
   PRICING
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 16, 16, 0.2);
}

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

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 20px 50px rgba(224, 16, 16, 0.35);
}

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--const-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.pricing-feature .check {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-feature.disabled {
  color: var(--gray-300);
}

.pricing-feature.disabled .check {
  color: var(--gray-200);
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(224,16,16,0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
  user-select: none;
}

.faq-icon {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--const-white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* =============================================
   COUNTER SECTION
   ============================================= */
.counter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
}

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

.counter-item {}

.counter-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* =============================================
   ABOUT VALUES SECTION
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(224, 16, 16, 0.2);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* =============================================
   TECH STACK BADGES
   ============================================= */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-badge {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  cursor: default;
}

.tech-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.tech-badge .tech-icon { font-size: 1.1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .why-mini-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .why-mini-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-red { color: var(--primary); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.bg-off-white { background: var(--off-white); }

/* Divider */
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 99px;
  margin: 16px auto 0;
}

.divider-left { margin-left: 0; }

/* Notification toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #12131a;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast .toast-icon { color: #22c55e; font-size: 1.1rem; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--const-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

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

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 50px; height: 50px;
  border: 3px solid var(--gray-100);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================
   SERVICE IMAGE WRAPPERS
   ============================================= */
.service-image-wrap {
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: auto;
  transition: var(--transition);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.service-image-wrap::after {
  display: none;
}

.service-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.1));
  transition: var(--transition);
  z-index: 1;
}
.service-image-wrap:hover {
  box-shadow: none !important;
}
.service-image-wrap:hover img {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.18));
}

/* Testimonials Page Grid Mappings */
.testimonial-card, .testi {
  background: rgba(20, 21, 33, 0.65) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover, .testi:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 16, 16, 0.2);
}

.stars, .t-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.testi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.t-qt {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  font-family: 'Times New Roman', Times, serif;
}

.testimonial-text, .t-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author, .t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar, .t-av {
  width: 44px; height: 44px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.author-info h4, .t-name {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
}

.author-info span, .t-role {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* =============================================
   COMPARISON TABLES (DARK THEME & ANIMATED)
   ============================================= */
.compare-section {
  background: var(--white);
  padding: 80px 0;
}
.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(20, 21, 33, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.compare-table-wrapper:hover {
  border-color: rgba(224, 16, 16, 0.25);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(224, 16, 16, 0.08);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.compare-table th {
  background: rgba(28, 28, 46, 0.85);
  font-weight: 700;
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  border-bottom: 2px solid rgba(224, 16, 16, 0.25);
}
.compare-table tbody tr {
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.compare-table tbody tr:hover {
  background: rgba(224, 16, 16, 0.04) !important;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table td.feature-name {
  font-weight: 600;
  color: #ffffff;
  width: 30%;
}
.compare-table td.value {
  width: 23.3%;
  color: var(--gray-600);
}
.compare-table td.value-featured {
  background: rgba(224, 16, 16, 0.03) !important;
  font-weight: 600;
  color: #ffffff !important;
}
.compare-table .bullet-check {
  color: var(--primary);
  font-weight: bold;
}
.compare-table .bullet-cross {
  color: var(--gray-400);
}

/* Global input/textarea placeholder style for dark theme */
input::placeholder,
textarea::placeholder {
  color: var(--gray-500) !important;
  opacity: 0.8 !important;
}

