/* Styling for the social-media section */
.social-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto; /* Center the entire section horizontally */
  padding: 10px 20px; /* Even padding on the left and right */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  max-width: 1200px; 
  margin-bottom: 60px;
}

/* Styling the title h3 */
.social-media h3 {
 margin-bottom: 2.5rem;
  font-size: 2.5em;
  color: #4D231C;
  text-align: center; /* Center the title */
}

/* Grid layout for the feed */
.feed {
  display: grid;
  grid-template-columns: 0.55fr 0.65fr; /* Adjusted column ratios */
  gap: 40px; /* Space between columns */
  width: 100%; /* Full width of the parent */
}

/* Styling for the social-text section */
.social-text {
  position: relative;
  border: 4px solid #C9AF93;
  padding: 20px;
  border-radius: 0 0 50% 50%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  overflow: hidden;
}

/* Styles for the cone pseudo-element */
.social-text::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 40px solid #C9AF93;
  border-bottom: none; /* Remove the bottom border */
  z-index: -1;
}

/* Styles for the cone texture pseudo-element */
.social-text::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 300px solid rgba(0, 0, 0, 0.1);
  border-bottom: none; /* Remove the bottom border */
  z-index: -2;
  background-size: 10px 10px;
}

/* Optional: Style adjustments for text within the cone */
.social-text h1, .social-text p {
  margin: 10px 0;
  color: #4E231C;
}


/* Centering the h4 within the social-text */
.social-text h4 {
  margin-bottom: 10px;
  font-size: 1.25em;
  color: #333;
}

/* Styling for the p tag within social-text */
.social-text p {
  width: 100%; /* Make sure the paragraph fills its parent */
  margin-bottom: 30px; /* Increase the bottom margin for more space above the button */
  color: #555;
  line-height: 20px;
}

/* Styling the button inside the a tag */
.connect-me {
  width: 200px;
  padding: 15px 0; 
  text-align: center;
  margin: 0 10px; 
  border-radius: 25px;
  font-weight: bold;
  border: 2px solid #C9AF93;
  background: #C9AF93;
  color: #fff;
  cursor: pointer;
  transition:  background 0.5s ease;;
}

.connect-me:hover {
  background: transparent;
  border: 2px solid #C9AF93;
  color: #C9AF93;
}


/* Styling for the instagram section */
.instagram {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  /* Additional styling can be added here if needed */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feed {
    grid-template-columns: 1fr; /* Stack vertically on smaller screens */
  }
  .connect-me{
    margin-bottom: 20px;
    width: 150px;
    padding: 10px 0;
  }
}
