/* Terms and Conditions Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    ;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-in-out;
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-in-out;
}

.hero-line {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    animation: fadeWidth 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Terms Content Section */
.terms-content {
    padding: 80px 0;
    background: #ffffff;
}

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

.company-address {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.company-address p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.acceptance-clause {
    background: #e8f5e8;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 50px;
    border-left: 4px solid var(--primary-color);
}

.acceptance-clause p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.terms-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.terms-section {
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 40px;
}

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

.terms-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.terms-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 25px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e9ecef;
}

.terms-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

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

.terms-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.terms-section ul li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.terms-section ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.terms-section ul li:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f9968 0%, #408157 100%);
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/pic/video-3.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.cta-content {
    position: relative;
    z-index: 9;
}

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button .layui-icon {
    font-size: 12px;
}

.cta-button.primary {
    background: #ffffff;
    color: var(--primary-color);
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-button.secondary:hover {
    background: #ffffff;
    color: #1f9968;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

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

    .terms-wrapper {
        padding: 0;
    }

    .company-address,
    .acceptance-clause {
        padding: 20px;
    }

    .terms-section h3 {
        font-size: 20px;
    }

    .terms-section p,
    .terms-section ul li {
        font-size: 15px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

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

    .company-address,
    .acceptance-clause {
        padding: 15px;
    }

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

    .terms-section h3 {
        font-size: 18px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 15px;
    }

    .hero-section {
        min-height: 200px;
    }

    .hero-content h1 {
        font-size: 23px;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 10px;
        display: none;
    }

    .hero-line{
        width: 50px;
        height: 3px;
    }

    .company-address, .acceptance-clause{
        margin-bottom: 20px;
    }

    .cta-section{
        padding: 50px 0;
     }
     .cta-content h3{
        font-size: 22px;
        margin-bottom: 10px;
     }
     .cta-content p{
        font-size: 14px;
        margin-bottom: 15px;
     }
     .cta-button{
        padding: 5px 20px;
        font-size: 14px;
     }
     .cta-button .layui-icon{
        font-size: 9px;
     }
     .cta-buttons{
        gap: 15px;
     }
}