/* Modern Policy Page Styles */

/* Root Variables */
:root {
    --primary-color: #F7921E;
    --primary-dark: #d67a19;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Policy Hero Section */
.modern-policy-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0 80px;
    overflow: hidden;
    color: white;
}

.modern-policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.15"/><circle cx="20" cy="60" r="0.5" fill="%23ffffff" opacity="0.15"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.policy-breadcrumb {
    margin-bottom: 2rem;
}

.policy-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.policy-breadcrumb .breadcrumb-item a:hover {
    color: white;
    transform: translateX(2px);
}

.policy-breadcrumb .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.policy-hero-title {
    text-align: center;
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-icon i {
    font-size: 36px;
    color: white;
}

.policy-hero-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 20px;
    color: white;
}

.stat-item span {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

/* Hero Decorative Elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Main Content Section */
.modern-policy-content {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.policy-content-wrapper {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: 30px;
}

/* Table of Contents Card */
.policy-toc-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.toc-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toc-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toc-header i {
    font-size: 24px;
}

.toc-content {
    padding: 20px 30px 30px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.toc-list li a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toc-list li a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateX(5px);
}

/* Main Policy Content */
.policy-main-content {
    padding: 40px;
}

.content-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f3f4;
}

.content-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-light);
}

.content-icon i {
    font-size: 30px;
    color: white;
}

.content-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.content-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Policy Text Content Styling */
.policy-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.policy-text-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    scroll-margin-top: 100px;
}

.policy-text-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 30px 0 15px;
    scroll-margin-top: 100px;
}

.policy-text-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.policy-text-content ul, .policy-text-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-text-content li {
    margin-bottom: 10px;
    position: relative;
}

.policy-text-content ul li::marker {
    color: var(--primary-color);
    font-size: 1.2em;
}

.policy-text-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Trust Section */
.policy-trust-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    margin-top: 50px;
}

.policy-trust-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.policy-trust-section h3 i {
    font-size: 28px;
    color: var(--primary-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trust-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-light);
}

.trust-icon i {
    font-size: 32px;
    color: white;
}

.trust-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.trust-content p {
    font-size: 1rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.policy-contact-section {
    margin-top: 50px;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.contact-header {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.contact-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-header i {
    font-size: 28px;
}

.contact-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-btn.primary {
    background: white;
    color: var(--primary-color);
}

.contact-btn.primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.contact-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.contact-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.contact-btn i {
    font-size: 18px;
}

/* Sidebar */
.policy-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .modern-policy-hero {
        padding: 100px 0 60px;
    }
    
    .policy-hero-title h1 {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 12px 20px;
    }
}

@media (max-width: 991px) {
    .modern-policy-hero {
        padding: 80px 0 50px;
    }
    
    .policy-hero-title h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .policy-main-content {
        padding: 30px;
    }
    
    .policy-trust-section {
        padding: 30px;
    }
    
    .contact-card {
        padding: 30px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .policy-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .modern-policy-hero {
        padding: 60px 0 40px;
    }
    
    .policy-hero-title h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .policy-main-content {
        padding: 20px;
    }
    
    .content-header h2 {
        font-size: 2rem;
    }
    
    .policy-text-content h2 {
        font-size: 1.6rem;
    }
    
    .policy-text-content h3 {
        font-size: 1.3rem;
    }
    
    .policy-trust-section {
        padding: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-header h3 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .toc-content {
        padding: 15px 20px 20px;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .circle-1, .circle-2, .circle-3 {
        display: none;
    }
}

@media (max-width: 575px) {
    .policy-breadcrumb .breadcrumb {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .hero-icon i {
        font-size: 24px;
    }
    
    .content-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .content-icon i {
        font-size: 20px;
    }
    
    .trust-icon {
        width: 60px;
        height: 60px;
    }
    
    .trust-icon i {
        font-size: 24px;
    }
    
    .contact-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .modern-policy-hero,
    .policy-sidebar,
    .contact-card,
    .hero-decoration {
        display: none;
    }
    
    .modern-policy-content {
        padding: 0;
        background: white;
    }
    
    .policy-content-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .policy-main-content {
        padding: 20px;
    }
    
    .policy-text-content {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .policy-trust-section {
        background: white;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}
