/* ============================================
   Terms & Conditions - Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --gradient-bg: linear-gradient(135deg, #1a1a4e 0%, #2d2d8a 50%, #4a4aff 100%);
    --white: #ffffff;
    --text-gray: #d1d5db;
    --font-family: 'Saira', sans-serif;
    /* Body font */
    --font-heading: 'Montserrat', sans-serif;
    /* Header title font */
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    background: var(--gradient-bg);
    min-height: 100vh;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* --- Header --- */
.terms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background: transparent;
    position: relative;
    z-index: 10;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 1.75vw;
    /* Adjusted size (70% of 2.5vw) */
    width: auto;
    object-fit: contain;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.5rem;
    /* Big font size */
    font-weight: 700;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
}

.chat-icon {
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
}

/* --- Main Content --- */
.terms-container {
    max-width: 90%;
    /* Reduced margins / wider content */
    margin: 0 auto;
    padding: 2rem 0 4rem;
    /* Reduced horizontal padding inside container */
    flex: 1;
}

.terms-content {
    background: transparent;
}

/* --- Typography --- */
h1 {
    margin: 0;
    padding: 0;
}

h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

p {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1rem;
    text-align: left;
}

ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.strong-text {
    font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .terms-header {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .header-title {
        position: static;
        transform: none;
        font-size: 1.25rem;
        margin: 0 1rem;
    }

    .terms-container {
        padding: 1rem;
    }
}