:root {
  --primary: #1a365d;
  --primary-light: #2a4a7f;
  --primary-dark: #0f2240;
  --secondary: #c9a227;
  --secondary-light: #dbb940;
  --accent: #3182ce;
  --background: #f7fafc;
  --surface: #ffffff;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 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);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.header-content {
  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;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

main {
  flex: 1;
  margin-top: 70px;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') repeat;
  opacity: 0.5;
}

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

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

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

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-image {
  position: relative;
}

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

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

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

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

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

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

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

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

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

section {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

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

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

.why-us {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.why-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.why-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.why-content p {
  color: var(--text-secondary);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
}

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

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

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

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

.footer-brand p {
  opacity: 0.8;
  margin: 15px 0;
  max-width: 300px;
}

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

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

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

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

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-column a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  opacity: 0.7;
}

.footer-legal a:hover {
  opacity: 1;
}

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

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.8;
}

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

.values-section {
  background: var(--surface);
}

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

.value-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}

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

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

.value-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-secondary);
}

.team-section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

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

.team-info {
  padding: 25px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-info .role {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 10px;
}

.team-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.testimonial-card {
  background: var(--surface);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

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

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

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

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  fill: var(--secondary);
}

.testimonial-text {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  color: var(--primary);
  font-size: 1rem;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

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

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

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

.contact-item-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.contact-item-text h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
  color: var(--text-secondary);
}

.contact-item-text a:hover {
  color: var(--secondary);
}

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

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 25px;
}

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

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

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

.form-group label .required {
  color: #e53e3e;
}

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

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

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
}

.error-message {
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group input.error + .error-message,
.form-group select.error + .error-message,
.form-group textarea.error + .error-message {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

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

.form-submit .btn {
  width: 100%;
  justify-content: center;
}

.form-success {
  display: none;
  background: #c6f6d5;
  color: #276749;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 20px;
}

.form-success.show {
  display: block;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.privacy-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 30px 0 15px;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.8;
}

.privacy-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.privacy-content li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  list-style: disc;
  line-height: 1.7;
}

.privacy-content a {
  color: var(--primary);
  text-decoration: underline;
}

.stats-section {
  background: var(--surface);
}

.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: var(--primary);
  font-weight: 800;
}

.stat-item h3 span {
  color: var(--secondary);
}

.stat-item p {
  color: var(--text-secondary);
  margin-top: 5px;
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 20px;
    display: none;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  section {
    padding: 60px 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .privacy-content {
    padding: 30px 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-item h3 {
    font-size: 2.5rem;
  }
  
  .contact-form-wrapper {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
