/* Legal Pages Specific Styles */

/* Navigation Styles */
.nav {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    color: #667eea;
    text-decoration: none;
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

.nav-link i {
    font-size: 1rem;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 100px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}


.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Legal Page Layout */
.legal-page {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.effective-date {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(102, 126, 234, 0.02);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #444;
    margin: 25px 0 15px 0;
}

.legal-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.legal-section ul {
    margin: 15px 0 15px 20px;
    color: #666;
}

.legal-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.legal-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Highlighted Text */
.highlight {
    background: rgba(102, 126, 234, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin: 20px 0;
    font-weight: 500;
}

/* Service Highlights */
.service-highlight {
    background: rgba(102, 126, 234, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.service-highlight h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-highlight p {
    margin-bottom: 0;
    color: #555;
}

/* Disclaimer Warning */
.disclaimer-warning {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.disclaimer-warning i {
    font-size: 2rem;
}

.disclaimer-warning h2 {
    margin: 0;
    color: white;
    font-size: 1.8rem;
}

.disclaimer-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Details */
.contact-details {
    background: rgba(102, 126, 234, 0.05);
    padding: 30px;
    border-radius: 15px;
    margin-top: 25px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.contact-item i {
    font-size: 1.3rem;
    color: #667eea;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-item span {
    color: #666;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .logo-image {
        height: 80px;
        max-width: 120px;
    }
    
    
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        max-width: 250px;
    }
    
    .legal-page {
        padding: 40px 20px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .legal-section {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .disclaimer-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .disclaimer-warning h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 60px;
        max-width: 90px;
    }
    
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .effective-date {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 15px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }
    
    .disclaimer-warning {
        padding: 15px;
    }
    
    .disclaimer-warning h2 {
        font-size: 1.3rem;
    }
    
    .contact-details {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .nav {
        display: none;
    }
    
    .legal-page {
        background: white;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .legal-section {
        background: white;
        border-left: 2px solid #667eea;
    }
    
    .disclaimer-warning {
        background: #f8f9fa;
        color: #333;
        border: 1px solid #ddd;
    }
    
    .contact-details {
        background: #f8f9fa;
        border: 1px solid #ddd;
    }
}

/* Accessibility */
.nav-link:focus,
.legal-section a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation for legal sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Sticky navigation on scroll */
.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.9);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
