/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* added by sush */



/* Flexbox container for a 3-column layout */
.plans-container {
  display: flex;
  justify-content: center; /* Center the cards horizontally */
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allows wrapping if needed */
  text-align: center; /* Align text inside the cards */
}

/* Card Styling */
.plan-card {
  width: 300px; /* Fixed width for cards */
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px; /* Space between cards in the same row */
  text-align: center; /* Center-align text inside each card */
  display: flex;
  flex-direction: column; /* Align content vertically */
  justify-content: space-between; /* Distribute space between header, content, and footer */
}

/* Plan Header */
.plan-header {
  margin-bottom: 20px; /* Space below the header */
}

.plan-header i {
  color: rgb(255, 153, 102); /* Icon color */
  font-size: 50px; /* Icon size */
}

.plan-header h4 {
  margin: 10px 0;
}

/* Plan Content */
.plan-content {
  flex-grow: 1; /* Allow the content to fill available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center text */
  text-align: center; /* Center-align text */
}

/* Plan Footer */
.plan-footer {
  margin-top: 20px;
}


/* Button Styling */
.btn-outline-brand-2 {
    background-color: rgb(255, 153, 102);
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease-in-out;
}

.btn-outline-brand-2:hover {
    background-color: #ff6600;
    color: #fff;
    transform: scale(1.05);
}


/* Responsive Layout for smaller screens */
@media (max-width: 768px) {
  .plans-container {
    justify-content: center;
    flex-direction: column; /* Stack vertically on mobile devices */
  }
  .plan-card {
    width: 90%; /* Full width on mobile */
  }
}


/* Additional space for the second row */
@media (min-width: 768px) {
    .row.justify-content-center.mt-4 > .col-md-4:nth-child(n+5) {
        margin-top: 30px;  /* Adjust space between the second row for medium screens */
    }
}

@media (min-width: 992px) {
    .row.justify-content-center.mt-4 > .col-lg-3:nth-child(n+5) {
        margin-top: 50px;  /* Adjust space between the second row for large screens */
    }
}

/* _____________________________________________________*/
/*   New Added till above all working fine */

/* Add more space between the cards (products) */
#plans .row.justify-content-center.align-items-stretch.mt-4 > .col-lg-4 {
    margin-bottom: 40px; /* Adjust the space between rows */
}

/* Add more space for the second row of products */
#plans .row.justify-content-center.align-items-stretch.mt-4 > .col-lg-4:nth-child(n+5) {
    margin-top: 30px; /* Add more space above items in the second row */
}

/* Optional: Add space between each product (card) */
#plans .plan-style-card {
    margin-bottom: 40px; /* Increase space between cards */
}

/* Responsive adjustments: For medium screens, adjust spacing */
@media (max-width: 992px) {
    #plans .row.justify-content-center.align-items-stretch.mt-4 > .col-md-6 {
        margin-bottom: 30px; /* Add spacing between items for medium screens */
    }
}

/* Optional: For smaller screens, increase spacing even further */
@media (max-width: 768px) {
    #plans .row.justify-content-center.align-items-stretch.mt-4 > .col-md-6 {
        margin-bottom: 20px; /* Reduce or increase the spacing for small screens */
    }
}


