/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #010080;
    --primary-yellow: #c0a533;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Terms Hero Section */
.terms-hero {
    background-color: var(--bg-light);
    padding: 80px 0 40px 0;
}

.section-title-wrapper {
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    position: relative;
    display: block;
    padding: 0 20px;
    width: fit-content;
    text-align: center;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-yellow);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    align-self: center;
}

.title-underline::before,
.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    transform: translateY(-50%);
}

.title-underline::before {
    left: -20px;
}

.title-underline::after {
    right: -20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Terms Content Section */
.terms-content-section {
    background-color: var(--white);
    padding: 60px 0;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.terms-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.terms-text:last-child {
    margin-bottom: 0;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px 30px;
}

.terms-list li {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.terms-list li::before {
    content: '•';
    color: var(--primary-yellow);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--primary-yellow);
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .title-underline {
        width: 60px;
        height: 3px;
    }
    
    .title-underline::before,
    .title-underline::after {
        width: 6px;
        height: 6px;
    }
    
    .title-underline::before {
        left: -15px;
    }
    
    .title-underline::after {
        right: -15px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .terms-content {
        padding: 0 15px;
    }
    
    .terms-section-title {
        font-size: 1.5rem;
    }
    
    .terms-text {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .terms-list {
        margin-left: 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
}
