* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body {
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
}

.profile-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin-bottom: 20px;
  animation: popIn 1s ease-in-out;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px 0;
}

header {
  background: #ff9595;
  color: white;
  padding: 40px 0;
  text-align: center;
}

nav {
  background: #333;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 15px 0;
  display: block;
}

nav ul li a:hover {
  text-decoration: underline;
}

section {
  padding: 40px 0;
}

.project {
  background: rgb(255, 255, 255);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #ba5555;
}

form {
  background: rgb(255, 255, 255);
  padding: 20px;
}

form label {
  display: block;
  margin-top: 10px;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
}

form button {
  margin-top: 15px;
  background: #ff84a7;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #da5d5d;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.project {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.skills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.skills-list li {
  background: #ff84a7;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.skills-list li:hover {
  background: #da5d5d;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.school-card {
  display: flex;
  align-items: center;
  background: white;
  padding: 15px;
  margin-bottom: 20px;
  border-left: 5px solid #da5d5d;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.school-card:hover {
  transform: scale(1.02);
}

.school-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 8px;
  border: 2px solid #da5d5d;
}

.school-info h3 {
  margin-bottom: 5px;
}

@media (max-width: 600px) {
  .school-card {
    flex-direction: column;
    text-align: center;
  }

  .school-img {
    margin: 0 0 15px 0;
  }
}
