.hero {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 60px;
}
.text1 {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.container {
  display: flex;
  justify-content: space-around;
}
.hello-text {
  font-weight: 400;
  font-size: 20px;
}
.name-text {
  color: #262626;
  font-weight: 700;
  font-size: 56px;
}
.text2 {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-profession {
  margin-top: 10px;
  align-self: center;
  font-size: 14px;
  color: #444;
  margin-top: 5px;
  max-width: 600px;
}
.button {
  background-color: #f564a9;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  width: 30%;
  color: #f0eff4;
  text-align: center;
}
.img img {
  height: 400px;
  width: 100%;
}

.stats {
  display: flex;
  justify-content: start;
  gap: 20px;
}

/* .box {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(14, 0, 0, 0.05);
} */

.box {
  position: relative;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 0;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #f564a9;
  z-index: -1;
  transition: all 0.4s ease-in-out;
}

.box:hover::before {
  right: 0;
}

.box:hover h2,
.box:hover p {
  color: #fff;
  position: relative;
  z-index: 1;
}

.box h2 {
  font-size: 28px;
  color: #333;
}

.box p {
  color: #777;
  margin-top: 5px;
}

/* introduction section2 */
.introduction-maincontainer {
  display: flex;
  justify-content: space-around;
  position: relative;
}
.subcontainer1,
.subcontainer2 {
  width: 50%;
}
.subcontainer1-text {
  font-size: 2.5rem;
  font-weight: 400;
}
.buttons {
  display: flex;
  gap: 20px;
  position: relative;
  top: 20px;
}
.project {
  background-color: #f564a9;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  width: 30%;
  color: #f0eff4;
  text-align: center;
  border: none;
}
.cv {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  width: 30%;
  color: #f564a9;
  text-align: center;
  border: 2px solid #f564a9;
  background-color: #fff;
}
.subcontainer1 {
  position: absolute;
  left: 60px;
}
.subcontainer2 {
  position: absolute;
  right: 60px;
  top: 181px;
}
.subcontainer2 p {
  margin-top: 20px;
}

/* .work-process section3 */
.work-process {
  position: relative;
  top: 330px;
}
.work-process-maincontainer {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 36px;
}
.work-process-subcontaine1 {
  display: flex;
  flex-direction: row;
}
.work-process-subcontaine2 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  position: relative;
  top: -128px;
}
#step-box1 {
  position: relative;
  left: 20px;
}
#step-box2 {
  position: relative;
  left: 383px;
}
#step-box3 {
  position: relative;
  left: 140px;
}
#step-box4 {
  position: relative;
  left: 120px;
}
.step-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: left;
  max-width: 250px;
  box-shadow: 26px 26px 36px #f564a91a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px #f564a91a;
}
.icon-search {
  display: flex;
  justify-content: center;
}

.step-icon {
  font-size: 36px;
  color: #f564a9;
  margin-bottom: 15px;
}

.step-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.step-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* section 4 */
.high-lights {
  position: relative;
  top: 300px;
}
.high-lights-maincontainer {
  display: flex;
}
.high-lights-subcontainer1 {
  display: flex;
  justify-content: space-around;
  width: 63%;
}
#container1-box2,
#container2-box2 {
  position: relative;
  top: 50px;
}
.high-lights-subcontainer2 {
    width: 30%;
    position: absolute;
    top: 238px;
    height: 160px;
    /* left: 50px; */
    right: 44px;
}
.high-lights-subcontainer1 h1,
.portfolio-heading,
.moments-heading,
.memories-heading,
.blog-heading,
.project-heading {
  font-weight: 500;
  font-family: "Josefin Slab", serif;
  font-size: 2rem;
}

/* section 5 */
.para{
margin-left: 44px;
}
.portfolio {
  position: relative;
  top: 400px;
  padding: 40px;
}

.portfolio-container h1 {
  font-size: 36px;
  margin-bottom: 10px;
  margin-left: 45px;
}

.portfolio-container p {
  max-width: 700px;
  margin-bottom: 40px;
}

.portfolio-cards {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 40px 20px;
}

.portfolio-card {
  position: relative;
  width: 30%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
}

.img-container {
  width: 100%;
}

.img-container img {
  width: 90%;
  /* height: auto; */
  height: 410px;
  display: block;
  border-radius: 19px;
}

.card-content {
  position: absolute;
  bottom: 30px;
  background: #fff;
  padding: 16px;
  width: 74%;
  left: 29px;
  box-sizing: border-box;
  border: 1px solid fff;
  border-radius: 7px;
  height: 149px;
}

.card-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #ff4fa3;
  color: white;
  padding: 8px;
  border-radius: 50%;
  font-size: 14px;
}

.card-content p {
  font-size: 14px;
  color: #444;
}

/* section 6 */
.moments {
  position: relative;
  top: 400px;
  padding: 40px;
}
.moments-container {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}
.image-container img {
  width: 45%;
  height: 100%;
  border-radius: 14px 0px 0px 14px;
}
.moments-textcontainer {
  position: absolute;
  top: 50px;
  right: 140px;
}
.moments-text,
.memories-subheading {
  font-size: 1.5rem;
  margin-top: 10px;
  font-weight: 500;
  margin-bottom: 10px;
}
.read-more,
.cta-button {
  background-color: #f564a9;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  width: 40%;
  color: #f0eff4;
  text-align: center;
  border: none;
  margin-top: 10px;
}

/* section7 */
.memories {
  position: relative;
  top: 400px;
  padding: 40px;
}

.memories-container {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-container {
  width: 55%;
  padding: 58px;
  display: flex;
  flex-direction: column;
  position: relative;
  left: 153px;
}
.image-wrapper {
  width: 45%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 10px 10px 0;
}
.cta-button {
  width: 22%;
}

/* section 8 */
.blog {
  position: relative;
  top: 400px;
  padding: 40px;
  background: #ffffff;
}

.blog-container {
  padding: 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 500px;
}

.blog-heading {
  font-size: 36px;
  margin-bottom: 30px;
  font-family: "Josefin Slab", serif;
}

.blog-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-card {
  width: 30%;
  border-radius: 20px;
  transition: transform 0.3s ease;
  background-color: transparent;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-img-container {
  width: 100%;
  height: 400px;
  position: relative;
}

.blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.blog-content {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 76%;
  background: #f8f8f8;
  padding: 16px;
  border-radius: 7px;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
  z-index: 10;
  height: 139px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}

.blog-category {
  background-color: #ff4fa3;
  color: white;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.blog-date {
  color: #888;
}

.blog-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-readmore {
  font-size: 14px;
  color: #444;
  text-decoration: none;
  font-weight: 500;
}

.blog-readmore i {
  margin-left: 5px;
}

/* section9 */
.projects {
  position: relative;
  top: 400px;
  padding: 40px;
}
.projects-container {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 395px;
}
.project-containerimg img {
  width: 110%;
  height: 100%;
  padding: 43px;
}
.project-containertext {
  position: absolute;
  top: 140px;
  left: 656px;
  width: 44%;
}
.project-text{
  padding: 15px 0 15px 0;
}
.get-btn{
      background-color: #f564a9;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    width: 22%;
    color: #f0eff4;
    text-align: center;
    border: none;
}
.project-btn{
  padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    width: 22%;
    color: #f564a9;
    text-align: center;
    border: 2px solid #f564a9;
    background-color: #fff;
}

/* contact section */
.contact{
  position: relative;
  top: 410px;
}
.footer{
  position: relative;
  top: 437px;

}


/* Card Container */
.card-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  overflow: visible;
  position: relative;
}

/* Card Styling */
.card {
  background: #fff;
  width: 250px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(245, 100, 169, 0.25);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.card:hover {
  transform: translateY(-10px);
}

.card.up {
  margin-top: 0;
}

.card.down {
  margin-top: 152px;
}

.icon {
  font-size: 28px;
  color: #F564A9;
  margin-bottom: 15px;
}

.card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    margin-top: 30px !important; /* override zigzag margin on mobile */
  }

  .card:first-child {
    margin-top: 0 !important;
  }
}
