/* Terms & Conditions Hero Section */
.terms-hero {
    position: relative;
    background-color: var(--accent-dark);
    color: var(--light-color);
    padding: 200px 0px 140px 0px;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-image.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.terms-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.terms-hero-content h2 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.terms-hero-content h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.terms-hero-content p {
    max-width: 600px;
    margin: var(--spacing-lg) auto;
}

/* Terms & Conditions Content Section */
.terms-content {
    padding: var(--spacing-xxl) 0;
    background-color: var(--neutral-100);
}

.terms-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.terms-text {
    width: 100%;
}

.terms-section {
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px dashed var(--neutral-300);
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    color: var(--accent-dark);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.terms-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.terms-section p {
    color: var(--neutral-700);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.terms-highlight {
    background-color: var(--secondary-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.terms-highlight p {
    color: var(--neutral-800);
    margin-bottom: 0;
    font-weight: 500;
}

.terms-highlight-special {
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
    position: relative;
    border-left: 4px solid var(--accent-dark);
}

.terms-highlight-special p {
    color: var(--neutral-800);
    margin-bottom: var(--spacing-md);
}

.terms-highlight-special h3 {
    color: var(--accent-dark);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.terms-section ul {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.terms-section ul li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-700);
}

.terms-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: var(--radius-circle);
}

.contact-details-terms {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.contact-detail .contact-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.contact-detail p {
    margin-bottom: 0;
}

.contact-detail a {
    color: var(--accent-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-detail a:hover {
    color: var(--primary-color);
}

/* Terms & Conditions CTA Section */
.terms-cta {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.terms-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.terms-cta-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.terms-cta-container h2 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
}

.terms-cta-container p {
    color: var(--light-color);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.terms-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.terms-cta .btn-primary {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.terms-cta .btn-primary:hover {
    background-color: var(--neutral-200);
}

.terms-cta .btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.terms-cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */

@media (max-width: 768px) {
    .terms-cta-buttons {
        flex-direction: column;
    }

    .terms-cta-buttons .btn-primary,
    .terms-cta-buttons .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-detail {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap:0px;
    }

    .terms-highlight-special{
        padding: 10px;
    }
} 