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: rgba(245, 245, 220, 0.503);
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.header {
  font-family: 'Poppins', sans-serif;
  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;
}

/* ====== Body and Section ====== */
body {
  background-color: beige;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: white;
}

.work-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Work Cards Group */
.work-group {
  margin-top: 50px;
  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: 0 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);
}

.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;
}
/* Learn More Button - Centered and White Background */
.card-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: white;
  color: black;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid beige;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.card-link:hover {
  background-color: beige;
  color: black;
}

/* 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);
}
.container {
    margin-left: 70px;
  background-color: rgb(234, 234, 225);
  display: flex;
  align-items: flex-start;
  padding: 2rem;
  color: black;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.223);
  height: 500px;
  box-shadow: black;
  position: relative;
  z-index: -1;
  width: 1300px;
  border-radius: 30px;
  margin-bottom: 300px;
}
.open_card_img
{
    width: 320px;
    height: auto;
}
.text_container{
    margin-top:60px;
    margin-left: 50px;
}
.title {
  font-family: 'Nunito', sans-serif;
  margin-top: 20px;
  font-size: 50px;
}
.content{
  color: rgba(0, 0, 0, 0.722);
  width: 500px;
  margin-top: 50px;
  font-size: 22px;
  font-family: "Montserrat", sans-serif;    
}
.card_subtext{
    font-size: 18px;
    font-family: "Montserrat", sans-serif;   

}
.summary2{
  color: rgba(0, 0, 0, 0.722);
  width: 500px;
  margin-top: 50px;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
}
.vertical_card
{   padding: 10px 15px 15px;
    margin-top: 200px;
    color: white;
    background-color: black;
  display:flex;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  gap: 0.5rem;
  font-size: 25px;
  align-items: center;
  text-align: center;
  width:400px;
  margin-left:70px;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.622);
}

.vertical_card img{
  border-radius: 20px;
  width: 280px;
  object-fit: cover;
  height: auto;
}

.horizontal_card
{   margin-left: -15px;
    border-radius: 20px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
    color: white;
    background-color: black;
  transition: 0.3s;
  gap: 1rem;
  font-size: 25px;
  align-items: center;
  text-align: center;
  width: 195px;
  height: 350px;
  padding: 10px 15px 15px;
 box-shadow: 0 6px 15px rgb(0, 0, 0);
}

.horizontal_card img{
 border-radius: 20px;
  width: auto;
  object-fit: cover;
  height: 250px;
}
.verti_text
{
    margin-top: 5px;
}

.card_subtext{
    color: rgba(255, 255, 255, 0.551);
    margin-top: 10px;
    font-size: 14px;
    padding: 10px 10px;
    font-family: "Montserrat", sans-serif;   
}