/* ========================  Terms & Conditions Page Styles ======================================= */

/* Terms & Conditions Page Sections */
.terms-text-section,
.acceptance-terms-section,
.intellectual-property-section,
.user-conduct-section,
.disclaimers-section,
.governing-law-section,
.termination-section {
    padding: 40px 20px;
    margin-top: 20px;
}

.terms-text-section .container,
.acceptance-terms-section .container,
.intellectual-property-section .container,
.user-conduct-section .container,
.disclaimers-section .container,
.governing-law-section .container,
.termination-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Terms text section styling */
.terms-text-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-text-section .card-template:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.terms-text-section .card-content {
    padding: 40px;
}

.terms-text-section h2 {
    color: var(--primary);
    font-size: 2.8em;
    margin-bottom: 25px;
    text-align: center;
}

.terms-text-section h3 {
    color: var(--secondary);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.terms-text-section p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Acceptance of terms section */
.acceptance-terms-section .card-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--secondary);
}

.acceptance-terms-section .card-header h3 {
    margin: 0;
    font-size: 1.8em;
}

.acceptance-terms-section .card-content {
    padding: 30px;
}

.acceptance-terms-section h4 {
    color: var(--secondary);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.acceptance-terms-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Intellectual property section */
.intellectual-property-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.intellectual-property-section .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.intellectual-property-section .card-content {
    padding: 30px;
}

.intellectual-property-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.intellectual-property-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.intellectual-property-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.intellectual-property-section .card-footer {
    background-color: var(--background-color);
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--secondary);
}

.intellectual-property-section .card-footer p {
    margin: 0;
    color: var(--text-color2);
    font-weight: 500;
}

/* User conduct section */
.user-conduct-section .card-template {
    position: relative;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.user-conduct-section .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.user-conduct-section .card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(var(--accent-rgb), 0.9), rgba(var(--accent-rgb), 0.7));
    color: var(--white);
    padding: 30px;
}

.user-conduct-section h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.user-conduct-section h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.user-conduct-section p {
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Disclaimers section */
.disclaimers-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    text-align: center;
}

.disclaimers-section .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.disclaimers-section .card-content {
    padding: 30px;
}

.disclaimers-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.disclaimers-section h4 {
    color: var(--secondary);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.disclaimers-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
}

.disclaimers-section .card-footer {
    background-color: var(--background-color2);
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--primary);
}

.disclaimers-section .card-footer p {
    margin: 0;
    color: var(--text-color2);
    font-weight: 500;
}

/* Governing law section */
.governing-law-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    text-align: center;
}

.governing-law-section .card-profile-image {
    width: 120px;
    height: 120px;
    margin: 30px auto 20px;
    border-radius: 50%;
    border: 5px solid var(--accent);
    overflow: hidden;
}

.governing-law-section .card-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.governing-law-section .card-content {
    padding: 0 30px 30px;
}

.governing-law-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.governing-law-section .card-subtitle {
    color: var(--secondary);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.governing-law-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Termination section */
.termination-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.termination-section .card-image-container {
    position: relative;
}

.termination-section .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.termination-section .card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.termination-section .card-content {
    padding: 30px;
}

.termination-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.termination-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.termination-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Responsive design for terms sections */
@media (max-width: 768px) {
    .terms-text-section h2 {
        font-size: 2.2em;
    }
    
    .user-conduct-section .card-content-overlay {
        padding: 20px;
    }
    
    .governing-law-section .card-profile-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .terms-text-section .card-content,
    .acceptance-terms-section .card-content,
    .intellectual-property-section .card-content,
    .user-conduct-section .card-content,
    .disclaimers-section .card-content,
    .governing-law-section .card-content,
    .termination-section .card-content {
        padding: 20px;
    }
    
    .terms-text-section h2 {
        font-size: 1.8em;
    }
    
    .user-conduct-section .card-content-overlay {
        padding: 15px;
    }
    
    .user-conduct-section h3 {
        font-size: 1.5em;
    }
}

/* ------------------------------- end of terms sections --------------------------- */
