/* Start custom CSS for html, class: .elementor-element-f8ea78e *//* Base styling */
.design-section {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  align-items: stretch;
  color: Black;
}

.design-section .image-container {
  flex: 1; /* Equal width with text-container */
}

.design-section .image-container img {
  width: 100%; /* Fill the container */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
}

.design-section .text-container {
  flex: 1; /* Equal width with image-container */
  background-color: #d4c800; /* Background color */
  padding: 50px; /* Space around text */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.design-section .text-container h3 {
  font-size: 24px; /* Adjust size for main heading */
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
  text-transform: uppercase; /* Optional for emphasis */
}

.design-section .text-container p {
  font-size: 16px; /* Body text size */
  line-height: 1.5; /* Better readability */
  color: #333;
  margin-bottom: 20px;
}

/* Styling for the author credit */
.text-container .author-credit {
  font-size: 14px; /* Adjust size as needed */
  font-style: italic; /* Ensure italics */
  color: #333; /* Match the existing paragraph color */
  margin-bottom: 20px; /* Space below the author credit */
}

#lance-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 90%; /* Full width with some margin on mobile */
  max-width: 300px; /* Limit maximum width */
  margin: 20px auto; /* Adjust spacing */
}

#lance-profile-card .profile-info .name {
  font-size: 1.5em;
  font-weight: bold;
  margin: 15px 0 5px;
}

#lance-profile-card .profile-info .role {
  font-size: 1em;
  color: #a58b7c;
  margin-bottom: 15px;
}

#lance-profile-card .profile-info .description {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 20px;
}

#lance-profile-card .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

#lance-profile-card .social-icons .icon {
  font-size: 20px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

#lance-profile-card .social-icons .icon:hover {
  color: #0077b5; /* Change hover color as needed */
}

/* Smooth enlargement on hover for all icons */
.social-icons .icon i {
  transition: transform 0.2s ease-in-out;
}
.social-icons .icon:hover i {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .design-section {
    flex-direction: column-reverse; /* Reverse the order for mobile */
  }

  .design-section .text-container {
    padding: 20px; /* Adjust padding for smaller screens */
    text-align: center; /* Center-align text */
  }

  .design-section .text-container h3 {
    font-size: 20px; /* Adjust font size for mobile */
  }

  .design-section .text-container p {
    font-size: 14px; /* Adjust font size for mobile */
  }

  /* Optional: Adjust author credit styling for mobile */
  .text-container .author-credit {
    font-size: 12px; /* Smaller font size for mobile */
    margin-bottom: 15px;
  }
}/* End custom CSS */