/* Terms of Service Page Styles */

.terms-hero {
    background: linear-gradient(-10deg, var(--color-primary-dark), #54a3f2);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.terms-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: white;
}

.terms-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.terms-content {
    padding: 60px 0;
    background: var(--color-bg-light);
}

.terms-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.terms-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.terms-section h2 {
    color: var(--color-primary-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-section h2 i {
    color: var(--color-accent-cyan);
    font-size: 1.5rem;
}

.terms-section h3 {
    color: var(--color-primary-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px;
}

.terms-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-section ul {
    list-style: none;
    padding-left: 0;
}

.terms-section ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.8;
}

.terms-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent-cyan);
}

.highlight-box {
    background: linear-gradient(135deg, #eefcff, #d9f5ff);
    border-left: 4px solid var(--color-accent-cyan);
    padding: 20px 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.warning-box {
    background: linear-gradient(135deg, #fff5f5, #ffe6e6);
    border-left: 4px solid #ff6b6b;
    padding: 20px 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.contact-box {
    background: linear-gradient(135deg, var(--color-primary-dark), #1a3c5e);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.contact-box h3 {
    color: white;
    margin-bottom: 20px;
}

.contact-box p {
    margin-bottom: 10px;
    color: white;
}

.contact-box a {
    color: var(--color-accent-cyan);
    text-decoration: none;
}

.last-updated {
    background: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .terms-hero {
        padding: 90px 0 40px;
    }

    .terms-hero h1 {
        font-size: 1.8rem;
    }

    .terms-hero p {
        font-size: 0.9rem;
    }

    .terms-content {
        padding: 40px 0;
    }

    .terms-section {
        padding: 20px 15px;
    }

    .terms-section h2 {
        font-size: 1.25rem;
    }

    .terms-section h3 {
        font-size: 1.1rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .terms-hero {
        padding: 110px 0 70px;
    }

    .terms-hero h1 {
        font-size: 2.5rem;
    }

    .terms-section {
        padding: 30px;
    }
}