* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #feeaec;
  background: linear-gradient(135deg, #f6f8fd 0%, #feeaec 100%);
  padding: 20px;
}

.Main-container {
  position: relative;
  width: 100%;
  font-family: "Poppins", sans-serif;
  max-width: 50%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.066);
  transform-style: preserve-3d;
  perspective: 1000px;
}
a {
  text-decoration: none;
}
@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.header {
  width: 100%;
  position: relative;
  height: 300px;
  background-image: url("../images/nsh4.jpg");
  /* background: linear-gradient(45deg, #FF6B6B, #FF9B6B); */
  border-radius: 30px 30px 0 0;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  /* height: 100%; */
  background: url("images/nsh4.jpg") center/cover;
  opacity: 1;
  /* animation: pulse 2s ease-in-out infinite; */
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.profile {
  position: relative;
  margin-top: -80px;
  padding: 0 30px;
  text-align: center;
}

.profile-img {
  width: 40%;
  /* height: 150px; */
  aspect-ratio: 2/2;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s;
}

.profile-img:hover {
  transform: scale(1.05) rotate(5deg);
}

.name {
  margin-top: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #2d3436;
  animation: fadeIn 0.8s ease-out;
}

.title {
  margin-top: 5px;
  color: #636e72;
  font-size: 18px;
  animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
  animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #feeaec;
  border: 1px solid #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #e21e26;
  text-decoration: none;
  transition: all 0.3s;
}

.social-btn:hover {
  transform: translateY(-5px) rotate(10deg);
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.contact-info {
  padding: 0 30px;
  animation: fadeIn 0.8s ease-out 0.6s backwards;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.contact-item {
  display: block;
  text-align: center;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 80px;
  text-decoration: none;
  color: #2d3436;
  transition: all 0.3s;
  /* border: 1px solid #f1f1f1; */
  background: #feeaec;
  border: 1px solid #dcdcdc;
}
.contact-item i {
  font-size: 30px;
  color: #e21e26;
}
.contact-item span {
  font-size: 17px;
  color: #e21e26;
}
.contact-item:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: #ff6b6b;
  color: #e21e26;
}

.gallery {
  padding: 30px;
  animation: fadeIn 0.8s ease-out 0.8s backwards;
}

.gallery-title {
  font-size: 20px;
  color: #2d3436;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #ff6b6b;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.cat-gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.gallery-item {
  position: relative;
  padding-top: 100%;
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.instagram-post {
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #fff;
  animation: fadeIn 0.8s ease-out;
}

.post-header {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #dbdbdb;
}

.post-profile-pic {
  width: 52px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.post-user-info {
  flex-grow: 1;
}

.post-username {
  font-weight: 600;
  font-size: 14px;
  color: #262626;
}

.post-location {
  font-size: 12px;
  color: #8e8e8e;
}

.post-more-options {
  font-size: 20px;
  color: #262626;
  padding: 8px;
}

.post-image {
  width: 100%;
  height: 300px;
  object-fit: fill;
  background-color: #feeaec;
}

.post-actions {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-icon {
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.post-likes {
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #262626;
}

.post-caption {
  padding: 10px;
  font-size: 14px;
  color: #262626;
}

.post-caption strong {
  font-weight: 600;
  margin-right: 5px;
}

.post-time {
  padding: 0 10px 10px;
  font-size: 12px;
  color: #8e8e8e;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0;
  color: #262626;
  padding-left: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.catalog-section {
  padding: 0px 0px;
  background: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.catalog-item {
  border: 1px solid #dbdbdb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  animation: fadeIn 0.8s ease-out;
}

.catalog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.catalog-image {
  width: 100%;
  /* height: 150px; */
  object-fit: cover;
}

.catalog-info {
  padding: 12px;
}

.catalog-title {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 4px;
}

.catalog-price {
  font-size: 14px;
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 8px;
}

.catalog-description {
  font-size: 12px;
  color: #8e8e8e;
  margin-bottom: 8px;
  line-height: 1.4;
}

.catalog-button {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(45deg, #ff6b6b, #ff9b6b);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.catalog-button:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.catalog-category {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.catalog-category::-webkit-scrollbar {
  display: none;
}

.category-chip {
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  font-size: 14px;
  color: #636e72;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid #dbdbdb;
}
.category-chip a {
  color: #636e72;
}

.category-chip.active {
  background: #ff6b6b;
  color: white;
  border-color: #ff6b6b;
}
.category-chip.active a {
  color: white;
}

.category-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Add this section to your existing CSS */
.view-all {
  font-size: 14px;
  color: #ff6b6b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.section-divider {
  height: 10px;
  background: #f8f9fa;
  margin: 20px 0;
}
.MoreDetail {
  width: 100%;
  display: flex;
  gap: 15px;
  z-index: 999;
  justify-content: center;
  position: fixed;
  bottom: 5%;
  left: auto;
  right: auto;
}
.MoreDetail a {
  background: #ff6b6b;
  color: white;
  border-color: #ff6b6b;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  transition: all 0.3s ease;
  animation: cardFloat 3s ease-in-out infinite;
}
.MoreDetail a:hover {
  background: #df6464;
  color: white;
  border-color: #ff6b6b;
}
@media screen and (max-device-width: 1024px) {
  .contact-info {
    padding: 0 30px;
    animation: fadeIn 0.8s ease-out 0.6s backwards;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
  .contact-item {
    margin-bottom: 0;
  }
  .Main-container {
    max-width: 61%;
  }
}

@media screen and (max-device-width: 475px) {
  .category-chip {
    padding: 5px 8px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 9px;
    color: #636e72;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid #dbdbdb;
}
  .Main-container {
    max-width: 100%;
  }
  .instagram-post {
    margin-bottom: 0;
  }
  .contact-info {
    padding: 0 10px;
    grid-template-columns: repeat(1, 1fr);
    gap: 7px;
    margin-bottom: 25px;
  }
  .card-container {
    border-radius: 20px;
  }

  .profile-img {
    width: 70%;
    /* height: 120px; */
    border: 5px solid white;
  }
  .header {
    margin-top: 0 !important;
  }

  .name {
    font-size: 24px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }

  .contact-info,
  .gallery {
    padding: 0 20px 20px;
  }
  .post-profile-pic {
    width: 44px;
    height: 32px;
  }
  .post-actions {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .contact-item {
    padding: 10px;
    margin-bottom: 0px;
  }
  .gallery-title {
    margin-top: 15px;
  }
  .catalog-category {
    flex-wrap: wrap;
    gap:2px !important;
  }
  .gallery-title {
    font-size: 18px;
  }
  .contact-item i {
    font-size: 24px;
    color: #e21e26;
  }
  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px !important;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .social-btn i {
    padding-top: 0;
    font-size: 19px;
  }
  .title {
    margin-bottom: 0;
  }
  .social-links {
    margin: 10px 0;
  }
  .catalog-title {
    font-size: 12px !important;
  }
  .catalog-description {
    font-size: 9px;
  }
  .contact-item span {
    font-size: 13px;
    color: #e21e26;
    line-height: 12px;
  }
  .card-container {
    border-radius: 20px;
  }

  .post-image {
    height: 250px;
  }
}
