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

.main-about {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: url('img/background3.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0055a5;
  padding: 1rem 2rem;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-items {
  display: flex;
  gap: 1rem;
}

.nav-link {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-link.active {
  background: #003d80;
  font-weight: bold;
}

.profile {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  animation: slideInLeft 1s ease forwards;
  cursor: pointer;
  transition: transform 0.3s ease;
}


.profile img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 85, 165, 0.6);
  animation: slideInLeft 1s ease forwards;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.profile img:hover {
  transform: scale(1.05);
}

.profile-text {
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-text h1 {
  font-size: 50px;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.profile-text p {
  font-family: "Comic Sans MS", cursive, sans-serif;
  flex: 1;
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #222222;
}

.text-container {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

.education-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.edu-title {
  font-size: 32px;
  margin-bottom: 0.5rem;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.edu-subtitle {
  font-size: 32px;
  margin-bottom: 1.5rem;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
}

.edu-block {
  display: flex;
  align-items: center;
  margin: 1.5rem auto;
  max-width: 900px;
  background-color: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-fill-mode: forwards;
}

.education-section>.edu-block:nth-of-type(1) {
  animation-delay: 0.6s;
}

.education-section>.edu-block:nth-of-type(2) {
  animation-delay: 1.1s;
}

.education-section>.edu-block:nth-of-type(3) {
  animation-delay: 1.6s;
}

.education-section>.edu-block:nth-of-type(4) {
  animation-delay: 2.1s;
}

.edu-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0055a5;
  margin-right: 2rem;
}

.edu-text {
  text-align: left;
  flex: 1;
}

.edu-level {
  font-size: 20px;
  color: #009dff;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.edu-detail {
  font-size: 18px;
  color: #222;
  line-height: 1.6;
}

.hobby-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  text-align: center;
}

.hobby-section>.edu-title {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  text-align: center;
}

.hobby-section>.edu-subtitle {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
  text-align: center;
  margin-bottom: 1.5rem;
}

.hobby-section .hobby-list .row {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-fill-mode: forwards;
}

.hobby-section .hobby-list .row:nth-child(1) {
  animation-delay: 1s;
}

.hobby-section .hobby-list .row:nth-child(2) {
  animation-delay: 1.5s;
}

.hobby-section .hobby-list .row:nth-child(1) .hobby-item:nth-child(1) {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 1.3s;
}

.hobby-section .hobby-list .row:nth-child(1) .hobby-item:nth-child(2) {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 1.5s;
}

.hobby-section .hobby-list .row:nth-child(2) .hobby-item:nth-child(1) {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 1.8s;
}

.hobby-section .hobby-list .row:nth-child(2) .hobby-item:nth-child(2) {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 2s;
}

.section-title {
  font-size: 36px;
  color: #003366;
  margin-bottom: 2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hobby-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.hobby-item:hover {
  transform: scale(1.05);
}

.hobby-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  object-fit: cover;
  display: block;
}

.hobby-item img:hover {
  transform: scale(1.05);
}

.hobby-item p {
  font-size: 18px;
}


.row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.contact-us {
  max-width: 800px;
  margin: 3rem auto;
  padding: 3rem 3rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-item {
  background-color: #f0f4ff;
  color: #003366;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;

  margin-bottom: 1.5rem;
}

.contact-item:hover {
  background-color: #d7e3ff;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.contact-link {
  color: #003366;
  text-decoration: none;
  word-break: break-all;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #cde0ff;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 85, 204, 0.3);
  transition: transform 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.15);
}

.contact-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.contact-title h1 {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  text-align: center;
  font-size: 48px;
}

.contact-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.contact-item.delay-1 {
  animation-delay: 0.3s;
}

.contact-item.delay-2 {
  animation-delay: 0.6s;
}

.contact-item.delay-3 {
  animation-delay: 0.9s;
}

.contact-item.delay-4 {
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}