/* =====================================================
   HANU CORPORATION - Enterprise IT Solutions
   Main Stylesheet
   ===================================================== */

/* CSS Variables - Design System */
:root {
  /* Colors */
  --primary: #0066CC;
  --primary-dark: #0052a3;
  --primary-light: rgba(0, 102, 204, 0.1);
  --navy: #1E3A5F;
  --teal: #00B4D8;
  --light-bg: #F4F5F7;
  --white: #ffffff;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --border: #e5e7eb;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 6rem 2rem;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Page load fade-in */
  opacity: 0;
  animation: pageLoadFadeIn 0.8s ease-out forwards;
}

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

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, background 0.15s ease, width 0.15s ease, height 0.15s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor.hover {
  width: 50px;
  height: 50px;
  background: rgba(0, 102, 204, 0.1);
  border-color: var(--teal);
}

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

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: padding var(--transition-medium), box-shadow var(--transition-medium);
}

.nav.scrolled {
  padding: 0.75rem 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition-medium);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, #E8F4FC 100%);
  position: relative;
  overflow: hidden;
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    opacity: 0.5;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.1) translate(2%, -2%);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  opacity: 0.15;
  background: radial-gradient(circle at 50% 50%, var(--primary) 0%, transparent 70%);
  pointer-events: none;
  animation: floatBackground 6s ease-in-out infinite;
}

@keyframes floatBackground {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.05);
  }
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-cta svg {
  transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-clients {
  margin-top: 3rem;
}

.hero-clients p {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.client-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.client-logos img {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.client-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Hero Visual (Right Side) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroVisualFloat 4s ease-in-out infinite;
}

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

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), rgba(0, 180, 216, 0.1));
  border-radius: 20px;
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.1);
    opacity: 0.8;
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 102, 204, 0.2);
    opacity: 1;
  }
}

/* Floating particles decoration */
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  opacity: 0.3;
  animation: particleFloat 5s ease-in-out infinite;
}

.hero-visual::before {
  width: 60px;
  height: 60px;
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-visual::after {
  width: 30px;
  height: 30px;
  bottom: 20%;
  left: -5%;
  animation-delay: 2s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

/* =====================================================
   SECTIONS - Common Styles
   ===================================================== */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
  position: relative;
}

/* Glow effect on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  opacity: 0;
  transition: opacity var(--transition-medium);
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 180, 216, 0.05));
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15), 0 0 0 1px rgba(0, 102, 204, 0.1);
  border-color: rgba(0, 102, 204, 0.2);
}

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

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--light-bg);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 0.75rem;
}

/* =====================================================
   ABOUT PAGE STYLES
   ===================================================== */
.page-hero {
  padding: 10rem 2rem 4rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, #E8F4FC 100%);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.page-hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Values Section */
.values {
  background: var(--light-bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  text-align: center;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================================================
   SERVICES PAGE STYLES
   ===================================================== */
.services-detail {
  background: var(--white);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail-card:last-child {
  border-bottom: none;
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-detail-content h3 .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1rem;
  border-radius: 10px;
}

.service-detail-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

.service-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.service-visual {
  background: var(--light-bg);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-icon {
  width: 80px;
  height: 80px;
  color: var(--primary);
  opacity: 0.5;
}

/* =====================================================
   CONTACT PAGE & FORM STYLES
   ===================================================== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-item-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-item-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--light-bg);
  padding: 2.5rem;
  border-radius: 16px;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9375rem;
}

.form-group label span {
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

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

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

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

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-submit:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-loading {
  display: none;
}

/* Form Status Messages */
.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.form-status.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a6f 100%);
  text-align: center;
}

.cta-section .section-title {
  color: var(--white);
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-primary {
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  padding: 1rem 2rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-weight: 600;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  transition: background var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* =====================================================
   ABOUT PREVIEW SECTION (Homepage)
   ===================================================== */
.about-preview {
  background: var(--white);
  padding: var(--section-padding);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview-content .section-badge {
  margin-bottom: 1rem;
}

.about-preview-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-preview-text {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1rem;
  transition: all var(--transition-medium);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

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

.btn-outline:hover svg {
  transform: translateX(4px);
}

.about-preview-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-medium);
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--white);
  border: 1px solid var(--border);
}

.stat-card .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: transform var(--transition-fast);
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================================================
   CONTACT PREVIEW SECTION (Homepage)
   ===================================================== */
.contact-preview {
  background: var(--light-bg);
  padding: var(--section-padding);
}

.contact-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-preview-content .section-badge {
  margin-bottom: 1rem;
}

.contact-preview-content .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-preview-content .section-subtitle {
  text-align: left;
  margin: 0 0 2rem 0;
}

.contact-preview-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-preview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 12px;
  transition: all var(--transition-medium);
  cursor: pointer;
}

.contact-preview-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-preview-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-medium);
}

.contact-preview-item:hover .contact-preview-icon {
  background: var(--primary);
}

.contact-preview-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.contact-preview-item:hover .contact-preview-icon svg {
  color: var(--white);
}

.contact-preview-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-weight: 600;
  color: var(--navy);
}

.contact-cta-card {
  background: var(--navy);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  transition: all var(--transition-medium);
}

.contact-cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(30, 58, 95, 0.4);
}

.contact-cta-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-cta-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all var(--transition-medium);
  cursor: pointer;
}

.btn-primary-large:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary-large svg {
  transition: transform var(--transition-fast);
}

.btn-primary-large:hover svg {
  transform: translateX(4px);
}

/* =====================================================
   ENHANCED HOVER & CURSOR EFFECTS
   ===================================================== */

/* Global cursor styles */
a, button, .service-card, .stat-card, .contact-preview-item {
  cursor: pointer;
}

/* Logo hover effect */
.logo {
  transition: all var(--transition-medium);
}

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

.logo:hover span {
  color: var(--teal);
}

/* Navigation link underline effect */
.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-medium);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  width: 100%;
}

/* Enhanced service card hover */
.service-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

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

.service-number {
  transition: all var(--transition-medium);
}

/* Hero CTA pulse effect */
.hero-cta {
  position: relative;
  overflow: hidden;
}

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

.hero-cta:hover::before {
  width: 300px;
  height: 300px;
}

/* Client logo hover */
.client-logos img {
  transition: all var(--transition-medium);
  cursor: pointer;
}

.client-logos img:hover {
  transform: scale(1.15);
}

/* Badge hover effect */
.section-badge, .hero-badge {
  transition: all var(--transition-medium);
  cursor: default;
}

.section-badge:hover, .hero-badge:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

/* Button ripple effect */
.btn-primary, .nav-cta, .btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .nav-cta::after, .btn-submit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.btn-primary:focus::after, .nav-cta:focus::after, .btn-submit:focus::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(40, 40);
    opacity: 0;
  }
}

/* Footer link hover */
.footer-column a {
  position: relative;
  display: inline-block;
}

.footer-column a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition-medium);
}

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

/* Social link hover */
.social-links a {
  transition: all var(--transition-medium);
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.1);
}

/* Form input focus glow */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: 0 0 0 4px var(--primary-light), 0 0 20px rgba(0, 102, 204, 0.15);
}

/* Magnetic hover effect for CTAs */
.hero-cta:hover,
.btn-primary:hover,
.btn-primary-large:hover {
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.3);
}

/* Text highlight on hover */
.service-card:hover h3,
.value-card:hover h3 {
  color: var(--primary);
}

/* =====================================================
   ELEGANT ANIMATIONS & EFFECTS
   ===================================================== */

/* Text reveal animation */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: textReveal 0.8s ease forwards;
}

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

/* Stagger animation for children */
[data-aos="fade-up"] .hero-badge,
[data-aos="fade-up"] .hero-title,
[data-aos="fade-up"] .hero-description,
[data-aos="fade-up"] .hero-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: staggerFadeUp 0.8s ease forwards;
}

[data-aos="fade-up"] .hero-badge { animation-delay: 0.1s; }
[data-aos="fade-up"] .hero-title { animation-delay: 0.2s; }
[data-aos="fade-up"] .hero-description { animation-delay: 0.3s; }
[data-aos="fade-up"] .hero-cta { animation-delay: 0.4s; }

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

/* Glowing button effect */
.hero-cta,
.btn-primary-large,
.nav-cta {
  position: relative;
  z-index: 1;
}

.hero-cta::after,
.btn-primary-large::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: inherit;
  border-radius: inherit;
  filter: blur(15px);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-medium);
}

.hero-cta:hover::after,
.btn-primary-large:hover::after {
  opacity: 0.4;
}

/* Mouse trail glow on interactive elements */
.service-card,
.stat-card,
.contact-preview-item,
.value-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background: radial-gradient(
    circle 150px at var(--mouse-x) var(--mouse-y),
    rgba(0, 102, 204, 0.06),
    transparent
  ), var(--white);
}

/* Shimmer effect for badges */
.hero-badge,
.section-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge::before,
.section-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Smooth scale on section scroll */
section {
  transition: transform 0.5s ease;
}

/* Gradient text animation */
.hero-title .highlight {
  background-size: 200% auto;
  animation: gradientText 3s ease infinite;
}

@keyframes gradientText {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Floating animation for stat numbers */
.stat-card .stat-number {
  display: inline-block;
}

.stat-card:hover .stat-number {
  animation: countPulse 0.5s ease;
}

@keyframes countPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Smooth parallax effect class */
.parallax-slow {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Link underline animation */
.nav-links a:not(.nav-cta)::after {
  transition: width var(--transition-medium) ease, left var(--transition-medium) ease;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
  left: 50%;
}

/* Magnetic button effect class */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Service card stagger animation */
.service-card {
  opacity: 0;
  transform: translateY(40px);
}

.service-card[data-aos="fade-up"] {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth image reveal */
.hero-image-wrapper svg {
  animation: imageReveal 1s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

@keyframes imageReveal {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Contact card hover glow */
.contact-cta-card {
  position: relative;
  overflow: hidden;
}

.contact-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 180, 216, 0.1) 0%,
    transparent 60%
  );
  animation: rotateGlow 10s linear infinite;
  pointer-events: none;
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Footer subtle animation */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--teal), transparent);
  animation: borderGlow 3s ease-in-out infinite;
}

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

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

  .hero-visual {
    display: none;
  }

  .about-grid,
  .contact-grid,
  .service-detail-card,
  .about-preview-grid,
  .contact-preview-grid {
    grid-template-columns: 1fr;
  }

  .about-preview-content .section-title,
  .contact-preview-content .section-title,
  .contact-preview-content .section-subtitle {
    text-align: center;
  }

  .about-preview-content {
    text-align: center;
  }

  .about-preview-stats {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-preview-content {
    text-align: center;
  }

  .service-detail-card:nth-child(even) {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-medium);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .client-logos {
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .about-stats,
  .about-preview-stats {
    grid-template-columns: 1fr;
  }

  .contact-preview-items {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-cta-card {
    padding: 2rem;
  }

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

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

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 1rem 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* =====================================================
   ACCESSIBILITY - Reduced Motion
   ===================================================== */
@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;
  }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top var(--transition-fast);
}

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