:root {
    --primary-color: #1e3a8a;
    --secondary-color: #ff9800;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #4f6bce 100%);
}

/* Flexible Loan Options Banner */
.loan-options-banner {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 0;
}

.loan-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.section-title {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* Privacy Policy Header */
.privacy-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3a63c2 50%, #4f6bce 100%);
    padding: 80px 0 60px;
    color: white;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.privacy-header .container {
    position: relative;
    z-index: 1;
}

.privacy-header h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.privacy-header h1::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 4px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.privacy-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.privacy-header-icon {
    margin-top: 25px;
    display: inline-block;
}

.privacy-header-icon i {
    font-size: 3rem;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.privacy-header-icon i:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Table of Contents */
.toc-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 5px 0;
    font-size: 0.95rem;
}

.toc-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Privacy Content */
.privacy-content {
    padding-bottom: 70px;
}

.privacy-section {
    margin-bottom: 40px;
    padding-top: 20px;
}

.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.privacy-section ul {
    padding-left: 20px;
}

.privacy-section ul li {
    margin-bottom: 10px;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted;
}

.privacy-section a:hover {
    color: var(--secondary-color);
}

.privacy-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #666;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(rgba(30, 55, 153, 0.9), rgba(30, 55, 153, 0.9)), url('../images/pattern-bg.svg');
    background-size: cover;
    padding: 60px 0;
    color: white;
    border-radius: 10px;
    margin: 50px 0;
}

.cta-section h2 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.9;
}

.cta-section .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #1e3a8a;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .privacy-content {
        padding-top: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section {
        margin: 30px 0;
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .privacy-header {
        padding: 50px 0 40px;
    }
    
    .privacy-header h1 {
        font-size: 2rem;
    }
    
    .privacy-header h1::after {
        width: 60%;
        height: 3px;
        bottom: -8px;
    }
    
    .privacy-header p {
        font-size: 1rem;
        margin-top: 12px;
    }
    
    .privacy-header-icon {
        margin-top: 20px;
    }
    
    .privacy-header-icon i {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    
    .privacy-section {
        margin-bottom: 30px;
    }
    
    .cta-section {
        margin: 30px 0;
        padding: 40px 15px;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-section .d-flex {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .cta-section .btn {
        width: 100%;
        margin: 0;
    }
}