:root {
  --primary: #1A202C;
  --accent: #008080;
  --bg: #f9f9f9;
  --card-bg: #fff;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --radius: 1rem;
  --transition: 0.2s;
  --font-main: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--primary);
}

.top-bar {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-icons {
  display: flex;
  gap: 2rem;
}

.nav-icons a {
  color: var(--primary);
  background: var(--bg);
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: var(--transition), color var(--transition);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-icons a:hover {
  background: var(--accent);
  color: #fff;
}

.hero {
  background: linear-gradient(90deg, #e0f7fa 60%, #f9f9f9 100%);
  padding: 2rem 1rem 1rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow);
  margin-right: 1rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text h1 {
  margin: 0 0 0.4rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-text p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0;
}

section {
  margin: 2rem 1rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about p {
  line-height: 1.7;
  font-size: 1.05rem;
}



.what-i-do {
  padding-bottom: 0.2rem;
}

.dropdown {
  margin-bottom: 1rem;
  width: 100%;
}

.dropdown-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.dropdown-btn:hover {
  background: #006e6e;
}

.dropdown-content {
  display: none;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 0.3rem;
  padding: 0.8rem 1rem;
  animation: fadeIn 0.25s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px);}
  to { opacity: 1; transform: translateY(0);}
}

.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content li {
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--primary);
}

.contact ul {
  list-style: none;
  padding: 0;
}

.contact li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact a {
  color: var(--accent);
  text-decoration: underline;
}


@media (min-width: 800px) {
  body {
    margin-left: 15%;
    margin-right: 15%;
  }
}


/* Mobile First */
@media (max-width: 600px) {
  .hero-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .avatar {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  section {
    margin: 1rem 0.2rem;
    padding: 1rem 0.8rem;
  }

}

/* project card */
.projects {
  margin: 2rem 1rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.5rem;
}

.projects-carousel {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 100%;
  margin-top: 1rem;
  padding: 0.5rem 0;
  /* Mobile-first: allow scroll! */
  overflow-x: auto;
  /* Hide scrollbar visually, but keep scroll enabled */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.projects-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* On desktop, optionally hide overflow to force arrow/drag navigation */
@media (min-width: 800px) {
  .projects-carousel {
    overflow-x: hidden;
  }
}

.carousel-track {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.project-card {
  background: #f9f9f9;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  min-width: 270px;
  max-width: 320px;
  flex: 0 0 auto;
  padding: 1rem;
  transition: box-shadow 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  scroll-snap-align: center;
  user-select: none;
}

.project-card:hover, .project-card:focus {
  border: 2px solid #008080;
  box-shadow: 0 4px 16px rgba(0,128,128,0.13);
}

.project-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #008080;
}

.project-card p {
  margin: 0;
  font-size: 0.98rem;
  color: #1A202C;
}

.project-card a {
  color: #008080;
  font-size: 0.95rem;
  text-decoration: underline;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #008080;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.3rem;
  height: 2.3rem;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1;
  opacity: 0.8;
  transition: 0.2s;
  display: none;
}
.carousel-arrow.left {
  left: 0.3rem;
}
.carousel-arrow.right {
  right: 0.3rem;
}
.carousel-arrow:hover {
  background: #006e6e;
}


/* Footer */
.site-footer {
  width: 100%;
  background: #f9f9f9;
  color: #008080;
  padding: 1.5rem 0.5rem 1.2rem 0.5rem;
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
  border-top: 1px solid #e0e0e0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.footer-title strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1A202C;
}
.footer-subtitle {
  display: block;
  font-size: 0.98rem;
  color: #008080;
  margin-top: 0.2rem;
  font-style: italic;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: #008080;
}
.footer-note {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}
.footer-location {
  font-size: 0.97rem;
  color: #1A202C;
  font-weight: 500;
}

/* Desktop enhancement */
@media (min-width: 800px) {
  .footer-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
  }
  .footer-meta {
    flex-direction: row;
    gap: 1.8rem;
  }
}