:root {
  --primary-color: #1a365d;
  --secondary-color: #2563eb;
  --accent-color: #3b82f6;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
  --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 -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
}

.container {
  max-width: var(--max-width);
  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;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

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

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

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

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

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-light);
  transition: var(--transition);
}

.nav-menu a:hover svg,
.nav-menu a.active svg {
  stroke: var(--secondary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition);
}

.hero {
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--secondary-color);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.section {
  padding: 80px 20px;
}

.section-alt {
  background-color: var(--background-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  background: var(--background);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 35px;
  height: 35px;
  stroke: white;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.features-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.feature-item h4 {
  margin-bottom: 5px;
}

.feature-item p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.stats-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 60px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: white;
  margin-bottom: 10px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: var(--background-alt);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
}

.footer-brand h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

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

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

.footer-social svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.footer-column h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary-color);
  min-width: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  margin-top: 10px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 15px;
  font-size: 0.9rem;
}

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

.page-hero {
  padding: 140px 20px 60px;
  background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 15px;
}

.page-hero p {
  color: var(--text-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--background);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
}

.value-card h3 {
  margin-bottom: 15px;
}

.value-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-info {
  padding: 25px;
}

.team-info h4 {
  margin-bottom: 5px;
}

.team-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-card {
  background: var(--background);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 80px;
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
  stroke: #fbbf24;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.contact-item-text p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

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

.contact-form h3 {
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--background);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.form-group.error input,
.form-group.error textarea {
  border-color: var(--error-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-light);
}

.form-checkbox a {
  color: var(--secondary-color);
}

.form-checkbox a:hover {
  text-decoration: underline;
}

.form-submit {
  margin-top: 25px;
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success svg {
  width: 80px;
  height: 80px;
  stroke: var(--success-color);
  margin-bottom: 20px;
}

.form-success h3 {
  color: var(--success-color);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-light);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.privacy-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-light);
}

.privacy-content ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.privacy-content ul li {
  margin-bottom: 8px;
}

.clients-section {
  padding: 60px 20px;
  text-align: center;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  opacity: 0.6;
}

.clients-grid img {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: var(--transition);
}

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

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .features-image {
    order: -1;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .services-grid,
  .values-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-item h3 {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact li {
    justify-content: center;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .service-card,
  .value-card,
  .testimonial-card {
    padding: 30px 20px;
  }
}
