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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

a {
  color: #1a56db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

section {
  padding: 60px 0;
}

.section-gray {
  background-color: #f4f6f9;
}

.navbar {
  background-color: #1e3a5f;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
}

.nav-brand {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
}

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

.nav-links a {
  color: #c8d8ee;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
}

.nav-links a:hover {
  background-color: #1a56db;
  color: #ffffff;
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: bold;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-blue {
  background-color: #1a56db;
  color: #ffffff;
  border-color: #1a56db;
}

.btn-blue:hover {
  background-color: #1446c0;
  border-color: #1446c0;
  text-decoration: none;
  color: #ffffff;
}

.btn-outline {
  background-color: #ffffff;
  color: #1a56db;
  border-color: #1a56db;
}

.btn-outline:hover {
  background-color: #1a56db;
  color: #ffffff;
  text-decoration: none;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

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

.section-header h2 {
  font-size: 1.7rem;
  color: #1e3a5f;
  margin-bottom: 6px;
}

.section-header p {
  color: #666666;
  font-size: 0.95rem;
}

.group-title {
  font-size: 1.1rem;
  color: #1e3a5f;
  margin: 36px 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid #1a56db;
  display: inline-block;
}

.profile-box {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background-color: #f0f4ff;
  border: 1px solid #d0ddf5;
  border-radius: 6px;
  padding: 36px;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid #1a56db;
  flex-shrink: 0;
}

.profile-text h1 {
  font-size: 1.7rem;
  color: #1e3a5f;
  margin-bottom: 4px;
}

.profile-text h2 {
  font-size: 1rem;
  font-weight: normal;
  color: #1a56db;
  margin-bottom: 14px;
}

.profile-text .motto {
  font-style: italic;
  color: #555555;
  border-left: 4px solid #1a56db;
  padding-left: 12px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.info-table {
  border-collapse: collapse;
  font-size: 0.9rem;
  width: 100%;
  margin-bottom: 6px;
}

.info-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #d8e3f4;
  color: #444444;
}

.info-table .info-label {
  font-weight: bold;
  color: #1e3a5f;
  width: 100px;
  white-space: nowrap;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background-color: #ffffff;
  border: 1px solid #d8e3f4;
  border-radius: 6px;
  padding: 20px;
}

.card h4 {
  font-size: 1rem;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.875rem;
  color: #555555;
  line-height: 1.6;
}

.tags {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #1a56db;
  font-weight: bold;
}

.bar-track {
  width: 100%;
  height: 8px;
  background-color: #dde6f5;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}

.bar {
  height: 100%;
  background-color: #1a56db;
  border-radius: 4px;
}

.card small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #777777;
}

.card.center {
  text-align: center;
}

.hobby-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: flex-start;
}

.contact-details {
  background-color: #f0f4ff;
  border: 1px solid #d0ddf5;
  border-radius: 6px;
  padding: 24px 20px;
}

.contact-details h3 {
  font-size: 1rem;
  color: #1e3a5f;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d0ddf5;
}

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

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888888;
}

.contact-list a,
.contact-list span {
  font-size: 0.9rem;
  color: #333333;
}

.contact-list a:hover {
  color: #1a56db;
}

.social-heading {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888888;
  margin-bottom: 10px;
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.social-icon-text {
  width: 20px;
  height: 20px;
  background-color: #1a56db;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-list a {
  font-size: 0.9rem;
  color: #1a56db;
}

.contact-form {
  background-color: #f0f4ff;
  border: 1px solid #d0ddf5;
  border-radius: 6px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #444444;
}

.form-group input,
.form-group textarea {
  padding: 8px 12px;
  border: 1px solid #b8cce8;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #ffffff;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1a56db;
}

.footer {
  background-color: #1e3a5f;
  color: #c8d8ee;
  text-align: center;
  padding: 18px 0;
  font-size: 0.875rem;
}


@media (max-width: 768px) {
  .profile-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
  }

  .profile-text .motto {
    text-align: left;
  }

  .btn-row {
    justify-content: center;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-links a {
    padding: 5px 8px;
    font-size: 0.85rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 40px 0;
  }
}
