/*
Theme Name: Nexethic IT Consulting
Theme URI: https://nexethic.com
Author: Nexethic Team
Author URI: https://nexethic.com
Description: A modern, professional WordPress theme for IT services and consulting firms. Features include responsive design, service showcases, team profiles, and lead generation tools.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexethic
Tags: business, consulting, it-services, professional, responsive, custom-menu, featured-images, threaded-comments
*/

/* ===========================
   CSS Variables & Design System
   =========================== */
:root {
  /* ===== Brand Colors ===== */
  --color-primary: #1E3A8A;
  --color-primary-dark: #1e3a8a;
  --color-secondary: #3B82F6;
  --color-accent: #60A5FA;
  
  /* ===== Background Colors ===== */
  --color-background: #F9FAFB;
  --color-background-alt: #F8F9FA;
  --color-background-light: #FFFFFF;
  --color-background-gray: #FAFBFC;
  --color-bg: #FFFFFF;
  --color-bg-light: #FFFFFF;
  --color-bg-gray: #E5E7EB;
  
  /* ===== Text Colors ===== */
  --color-text: #374151;
  --color-text-light: #6B7280;
  --color-text-white: #FFFFFF;
  --color-text-muted: rgba(255, 255, 255, 0.85);
  
  /* ===== Border Colors ===== */
  --color-border: #E5E7EB;
  --color-border-light: rgba(30, 58, 138, 0.08);
  --color-border-medium: rgba(30, 58, 138, 0.15);
  
  /* ===== Status Colors ===== */
  --color-success: #10B981;
  --color-success-dark: #059669;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;
  
  /* ===== Special Colors ===== */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BA5A;
  
  /* ===== Dark Theme Colors ===== */
  --color-dark-bg: #0F172A;
  --color-dark-gradient: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  
  /* ===== Typography - Font Families ===== */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* ===== Typography - Font Sizes (rem-based) ===== */
  --font-size-xs: 0.6875rem;    /* 11px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px - Base for accessibility */
  --font-size-md: 1rem;         /* 16px */
  --font-size-lg: 1.0625rem;    /* 17px */
  --font-size-xl: 1.125rem;     /* 18px */
  --font-size-2xl: 1.25rem;     /* 20px */
  --font-size-3xl: 1.375rem;    /* 22px */
  --font-size-4xl: 1.5rem;      /* 24px */
  --font-size-5xl: 1.75rem;     /* 28px */
  --font-size-6xl: 2rem;        /* 32px */
  --font-size-7xl: 2.5rem;      /* 40px */
  --font-size-8xl: 2.625rem;    /* 42px */
  --font-size-9xl: 2.75rem;     /* 44px */
  
  /* ===== Typography - Font Weights ===== */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* ===== Typography - Line Heights ===== */
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;
  
  /* ===== Spacing System (8px base) ===== */
  --space-xs: 0.5rem;      /* 8px */
  --space-sm: 1rem;        /* 16px */
  --space-md: 1.5rem;      /* 24px */
  --space-lg: 2rem;        /* 32px */
  --space-xl: 3rem;        /* 48px */
  --space-2xl: 4rem;       /* 64px */
  --space-3xl: 6rem;       /* 96px */
  
  /* ===== Layout ===== */
  --container-max: 1280px;
  --container-padding: 1.5rem;  /* 24px */
  
  /* ===== Border Radius ===== */
  --border-radius-sm: 0.25rem;  /* 4px */
  --border-radius: 0.5rem;      /* 8px */
  --border-radius-md: 0.75rem;  /* 12px */
  --border-radius-lg: 1rem;     /* 16px */
  --border-radius-full: 50px;
  
  /* ===== Shadows ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 32px rgba(30, 58, 138, 0.1);
  
  /* ===== Transitions ===== */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ===== Z-Index Scale ===== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-modal: 1050;
  --z-tooltip: 1100;
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-text-white);
  padding: var(--space-xs) var(--space-md);
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

h1 { 
  font-size: var(--font-size-8xl);
  font-weight: var(--font-weight-bold);
}

h2 { 
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
}

h3 { 
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

h4 { 
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

h5 { 
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

h6 { 
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

p { margin-bottom: var(--space-sm); }

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

a:hover {
  color: var(--color-secondary);
}

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

ul, ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

ul li, ol li {
  margin-bottom: var(--space-xs);
}

.page-content ul,
.post-content ul,
article ul {
  list-style-type: disc;
  list-style-position: outside;
}

.page-content ol,
.post-content ol,
article ol {
  list-style-type: decimal;
  list-style-position: outside;
}

/* ===========================
   Layout Components
   =========================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-background-alt) 0%, var(--color-background-light) 100%);
}

.section .text-center {
  margin-bottom: var(--space-lg);
}

.section .text-center h2 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.section .text-center p {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   Header & Navigation
   =========================== */
.site-header {
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.main-navigation {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.main-navigation > ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-xs) var(--space-sm);
  transition: var(--transition);
}

.main-navigation a:hover {
  color: var(--color-primary);
}

/* Dropdown Menu Styles */
.main-navigation .menu-item-has-children {
  position: relative;
}

.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-background-light);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  padding: var(--space-xs) 0;
  margin: var(--space-xs) 0 0 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-slow);
  z-index: var(--z-dropdown);
  border: 1px solid var(--color-border-light);
  display: block !important;
  flex-direction: column;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu li {
  margin: 0;
  padding: 0;
  display: block;
}

.main-navigation .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: var(--transition-fast);
  position: relative;
  line-height: 1.4;
}

.main-navigation .sub-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  transform: scaleY(0);
  transition: transform var(--transition-fast);
}

.main-navigation .sub-menu a:hover {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.06), transparent);
  color: var(--color-primary);
  padding-left: 28px;
}

.main-navigation .sub-menu a:hover::before {
  transform: scaleY(1);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px 20px;
  background: var(--color-whatsapp);
  color: var(--color-text-white);
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  transition: var(--transition);
  white-space: nowrap;
  margin-top: 0;
  min-height: 44px;
}

.whatsapp-btn:hover {
  background: var(--color-whatsapp-hover);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.whatsapp-btn:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.whatsapp-btn svg {
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-primary);
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .main-navigation .sub-menu {
    position: static;
    box-shadow: none;
    background: rgba(59, 130, 246, 0.04);
    margin-left: 16px;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transform: none;
    border: 1px solid rgba(59, 130, 246, 0.1);
  }
  
  .main-navigation .menu-item-has-children:hover .sub-menu,
  .main-navigation .menu-item-has-children.active .sub-menu {
    max-height: 500px;
    padding: 8px 0;
  }
  
  .main-navigation .sub-menu a {
    padding: 10px 20px;
  }
}

/* ===========================
   Buttons & CTAs
   =========================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  min-width: 44px;
  min-height: 44px;
}

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

.btn-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-secondary:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-large {
  padding: var(--space-sm) 2.25rem;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

/* ===========================
   Hero Section - Modern Compact Design
   =========================== */
.hero-section,
.page-header {
  background: var(--color-dark-gradient);
  color: var(--color-text-white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}



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

/* ===========================
   Service Hero Banner - Futuristic
   =========================== */
.service-hero {
  position: relative;
  padding: var(--space-xl) 0;
  background: var(--color-dark-gradient);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, rgba(0, 174, 239, 0.03) 0px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(0, 174, 239, 0.03) 0px, transparent 1px, transparent 40px),
    radial-gradient(ellipse at 50% 0%, rgba(0, 174, 239, 0.12), transparent 60%);
}

.service-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.service-hero-icon {
  font-size: 56px;
  margin-bottom: var(--space-sm);
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(0, 174, 239, 0.5));
}

.service-hero h1 {
  color: var(--color-text-white);
  font-size: var(--font-size-7xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
  letter-spacing: 0.5px;
}

.service-hero-subtitle {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  margin: 0;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

/* ===========================
   Service Layout - Left/Right Split
   =========================== */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.service-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.service-image {
  position: sticky;
  top: 100px;
}

.service-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

/* ===========================
   Digital Marketing Page
   =========================== */
.dm-hero {
  position: relative;
  padding: var(--space-xl) 0;
  background: var(--color-dark-gradient);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.dm-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.dm-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.dm-hero-badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  padding: 6px var(--space-sm);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--border-radius-full);
  margin-bottom: var(--space-sm);
}

.dm-hero h1 {
  color: var(--color-text-white);
  font-size: var(--font-size-7xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

.dm-hero p {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  margin: 0;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.dm-cta {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--color-dark-gradient);
  overflow: hidden;
}

.dm-cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

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

.dm-cta h2 {
  color: var(--color-text-white);
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.dm-cta p {
  color: var(--color-text-muted);
  font-size: var(--font-size-xl);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-lg);
}

.dm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.dm-service-card {
  background: var(--color-background-light);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
}

.dm-service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--color-border-medium);
}

.dm-service-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.dm-icon {
  font-size: 64px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.dm-service-card h3 {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-weight: 700;
  letter-spacing: 1px;
}

.dm-service-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.dm-read-more {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.dm-read-more:hover {
  color: var(--color-accent);
}

.dm-why-elegant {
  text-align: center;
}

.dm-why-elegant h2 {
  font-size: 28px;
  margin-bottom: var(--space-xl);
}

.dm-features-elegant {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.dm-feature-elegant {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.dm-feature-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}



/* ===========================
   Services Archive Hero - Futuristic
   =========================== */
.services-archive-hero {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--color-dark-gradient);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.services-hero-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  padding: 6px var(--space-sm);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--border-radius-sm);
}

.services-archive-hero h1 {
  color: var(--color-text-white);
  font-size: var(--font-size-7xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

.services-archive-hero p {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  margin: 0;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  color: var(--color-text-white);
  font-size: var(--font-size-7xl);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.5px;
}

.hero-text h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  margin-top: var(--space-md);
  border-radius: 2px;
}

.hero-text p {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-normal);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(249, 115, 22, 0.1));
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}

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

.hero-image img {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===========================
   Services Section - Elegant Design
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.service-card {
  background: var(--color-background-light);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-light);
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover {
  border-color: var(--color-border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  font-size: 56px;
  margin-bottom: var(--space-md);
  display: inline-block;
  transition: transform 0.4s ease;
}

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

.service-card h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-weight: var(--font-weight-semibold);
}

.service-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
  min-height: 60px;
}

.service-card .btn {
  font-size: var(--font-size-sm);
  padding: 10px 24px;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials-section {
  background: var(--color-bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.testimonial-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-image {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
}

/* ===========================
   Client Logos - Elegant Design
   =========================== */
.clients-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--color-background-gray) 0%, var(--color-background-light) 100%);
  position: relative;
}

.clients-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.clients-label::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: var(--color-background-light);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border-light);
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition-slow);
  min-height: 120px;
  position: relative;
}

.client-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-md);
  padding: 1px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.client-logo:hover::before {
  opacity: 1;
}

.client-logo img {
  max-width: 100%;
  width: 180px;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.client-logo:hover img {
  transform: scale(1.05);
}

/* ===========================
   Team Section
   =========================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.team-member {
  text-align: center;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-member-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-member-info {
  padding: var(--space-md);
}

.team-member h3 {
  font-size: 22px;
  margin-bottom: var(--space-xs);
}

.team-member-role {
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* ===========================
   Contact Form
   =========================== */
.contact-section {
  background: var(--color-bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  margin-top: 0;
  align-items: start;
}

.contact-form {
  background: var(--color-background-light);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.contact-form h2,
.contact-info h2 {
  font-size: 24px;
  margin-bottom: var(--space-lg);
  margin-top: 0;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  transition: var(--transition);
  background: var(--color-background-light);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  flex-shrink: 0;
}

.contact-icon::before {
  content: attr(data-icon);
}

.contact-details h3 {
  font-size: 20px;
  margin-bottom: var(--space-xs);
}

/* ===========================
   Last Updated Info
   =========================== */
.page-meta {
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-bg-gray);
}

/* ===========================
   Blog/Posts
   ===========================
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.blog-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.blog-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-content {
  padding: var(--space-md);
}

.blog-meta {
  display: flex;
  gap: var(--space-sm);
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}

.blog-card h3 {
  font-size: 22px;
  margin-bottom: var(--space-sm);
}

.blog-excerpt {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--color-primary);
  color: white;
  padding: var(--space-lg) 0;
}

.footer-content {
  display: none;
}

.footer-widget h3 {
  color: white;
  font-size: 20px;
  margin-bottom: var(--space-md);
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: var(--space-xs);
}

.footer-widget a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-widget a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  justify-self: start;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
}

.footer-copyright {
  margin: 0;
  text-align: center;
  justify-self: center;
}

.footer-links {
  justify-self: end;
  padding-right: 60px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  h1 { font-size: var(--font-size-7xl); }
  h2 { font-size: var(--font-size-6xl); }
  
  .hero-text h1 { font-size: var(--font-size-9xl); }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: var(--font-size-6xl); }
  h2 { font-size: var(--font-size-5xl); }
  h3 { font-size: var(--font-size-4xl); }
  
  .site-logo img {
    height: 40px;
    max-width: 150px;
  }
  
  .hero-section {
    padding: var(--space-xl) 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-text h1 { font-size: var(--font-size-6xl); }
  .hero-text p { font-size: var(--font-size-lg); }
  
  .hero-image {
    display: none;
  }
  
  .service-hero {
    padding: var(--space-lg) 0;
  }
  
  .service-hero-icon {
    font-size: 48px;
  }
  
  .service-hero h1 {
    font-size: var(--font-size-5xl);
  }
  
  .service-hero-subtitle {
    font-size: var(--font-size-sm);
  }
  
  .service-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .service-image {
    position: static;
  }
  
  .dm-services-grid {
    grid-template-columns: 1fr;
  }
  
  .dm-features-elegant {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .services-archive-hero {
    padding: var(--space-lg) 0;
  }
  
  .services-archive-hero h1 {
    font-size: var(--font-size-5xl);
  }
  
  .services-archive-hero p {
    font-size: var(--font-size-sm);
  }
  
  .dm-hero {
    padding: var(--space-xl) 0;
  }
  
  .dm-hero h1 {
    font-size: var(--font-size-7xl);
  }
  
  .dm-hero p {
    font-size: var(--font-size-base);
  }
  
  .dm-cta {
    padding: var(--space-xl) 0;
  }
  
  .dm-cta h2 {
    font-size: var(--font-size-4xl);
  }
  
  .dm-cta p {
    font-size: var(--font-size-base);
  }
  
  .main-navigation {
    display: none;
  }
  
  .main-navigation.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: var(--space-md);
  }
  
  .whatsapp-btn {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .testimonials-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
}

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

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Focus styles for interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Remove default focus for mouse users, keep for keyboard */
.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

/* ===========================
   About Page
   =========================== */
.about-content {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
}

.about-content p {
  margin-bottom: var(--space-md);
}

.about-content h2,
.about-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

/* ===========================
   Page Content (Privacy Policy, etc.)
   =========================== */
.page-content,
.post-content,
article .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-2xl);
}

.page-content h1,
.post-content h1 {
  font-size: var(--font-size-7xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-secondary);
  display: inline-block;
}

.page-content h2,
.post-content h2 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 4px solid var(--color-secondary);
}

.page-content h2:first-of-type,
.post-content h2:first-of-type {
  margin-top: 0;
}

.page-content h3,
.post-content h3 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.page-content p,
.post-content p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.page-content ul,
.page-content ol,
.post-content ul,
.post-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.page-content li,
.post-content li {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.page-content strong,
.post-content strong {
  color: var(--color-primary);
  font-weight: 600;
}

.page-content a,
.post-content a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: var(--transition);
}

.page-content a:hover,
.post-content a:hover {
  color: var(--color-primary);
}

.page-content blockquote,
.post-content blockquote {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--color-text-light);
}

.page-content code,
.post-content code {
  background: var(--color-bg-gray);
  padding: 2px var(--space-xs);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-mono);
  font-size: var(--font-size-base);
  color: var(--color-primary);
}



.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

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

.page-header h1 {
  color: var(--color-text-white);
  font-size: var(--font-size-9xl);
  font-weight: var(--font-weight-extrabold);
  margin: 0;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.value-card {
  background: var(--color-background-light);
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.value-card h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* ===========================
   WPForms Elegant Styling
   =========================== */
.wpforms-container {
  max-width: 100%;
}

.wpforms-form .wpforms-field {
  margin-bottom: var(--space-lg);
}

.wpforms-field-label {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-size: 13px;
  display: block;
  font-family: var(--font-body);
}

.wpforms-required-label {
  color: var(--color-secondary);
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field select,
.wpforms-field textarea {
  width: 100%;
  padding: 12px var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  transition: var(--transition);
  background: var(--color-background-light);
  box-shadow: var(--shadow-sm);
}

.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.wpforms-field input:hover,
.wpforms-field select:hover,
.wpforms-field textarea:hover {
  border-color: var(--color-border-medium);
}

.wpforms-field textarea {
  min-height: 140px;
  resize: vertical;
}

.wpforms-field-row {
  display: flex !important;
  gap: var(--space-md) !important;
  flex-wrap: nowrap !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.wpforms-field-row .wpforms-field {
  flex: 1 !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.wpforms-field-row .wpforms-field:first-child {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.wpforms-submit-container {
  margin-top: var(--space-xl);
}

.wpforms-submit {
  background: var(--color-secondary);
  color: var(--color-text-white);
  border: none;
  padding: 14px 36px;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  font-family: var(--font-body);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.wpforms-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.wpforms-submit:hover::before {
  width: 300px;
  height: 300px;
}

.wpforms-submit:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.wpforms-submit:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.wpforms-confirmation-container-full {
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
  color: var(--color-text-white);
  padding: 18px 22px;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-md);
  text-align: center;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  font-family: var(--font-body);
  box-shadow: var(--shadow-md);
  animation: slideDown 0.5s ease;
}

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

.wpforms-error {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: 6px;
}

.wpforms-field.wpforms-has-error input,
.wpforms-field.wpforms-has-error textarea,
.wpforms-field.wpforms-has-error select {
  border-color: var(--color-error);
}

@media (max-width: 768px) {
  .wpforms-field-row {
    flex-direction: column !important;
  }
  
  .wpforms-field-row .wpforms-field {
    width: 100% !important;
  }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center { text-align: center; }
.text-white { color: white; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
