

/* ====== Basic Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #dfe4ea;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ====== Header & Nav ====== */
header {
  background-color: #1B1464;
  padding: 15px 0;
  text-align: center;
  color: white;
  font-size: 30px;
  font-weight: bold;
}

nav {
  background-color: #1B1464;
  text-align: center;
}

nav ul {
  display: inline-block;
}

nav ul li {
  display: inline-block;
  position: relative;
}

nav ul li a {
  display: block;
  padding: 12px 20px;
  color: white;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #686de0;
}

/* Dropdown */
nav ul li ul {
  display: none;
  position: absolute;
  background-color: #2C3A47;
  top: 100%;
  left: 0;
  width: 200px;
  z-index: 1000;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li {
  display: block;
}

nav ul li ul li a {
  padding: 10px 15px;
}

nav ul li ul li a:hover {
  background-color: #FD7272;
}

/* ====== Hero Section ====== */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #95afc0, #dfe4ea);
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 10px;
  color: #1B1464;
}

.hero p {
  font-size: 22px;
  color: #57606f;
  margin-bottom: 20px;
}

.btn {
  background-color: #1B1464;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #686de0;
}

/* ====== About Section ====== */
#about {
  max-width: 900px;
  margin: 40px auto;
  display: flex;
  gap: 20px;
  padding: 0 20px;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

#about .about-text {
  flex: 1;
  font-size: 18px;
  color: #333;
}

#about .about-text h3 {
  margin-bottom: 15px;
  color: #1B1464;
}

#about .about-text mark {
  background-color: #f9ca24;
  padding: 2px 5px;
  border-radius: 4px;
}

#about .about-image img {
  width: 300px;
  border-radius: 15px;
  object-fit: cover;
}

/* ====== Skills Section ====== */
#skills {
  max-width: 900px;
  margin: 40px auto;
  background-color: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

#skills h2 {
  color: #1B1464;
  margin-bottom: 20px;
  font-size: 32px;
}

#skills ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0;
}

#skills ul li {
  background-color: #dff9fb;
  padding: 15px 25px;
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  border-radius: 30px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  min-width: 150px;
  text-align: center;
  cursor: default;
  user-select: none;
  transition: background-color 0.3s ease;
}

#skills ul li:hover {
  background-color: #c7ecee;
}

/* ====== Projects Section ====== */
#projects {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

#projects h2 {
  color: #1B1464;
  margin-bottom: 20px;
  font-size: 32px;
  text-align: center;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project {
  background-color: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.project:hover {
  transform: scale(1.05);
}

.project img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.project h3 {
  margin-bottom: 10px;
  color: #1B1464;
}

.project p {
  font-size: 16px;
  color: #57606f;
}

/* ====== Contact Section ====== */
#contact {
  max-width: 600px;
  margin: 40px auto 80px;
  padding: 0 20px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

#contact h2 {
  color: #1B1464;
  margin-bottom: 20px;
  font-size: 32px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  resize: none;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #1B1464;
  box-shadow: 0 0 8px #686de0;
}

button[type="submit"] {
  background-color: #1B1464;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #686de0;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  #about {
    flex-direction: column;
    text-align: center;
  }

  #about .about-image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  #skills ul {
    flex-direction: column;
    gap: 10px;
  }

  .project-list {
    flex-direction: column;
    align-items: center;
  }
}

