* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #c6ebe1;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background-color: #19383e;
  color: white;
  padding: 20px 0;
  text-align: center;
  width: 100%;
}

.navbar {
  background-color: #4d8b86;
  padding: 15px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.navbar a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.navbar a:hover {
  color: #00bcd4;
}


.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

.about-image {
  border-radius: 15px;
  width: 300px;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  max-width: 600px;
}


.education-list {
  background-color: #e6f0f7;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

.education-list ul {
  list-style-type: none;
}

.education-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 1.1rem;
}

.education-list li:last-child {
  border-bottom: none;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.skill {
  background-color: #e6f0f7;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.skill:hover {
  transform: scale(1.05);
}


.contact-info {
  background-color: #e6f0f7;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
  text-align: center;
}

.contact-info p {
  margin: 15px 0;
  font-size: 1.1rem;
}

.contact-info a {
  color: #004466;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}


section {
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}

h2 {
  color: #004466;
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
}

footer {
  background-color: #4d8b86;
  color: white;
  text-align: center;
  
  padding: 20px 0;
  font-size: 1em;
  width: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-image {
    width: 250px;
    margin-bottom: 20px;
  }
  
  .about-text, .education-list, .contact-info {
    text-align: center;
  }
  
  .navbar a {
    margin: 0 10px;
    font-size: 1rem;
  }
  
  .education-list, .contact-info {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 15px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }
  
  .skill {
    padding: 15px 10px;
    font-size: 0.9rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .about-image {
    width: 200px;
  }
  
  .navbar a {
    margin: 0 5px;
    font-size: 0.9rem;
  }
}

html, body {
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}