/* Terms & Conditions Page Styles */

.terms-content {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.terms-intro {
    border-bottom: 2px solid #f8f8f8;
    padding-bottom: 30px;
}

.terms-intro .lead {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.terms-section {
    position: relative;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

.terms-section:last-child {
    border-bottom: none;
}

.section-number {
    position: absolute;
    left: -60px;
    top: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f7c51e 0%, #f9a825 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(247, 197, 30, 0.3);
}

.terms-section h3 {
    color: #1e1e1e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.terms-section h3 i {
    color: #f7c51e;
    margin-right: 10px;
    font-size: 28px;
}

.terms-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.terms-list li {
    padding: 12px 0;
    color: #555;
    line-height: 1.6;
    position: relative;
    padding-left: 35px;
}

.terms-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: #4caf50;
    font-size: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff4d6 100%);
    border-left: 4px solid #f7c51e;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.highlight-box h5 {
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.highlight-box h5 i {
    color: #ff9800;
    margin-right: 8px;
}

.alert-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
}

.alert-box i {
    color: #2196f3;
    font-size: 32px;
    margin-right: 15px;
    flex-shrink: 0;
}

.alert-box p {
    margin: 0;
    color: #1e1e1e;
}

.info-box {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-left: 4px solid #9c27b0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
}

.info-box i {
    color: #9c27b0;
    font-size: 32px;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    color: #1e1e1e;
}

.terms-footer {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.contact-box {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
}

.contact-box h4 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-box h4 i {
    color: #f7c51e;
    margin-right: 10px;
}

.contact-box>p {
    color: #ccc;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #f7c51e;
    color: #1e1e1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item div {
    text-align: left;
}

.contact-item span {
    display: block;
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #f7c51e;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .terms-content {
        padding: 30px;
    }

    .section-number {
        position: static;
        margin-bottom: 20px;
        display: inline-flex;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .terms-content {
        padding: 20px;
    }

    .terms-section h3 {
        font-size: 20px;
    }

    .terms-intro .lead {
        font-size: 16px;
    }

    .contact-box {
        padding: 30px 20px;
    }

    .contact-box h4 {
        font-size: 22px;
    }
}