/*
 * Trooworths Terms and Conditions Page Styles
 * File: trooworths-terms-n-conditions.css
 */

/* Hero Section */
.terms-hero 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.terms-hero::before 
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-overlay.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.terms-hero h1 
{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.terms-hero .lead 
{
    opacity: 0.9;
}

/* Terms Section */
.terms-section 
{
    padding: 60px 0;
}

/* Terms Card */
.terms-card 
{
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 35px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.terms-card:hover 
{
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.terms-heading 
{
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.terms-card p 
{
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.terms-card p:last-child 
{
    margin-bottom: 0;
}

.terms-card a 
{
    color: #0f3460;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-card a:hover 
{
    color: #ffc107;
    text-decoration: underline;
}

.terms-card strong 
{
    color: #1a1a2e;
}

/* CTA Section */
.cta-section 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 
{
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-section .lead 
{
    opacity: 0.9;
}

.cta-section .btn-warning 
{
    background-color: #ffc107;
    border-color: #ffc107;
    color: #1a1a2e;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-warning:hover 
{
    background-color: #ffcd39;
    border-color: #ffcd39;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

/* Last Updated Banner */
.bg-light.border-bottom 
{
    background-color: #f8f9fa !important;
}

.bg-light.border-bottom .text-muted 
{
    font-size: 0.95rem;
}

.bg-light.border-bottom i 
{
    color: #ffc107;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) 
{
    .terms-hero 
	{
        padding: 80px 0 60px;
    }
    
    .terms-hero h1 
	{
        font-size: 2.5rem;
    }
    
    .terms-section 
	{
        padding: 40px 0;
    }
    
    .terms-card 
	{
        padding: 25px;
    }
    
    .terms-heading 
	{
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) 
{
    .terms-hero 
	{
        padding: 60px 0 40px;
    }
    
    .terms-hero h1 
	{
        font-size: 2rem;
    }
    
    .terms-hero .lead 
	{
        font-size: 1.1rem;
    }
    
    .terms-section 
	{
        padding: 30px 0;
    }
    
    .terms-card 
	{
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .terms-heading 
	{
        font-size: 1.2rem;
    }
    
    .terms-card p 
	{
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .cta-section 
	{
        padding: 60px 0;
    }
    
    .cta-section h2 
	{
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print 
{
    .terms-hero 
	{
        background: #1a1a2e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .terms-card 
	{
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .cta-section 
	{
        display: none;
    }
}

/* Smooth Scroll for Anchor Links */
html 
{
    scroll-behavior: smooth;
}

/* Accessibility Focus States */
.terms-card a:focus 
{
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.btn-warning:focus 
{
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}


@media (max-width: 768px) 
{
	.terms-hero
	{
		margin-top: 136px;
	}
}