/* Consistent Page Styling */

/* Page Headers - Consistent across all pages */
.page-header {
    background: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%);
    color: white;
    padding: 4rem 0;
}

.page-header h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Cards - Consistent styling for all content pages */
.content-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    margin-bottom: 2rem;
}

/* Full width content sections */
.full-width-content {
    padding: 4rem 0;
}

.full-width-content .container {
    max-width: 1400px; /* Consistent with homepage */
}

/* Make all pages same width as homepage */
.legal-page .container,
.page-content .container {
    max-width: 1400px;
}

.content-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.content-card h3:first-of-type {
    margin-top: 0;
}

.content-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-card p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.content-card ul, .content-card ol {
    margin-bottom: 1.5rem;
}

.content-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Highlight boxes for important information */
.highlight-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

/* Form styling consistency */
.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

/* Legacy class names for backward compatibility */
.legal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    margin-bottom: 2rem;
}

.legal-content h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.legal-content h3:first-of-type {
    margin-top: 0;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.legal-content ul {
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .highlight-box {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* Modern Contact Page Styling */
.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0056b3;
}

/* Modern Form Styling */
.modern-form .form-floating {
    margin-bottom: 1rem;
}

.modern-form .form-control,
.modern-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-form .form-control:focus,
.modern-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.15);
}

.modern-btn {
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%);
    border: none;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

/* Enhanced Content Cards */
.content-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
} 