:root {
  --primary-blue: #0074B7;
  --primary-blue-dark: #005a8c;
  --gray-accent: #8C8C8C;
  --light-gray: #E5E5E5;
  --off-white: #FAFAFA;
  --white: #FFFFFF;
  --text-dark: #333333;
  --text-medium: #555555;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue-dark);
}

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

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

header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

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

nav ul li a.active {
  color: var(--primary-blue);
}

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

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

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

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--white);
  color: var(--primary-blue);
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

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

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

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

.section {
  padding: 80px 20px;
}

.section-gray {
  background-color: var(--off-white);
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray-accent);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background-color: var(--white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-card p {
  color: var(--text-medium);
}

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

.team-member {
  display: flex;
  gap: 30px;
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.team-photo {
  width: 180px;
  height: 180px;
  background-color: var(--light-gray);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-accent);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.team-info .credentials {
  color: var(--gray-accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.team-info .title {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

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

.contact-info {
  max-width: 800px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.contact-card p {
  color: var(--text-medium);
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--primary-blue);
  font-weight: 500;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

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

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

.form-success {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

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

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  display: block;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.process-steps {
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-medium);
}

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

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

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

.about-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-intro p {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.bio-section {
  max-width: 900px;
  margin: 0 auto 60px;
}

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

.bio-section p {
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  nav {
    display: none;
    width: 100%;
    padding-top: 15px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
  }

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

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

  .section-title h2 {
    font-size: 1.8rem;
  }

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

  .team-member {
    flex-direction: column;
    text-align: center;
  }

  .team-photo {
    margin: 0 auto;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}