body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f3f4f6;
  color: #222;
  font-size: 17px;
}

nav {
  background-color: #0e2a47;
  padding: 18px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 24px;
  margin: 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.hero {
  background: linear-gradient(to right, #1c3b57, #326d95);
  color: white;
  text-align: center;
  padding: 80px 20px 50px;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid white;
  margin-bottom: 25px;
  object-fit: cover;
}

.main-name {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

.socials a {
  margin: 0 10px;
  color: #aee1ff;
  text-decoration: none;
  font-size: 16px;
}

main {
  padding: 30px 10px;
}

.card {
  background: white;
  margin: 25px auto;
  padding: 25px 35px;
  max-width: 960px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

h2 {
  margin-top: 0;
  font-size: 24px;
  color: #154a6d;
}

/* Dropdown education section */
.dropdown {
  margin-bottom: 15px;
}
.dropbtn {
  background-color: #d0e7ff;
  color: #00324e;
  padding: 12px 18px;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 17px;
  text-align: left;
  border-radius: 4px;
}
.dropdown-content {
  display: none;
  padding: 12px;
  background: #f0f8ff;
  border-left: 3px solid #1c4c7e;
  margin-top: 5px;
  border-radius: 4px;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel-container {
  display: flex;
  transition: transform 0.4s ease-in-out;
}
.carousel-slide {
  min-width: 100%;
  padding: 20px;
  text-align: center;
  font-size: 18px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  background-color: #1c3b57;
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Skills cards */
.skills-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

.skill-card {
  background: #e2f0fa;
  border-radius: 8px;
  padding: 15px;
  width: 22%; /* Ensure 4 cards fit on a row with gap */
  min-width: 200px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
}

.skill-card h3 {
  margin-bottom: 10px;
  color: #0d3a5f;
  font-size: 18px;
  border-bottom: 1px solid #90c1e0;
  padding-bottom: 5px;
}

.skill-card ul {
  list-style-type: disc;
  text-align: left;
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
}


/* Community album */
.community-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.community-item {
  background-color: #f0f8ff;
  padding: 15px 20px;
  border-left: 5px solid #2f6e96;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.community-item h3 {
  margin: 0 0 5px;
  color: #154a6d;
  font-size: 18px;
}

.community-item p {
  margin: 0;
  font-size: 15px;
  color: #333;
}


footer {
  text-align: center;
  background: #0e2a47;
  color: white;
  padding: 20px;
  margin-top: 40px;
}

.dropbtn .icon {
  margin-right: 10px;
  font-weight: bold;
}


