html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}
body {
  background-color: beige;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.header {
  background-color: black;
  border-radius: 20px 20px 20px 20px;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ccc;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.icon-link {
  color: white;
  font-size: 20px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.icon-link:hover {
  color: #ccc;
}

.header-social-icons .icon-link {
  font-size: 22px;
}

.container {
  display: flex;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem;
}

.rounded-image {
  margin-left: 200px;
  width: 400px;
  height: auto;
  border-radius: 40px;
}

.text-content {
  margin-top: 150px;
  margin-left: 110px;
  max-width: 600px;
}

.title {
  font-size: 50px;
}


.content-social-icons {
  margin-left: 20px;
  margin-top: 30px;
  margin-bottom: 100px;
  display: flex;
  gap: 3rem;
}

.content-social-icons .icon-link {
  font-size: 35px;
  color: black;
  justify-content: center;
  transition: color 0.3s ease;
  gap: 4rem;
}

.content-social-icons .icon-link:hover {
  color: #555;
  gap: 4rem;
}

/* === Recent Work Section === */
.card_line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem; /* reduced gap from 1.5rem to 0.5rem */
  margin-top: 10rem;
}

.black-line {
  border: none;
  margin-right: 0px;
  margin-left: 0px;
  border-top: 2px solid rgba(0, 0, 0, 0.316);
  width: 450px;
}

.work-title {
  color: rgba(0, 0, 0, 0.316);
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0.2rem; /* tighter margins */
}

/* Work Cards Group */
.work-group {
  margin-top: 100px;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 1rem;
}

.work-card {
  background-color: black;
  border-radius: 15px;
  box-shadow: 2px 6px 15px rgba(0, 0, 0, 0.223);
  width: 320px;
  aspect-ratio: 1 / 1;
  padding: 10px 15px 10px;
  display: flex;
  flex-direction: column;
  color: white;
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 2px 6px 15px rgba(0, 0, 0, 0.223);
}

.work-card h2 {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.work-card img {
  width: 100%;
  border-radius: 15px;
  margin: 5px 2px 10px 0;
  object-fit: cover;
  height: 140px;
}

.work-card p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cardline {
  margin-top: 10px;
}

.work-group::-webkit-scrollbar {
  height: 6px;
}

.work-group::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 3px;
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.744);
  padding: 2rem 1rem 1rem 1rem;
  margin-top: 10rem;
  text-align: center;
  color: white;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ccc;
}

.footer-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

