/* Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.navigation-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 150px;
  background-color: #ffffff; /* Solid white background for better visibility */
  background: linear-gradient(
      180deg,
      rgba(217, 226, 250, 1), /* Fully opaque color */
      rgba(255, 255, 255, 1) 51.56%,
      rgba(217, 226, 250, 1)
  );
  font-family: 'Poppins', sans-serif;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 75px;
  width: auto;
  margin-right: 10px;
}

.postify {
  font-family: 'Inter';
  font-size: 24px;
  font-weight: 700;
  color: #222f8f;
}

.button-frame {
  display: flex;
  gap: 50px;
  align-items: center;
}

.button, 
.button1,
.button2,
.button3 {
  padding: 10px 20px;
  border: none;
  background-color: transparent;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.button:hover,
.button1:hover,
.button2:hover,
.button3:hover {
  color: #1361F5;
}

.button4 {
  padding: 10px 20px;
  background-color: #00379d;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif; /* Ensure Poppins font for text */
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button4:hover {
  background-color: #0d4dcc;
}

.frame-c {
  display: flex;
}

/* Section Styling */
.frame-a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 75px 160px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add drop shadow */
}

.frame-j {
  max-width: 50%;
}

.frame-g {
  display: flex;
}

.meet-postify {
  font-family: 'Inter';
  font-size: 40px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  margin-top: 0;
}

.empowering-businesses-with {
  font-size: 18px;
  line-height: 2;
  color: #666;
  margin-bottom: 40px;
}

.buttonvariant4 {
  padding: 10px 30px;
  background-color: #00379d;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif; /* Ensure Poppins font for Sign Up button */
  transition: background-color 0.3s ease;
}

.buttonvariant4:hover {
  background-color: #0d4dcc;
}

.start-your-free {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif; /* Ensure Poppins font */
  color: white;
}

.illustration-icon {
  max-width: 40%;
  height: auto;
  align-self: flex-end; /* Adjust the image to the right */
}

.image-slider {
  position: relative;
  width: 100%;
  height: 300px; /* Adjust as needed */
  overflow: hidden;
  margin-left: 100px;
}

.image-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the image covers the container */
  opacity: 0;
  animation: slide 12s infinite;
  z-index: 1; /* Ensure images are on top */
}

@keyframes slide {
  0% {
    transform: translateX(100%);
    opacity: 1;
  }
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  25% {
    transform: translateX(0);
    opacity: 1;
  }
  35% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Each image will have a different animation delay to create the effect */
.image-slider img:nth-child(1) {
  animation-delay: 0s;
}

.image-slider img:nth-child(2) {
  animation-delay: 3s;
}

.image-slider img:nth-child(3) {
  animation-delay: 6s;
}

.image-slider img:nth-child(4) {
  animation-delay: 9s;
}

/* Style for the Features title to separate it from the boxes */
.features-title-wrapper h2 {
  text-align: center;  /* Center the title */
  background-color: rgba(6, 31, 255, 0.058);
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 75px;
  padding-bottom: 50px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px; /* Adjust size as needed */
  color: #00379d; /* Matches your theme color */
}

.four-box-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 150px;
  padding-right: 150px;
  padding-bottom: 100px;
  background-color: rgba(6, 31, 255, 0.058);
}

.box {
  background-color: #f9f9f9; /* White background for the box */
  padding: 30px;
  flex: 1;
  margin: 0 10px; /* Spacing between boxes */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  transition: transform 0.3s ease; /* Add a hover effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content inside the box */
}

.box:hover {
  transform: translateY(-10px); /* Moves box upwards on hover */
}

.icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  background-color: #e6f0ff; /* Very light blue for Share */
  border-radius: 0; /* Remove border radius */
  padding: 10px; /* Add some padding */
  display: flex;
  align-items: center;
  justify-content: center; /* Center icon inside */
}

.box:nth-child(2) .icon {
  background-color: #e6ffe6; /* Very light green for Explore */
}

.box:nth-child(3) .icon {
  background-color: #ffe6e6; /* Very light red for Connect */
}

.box:nth-child(4) .icon {
  background-color: #fff9e6; /* Very light yellow for Create */
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #333; /* Default color, will be overridden */
}

/* Color variations for text matching the icon background */
.box:nth-child(1) h3 {
  color: #007bff; /* Blue for Share */
}

.box:nth-child(2) h3 {
  color: #28a745; /* Green for Explore */
}

.box:nth-child(3) h3 {
  color: #dc3545; /* Red for Connect */
}

.box:nth-child(4) h3 {
  color: #ffc107; /* Yellow for Create */
}

.footer-section {
  padding: 75px 150px;
  background-color: #00379d;
  color: white;
  display: flex;
  justify-content: space-between;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 20px;
  color: white; /* Ensure titles are white */
}

.postify-parent {
  max-width: 27%;
  color: white; /* Text is white */
  line-height: 2;
}

.follow-us-parent {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white; /* Text is white */
}

.follow-us-parent .footer-title {
  margin-bottom: 50px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; /* Increased width */
  height: 80px; /* Increased height */
  border-radius: 50%;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.social-button:hover {
  background-color: #acba66;
}

.social-button i {
  font-size: 40px; /* Increased icon size */
  color: #00379d;
}

.quick-links-parent {
  text-align: right;
  color: white; /* Text is white */
}

.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 10px;
}

.quick-links a {
  color: white; /* Ensure links are white */
  text-decoration: none;
  font-size: 18px;
}

.quick-links a:hover {
  color: #ffc107;
}

.team-section {
    padding: 100px;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add drop shadow */
}

.team-title {
    font-size: 32px;
    margin-bottom: 50px;
    margin-top: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-box {
  background-color: #ffffff;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
  z-index: 1;
}

.team-box:hover {
  transform: scale(1.05); /* Slightly increase the size of the box */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow for a lifting effect */
}

.team-box a:hover {
  cursor: pointer;
}

.team-box img {
    width: 100%;
    height: 300px; /* Set a fixed height */
    object-fit: cover; /* Ensure the image covers the box proportionally */
    display: block;
    border-bottom: 2px solid #ddd;
}

.team-box p {
    margin: 10px 0 0;
    font-size: 18px;
    font-weight: 600;
}

/* Color variations */
.team-box.red { background-color: #f8d7da; }
.team-box.blue { background-color: #d1ecf1; }
.team-box.green { background-color: #d4edda; }
.team-box.yellow { background-color: #fff3cd; }
.team-box.purple { background-color: #e2e3e5; }
.team-box.orange { background-color: #fdc8c4; }

/* Responsive */
@media (max-width: 768px) {
  .four-box-section {
    flex-direction: column;
    padding: 50px 20px;
  }

  .box {
    margin-bottom: 20px;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .frame-a {
      flex-direction: column;
      text-align: center;
  }

  .frame-j {
      max-width: 100%;
      margin-bottom: 40px;
  }

  .illustration-icon {
      max-width: 80%;
  }
}

.team-member a {
  display: inline-block;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member a:hover {
  transform: scale(1.05); /* Slight zoom effect */
}

@media only screen and (max-width: 600px) {
  .navigation-bar {
    padding: 10px 20px;
    flex-direction: column;
    text-align: center;
  }

  .logo img {
    height: 50px;
  }

  .button-frame {
    flex-direction: column;
    gap: 10px;
  }

  .frame-a {
    padding: 50px 20px;
    flex-direction: column;
    text-align: center;
  }

  .frame-j {
    max-width: 100%;
  }

  .image-slider {
    margin-left: 0;
    height: 200px;
  }

  .four-box-section {
    flex-direction: column;
    padding: 50px 20px;
  }

  .box {
    margin: 20px 0;
    padding: 20px;
  }

  .footer-section {
    padding: 50px 20px;
    flex-direction: column;
  }

  .team-section {
    padding: 50px 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Media Query for Tablet (min-width: 600px) and (max-width: 1024px) */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .navigation-bar {
    padding: 10px 50px;
  }

  .button-frame {
    gap: 30px;
  }

  .frame-a {
    padding: 50px 50px;
    flex-direction: column;
    text-align: center;
  }

  .frame-j {
    max-width: 70%;
  }

  .four-box-section {
    padding: 50px;
  }

  .box {
    padding: 25px;
    margin: 10px;
  }

  .footer-section {
    padding: 50px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Media Query for Desktop (min-width: 1024px) */
@media only screen and (min-width: 1024px) {
  .navigation-bar {
    padding: 5px 150px;
  }

  .frame-a {
    padding: 75px 160px;
    flex-direction: row;
    text-align: left;
  }

  .four-box-section {
    padding-left: 150px;
    padding-right: 150px;
    padding-bottom: 100px;
  }

  .team-section {
    padding: 100px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-section {
    padding: 75px 150px;
  }
}