/*
Theme Name: Sagar Khatiwada - Digital Marketing
Theme URI: https://sagarkhatiwada.com.np
Author: Sagar Khatiwada
Author URI: https://sagarkhatiwada.com.np
Description: Theme by Sagar Khatiwada — Digital strategist and marketer with experience in paid ads, SEO, and data-driven marketing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sagar-theme
Tags: one-page, portfolio, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* ===== CSS Variables (matching React design tokens) ===== */
:root {
  /* Core palette - HSL values matching React */
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --primary: 243 75% 59%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 222 47% 11%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 9% 46%;
  --accent: 243 75% 59%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 243 75% 59%;
  --radius: 0.75rem;

  /* Custom tokens */
  --dark-section: 222 47% 11%;
  --dark-section-foreground: 0 0% 100%;
  --gradient-primary: linear-gradient(135deg, hsl(243 75% 59%), hsl(262 83% 58%));
  --shadow-soft: 0 4px 20px -4px hsl(222 47% 11% / 0.1);
  --shadow-glow: 0 8px 30px -8px hsl(243 75% 59% / 0.3);

  /* Fonts */
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ===== Accessibility ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  word-wrap: normal;
}
.screen-reader-text:focus {
  clip: auto;
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.25rem;
  box-shadow: 0 4px 12px hsl(var(--foreground) / 0.2);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Typography ===== */
.font-display {
  font-family: var(--font-display);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border-radius: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
  line-height: 1;
}

.btn-default {
  height: 2.5rem;
  padding: 0.5rem 1rem;
}

.btn-lg {
  height: 2.75rem;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
}

.btn-xl {
  height: 3.5rem;
  padding: 0.5rem 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
}

.btn-icon {
  height: 2.5rem;
  width: 2.5rem;
  padding: 0;
  border-radius: 0.5rem;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
  box-shadow: var(--shadow-glow);
}

.btn-hero {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}
.btn-hero:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.btn-hero:active {
  transform: scale(0.98);
}

.btn-outline {
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}
.btn-outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}
.btn-ghost:hover {
  background: hsl(var(--accent));
}

.btn-dark {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}
.btn-dark:hover {
  background: hsl(var(--foreground) / 0.9);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s, padding 0.3s;
  pointer-events: auto;
}

.header-inner {
  position: relative;
  z-index: 1;
}

.site-header.scrolled {
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  transition: color 0.3s, filter 0.3s;
}

.site-logo .dot {
  color: hsl(var(--primary));
}

/* Custom logo image sizing */
.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.site-logo .custom-logo-link img,
.site-logo img.custom-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s, opacity 0.3s;
}

/* Light/Dark logo switching: hide light logo by default, show dark logo */
.site-logo .logo-light {
  display: none;
}
.site-logo .logo-dark {
  display: inline-flex;
}

/* Dark header pages - text logo turns white */
.dark-header .site-logo,
.dark-header .main-nav > ul > li > a,
.dark-header .main-nav .nav-dropdown-trigger,
.dark-header .main-nav button.nav-dropdown-trigger,
.dark-header .main-nav .nav-dropdown > button {
  color: hsl(0 0% 100%) !important;
}

/* Dark header: if light logo exists, show it and hide dark logo */
.dark-header .site-logo .logo-light {
  display: inline-flex;
  align-items: center;
}
.dark-header .site-logo .logo-dark {
  display: none;
}

/* Dark header fallback: if no light logo, invert the regular logo */
.dark-header .site-logo .custom-logo-link img,
.dark-header .site-logo img.custom-logo {
  filter: brightness(0) invert(1);
}
/* But don't invert the dedicated light logo */
.dark-header .site-logo .logo-light img {
  filter: none;
}

.dark-header .main-nav > ul > li > a,
.dark-header .main-nav .nav-dropdown-trigger,
.dark-header .main-nav button.nav-dropdown-trigger {
  opacity: 0.85;
}
.dark-header .main-nav > ul > li > a:hover,
.dark-header .main-nav > ul > li > a.active,
.dark-header .main-nav .nav-dropdown-trigger:hover,
.dark-header .main-nav .nav-dropdown-trigger.active,
.dark-header .main-nav button.nav-dropdown-trigger:hover {
  color: hsl(var(--primary)) !important;
  opacity: 1;
}
.dark-header .mobile-toggle {
  color: hsl(var(--background)) !important;
}
/* Purple circle overrides dark-header white color */
.dark-header .mobile-toggle.menu-open {
  background: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
}

/* Ensure main-nav is always visible on desktop for dark-header (but NOT mobile) */
@media (min-width: 769px) {
  .dark-header .main-nav {
    display: block;
  }
  .dark-header .main-nav > ul {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
/* Dropdown menu links MUST stay dark on white dropdown bg — force black */
.nav-dropdown-menu a,
.nav-dropdown-submenu a,
.nav-dropdown-parent-item a,
.dark-header .nav-dropdown-menu a,
.dark-header .nav-dropdown-submenu a,
.dark-header .nav-dropdown-parent-item a,
.site-header.scrolled .nav-dropdown-menu a,
.site-header.scrolled .nav-dropdown-submenu a,
.site-header.scrolled .nav-dropdown-parent-item a {
  color: hsl(222 47% 11% / 0.7) !important;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-submenu a:hover,
.nav-dropdown-parent-item a:hover,
.dark-header .nav-dropdown-menu a:hover,
.dark-header .nav-dropdown-submenu a:hover,
.dark-header .nav-dropdown-parent-item a:hover,
.site-header.scrolled .nav-dropdown-menu a:hover,
.site-header.scrolled .nav-dropdown-submenu a:hover,
.site-header.scrolled .nav-dropdown-parent-item a:hover {
  color: hsl(222 47% 11%) !important;
  background: hsl(var(--secondary));
}
.nav-dropdown-menu a.active,
.nav-dropdown-submenu a.active,
.nav-dropdown-parent-item a.active,
.dark-header .nav-dropdown-menu a.active,
.dark-header .nav-dropdown-submenu a.active,
.dark-header .nav-dropdown-parent-item a.active {
  color: hsl(var(--primary)) !important;
}
/* Mobile menu: ALWAYS same style regardless of dark-header */
.mobile-menu,
.dark-header .mobile-menu {
  background: hsl(var(--background)) !important;
  z-index: 9999;
}
.mobile-menu a,
.dark-header .mobile-menu a {
  color: hsl(var(--foreground) / 0.7) !important;
}
.mobile-menu a:hover,
.mobile-menu a.active,
.dark-header .mobile-menu a:hover,
.dark-header .mobile-menu a.active {
  background: hsl(var(--primary) / 0.1) !important;
  color: hsl(var(--primary)) !important;
}
.mobile-services-toggle,
.dark-header .mobile-services-toggle {
  color: hsl(var(--foreground) / 0.7) !important;
}
.mobile-services-toggle.open svg {
  transform: rotate(180deg);
}
.mobile-services-list a,
.dark-header .mobile-services-list a {
  color: hsl(var(--foreground) / 0.6) !important;
}
.mobile-services-list a:hover,
.dark-header .mobile-services-list a:hover {
  color: hsl(var(--foreground)) !important;
  background: hsl(var(--secondary)) !important;
}

/* Override when scrolled - revert to dark text on white bg */
.site-header.scrolled .site-logo,
.site-header.scrolled .main-nav > ul > li > a,
.site-header.scrolled .main-nav .nav-dropdown-trigger {
  color: hsl(var(--foreground)) !important;
}
.site-header.scrolled .site-logo .logo-light {
  display: none;
}
.site-header.scrolled .site-logo .logo-dark {
  display: inline-flex;
}
/* Scrolled - image logo back to normal (no inversion) */
.site-header.scrolled .site-logo .custom-logo-link img,
.site-header.scrolled .site-logo img.custom-logo {
  filter: none;
}
.site-header.scrolled .main-nav > ul > li > a,
.site-header.scrolled .main-nav .nav-dropdown-trigger {
  opacity: 0.7;
}
.site-header.scrolled .main-nav > ul > li > a:hover,
.site-header.scrolled .main-nav > ul > li > a.active,
.site-header.scrolled .main-nav .nav-dropdown-trigger:hover,
.site-header.scrolled .main-nav .nav-dropdown-trigger.active {
  color: hsl(var(--primary)) !important;
  opacity: 1;
}
.site-header.scrolled .mobile-toggle {
  color: hsl(var(--foreground)) !important;
}

.main-nav {
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-nav ul li {
  list-style: none;
  white-space: nowrap;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: hsl(var(--primary));
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: hsl(var(--foreground) / 0.7);
  background: none;
  border: none;
  transition: color 0.2s;
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: hsl(var(--primary));
}

.nav-dropdown-trigger svg {
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.dropdown-open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: 18rem;
  background: hsl(var(--background));
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px hsl(var(--foreground) / 0.1);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  z-index: 9999;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.dropdown-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7) !important;
  transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--foreground)) !important;
}

.nav-dropdown-menu a.active {
  color: hsl(var(--primary)) !important;
  background: hsl(var(--primary) / 0.05);
}

.nav-dropdown-submenu {
  padding-left: 0.5rem;
  margin-left: 0.75rem;
  margin-top: 0.25rem;
  border-left: 2px solid hsl(var(--border));
}

.nav-dropdown-submenu a {
  padding: 0.5rem 1rem;
  font-weight: 400;
  font-size: 0.8125rem;
  color: hsl(var(--foreground) / 0.6) !important;
}

.nav-dropdown-submenu a:hover {
  color: hsl(var(--foreground)) !important;
  background: hsl(var(--secondary));
}

.nav-dropdown-parent-item {
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  padding-bottom: 0.25rem;
  margin-bottom: 0.25rem;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  color: hsl(var(--foreground));
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s, color 0.3s;
  background: none;
  border: none;
  font-family: inherit;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}

.mobile-toggle:hover {
  background: hsl(var(--accent));
}

/* When menu is open, toggle becomes filled purple circle */
.mobile-toggle.menu-open {
  background: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  animation: fadeIn 0.3s ease;
  z-index: 9999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  transition: all 0.15s;
}

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

.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  transition: all 0.15s;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.mobile-services-toggle:hover {
  background: hsl(var(--secondary));
}

.mobile-services-list {
  display: none;
  padding-left: 1rem;
  margin-left: 0.5rem;
  border-left: 2px solid hsl(var(--border));
  overflow: hidden;
}

.mobile-services-list.open {
  display: block;
}

/* Sub-items under services in mobile */
.mobile-services-list a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.6);
  border-radius: 0.5rem;
}

.mobile-services-list a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--secondary));
}

@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .mobile-toggle { display: flex !important; }
  
  /* Container padding on mobile */
  .container {
    padding: 0 1rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: auto;
  }
  
  .hero-text h1 {
    font-size: 1.875rem;
    text-align: center;
  }
  
  .hero-text p {
    text-align: center;
    font-size: 1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    justify-content: center;
  }
  
  .hero-profile-img {
    width: 14rem;
  }
  
  /* Button sizes on mobile */
  .btn-xl {
    height: 3rem;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-lg {
    height: 2.5rem;
    padding: 0.5rem 1.25rem;
  }
  
  /* Section padding on mobile */
  .services-section,
  .projects-section,
  .testimonials-section,
  .blog-preview-section {
    padding: 4rem 0;
  }
  
  .cta-section {
    padding: 4rem 0;
  }
  
  /* Page header mobile */
  .page-header {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  /* Stats grid mobile */
  .work-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
  }
  
  /* Project filters scrollable on mobile */
  #project-filters {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
  }
  
  #project-filters::-webkit-scrollbar {
    display: none;
  }
  
  #project-filters .project-filter-btn {
    flex-shrink: 0;
  }
  
  /* Contact grid mobile */
  .contact-grid {
    gap: 2.5rem !important;
  }
  
  .contact-form-box {
    padding: 1.5rem;
  }
  
  /* About sidebar not sticky on mobile */
  .about-sidebar-box {
    position: static !important;
  }
  
  /* Footer mobile */
  .footer-content {
    padding: 3rem 0 4rem;
  }
  
  .footer-grid {
    gap: 2rem;
  }
  
  /* Single content mobile */
  .single-content {
    padding: 3rem 0;
  }
  
  /* Flowing testimonials mobile */
  .flowing-testimonial-card {
    width: 300px;
  }
  
  .flowing-fade-left,
  .flowing-fade-right {
    width: 3rem;
  }
  
  /* As seen in mobile */
  .as-seen-in {
    margin-top: 2rem;
  }
  
  .marquee-fade-left,
  .marquee-fade-right {
    width: 3rem;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

/* Animated background orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  z-index: 0;
  pointer-events: none;
}

.hero-orb-1 {
  top: 25%;
  left: 0;
  width: 18rem;
  height: 18rem;
  background: hsl(var(--primary) / 0.1);
  animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: 25%;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--primary) / 0.1);
  animation: orbFloat2 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20px, 0) scale(1.2); opacity: 0.5; }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1.2); opacity: 0.2; }
  50% { transform: translate(0, -30px) scale(1); opacity: 0.4; }
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  order: 2;
}

.hero-text h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text h1 .wave {
  display: inline-block;
  animation: wave 1.5s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(20deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(20deg); }
  80% { transform: rotate(0deg); }
}

.hero-text p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
}

.hero-buttons .btn-hero .arrow-icon {
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.hero-image-wrapper {
  order: 1;
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), transparent);
  border-radius: 50%;
  filter: blur(48px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-profile-img {
  position: relative;
  width: 18rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px hsl(var(--foreground) / 0.15));
  animation: heroFloat 6s ease-in-out infinite;
}

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

@media (min-width: 640px) {
  .hero-profile-img { width: 20rem; }
}
@media (min-width: 1024px) {
  .hero-profile-img { width: 24rem; }
  .hero-text { order: 1; }
  .hero-image-wrapper { order: 2; justify-content: flex-end; }
}
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-wrapper { order: 1; }
  .hero-text { order: 2; }
}

/* As Seen In */
.as-seen-in {
  width: 100%;
  margin-top: 4rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding-top: 2rem;
}

.as-seen-in-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  text-align: center;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, hsl(var(--background)), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, hsl(var(--background)), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  animation: marquee 20s linear infinite;
}

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

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  margin: 0 0.5rem;
}

.marquee-item img {
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s;
}

.marquee-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .marquee-item {
    width: 140px;
    margin: 0 0.75rem;
  }
  .marquee-item img {
    height: 3.5rem;
  }
}

/* ===== Section Common ===== */
.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-label-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label-line .line {
  height: 1px;
  width: 2rem;
  background: hsl(var(--primary));
}

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

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

/* ===== Services Section ===== */
.services-section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.services-section .section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--secondary) / 0.3), hsl(var(--background)));
  z-index: 0;
}

.services-section .section-orb-1 {
  position: absolute;
  top: 5rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(64px);
  animation: orbFloat1 10s ease-in-out infinite;
}

.services-section .section-orb-2 {
  position: absolute;
  bottom: 5rem;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(64px);
  animation: orbFloat2 8s ease-in-out infinite 1s;
}

.services-header {
  max-width: 36rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  display: block;
  padding: 1.5rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.service-card .card-bg {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border) / 0.5);
  transition: all 0.5s;
}

.service-card:hover .card-bg {
  border-color: hsl(var(--primary) / 0.3);
  background: hsl(var(--background));
}

.service-card .card-hover-gradient {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover .card-hover-gradient {
  opacity: 1;
}

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

.service-icon-wrapper {
  margin-bottom: 1.25rem;
  display: inline-flex;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  transition: color 0.3s;
}

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

.service-card:hover .service-icon svg {
  color: hsl(var(--primary-foreground));
}

.service-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-card-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s;
}

.service-card:hover .service-card-title h3 {
  color: hsl(var(--primary));
}

.service-card-title .arrow-icon {
  color: hsl(var(--muted-foreground) / 0.5);
  flex-shrink: 0;
  margin-top: 0.125rem;
  transition: all 0.3s;
}

.service-card:hover .service-card-title .arrow-icon {
  color: hsl(var(--primary));
  transform: translate(2px, -2px);
}

.service-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Service card accent gradients */
.accent-violet { background: linear-gradient(to bottom right, hsl(263 70% 50% / 0.2), hsl(270 70% 50% / 0.2)); }
.accent-blue { background: linear-gradient(to bottom right, hsl(217 91% 60% / 0.2), hsl(187 85% 53% / 0.2)); }
.accent-pink { background: linear-gradient(to bottom right, hsl(330 81% 60% / 0.2), hsl(350 89% 60% / 0.2)); }
.accent-amber { background: linear-gradient(to bottom right, hsl(38 92% 50% / 0.2), hsl(25 95% 53% / 0.2)); }
.accent-emerald { background: linear-gradient(to bottom right, hsl(160 84% 39% / 0.2), hsl(172 66% 50% / 0.2)); }
.accent-indigo { background: linear-gradient(to bottom right, hsl(239 84% 67% / 0.2), hsl(217 91% 60% / 0.2)); }

/* ===== Brand Slider Section ===== */
.brand-slider-section {
  padding: 4rem 0;
  overflow: hidden;
}

.brand-slider-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.brand-slider-wrapper {
  position: relative;
}

.brand-slider-fade-left,
.brand-slider-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 10;
  pointer-events: none;
}

.brand-slider-fade-left {
  left: 0;
  background: linear-gradient(to right, hsl(var(--background)), transparent);
}

.brand-slider-fade-right {
  right: 0;
  background: linear-gradient(to left, hsl(var(--background)), transparent);
}

.brand-slider-track {
  display: flex;
  align-items: center;
  cursor: grab;
  will-change: transform;
  -webkit-user-select: none;
  user-select: none;
}

.brand-slider-track:active {
  cursor: grabbing;
}

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

.brand-slider-item {
  flex-shrink: 0;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
}

.brand-slider-item img {
  height: 3rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.brand-slider-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .brand-slider-item {
    padding: 0 3rem;
  }
  .brand-slider-item img {
    height: 3.5rem;
  }
}

/* ===== Projects Section ===== */
.projects-section {
  padding: 6rem 0;
  overflow: hidden;
}

.projects-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

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

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

.project-card {
  display: block;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: hsl(var(--secondary) / 0.3);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card-image {
  position: relative;
  overflow: hidden;
  background: hsl(var(--muted));
}

.project-card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Hover overlay */
.project-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: hsl(var(--foreground) / 0);
  transition: background 0.5s;
  pointer-events: none;
}

.project-card:hover .project-card-image::after {
  background: hsl(var(--foreground) / 0.1);
}

.project-card-body {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-card-body .category {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: color 0.3s;
}

.project-card:hover .project-card-body h3 {
  color: hsl(var(--primary));
}

.project-card-body p {
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-arrow {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsl(var(--foreground) / 0.05);
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.project-card-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.project-card:hover .project-card-arrow {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.project-card:hover .project-card-arrow svg {
  transform: rotate(45deg);
}

.projects-view-all {
  text-align: center;
  margin-top: 3rem;
}

/* ===== Testimonials Section - Flowing Cards ===== */
.testimonials-section {
  padding: 6rem 0;
  background: hsl(var(--secondary) / 0.3);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
}

/* Flowing testimonials wrapper */
.flowing-testimonials-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.flowing-testimonials-wrapper:active {
  cursor: grabbing;
}

.flowing-fade-left,
.flowing-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 10;
  pointer-events: none;
}

/* Fade must match the testimonials-section bg (secondary/0.3) */
.flowing-fade-left {
  left: 0;
  background: linear-gradient(to right, hsl(var(--secondary) / 0.5), transparent);
}

.flowing-fade-right {
  right: 0;
  background: linear-gradient(to left, hsl(var(--secondary) / 0.5), transparent);
}

@media (min-width: 640px) {
  .flowing-fade-left,
  .flowing-fade-right {
    width: 10rem;
  }
}

.flowing-testimonials-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.flowing-testimonial-card {
  flex-shrink: 0;
  width: 340px;
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.6);
  box-shadow: 0 4px 24px -6px hsl(var(--foreground) / 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  backface-visibility: hidden;
}

@media (min-width: 640px) {
  .flowing-testimonial-card {
    width: 380px;
  }
}

/* Only hover-transform when NOT being dragged */
.flowing-testimonials-wrapper:not(:active) .flowing-testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.flowing-testimonial-quote-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 1rem;
  color: hsl(var(--primary) / 0.15);
  transition: color 0.5s;
}

.flowing-testimonial-card:hover .flowing-testimonial-quote-icon {
  color: hsl(var(--primary) / 0.35);
}

.flowing-testimonial-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.flowing-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flowing-testimonial-author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.1);
  pointer-events: none;
}

.flowing-testimonial-author h4 {
  font-weight: 600;
  font-size: 0.8125rem;
  color: hsl(var(--foreground));
}

.flowing-testimonial-author p {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

/* ===== Blog Preview Section ===== */
.blog-preview-section {
  padding: 6rem 0;
}

.blog-preview-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card article {
  background: hsl(var(--background));
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

.blog-card:hover article {
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.blog-card-meta .category {
  color: hsl(var(--primary));
  font-weight: 500;
}

.blog-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

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

.blog-card-body p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-readmore {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
}

.blog-card-readmore svg {
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-readmore svg {
  transform: translateX(4px);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 6rem 0;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.cta-orb-1 {
  position: absolute;
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--primary) / 0.2);
  border-radius: 50%;
  filter: blur(64px);
  animation: ctaOrb1 10s ease-in-out infinite;
}

.cta-orb-2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--primary) / 0.2);
  border-radius: 50%;
  filter: blur(64px);
  animation: ctaOrb2 8s ease-in-out infinite;
}

@keyframes ctaOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
  50% { transform: translate(50px, 0) scale(1.3); opacity: 0.2; }
}

@keyframes ctaOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1.2); opacity: 0.15; }
  50% { transform: translate(0, -30px) scale(1); opacity: 0.25; }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.cta-content > p {
  font-size: 1.125rem;
  color: hsl(var(--background) / 0.7);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  overflow: hidden;
}

.footer-orb-1 {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 20rem;
  height: 20rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(64px);
  animation: orbFloat1 8s ease-in-out infinite;
}

.footer-orb-2 {
  position: absolute;
  bottom: -5rem;
  left: -5rem;
  width: 15rem;
  height: 15rem;
  background: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(64px);
  animation: orbFloat2 6s ease-in-out infinite;
}

.footer-content {
  position: relative;
  padding: 5rem 0 6rem;
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }
}

/* Footer brand */
.footer-brand .site-logo {
  display: inline-block;
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--background));
  margin-bottom: 1.5rem;
}

.footer-brand .site-logo .dot {
  color: hsl(var(--primary));
}

.footer-brand p {
  color: hsl(var(--background) / 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 20rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.footer-social a {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: hsl(var(--background) / 0.05);
  border: 1px solid hsl(var(--background) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--background) / 0.7);
  transition: all 0.3s;
}

.footer-social a:hover {
  color: hsl(var(--background));
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Footer nav columns */
.footer-nav h4 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--background) / 0.5);
  margin-bottom: 2rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: color 0.2s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: hsl(var(--primary));
  transition: width 0.3s;
}

.footer-nav a:hover {
  color: hsl(var(--background));
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a .arrow-icon {
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: all 0.3s;
}

.footer-nav a:hover .arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Footer contact */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
  margin-bottom: 1.25rem;
  transition: all 0.2s;
}

.footer-contact-item:hover {
  color: hsl(var(--background));
  transform: translateX(4px);
}

.footer-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--background) / 0.05);
  border: 1px solid hsl(var(--background) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.footer-contact-item:hover .footer-contact-icon {
  background: hsl(var(--primary) / 0.2);
  border-color: hsl(var(--primary) / 0.3);
}

.footer-contact-icon svg {
  width: 1rem;
  height: 1rem;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid hsl(var(--background) / 0.1);
  margin-top: 4rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.75rem;
  color: hsl(var(--background) / 0.4);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--primary));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: hsl(var(--primary));
}

.breadcrumb .current {
  color: hsl(var(--background));
}

/* ===== 404 Page ===== */
.error-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  text-align: center;
  padding: 2rem;
}

.error-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

/* ===== Single Post / Page ===== */
.single-content {
  padding: 5rem 0;
}

.single-content .container {
  max-width: 800px;
}

.single-content .entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: hsl(var(--foreground) / 0.85);
}

.single-content .entry-content h2,
.single-content .entry-content h3,
.single-content .entry-content h4 {
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.single-content .entry-content h2 { font-size: 1.75rem; }
.single-content .entry-content h3 { font-size: 1.375rem; }
.single-content .entry-content h4 { font-size: 1.125rem; }

.single-content .entry-content p {
  margin-bottom: 1.5rem;
}

.single-content .entry-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-content .entry-content a:hover {
  opacity: 0.8;
}

.single-content .entry-content img {
  border-radius: 1rem;
  margin: 2rem 0;
}

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

.single-content .entry-content ul { list-style: disc; }
.single-content .entry-content ol { list-style: decimal; }

.single-content .entry-content li {
  margin-bottom: 0.5rem;
}

.single-content .entry-content blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: hsl(var(--secondary) / 0.5);
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: hsl(var(--foreground) / 0.8);
}

.single-featured-image {
  margin-bottom: 2.5rem;
  border-radius: 1rem;
  overflow: hidden;
}

.single-featured-image img {
  width: 100%;
  height: auto;
}

/* Post meta */
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.post-meta .category-badge {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Author Box */
.post-author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  margin-top: 3rem;
  background: hsl(var(--secondary) / 0.3);
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
}

.post-author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
}

.post-author-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.25rem;
  color: hsl(var(--foreground));
}

.post-author-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

/* Archive / listing */
.archive-section {
  padding: 5rem 0;
}

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

@media (min-width: 768px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  transition: all 0.2s;
}

.pagination a:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.pagination .current {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* ===== Scroll Animations (IntersectionObserver) ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.scroll-animate.from-left {
  transform: translateX(-40px);
}
.scroll-animate.from-left.animate-in {
  transform: translateX(0);
}

.scroll-animate.from-right {
  transform: translateX(40px);
}
.scroll-animate.from-right.animate-in {
  transform: translateX(0);
}

.scroll-animate.scale-in {
  transform: scale(0.95);
}
.scroll-animate.scale-in.animate-in {
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.animate-in > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.animate-in > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.animate-in > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.animate-in > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.animate-in > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.animate-in > *:nth-child(6) { transition-delay: 0.40s; }

.stagger-children.animate-in > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Utilities ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== Elementor Compatibility ===== */
.elementor-page .site-header + * {
  padding-top: 0;
}

.elementor-page .container {
  max-width: 100%;
  padding: 0;
}

.elementor-section.elementor-section-full_width > .elementor-container {
  max-width: 100%;
}

/* ===== Gutenberg Compatibility ===== */
.wp-block-group.alignfull {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.entry-content .alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== WooCommerce Basic ===== */
.woocommerce .container {
  max-width: 1280px;
}

/* ===== Animation keyframes (general) ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--secondary) / 0.5);
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  background: hsl(var(--secondary));
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: hsl(var(--foreground));
}

.contact-card:hover .contact-card-icon {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.contact-card h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card p {
  color: hsl(var(--muted-foreground));
}

.contact-form-box {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 1rem;
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
  margin-bottom: 1.25rem;
  color: hsl(var(--foreground));
}

.form-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.2);
}

.form-textarea {
  resize: none;
}

/* ===== Service / Google Ads / Social Media page grids ===== */
@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .related-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (min-width: 1024px) {
  .service-hero-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .service-hero-right {
    padding-top: 3.5rem;
  }
  .service-about-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .why-choose-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .project-detail-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6rem !important;
  }
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.benefit-card:hover {
  background: hsl(var(--secondary) / 0.5);
  transform: translateY(-5px);
}

.why-card:hover {
  background: hsl(var(--background) / 0.1);
}

.ad-type-card:hover {
  background: hsl(var(--secondary) / 0.5);
  transform: translateY(-4px);
}

.related-service-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 10px 30px hsl(var(--foreground) / 0.1);
}

/* ===== FAQ Accordion ===== */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-item[open] {
  background: hsl(var(--secondary) / 0.3);
}

.faq-item[open] summary {
  background: transparent;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item:hover {
  border-color: hsl(var(--primary) / 0.3);
}

.related-service-card:hover h3 {
  color: hsl(var(--primary));
}

/* CTA glow */
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: hsl(var(--primary-foreground) / 0.1);
  border-radius: 50%;
  filter: blur(100px);
  animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

/* Project navigation hover */
.back-link:hover,
.project-nav-link:hover {
  color: hsl(var(--foreground));
}

.text-highlight {
  color: hsl(var(--primary));
}


/* Dark hero header override */
.dark-hero-section + .site-header,
.dark-hero-section {
  /* ensure header text visible on dark sections */
}

/* ===== About Page Layout ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr 2fr;
  }
}
.about-sidebar-box {
  position: sticky;
  top: 7rem;
  background: hsl(var(--secondary) / 0.5);
  border-radius: 1rem;
  padding: 2rem;
}
.about-main .entry-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.about-main .entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.about-main .entry-content p {
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-main .entry-content a {
  color: hsl(var(--primary));
  text-decoration: none;
}
.about-main .entry-content a:hover {
  text-decoration: underline;
}

/* ===== Blog Page Layout ===== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: 2fr 1fr;
  }
}
.blog-list-card {
  cursor: pointer;
}
.blog-list-card:hover {
  box-shadow: 0 8px 30px -8px hsl(var(--primary) / 0.15);
}
.blog-list-card:hover img {
  transform: scale(1.05);
}
@media (min-width: 640px) {
  .blog-list-card {
    grid-template-columns: 2fr 3fr !important;
  }
  .blog-list-image {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* ===== Footer (matching React design) ===== */
.site-footer {
  position: relative;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  overflow: hidden;
}
.footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.footer-orb-1 {
  top: -10rem;
  right: -10rem;
  width: 20rem;
  height: 20rem;
  background: hsl(var(--primary) / 0.1);
  animation: orbFloat1 8s ease-in-out infinite;
}
.footer-orb-2 {
  bottom: -5rem;
  left: -5rem;
  width: 15rem;
  height: 15rem;
  background: hsl(var(--primary) / 0.05);
  animation: orbFloat2 6s ease-in-out infinite;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
  }
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--background) / 0.5);
  margin-bottom: 2rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-link:hover {
  color: hsl(var(--background));
}
.footer-link svg {
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: all 0.3s;
}
.footer-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}
.footer-social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: hsl(var(--background) / 0.05);
  border: 1px solid hsl(var(--background) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--background) / 0.7);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social-link:hover {
  color: hsl(var(--background));
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-contact-item:hover {
  color: hsl(var(--background));
}
.footer-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--background) / 0.05);
  border: 1px solid hsl(var(--background) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.footer-contact-item:hover .footer-contact-icon {
  background: hsl(var(--primary) / 0.2);
  border-color: hsl(var(--primary) / 0.3);
}
.footer-bottom {
  border-top: 1px solid hsl(var(--background) / 0.1);
  margin-top: 4rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.75rem;
  color: hsl(var(--background) / 0.4);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Contact Page ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info .section-label {
  display: inline-block;
  margin-bottom: 0;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--secondary) / 0.5);
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}
a.contact-card:hover {
  background: hsl(var(--secondary));
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
  transition: all 0.2s ease;
}
a.contact-card:hover .contact-card-icon {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.contact-card h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.contact-card p {
  color: hsl(var(--muted-foreground));
  margin: 0;
  font-size: 0.9rem;
}

/* Form Box */
.contact-form-box {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 1rem;
  padding: 2rem;
}

/* ── Contact Form 7 Overrides ───────────────────────── */
.contact-form-box .wpcf7 {
  margin: 0;
}

.contact-form-box .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-box .wpcf7-form p {
  margin: 0;
}

/* Two-column row for name + email */
.contact-form-box .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .contact-form-box .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-box .wpcf7-form-control:not([type="submit"]),
.contact-form-box .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}
.contact-form-box .wpcf7-form-control:not([type="submit"]):focus,
.contact-form-box .form-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

.contact-form-box .wpcf7-form-control::placeholder,
.contact-form-box .wpcf7-form-control:not([type="submit"])::placeholder,
.contact-form-box .form-input::placeholder,
.contact-form-box textarea::placeholder {
  color: hsl(var(--muted-foreground)) !important;
  opacity: 1 !important;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: var(--font-sans);
}
.contact-form-box .wpcf7-form-control::-webkit-input-placeholder,
.contact-form-box .wpcf7-form-control:not([type="submit"])::-webkit-input-placeholder,
.contact-form-box textarea::-webkit-input-placeholder {
  color: hsl(var(--muted-foreground)) !important;
  opacity: 1 !important;
  font-size: 0.95rem;
}
.contact-form-box .wpcf7-form-control::-moz-placeholder,
.contact-form-box .wpcf7-form-control:not([type="submit"])::-moz-placeholder,
.contact-form-box textarea::-moz-placeholder {
  color: hsl(var(--muted-foreground)) !important;
  opacity: 1 !important;
  font-size: 0.95rem;
}

.contact-form-box textarea.wpcf7-form-control,
.contact-form-box .form-textarea {
  resize: none;
  min-height: 130px;
}

/* CF7 labels — hide label text, keep inputs visible */
.contact-form-box .wpcf7-form label {
  display: block;
  font-size: 0;
  line-height: 0;
}
.contact-form-box .wpcf7-form label .wpcf7-form-control-wrap {
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
}
.contact-form-box .wpcf7-form-control:not([type="submit"]) {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Submit button — match hero button style */
.contact-form-box .wpcf7-form [type="submit"],
.contact-form-box .contact-form .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
}
.contact-form-box .wpcf7-form [type="submit"]:hover,
.contact-form-box .contact-form .btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.contact-form-box .wpcf7-form [type="submit"]:active {
  transform: scale(0.98);
}

/* CF7 validation messages */
.contact-form-box .wpcf7-not-valid-tip {
  color: hsl(var(--destructive));
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.contact-form-box .wpcf7-response-output {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}
.contact-form-box .wpcf7-mail-sent-ok {
  border-color: hsl(142 71% 45%);
  color: hsl(142 71% 45%);
}

/* CF7 spinner */
.contact-form-box .wpcf7-spinner {
  margin: 0 auto;
}
