/* Terms & Conditions Page Styles */

* {
    box-sizing: border-box;
}

.terms-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f3f8 100%);
    width: 100%;
    overflow-x: hidden;
}

.terms-section .container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Content Wrapper */
.content-wrapper {
    margin-bottom: 2rem;
    width: 100%;
}

/* Card Styling */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #2a9d8f;
    width: 100%;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Titles */
.section-title {
    color: #1a1a1a;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #2a9d8f;
}

.subsection-title {
    color: #2a2a2a;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Paragraphs */
.content-card p {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Bullet List */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.bullet-list li {
    color: #4a4a4a;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
}

.bullet-list li:last-child {
    margin-bottom: 0;
}

.bullet-list li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: #2a9d8f;
    font-weight: bold;
    font-size: 1.1rem;
}

.bullet-list li strong {
    color: #2a9d8f;
}

/* Numbered List */
.numbered-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    counter-reset: item-counter;
}

.numbered-list li {
    color: #4a4a4a;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
    counter-increment: item-counter;
}

.numbered-list li:last-child {
    margin-bottom: 0;
}

.numbered-list li:before {
    content: counter(item-counter) ".";
    position: absolute;
    left: 0;
    color: #2a9d8f;
    font-weight: bold;
    font-size: 1rem;
}

/* Contact Info */
.contact-info {
    background: #f0f8f7;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2a9d8f;
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: #2a9d8f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1e8b7d;
    text-decoration: underline;
}

/* Links */
.content-card a {
    color: #2a9d8f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: #1e8b7d;
    text-decoration: underline;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-section {
        padding: 2rem 0;
    }

    .terms-section .container {
        padding: 0 1rem;
    }

    .content-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .subsection-title {
        font-size: 1.1rem;
        margin-top: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .content-card p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .bullet-list li,
    .numbered-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .contact-info {
        padding: 1.25rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .terms-section {
        padding: 1.5rem 0;
        width: 100%;
    }

    .terms-section .container {
        width: 100%;
        padding: 0 0.75rem;
        margin: 0 auto;
    }

    .content-wrapper {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .content-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
        width: 100%;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .subsection-title {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
    }

    .content-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .bullet-list,
    .numbered-list {
        margin: 1rem 0;
    }

    .bullet-list li,
    .numbered-list li {
        font-size: 0.85rem;
        padding-left: 1.25rem;
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    .bullet-list li:before {
        font-size: 1rem;
    }

    .contact-info {
        padding: 1rem;
        margin-top: 1rem;
    }

    .contact-info p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}