:root {
  --primary-blue: #0f4c81;
  --primary-dark: #0a3359;
  --primary-light: #1e6bb8;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--accent-blue) 100%);
  --gradient-faded: linear-gradient(180deg, rgba(15, 76, 129, 0.03) 0%, rgba(15, 76, 129, 0.08) 50%, rgba(15, 76, 129, 0.03) 100%);
  --gradient-faded-alt: linear-gradient(180deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.06) 50%, rgba(59, 130, 246, 0.02) 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  background-image: var(--gradient-faded);
  background-attachment: fixed;
  min-height: 100vh;
}

body.about-page {
  background-image: var(--gradient-faded-alt);
}

body.services-page {
  background-image: var(--gradient-faded);
}

body.contact-page {
  background-image: var(--gradient-faded-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-blue {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
}

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

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
}

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

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

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

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

.hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

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

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tagline {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

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

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.why-us-item {
  text-align: center;
  padding: 30px;
}

.why-us-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.why-us-item p {
  color: var(--gray-600);
}

.why-us-icon {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-us-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--primary-blue);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.approach-step {
  position: relative;
  padding: 30px;
}

.approach-step-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.approach-step-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.approach-step h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.approach-step p {
  color: var(--gray-600);
}

.problems-list {
  max-width: 800px;
  margin: 60px auto 0;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.problem-item:hover {
  background: var(--gray-50);
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.problem-item span {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.problem-item p {
  color: var(--gray-700);
  font-weight: 500;
}

.about-short {
  background: var(--white);
  text-align: center;
  padding: 80px 0;
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

.about-short p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.8;
}

.mission-section {
  background: var(--white);
  color: var(--gray-700);
  text-align: center;
  padding: 80px 0;
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

.mission-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.mission-section p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-600);
}

.how-we-work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.how-we-work-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.how-we-work-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.how-we-work-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.how-we-work-item p {
  color: var(--gray-600);
}

.team-section {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

.team-section p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-600);
  line-height: 1.8;
}

.service-detail {
  background: var(--white);
  border-radius: 16px;
  padding: 50px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
}

.service-detail h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.service-detail h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 30px 0 15px;
}

.service-detail p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 15px;
}

.service-detail ul {
  margin-left: 20px;
}

.service-detail li {
  color: var(--gray-600);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.service-detail li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

.service-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.service-detail-column h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.service-detail-column ul {
  margin-left: 0;
}

.service-detail-column li {
  color: var(--gray-600);
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

.service-detail-column li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 20px;
}

.contact-section {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 18px;
}

.alternative-contact {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.alternative-contact p {
  color: var(--gray-600);
  margin-bottom: 10px;
}

.alternative-contact a {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 18px;
}

.alternative-contact a:hover {
  color: var(--accent-blue);
}

footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section ul li {
  margin-bottom: 12px;
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

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

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

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .service-card,
  .service-detail {
    padding: 30px;
  }

  .contact-form {
    padding: 30px;
  }

  .service-detail-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}