/* Policy Page Styles */

/* Hero Section */
.policy-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a2e 100%);
    padding: 100px 20px 60px;
    margin-top: 70px;
    border-bottom: 3px solid var(--primary-green);
    text-align: center;
}

.hero-icon {
    font-size: 60px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

/* Policy Content Wrapper */
.policy-content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Sidebar Navigation */
.policy-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-nav {
    background: var(--surface-dark);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-nav-list {
    list-style: none;
}

.policy-nav-list li {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 16px;
    width: 20px;
}

.nav-link:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
}

.nav-link.active {
    background: var(--primary-green);
    color: white;
}

/* Main Content */
.policy-main-content {
    flex: 1;
    min-width: 0;
}

.policy-section {
    background: var(--surface-dark);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-green);
}

.section-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.section-content a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.section-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Policy Lists */
.policy-list {
    list-style: none;
    margin: 20px 0;
}

.policy-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
}

.policy-list li i {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--primary-green);
    font-size: 16px;
}

.policy-section {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0 20px;
}

.policy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--primary-green);
}

.policy-icon {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.policy-header h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.policy-header .last-updated {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

.policy-content {
    background: var(--surface-dark);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.policy-content h2:first-child {
    margin-top: 0;
}


.policy-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    scroll-margin-top: 100px; /* Section Anchor */
}

.policy-content h2 i {
    color: var(--primary-green);
    font-size: 24px;
}

.policy-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    scroll-margin-top: 100px; /* Section Anchor */
}

.policy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.policy-content ul {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}

.policy-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.policy-content ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-size: 14px;
}

.policy-content a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.policy-content a:hover {
    border-bottom: 1px solid var(--primary-green);
}

/* Highlight Boxes */
.policy-highlight {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--primary-green);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.policy-highlight p {
    margin-bottom: 0;
    color: var(--text-primary);
}

.policy-warning {
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid #ff6b35;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.policy-warning p {
    margin-bottom: 0;
    color: var(--text-primary);
}

/* Contact Section */
.policy-contact {
    background: var(--primary-dark);
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
    text-align: center;
    border: 2px solid var(--primary-green);
}

.policy-contact h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.policy-contact p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 550px; /* Added for better readability */
    margin: 0 auto 20px; /* Center the paragraph block */
}

.policy-contact a {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-green);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-contact a:hover {
    background: #0d9668;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* Table of Contents */
.policy-toc {
    background: var(--primary-dark);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
}

.policy-toc h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-toc h3 i {
    color: var(--primary-green);
}

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

.policy-toc ul li {
    margin-bottom: 12px;
    padding-left: 0;
}

.policy-toc ul li:before {
    content: none;
}

.policy-toc ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 15px;
    border-radius: 8px;
}

.policy-toc ul li a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    padding-left: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-section {
        margin-top: 80px;
    }

    .policy-header h1 {
        font-size: 28px;
    }

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

    .policy-content h2 {
        font-size: 22px;
    }

    .policy-content h3 {
        font-size: 18px;
    }

    .policy-content p,
    .policy-content ul li {
        font-size: 14px;
    }

    .policy-contact {
        padding: 25px 20px;
    }

    .policy-icon {
        font-size: 32px;
    }
}

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

/* Info Boxes */
.info-box, .highlight-box, .warning-box, .opt-out-box {
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 4px solid var(--primary-green);
}

.info-box {
    background: rgba(16, 185, 129, 0.1);
}

.highlight-box {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
}

.opt-out-box {
    background: rgba(139, 92, 246, 0.1);
    border-left-color: #8b5cf6;
}

.info-box h4, .highlight-box h4, .warning-box h4, .opt-out-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p, .highlight-box p, .warning-box p {
    margin-bottom: 10px;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tech-item {
    background: var(--surface-dark);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.tech-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.tech-item p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Opt-out Links */
.opt-out-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.opt-out-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--surface-dark);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    justify-content: center;
}

.opt-out-btn:hover {
    border-color: var(--primary-green);
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

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

/* Contact Box */
.contact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-green);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer Updates */
.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 15px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-green);
}

@media (max-width: 1024px) {
    .policy-content-wrapper {
        flex-direction: column;
    }

    .policy-sidebar {
        position: relative;
        top: 0;
        flex: 1;
    }

    .sidebar-nav {
        max-width: 100%;
    }

    .policy-nav-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
}



/* About Page */

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    margin: 35px 0;
}

.about-stat {
    background: var(--primary-dark);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: .3s;
}

.about-stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.about-stat i {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.about-stat h3 {
    color: var(--text-primary);
    margin: 10px 0;
}

.about-stat p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    margin-top:30px;
}

.value-card {
    background: rgba(16,185,129,.08);
    border:1px solid var(--border-light);
    border-radius:12px;
    padding:25px;
}

.value-card i{
    font-size:32px;
    color:var(--primary-green);
    margin-bottom:15px;
}

.value-card h4{
    color:var(--text-primary);
    margin-bottom:10px;
}

.value-card p{
    color:var(--text-secondary);
    margin:0;
}

@media(max-width:768px){

.about-stat-grid,
.about-values{
    grid-template-columns:1fr;
}

}