﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f8fbff;
    color: #1e293b;
}

/* TOPBAR */
.topbar {
    background: linear-gradient(90deg, #0f172a, #1e3a8a);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

    .topbar a {
        color: #fff;
        text-decoration: none;
        margin-left: 12px;
        transition: 0.3s;
    }

        .topbar a:hover {
            color: #38bdf8;
        }

/* HEADER */
.main-header {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo-box {
    text-decoration: none;
}

.logo-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(45deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-tag {
    font-size: 14px;
    color: #64748b;
}

.navbar-nav .nav-link {
    color: #1e293b !important;
    font-weight: 500;
    margin: 0 8px;
    transition: 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: #2563eb !important;
    }

/* BUTTONS */
.header-btn,
.btn-main {
    display: inline-block;
    background: linear-gradient(45deg, #2563eb, #06b6d4);
    color: white !important;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

    .header-btn:hover,
    .btn-main:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(37,99,235,0.25);
    }

.register-btn {
    background: linear-gradient(45deg, #7c3aed, #9333ea);
}

.btn-outline-main {
    display: inline-block;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-outline-main:hover {
        background: #2563eb;
        color: #fff;
    }

/* HERO */
.hero-section {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    padding: 80px 0;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

    .hero-content h1 span {
        color: #2563eb;
    }

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-bottom: 35px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box {
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    min-width: 140px;
    text-align: center;
}

    .stat-box h3 {
        font-size: 34px;
        font-weight: 700;
        color: #2563eb;
    }
    .stat-box span {
        color: #64748b;
        font-weight: 500;
    }

/* HERO RIGHT */
.hero-image-section {
    position: relative;
    text-align: center;
    padding: 40px;
}

.hero-img {
    max-width: 100%;
    width: 420px;
    animation: floatHero 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

@keyframes floatHero {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    font-weight: 600;
    color: #1e293b;
    z-index: 2;
}

    .floating-card i {
        color: #2563eb;
        margin-right: 8px;
    }

.card-one {
    top: 20px;
    left: 40px;
}

.card-two {
    top: 180px;
    right: 10px;
}

.card-three {
    bottom: 60px;
    left: 60px;
}

/* SECTION TITLES */
.section-title span,
.section-subtitle,
.cta-subtitle {
    color: #2563eb;
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2,
.about-content h2,
.cta-box h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.section-title p,
.about-content p,
.cta-box p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
}

/* SERVICES */
.services-section {
    background: #ffffff;
}

.service-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.4s;
    height: 100%;
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.service-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(45deg, #2563eb, #06b6d4);
    border-radius: 50%;
    margin: auto auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .service-icon i {
        color: #fff;
        font-size: 34px;
    }

.service-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
}

/* FEATURES */
.features-section {
    background: #f8fbff;
}

.about-content {
    padding-left: 25px;
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    background: white;
    padding: 16px 20px;
    margin-bottom: 14px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-weight: 600;
}

    .feature-item i {
        color: #10b981;
        margin-right: 10px;
    }

/* COUNTER */
.counter-section {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.counter-box {
    background: rgba(255,255,255,0.12);
    padding: 35px 20px;
    border-radius: 22px;
    color: white;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

    .counter-box:hover {
        transform: translateY(-8px);
    }

    .counter-box i {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .counter-box h2 {
        font-size: 42px;
        font-weight: 700;
    }

    .counter-box p {
        margin: 0;
        opacity: 0.95;
    }

/* CTA */
.cta-section {
    background: #ffffff;
}

.cta-box {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    padding: 70px 40px;
    border-radius: 28px;
    color: white;
}

    .cta-box h2 {
        color: white;
    }

    .cta-box p {
        color: rgba(255,255,255,0.85);
    }

/* TESTIMONIAL */
.testimonial-section {
    background: #f8fbff;
}

.testimonial-card {
    background: white;
    padding: 35px 28px;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    height: 100%;
    transition: 0.3s;
}

    .testimonial-card:hover {
        transform: translateY(-8px);
    }

.quote-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2563eb, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .quote-icon i {
        color: white;
        font-size: 22px;
    }

.testimonial-card h5 {
    margin-top: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-card span {
    color: #64748b;
}

/* FOOTER */
.footer-section {
    background: #0f172a;
    color: white;
    padding: 80px 0 20px;
}

.footer-box h3,
.footer-box h5 {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-box p,
.footer-box li,
.footer-box a {
    color: rgba(255,255,255,0.78);
    line-height: 1.9;
    text-decoration: none;
    list-style: none;
}

.footer-box ul {
    padding: 0;
    margin: 0;
}

.footer-social a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.12);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 45px;
    padding-top: 20px;
}

/* LOADER */
.page-loader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 99999;
    display: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e2e8f0;
    border-top: 5px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -30px;
    margin-top: -30px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image-section {
        margin-top: 40px;
        padding: 20px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

        .section-title h2,
        .about-content h2,
        .cta-box h2 {
            font-size: 32px;
        }

    .floating-card {
        display: none;
    }
}

@media (max-width: 576px) {

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons a {
        display: block;
        margin-bottom: 12px;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .top-contact {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .top-social {
        width: 100%;
        text-align: center;
    }

    .cta-box {
        padding: 40px 20px;
    }

    /* ===============================
   PATRAKAR EKTA FORUM PAGE
================================= */

    .pef-hero {
        padding: 90px 0 70px;
        background: radial-gradient(circle at top right, rgba(250,204,21,0.12), transparent 35%), linear-gradient(180deg, #ffffff, #fffdf7);
    }

    .pef-hero-content h1 {
        font-size: 58px;
        font-weight: 800;
        color: #111827;
        margin: 18px 0 10px;
    }

    .pef-hero-content h3 {
        font-size: 28px;
        font-weight: 700;
        color: #ca8a04;
        margin-bottom: 20px;
    }

    .pef-hero-content p {
        font-size: 18px;
        line-height: 1.9;
        color: #4b5563;
    }

    .pef-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, #fef3c7, #fde68a);
        color: #92400e;
        padding: 12px 20px;
        border-radius: 50px;
        font-weight: 700;
        box-shadow: 0 10px 30px rgba(234,179,8,0.18);
    }

    .pef-mini-features {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 30px;
    }

    .mini-item {
        background: white;
        padding: 14px 18px;
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.08);
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        color: #1f2937;
    }

        .mini-item i {
            color: #d97706;
        }

    /* HERO VISUAL */
    .pef-hero-visual {
        position: relative;
        height: 520px;
        border-radius: 32px;
        background: linear-gradient(135deg, #fff7ed, #ffffff);
        border: 1px solid #fcd34d;
        overflow: hidden;
        box-shadow: 0 25px 60px rgba(0,0,0,0.10);
    }

    .live-tag {
        position: absolute;
        top: 22px;
        left: 22px;
        background: #111827;
        color: white;
        padding: 10px 18px;
        border-radius: 30px;
        font-weight: 700;
        z-index: 20;
    }

        .live-tag span {
            width: 10px;
            height: 10px;
            background: red;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
            animation: blinkPulse 1s infinite;
        }

    @keyframes blinkPulse {
        0% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: .4;
            transform: scale(1.4);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .shield-core {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 130px;
        height: 130px;
        transform: translate(-50%, -50%);
        background: linear-gradient(135deg, #facc15, #f59e0b);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 15;
        box-shadow: 0 20px 50px rgba(245,158,11,0.35);
    }

        .shield-core i {
            font-size: 46px;
            color: white;
        }

    .pulse-ring {
        position: absolute;
        border: 2px solid rgba(245,158,11,0.35);
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: ringPulse 4s infinite;
    }

    .ring1 {
        width: 180px;
        height: 180px;
    }

    .ring2 {
        width: 260px;
        height: 260px;
        animation-delay: 1s;
    }

    .ring3 {
        width: 340px;
        height: 340px;
        animation-delay: 2s;
    }

    @keyframes ringPulse {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(.8);
        }

        100% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(1.25);
        }
    }

    .visual-card {
        position: absolute;
        background: white;
        padding: 16px 20px;
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.10);
        font-weight: 700;
        color: #1f2937;
        z-index: 20;
        animation: floatCard 4s infinite ease-in-out;
    }

        .visual-card i {
            margin-right: 10px;
            color: #d97706;
        }

    .vc1 {
        top: 110px;
        left: 28px;
    }

    .vc2 {
        top: 120px;
        right: 28px;
        animation-delay: 1s;
    }

    .vc3 {
        bottom: 90px;
        left: 50%;
        transform: translateX(-50%);
        animation-delay: 2s;
    }

    @keyframes floatCard {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-12px);
        }

        100% {
            transform: translateY(0px);
        }
    }

    /* OBJECTIVES */
    .pef-objectives {
        padding: 80px 0;
        background: white;
    }

    .section-head h2 {
        font-size: 42px;
        font-weight: 800;
        color: #111827;
    }

    .section-head p {
        font-size: 18px;
        color: #6b7280;
    }
    /* OBJECTIVE CARDS */
    .objective-card {
        background: white;
        padding: 35px 28px;
        border-radius: 24px;
        text-align: center;
        height: 100%;
        border: 1px solid #f3f4f6;
        box-shadow: 0 14px 35px rgba(0,0,0,0.06);
        transition: all .35s ease;
        position: relative;
        overflow: hidden;
    }

        .objective-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 4px;
            width: 100%;
            background: linear-gradient(90deg, #f59e0b, #facc15);
        }

        .objective-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 22px 50px rgba(0,0,0,0.10);
        }

        .objective-card i {
            font-size: 52px;
            color: #d97706;
            margin-bottom: 18px;
        }

        .objective-card h4 {
            font-size: 22px;
            font-weight: 700;
            color: #111827;
            margin-bottom: 14px;
        }

        .objective-card p {
            color: #6b7280;
            line-height: 1.8;
        }

    /* LEGAL SECTION */
    .pef-legal-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #fffdf8, #ffffff);
    }

    .constitutional-box {
        background: white;
        padding: 40px;
        border-radius: 28px;
        box-shadow: 0 18px 45px rgba(0,0,0,0.08);
        border: 1px solid #fef3c7;
        height: 100%;
    }

    .legal-title {
        font-size: 30px;
        font-weight: 800;
        color: #111827;
        margin-bottom: 20px;
    }

        .legal-title i {
            color: #d97706;
            margin-right: 10px;
        }

    .article-badge {
        display: inline-block;
        background: linear-gradient(135deg, #fef3c7, #fde68a);
        color: #92400e;
        padding: 10px 18px;
        border-radius: 30px;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .legal-main-text {
        font-size: 18px;
        line-height: 1.8;
        color: #4b5563;
    }

    .legal-point {
        background: #fffaf0;
        padding: 16px 18px;
        border-radius: 16px;
        margin-top: 14px;
        font-weight: 600;
        color: #374151;
    }

        .legal-point i {
            color: #10b981;
            margin-right: 10px;
        }

    .legal-support-box {
        background: linear-gradient(135deg, #111827, #1f2937);
        color: white;
        padding: 40px 30px;
        border-radius: 28px;
        text-align: center;
        height: 100%;
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }

        .legal-support-box i {
            font-size: 60px;
            color: #facc15;
            margin-bottom: 20px;
        }

        .legal-support-box h3 {
            font-weight: 800;
            margin-bottom: 14px;
        }

    .legal-btn {
        display: inline-block;
        margin-top: 20px;
        background: linear-gradient(135deg, #f59e0b, #facc15);
        color: #111827;
        padding: 14px 24px;
        border-radius: 40px;
        font-weight: 700;
        text-decoration: none;
    }

    /* SUPPORT */
    .pef-support-section {
        padding: 80px 0;
        background: white;
    }

    .emergency-box,
    .insurance-box {
        background: white;
        padding: 35px;
        border-radius: 28px;
        box-shadow: 0 18px 45px rgba(0,0,0,0.08);
        height: 100%;
    }

    .box-heading {
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 18px;
    }

        .box-heading.red {
            color: #dc2626;
        }

        .box-heading.green {
            color: #059669;
        }

    .feature-list {
        list-style: none;
        padding: 0;
        margin-top: 20px;
    }

        .feature-list li {
            background: #f9fafb;
            padding: 14px 18px;
            border-radius: 14px;
            margin-bottom: 12px;
            font-weight: 600;
        }

    .insurance-grid {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 16px;
        margin-top: 20px;
    }

    .insurance-item {
        background: #f0fdf4;
        padding: 18px;
        border-radius: 16px;
        font-weight: 700;
        color: #065f46;
        text-align: center;
    }

        .insurance-item i {
            display: block;
            font-size: 28px;
            margin-bottom: 10px;
        }

    /* AWARENESS */
    .pef-awareness {
        padding: 80px 0;
        background: #fffdf8;
    }

    .awareness-card {
        background: white;
        padding: 30px;
        border-radius: 22px;
        text-align: center;
        font-weight: 700;
        box-shadow: 0 14px 35px rgba(0,0,0,0.06);
        transition: .3s;
    }

        .awareness-card:hover {
            transform: translateY(-8px);
        }

        .awareness-card i {
            display: block;
            font-size: 42px;
            color: #d97706;
            margin-bottom: 16px;
        }

    /* WORKSTYLE */
    .pef-workstyle {
        padding: 80px 0;
        background: white;
    }

    .work-card {
        background: white;
        padding: 35px;
        border-radius: 24px;
        text-align: center;
        box-shadow: 0 14px 35px rgba(0,0,0,0.07);
        height: 100%;
        transition: .3s;
    }

        .work-card:hover {
            transform: translateY(-10px);
        }

        .work-card i {
            font-size: 50px;
            color: #2563eb;
            margin-bottom: 18px;
        }

    /* CTA */
    .pef-cta {
        padding: 90px 0;
        background: linear-gradient(180deg, #ffffff, #fffaf0);
    }

    .cta-panel {
        background: white;
        padding: 70px 50px;
        border-radius: 32px;
        box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    }

    .cta-badge {
        background: #fef3c7;
        color: #92400e;
        padding: 10px 20px;
        border-radius: 30px;
        font-weight: 700;
    }

    .cta-panel h2 {
        font-size: 42px;
        font-weight: 800;
        color: #111827;
        margin: 25px 0;
    }

    .cta-panel p {
        font-size: 18px;
        color: #6b7280;
        max-width: 900px;
        margin: auto;
    }

    .forum-slogan {
        margin-top: 28px;
        font-size: 22px;
        font-weight: 700;
        color: #d97706;
    }

    .forum-btn-primary,
    .forum-btn-outline {
        display: inline-block;
        padding: 14px 28px;
        border-radius: 40px;
        text-decoration: none;
        font-weight: 700;
        margin: 8px;
    }

    .forum-btn-primary {
        background: linear-gradient(135deg, #f59e0b, #facc15);
        color: #111827;
    }

    .forum-btn-outline {
        border: 2px solid #2563eb;
        color: #2563eb;
    }

    /* RESPONSIVE */
    @media (max-width: 991px) {
        .pef-hero-content h1 {
            font-size: 42px;
        }

        .pef-hero-visual {
            margin-top: 40px;
            height: 460px;
        }

        .visual-card {
            display: none;
        }

        .section-head h2,
        .cta-panel h2 {
            font-size: 32px;
        }
    }

    @media (max-width: 576px) {
        .pef-hero-content h1 {
            font-size: 32px;
        }

        .pef-hero-content h3 {
            font-size: 22px;
        }

        .insurance-grid {
            grid-template-columns: 1fr;
        }

        .cta-panel {
            padding: 40px 20px;
        }
    }
    .reveal-active {
        animation: fadeUp 0.8s ease forwards;
    }

    .objective-card,
    .constitutional-box,
    .legal-support-box,
    .emergency-box,
    .insurance-box,
    .awareness-card,
    .work-card,
    .cta-panel {
        opacity: 0;
        transform: translateY(50px);
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}