:root {
  --brand-bg: #fcfcfc;
  --brand-primary: #3c5cbd;
  --brand-accent1: #4b9ce5;
  --brand-accent2: #4687d8;
  --brand-accent3: #4171ca;
  --header-height: 104px;
}

/* Base Styles */
body {
  background-color: var(--brand-bg);
  font-family: system-ui, -apple-system, sans-serif;
}

section {
  scroll-margin-top: var(--header-height);
}

/* Header Styles */
.header-bg {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: var(--header-height);
  padding: 0.75rem 0;
}

.logo-container {
  max-width: 160px;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.logo-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo {
  margin: 0;
}

/* Brand Colors */
.brand-primary-bg { background-color: var(--brand-primary); }
.brand-accent1-bg { background-color: var(--brand-accent1); }
.brand-accent2-bg { background-color: var(--brand-accent2); }
.brand-accent3-bg { background-color: var(--brand-accent3); }
.brand-primary-text { color: var(--brand-primary); }

/* Button Styles */
.btn-primary {
  background-color: var(--brand-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(60, 92, 189, 0.2);
}

.btn-primary:hover {
  background-color: var(--brand-accent2);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(60, 92, 189, 0.3);
}

.btn-secondary {
  background-color: white;
  color: var(--brand-primary);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--brand-primary);
}

.btn-secondary:hover {
  background-color: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero-section {
  min-height: 40vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1620121692029-d088224ddc74?auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(60, 92, 189, 0.75), 
    rgba(70, 135, 216, 0.65)
  );
  backdrop-filter: contrast(1.15) brightness(1.05);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1rem;
  margin-top: 0.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 0.08;
}

.service-card.tech-consulting::before {
  background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&q=80');
}

.service-card.digital-strategy::before {
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80');
}

.service-card.talent-service::before {
  background-image: url('https://images.unsplash.com/photo-1516110833967-0b5716ca1387?auto=format&fit=crop&q=80');
}

/* Contact Form Styles */
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background-color: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #374151;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(60, 92, 189, 0.1);
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

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

/* Mobile form styles */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
    height: 48px; /* Larger touch target */
  }

  .form-label {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
  }

  /* Increase spacing between stacked name/email fields */
  .grid-cols-1 .form-group + .form-group {
    margin-top: 0.5rem;
  }
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Thank You Message Styles */
#thankYouMessage h3 {
  color: #1F2937;
  font-weight: 600;
}

#thankYouMessage p {
  color: #4B5563;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  
  .hero-section {
    min-height: auto;
    padding: 6rem 0 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .logo-container {
    max-width: 160px;
  }
}

@media (max-height: 700px) {
  .hero-section {
    padding-top: var(--header-height);
  }
  
  .hero-content {
    transform: none;
    padding-top: 2rem;
  }
}

@media (max-height: 500px) {
  .hero-section {
    padding: 4.5rem 0 1.5rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .logo-container {
    max-width: 140px;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 428px) {
  :root {
    --header-height: 81px;
  }

  .hero-section {
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-content {
    padding: 1.5rem;
    margin: 0;
    transform: translateY(calc((var(--header-height) * -1) / 2));
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    margin-bottom: 1.25rem;
  }
}

/* Small phone optimization */
@media (max-width: 375px) {
  :root {
    --header-height: 72px;
  }

  .logo-container {
    max-width: 140px;
    margin: 8px 0;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 12rem);
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  
  .service-card {
    padding: 1.25rem !important;
  }

  .hero-content {
    padding: 1rem 0.5rem;
    margin-top: 4rem;
  }
}

/* Landscape mode optimization */
@media (max-height: 428px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-content {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
}

/* High pixel density screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section {
    background-image: url('https://images.unsplash.com/photo-1620121692029-d088224ddc74?auto=format&fit=crop&q=100&w=2000');
  }
}

/* Touch-friendly adjustments */
@media (hover: none) {
  .service-card:hover {
    transform: none;
  }
  
  a, button {
    min-height: 44px; /* iOS minimum touch target size */
    min-width: 44px;
  }
} 