/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fafafa;
    margin: 0;
    padding: 0;
}

/* Terms Container */
.terms-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); /* Larger shadow */
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s ease; /* Smooth transition */
}

/* Hover effect for terms container */
.terms-container:hover {
    transform: scale(1.02); /* Slightly scale up the container */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.terms-container h1 {
    text-align: center;
    color: #ff7f50; /* Coral color */
    font-size: 2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Soft shadow */
}

.content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

/* Subheading (h2) styling */
h2 {
    color: #333;
    font-size: 1.6rem;
    margin-top: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

/* Adding hover effects to h2 */
h2:hover {
    color: #ff7f50; /* Change color on hover */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .terms-container {
        padding: 20px;
    }

    .terms-container h1 {
        font-size: 1.6rem; /* Adjust header size on smaller screens */
    }

    .content {
        font-size: 0.95rem; /* Slightly smaller text on mobile */
    }

    h2 {
        font-size: 1.4rem; /* Adjust h2 size on smaller screens */
    }
}

@media (max-width: 480px) {
    .terms-container {
        padding: 15px;
    }

    .terms-container h1 {
        font-size: 1.4rem; /* Smaller header on small screens */
    }

    h2 {
        font-size: 1.2rem; /* Smaller h2 size */
    }

    .content {
        font-size: 0.9rem; /* Smaller font for better readability on small devices */
    }
}
