/* Terms and Conditions container */
.terms-item {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #c4dac9;
    border: 2px solid #f0d6af;  /* Soft orange border */
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* slight shadow for depth */
    text-align: justify;
    transition: all 0.3s ease-in-out;   /* smooth transition for hover effects */
}

/* Hover effect */
.terms-item:hover {
    background-color: #e6f7f9;  /* light blue background on hover */
    border: 2px solid #ffb84d;  /* deepen the orange */
    transform: scale(1.02); /* slight scale up on hover */
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);    /* darker shadow on over */
}

/* heading */
.terms-item h2 {
    color: #0f515c; /* darker green */
    text-align: center;
    margin-bottom: 20px;
}

/* paragraph styling */
.terms-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #004733; /* dark green text */
}

/* non-liability clause */
.terms-item p strong {
    color: #dc3545; /* red color for emphasis */
}

.terms-item ol li {
    margin: 20px 10px;
}

.terms-item .non-liability {
    line-height: 1.5;
    text-align: justify;
}

/* Responsive layout adjustments for mobile */
@media (max-width: 768px) {
    .terms-item {
        width: 90%;
        padding: 15px;  /* reduce padding for mobile */
        margin: 70px auto;  /* reduce margin on mobile */
    }

    .term-item h2 {
        font-size: 22px;
    }

    .terms-item p {
        font-size: 14px;    /* slightly smaller text on mobile */
    }
}




























