/* Subsection plans */
#plans {
    padding: 3rem 0;
}

#plans > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#plans > .container > div:first-of-type {
    width: 50%;
    background-color: #F5C94F;
    border-radius: 2rem;
    margin-right: 2rem;
    position: relative;
    z-index: 10;
}

#plans > .container > div:first-of-type img {
    transform: translateY(5px);
}

#plans > .container > div:last-of-type {
    width: 40%;
    text-align: right;
}

#plans > .container > div:last-of-type > h2 {
    font-size: 3rem;
    font-weight: bolder;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    line-height: 1;
}

#plans > .container > div:last-of-type > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#plans > .container > div:last-of-type > div > p {
    font-size: 0.85rem;
    color: var(--paragraph);
    line-height: 1.5;
}

/* Media Queries */
@media screen and (max-width: 1050px) {
      #plans {
        padding: 2rem 0;
    }

    #plans > .container > div:first-of-type {
        width: 40%;
    }

    #plans > .container > div:first-of-type img {
        width: 100%;
    }

    #plans > .container > div:last-of-type {
        width: 60%;
    }

    .tips {
        width: 5rem;
        margin-right: 1rem;
    }

    #plans > .container > div:last-of-type > h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 500px) {
  
    #plans {
        padding: 1rem 0;
    }

    #plans > .container {
        flex-direction: column;
    }

    #plans > .container > div:first-of-type {
        width: 100%;
        margin: 0 auto 1rem auto;
        background-color: #F5C94F;
    }

    #plans > .container > div:last-of-type {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .tips {
        display: none;
    }
}

/* Services Section */
.services-section {
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto; /* Center the section horizontally */
}

.services-section h2 {
    font-size: 36px;
      font-weight: bold;
      color: #ff8800;
      margin-bottom: 20px; /* Reduced for consistency */
      position: relative;
      text-align: center;
  }
  .services-section h2::after {
    content: "SERVICES";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: bold;
    color: rgb(247, 237, 227);
    z-index: -1;
  }
  

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 cards per row */
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: white;
    border: 2px solid #ff8800;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
    font-size: 40px;
    color: #ff8800;
    margin-bottom: 12px;
}

.service-card h3 {
    color: #333;
    margin: 10px 0;
    font-size: 18px;
    text-transform: uppercase;
}

.service-card p {
    font-size: 14px;
    color: #555;
    margin: 5px 0 0;
}

/* Media Queries for responsive design */

/* For screens max-width: 1050px */
@media screen and (max-width: 1050px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr); /* Display 2 cards per row */
        gap: 20px;
    }
}

/* For screens max-width: 635px */
@media screen and (max-width: 635px) {
    .services-container {
        grid-template-columns: repeat(1, 1fr); /* Display 1 card per row */
        gap: 20px;
    }

    .services-section h2 {
        font-size: 24px; /* Slightly smaller font size for the heading */
    }
}


/* Packages-Section */

.packages-section {
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto; /* Center the section horizontally */
}

.packages-section h2 {
    font-size: 36px;
      font-weight: bold;
      color: #ff8800;
      margin-bottom: 20px; /* Reduced for consistency */
      position: relative;
      text-align: center;
  }
  .packages-section h2::after {
    content: "PACKAGES";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: bold;
    color: rgb(247, 237, 227);
    z-index: -1;
  }

.packages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 cards per row */
    gap: 20px;
}

.package-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.package-info {
    padding: 15px;
    text-align: left;
    flex-grow: 1;
}

.badge {
    background-color: #ff8800;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.package-title {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
    text-transform: uppercase;
}

.package-description {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

.icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.icons i {
    color: #ff8800;
    font-size: 18px;
}

.explore-button {
    padding: 10px 15px;
    background-color: #ff8800;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-end;
    margin-top: 15px;
}

.explore-button:hover {
    background-color: #e57600;
}

/* Media Queries for responsive design */

/* For screens max-width: 1050px */
@media screen and (max-width: 1050px) {
    .packages-container {
        grid-template-columns: repeat(2, 1fr); /* Display 2 cards per row */
        gap: 20px;
    }
}

/* For screens max-width: 635px */
@media screen and (max-width: 635px) {
    .packages-section {
        padding: 20px 10px; /* Adjust padding for smaller screens */
    }

    .packages-container {
        grid-template-columns: repeat(1, 1fr); /* Display 1 card per row */
    }

    .packages-section h2 {
        font-size: 24px; /* Slightly smaller font size for the heading */
    }
}
