/* ==========================================
   GasFlow / Guru Kripa Service Center
   Policy Pages CSS Stylesheet (policy.css)
   ========================================== */

/* --- Policy Hero Header --- */
.policy-hero-section {
    background: linear-gradient(135deg, #051022 0%, #0a1c38 60%, #0f274c 100%);
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.policy-hero-tech-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(0, 200, 255, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(255, 107, 0, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    opacity: 0.7;
    pointer-events: none;
}

.policy-hero-glow-cyan {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.policy-hero-glow-orange {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Badge & Header Text */
.policy-badge {
    background: rgba(0, 200, 255, 0.1);
    color: #00c8ff;
    border: 1px solid rgba(0, 200, 255, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.policy-hero-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    color: #ffffff;
    font-size: calc(1.75rem + 1.2vw);
    line-height: 1.2;
}

.policy-hero-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 680px;
}

/* --- Policy Nav Tabs Bar --- */
.policy-tabs-wrapper {
    margin-top: 1.5rem;
}

.policy-nav-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.4rem;
    border-radius: 50rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.policy-nav-link {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.policy-nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.35);
}

/* --- Hero Bottom Curve --- */
.policy-hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.policy-hero-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 35px;
}

/* --- Main Layout & Card Containers --- */
.policy-main-container {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    background-color: #f8fafc;
}

.policy-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    padding: 2.5rem;
}

@media (max-width: 767.98px) {
    .policy-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }
}

/* --- Typography & Section Styling --- */
.policy-content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
}

.policy-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul, .policy-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.policy-content strong {
    color: #0f172a;
    font-weight: 600;
}

.policy-content a {
    color: #0284c7;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.policy-content a:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* --- Highlight Boxes & Badges --- */
.policy-highlight-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0284c7;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.policy-highlight-box p:last-child {
    margin-bottom: 0;
}

.policy-effective-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* --- Contact Info Cards Inside Policies --- */
.policy-contact-card {
    background: linear-gradient(135deg, #051022 0%, #0c2144 100%);
    border-radius: 1rem;
    padding: 1.75rem;
    color: #ffffff;
    margin-top: 2rem;
    box-shadow: 0 10px 25px -5px rgba(5, 16, 34, 0.2);
}

.policy-contact-card h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.policy-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.policy-contact-item i {
    color: #38bdf8;
    font-size: 1.1rem;
}

.policy-contact-item a {
    color: #38bdf8;
    text-decoration: none;
}

.policy-contact-item a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* --- Sticky Sidebar Table of Contents --- */
.policy-sidebar {
    position: sticky;
    top: 90px;
}

.policy-toc-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.policy-toc-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.policy-toc-link {
    display: block;
    padding: 0.4rem 0.6rem;
    color: #475569;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.policy-toc-link:hover, .policy-toc-link.active {
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 600;
}
