.instagram-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title-instagram {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  position: relative;
}

.section-title-instagram:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  margin: 10px auto;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.instagram-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.instagram-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #efefef;
}

.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 1px solid #ddd;
}

.profile-name {
  font-weight: 600;
  font-size: 14px;
  color: #262626;
}

.card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 15px;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.action-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #262626;
  transition: color 0.2s;
}

.action-btn:hover {
  color: #ed4956;
}

.likes {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.caption {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.hashtags {
  color: #00376b;
  font-size: 14px;
}

.timestamp {
  color: #8e8e8e;
  font-size: 12px;
  margin-top: 5px;
  text-transform: uppercase;
}

.view-more {
  text-align: center;
  margin-top: 20px;
}

.view-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

@media (max-width: 768px) {
  .instagram-feed {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
  }

  .card-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .instagram-feed {
    grid-template-columns: 1fr;
  }

  .section-title-instagram {
    font-size: 24px;
  }
}
