body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #222;
}

header {
    background: #1a237e;
    color: #fff;
    padding: 2em 1em 1.5em 1em;
    text-align: center;
    box-shadow: 0 2px 12px rgba(26,35,126,0.08);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 2px;
    font-weight: 700;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 1em;
}

nav a {
    color: #fff;
    background: #3949ab;
    padding: 0.5em 1.2em;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
nav a:hover {
    background: #5c6bc0;
}

main {
    padding: 2.5em 1em 2em 1em;
    max-width: 1200px;
    margin: 0 auto;
}

h2, h3, h4 {
    color: #1a237e;
    font-weight: 600;
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 2em;
}

.service, .team-member {
    background: #fff;
    border: none;
    border-radius: 18px;
    padding: 2em 1.5em 1.5em 1.5em;
    width: 270px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(60,72,88,0.10);
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
}
.service:hover, .team-member:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(60,72,88,0.16);
}

.service img, .team-member img {
    height: 60px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #f5f7fa;
    box-shadow: 0 2px 8px rgba(60,72,88,0.07);
}

.service h4, .team-member h4 {
    margin-top: 0.7em;
    color: #3949ab;
    font-size: 1.2em;
}

.team-member img {
    border-radius: 50%;
    height: 80px;
    width: 80px;
    object-fit: cover;
    margin-bottom: 14px;
}

.team-member h4 a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    cursor: pointer;
}
.team-member h4 a:hover {
    text-decoration: underline;
    color: #1a237e;
}

footer {
    background: #232946;
    color: #fff;
    text-align: center;
    padding: 2em 1em 1.5em 1em;
    margin-top: 3em;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    font-size: 1.1em;
}
footer a { color: #a3bcf9; text-decoration: underline; }

@media (max-width: 900px) {
  .services {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .service, .team-member {
    width: 95%;
    min-width: 0;
    margin: 0 auto 18px auto;
    padding: 1.5em 0.7em;
  }
}

@media (max-width: 600px) {
  html, body {
    width: 100vw;
    overflow-x: hidden;
  }
  body {
    font-size: 1em;
    padding: 0;
    margin: 0;
  }
  header {
    padding: 1em 0.2em 0.7em 0.2em;
    font-size: 1.1em;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }
  nav {
    gap: 6px;
  }
  nav a {
    margin: 0 2px;
    font-size: 1em;
    padding: 0.5em 0.5em;
  }
  main {
    padding: 0.7em 0.2em;
  }
  .service img, .team-member img {
    height: 40px;
    max-width: 80px;
  }
  h2, h3, h4 {
    font-size: 1.1em;
  }
  footer {
    font-size: 0.95em;
    padding: 1em 0.2em;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
}
