/* ===============================
   PCNS General Pages CSS
   About / Contact / Privacy / Terms
================================ */

.general-page {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(11, 94, 215, 0.12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(0, 180, 216, 0.12), transparent 35%),
        var(--body-bg);
    color: var(--text-color);
    overflow-x: hidden;
    overflow-y: visible;
}

.general-hero {
    position: relative;
    padding: 10px 0 10px;
    overflow: hidden;
}

.general-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11, 94, 215, 0.12), transparent 55%),
        linear-gradient(45deg, rgba(0, 180, 216, 0.08), transparent 55%);
    pointer-events: none;
}

.general-hero .container {
    position: relative;
    z-index: 2;
}

.general-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(11, 94, 215, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.general-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--text-color);
}

.general-title span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.general-subtitle {
    max-width: 760px;
    color: var(--muted-color);
    font-size: 1.08rem;
    line-height: 1.8;
}

.general-section {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.general-section-sm {
    position: relative;
    padding: 55px 0;
    z-index: 1;
}

.section-heading {
    margin-bottom: 42px;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 12px;
}

.section-description {
    color: var(--muted-color);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 780px;
}

.general-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.general-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 94, 215, 0.35);
}

.equal-card {
    height: 100%;
}

.icon-card {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.general-card h4,
.general-card h5 {
    color: var(--text-color);
    font-weight: 800;
    margin-bottom: 12px;
}

.general-card p {
    color: var(--muted-color);
    line-height: 1.75;
    margin-bottom: 0;
}

.soft-card {
    background: rgba(11, 94, 215, 0.08);
    border: 1px solid rgba(11, 94, 215, 0.14);
    border-radius: 26px;
    padding: 32px;
}

html[data-theme="dark"] .soft-card {
    background: rgba(255, 255, 255, 0.04);
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 24px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--muted-color);
    margin-bottom: 0;
    font-weight: 600;
}

/* ===============================
   Contact Page
================================ */

.contact-main-section {
    position: relative;
    z-index: 3;
    padding: 80px 0 90px;
    overflow: visible;
}

.contact-main-section .container,
.contact-main-section .row,
.contact-main-section [class*="col-"] {
    position: relative;
    z-index: 3;
}

.contact-card {
    height: auto !important;
}

.contact-side-card {
    height: auto !important;
    margin-bottom: 24px;
}

.contact-side-card:last-child {
    margin-bottom: 0;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 16px;
    background: rgba(11, 94, 215, 0.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-info-item h6 {
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--muted-color);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-form .form-label {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--body-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 16px;
    padding: 13px 15px;
    box-shadow: none;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: rgba(11, 94, 215, 0.55);
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.12);
}

.contact-form textarea.form-control {
    min-height: 145px;
    resize: vertical;
}

.gradient-btn {
    border: none;
    border-radius: 999px;
    padding: 13px 28px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(11, 94, 215, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gradient-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 94, 215, 0.35);
}

/* Contact Map Fix */
.contact-map-section {
    position: relative;
    z-index: 1;
    isolation: isolate;
    clear: both;
    padding: 90px 0 90px;
    overflow: visible;
}

.contact-map-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1120px, calc(100% - 24px));
    height: 1px;
    transform: translateX(-50%);
    background: var(--border-color);
}

.contact-map-section .container {
    position: relative;
    z-index: 2;
}

.contact-map-section .section-heading {
    position: relative;
    z-index: 3;
    margin-bottom: 35px;
}

.map-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    min-height: 420px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    background: var(--card-bg);
    display: block;
}

.map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ===============================
   Policy / Terms
================================ */

.legal-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.legal-sidebar {
    position: sticky;
    top: 96px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.legal-sidebar h5 {
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 16px;
}

.legal-sidebar a {
    display: block;
    padding: 11px 13px;
    border-radius: 14px;
    color: var(--muted-color);
    font-weight: 700;
    margin-bottom: 5px;
    transition: background 0.2s ease, color 0.2s ease;
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
    background: rgba(11, 94, 215, 0.1);
    color: var(--primary-color);
}

.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 38px;
    box-shadow: var(--shadow-sm);
}

.legal-content section {
    scroll-margin-top: 105px;
    margin-bottom: 42px;
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h3 {
    color: var(--text-color);
    font-weight: 900;
    margin-bottom: 14px;
}

.legal-content p,
.legal-content li {
    color: var(--muted-color);
    line-height: 1.85;
}

.legal-content ul {
    padding-left: 22px;
}

.legal-note {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(11, 94, 215, 0.08);
    border: 1px solid rgba(11, 94, 215, 0.12);
    color: var(--muted-color);
    margin-bottom: 28px;
}

.last-updated {
    color: var(--muted-color);
    font-weight: 700;
    margin-top: 16px;
}

/* ===============================
   FAQ
================================ */

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 14px;
}

.faq-question {
    width: 100%;
    background: transparent;
    color: var(--text-color);
    padding: 18px 20px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: var(--muted-color);
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.25s ease;
}

/* ===============================
   Responsive
================================ */

@media (max-width: 991px) {
    .general-hero {
        padding: 70px 0 50px;
    }

    .general-section {
        padding: 60px 0;
    }

    .contact-main-section {
        padding: 60px 0 70px;
    }

    .contact-map-section {
        padding: 70px 0;
    }

    .contact-side-card {
        margin-bottom: 24px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 575px) {
    .general-card,
    .soft-card,
    .legal-content {
        padding: 24px;
        border-radius: 22px;
    }

    .general-hero {
        padding: 55px 0 40px;
    }

    .contact-main-section {
        padding: 50px 0 60px;
    }

    .contact-map-section {
        padding: 60px 0 65px;
    }

    .contact-map-section .section-heading {
        margin-bottom: 28px;
    }

    .map-wrapper {
        height: 330px;
        min-height: 330px;
        border-radius: 22px;
    }

    .legal-sidebar {
        padding: 16px;
    }
}