﻿/* ==========================================
   GOOGLE FONT
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');


/* ==========================================
   ROOT
========================================== */

:root {
    --primary: #0d6efd;
    --primary-dark: #084298;
    --secondary: #2563eb;
    --light: #f7f9fc;
    --white: #ffffff;
    --dark: #222;
    --border: #e5e7eb;
    --shadow: 0 12px 35px rgba(0,0,0,.08);
    --radius: 18px;
}


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter',sans-serif;
    background: #f4f7fb;
    color: #444;
    line-height: 1.8;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    background: linear-gradient(135deg,#0d6efd,#2563eb);
    padding: 16px 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 12px;
}

    .nav-link:hover {
        opacity: .85;
    }


/* ==========================================
   HERO
========================================== */

.hero {
    margin-top: 76px;
    background: linear-gradient(135deg,#0d6efd,#2563eb);
    color: #fff;
    padding: 90px 0;
}

    .hero h1 {
        font-size: 54px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 19px;
        opacity: .95;
    }

.hero-meta {
    margin-top: 25px;
}

    .hero-meta span {
        display: inline-block;
        background: rgba(255,255,255,.15);
        padding: 12px 22px;
        border-radius: 50px;
    }

.hero-icon {
    width: 240px;
    height: 240px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

    .hero-icon i {
        font-size: 95px;
    }


/* ==========================================
   MAIN
========================================== */

.policy-section {
    padding: 70px 0;
}


/* ==========================================
   TOC
========================================== */

.toc {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 25px;
    top: 100px;
}

    .toc h5 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .toc ul {
        list-style: none;
        padding: 0;
    }

    .toc li {
        margin-bottom: 14px;
    }

    .toc a {
        color: #555;
        text-decoration: none;
        transition: .25s;
    }

        .toc a:hover {
            color: var(--primary);
            padding-left: 8px;
        }


/* ==========================================
   CARDS
========================================== */

.policy-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 38px;
    margin-bottom: 35px;
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
    transition: .35s;
}

    .policy-card:hover {
        transform: translateY(-6px);
    }

    .policy-card h2 {
        color: #0d6efd;
        margin-bottom: 25px;
        font-size: 28px;
        font-weight: 700;
    }

        .policy-card h2 i {
            margin-right: 12px;
        }

    .policy-card p {
        color: #555;
        margin-bottom: 18px;
    }

    .policy-card ul {
        padding-left: 20px;
    }

    .policy-card li {
        margin-bottom: 12px;
    }


/* ==========================================
   TABLE
========================================== */

.table {
    border-radius: 12px;
    overflow: hidden;
}

    .table th {
        background: #0d6efd;
        color: #fff;
    }

    .table td {
        vertical-align: middle;
    }


/* ==========================================
   PERMISSION BOX
========================================== */

.permission-box {
    text-align: center;
    padding: 28px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #e5edf8;
    margin-bottom: 22px;
    transition: .3s;
}

    .permission-box:hover {
        transform: translateY(-5px);
    }

    .permission-box i {
        font-size: 42px;
        color: #0d6efd;
        margin-bottom: 16px;
    }

    .permission-box h5 {
        font-weight: 700;
    }


/* ==========================================
   INFO BOX
========================================== */

.info-box {
    background: #f8fbff;
    padding: 28px;
    border-radius: 16px;
    height: 100%;
    border: 1px solid #e7eef9;
}

    .info-box i {
        font-size: 40px;
        color: #0d6efd;
        margin-bottom: 18px;
    }

    .info-box h5 {
        font-weight: 700;
    }


/* ==========================================
   CONTACT
========================================== */

.contact-card {
    background: linear-gradient(135deg,#0d6efd,#2563eb);
    color: #fff;
    padding: 30px;
    border-radius: 16px;
}

    .contact-card p {
        color: #fff;
        margin-bottom: 10px;
    }


/* ==========================================
   ALERT
========================================== */

.alert {
    border: none;
    border-radius: 14px;
}


/* ==========================================
   FOOTER
========================================== */

.footer {
    background: #0d6efd;
    color: #fff;
    padding: 25px 0;
}


/* ==========================================
   BACK TO TOP
========================================== */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: #0d6efd;
    cursor: pointer;
    font-size: 22px;
    box-shadow: var(--shadow);
}


/* ==========================================
   BADGE
========================================== */

.badge {
    padding: 12px 22px;
    font-size: 14px;
    border-radius: 30px;
}


/* ==========================================
   ANIMATION
========================================== */

.policy-card {
    animation: fadeUp .6s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px) {

    .hero {
        padding: 70px 0;
        text-align: center;
    }

        .hero h1 {
            font-size: 42px;
        }

    .hero-icon {
        width: 180px;
        height: 180px;
        margin-top: 35px;
    }

        .hero-icon i {
            font-size: 70px;
        }

    .toc {
        position: relative !important;
        top: 0;
        margin-bottom: 30px;
    }
}

@media(max-width:768px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 17px;
    }

    .policy-card {
        padding: 25px;
    }

        .policy-card h2 {
            font-size: 24px;
        }

    .footer {
        text-align: center;
    }

        .footer .text-md-end {
            margin-top: 12px;
            text-align: center !important;
        }
}

@media(max-width:576px) {

    .hero {
        padding: 55px 0;
    }

        .hero h1 {
            font-size: 30px;
        }

    .hero-icon {
        display: none;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .policy-card {
        padding: 22px;
    }
}


/* ==========================================
   PRINT
========================================== */

@media print {

    .navbar,
    .hero,
    .back-to-top,
    .footer,
    .toc {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .policy-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}


/* ==========================================
   SELECTION
========================================== */

::selection {
    background: #0d6efd;
    color: #fff;
}
