/* style/terms-conditions.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-background: #1a1a1a;
    --light-text: #ffffff;
    --dark-text: #333333;
    --light-grey: #f4f7f6;
    --border-color: #e0e0e0;
}

.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-grey);
}

.page-terms-conditions .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Adjusted gradient for depth */
    color: var(--light-text);
    overflow: hidden;
}

.page-terms-conditions .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-terms-conditions .hero-image {
    width: 100%;
    max-width: 800px; /* Constrain image width */
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.page-terms-conditions .hero-image img:hover {
    transform: scale(1.03);
}

.page-terms-conditions .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-terms-conditions .hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-terms-conditions .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-terms-conditions .cta-button:hover {
    background: #e0a800; /* Darker secondary color */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .content-section {
    padding: 60px 20px;
    background-color: var(--light-grey);
}

.page-terms-conditions .container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions .terms-article h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    font-weight: bold;
}

.page-terms-conditions .terms-article h3 {
    font-size: 1.6em;
    color: var(--dark-text);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-terms-conditions .terms-article p {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--dark-text);
    text-align: justify;
}

.page-terms-conditions .terms-article ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-terms-conditions .terms-article ul li {
    font-size: 1em;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.page-terms-conditions .terms-article a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions .terms-article a:hover {
    color: #0056b3; /* Darker primary color */
    text-decoration: underline;
}

.page-terms-conditions .contact-info {
    background-color: var(--light-grey);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-top: 30px;
    border-radius: 0 8px 8px 0;
}

.page-terms-conditions .contact-info p {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-terms-conditions .cta-bottom {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--primary-color);
    border-radius: 12px;
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-terms-conditions .cta-bottom p {
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions .hero-content h1 {
        font-size: 2.8em;
    }
    .page-terms-conditions .hero-content p {
        font-size: 1.1em;
    }
    .page-terms-conditions .terms-article h2 {
        font-size: 2em;
    }
    .page-terms-conditions .terms-article h3 {
        font-size: 1.5em;
    }
    .page-terms-conditions .container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions .hero-section {
        padding: 40px 15px;
    }
    .page-terms-conditions .hero-content h1 {
        font-size: 2.2em;
    }
    .page-terms-conditions .hero-content p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-terms-conditions .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-terms-conditions .content-section {
        padding: 40px 15px;
    }
    .page-terms-conditions .container {
        padding: 20px;
        border-radius: 8px;
    }
    .page-terms-conditions .terms-article h2 {
        font-size: 1.8em;
        margin-top: 30px;
    }
    .page-terms-conditions .terms-article h3 {
        font-size: 1.3em;
        margin-top: 25px;
    }
    .page-terms-conditions .terms-article p,
    .page-terms-conditions .terms-article ul li {
        font-size: 0.95em;
    }
    .page-terms-conditions .cta-bottom {
        padding: 25px;
        margin-top: 40px;
    }
    .page-terms-conditions .cta-bottom p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions .hero-image {
        margin-bottom: 20px;
    }
    .page-terms-conditions .hero-content h1 {
        font-size: 1.8em;
    }
    .page-terms-conditions .hero-content p {
        font-size: 0.9em;
    }
    .page-terms-conditions .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-terms-conditions .container {
        padding: 15px;
    }
    .page-terms-conditions .terms-article h2 {
        font-size: 1.5em;
    }
    .page-terms-conditions .terms-article h3 {
        font-size: 1.2em;
    }
    .page-terms-conditions .contact-info {
        padding: 15px;
    }
    .page-terms-conditions .contact-info p {
        font-size: 0.95em;
    }
}