/* =========================================================
  CrownPay Professional Light Theme
  Complete CSS
  ========================================================= */

:root {
    --cp-primary: #2563eb;
    --cp-primary-dark: #1d4ed8;
    --cp-purple: #7c3aed;

    --cp-heading: #0f172a;
    --cp-text: #475569;
    --cp-muted: #64748b;

    --cp-white: #ffffff;
    --cp-bg: #f8fafc;
    --cp-bg-soft: #f1f5f9;
    --cp-bg-blue: #eff6ff;

    --cp-border: #e2e8f0;
    --cp-border-dark: #cbd5e1;

    --cp-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --cp-shadow-md: 0 20px 50px rgba(15, 23, 42, 0.10);
    --cp-shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.14);
}

/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.cp-site-body {
    margin: 0;
    min-height: 100vh;
    color: var(--cp-text);
    font-family: "Inter", sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

body.cp-site-body a {
    text-decoration: none;
}

body.cp-site-body button,
body.cp-site-body input,
body.cp-site-body textarea,
body.cp-site-body select {
    font-family: inherit;
}

body.cp-site-body ::selection {
    color: #ffffff;
    background: var(--cp-primary);
}

.cp-main-content {
    width: 100%;
}

/* =========================================================
   Navbar
   ========================================================= */

/*.cp-site-header {*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 1000;*/
/*    padding: 16px 24px;*/
/*    background: rgba(248, 250, 252, 0.92);*/
/*    border-bottom: 1px solid rgba(226, 232, 240, 0.9);*/
/*    backdrop-filter: blur(18px);*/
/*    -webkit-backdrop-filter: blur(18px);*/
/*}*/
.cp-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 24px 0;

    background: transparent;
    border-bottom: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cp-header-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/*.cp-navbar {*/
/*    min-height: 76px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    gap: 30px;*/
/*    padding: 12px 14px 12px 18px;*/
/*    border: 1px solid var(--cp-border);*/
/*    border-radius: 18px;*/
/*    background: rgba(255, 255, 255, 0.97);*/
/*    box-shadow: var(--cp-shadow-md);*/
/*}*/

.cp-navbar {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 12px 14px 12px 18px;

    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.10),
        0 5px 15px rgba(15, 23, 42, 0.05);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.cp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cp-brand-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ffffff;
    font-size: 22px;
    background: linear-gradient(
        135deg,
        var(--cp-primary),
        var(--cp-purple)
    );
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.25);
}

.cp-brand-text {
    color: var(--cp-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.cp-brand-text span {
    color: var(--cp-primary);
}

.cp-desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.cp-nav-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 11px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.cp-nav-link:hover {
    color: var(--cp-primary);
    background: #f1f5ff;
}

.cp-nav-link.active {
    color: var(--cp-primary);
    background: #eff4ff;
}

.cp-header-contact {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 0 23px;
    border-radius: 13px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--cp-primary),
        var(--cp-primary-dark)
    );
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cp-header-contact:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32);
}

.cp-mobile-toggle {
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cp-border);
    border-radius: 12px;
    color: var(--cp-heading);
    font-size: 22px;
    background: #ffffff;
    cursor: pointer;
}

.cp-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--cp-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--cp-shadow-md);
}

.cp-mobile-menu.open {
    display: flex;
}

.cp-mobile-menu > a {
    padding: 12px 14px;
    border-radius: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.cp-mobile-menu > a:hover,
.cp-mobile-menu > a.active {
    color: var(--cp-primary);
    background: #eff4ff;
}

.cp-mobile-menu .cp-mobile-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    color: #ffffff;
    background: var(--cp-primary);
}

.cp-mobile-menu .cp-mobile-contact:hover {
    color: #ffffff;
    background: var(--cp-primary-dark);
}

/* =========================================================
   Light Theme Conversion for Existing Tailwind Classes
   ========================================================= */

.cp-site-body .text-white {
    color: var(--cp-heading);
}

.cp-site-body .text-slate-300 {
    color: #475569;
}

.cp-site-body .text-slate-400 {
    color: #64748b;
}

.cp-site-body .text-slate-500 {
    color: #64748b;
}

.cp-site-body .text-blue-300 {
    color: var(--cp-primary);
}

.cp-site-body .text-blue-400 {
    color: #3b82f6;
}

.cp-site-body .text-purple-400 {
    color: #8b5cf6;
}

.cp-site-body .text-emerald-400 {
    color: #10b981;
}

.cp-site-body .text-amber-400 {
    color: #f59e0b;
}

.cp-site-body .text-rose-400 {
    color: #f43f5e;
}

.cp-site-body .text-sky-400 {
    color: #0ea5e9;
}

.cp-site-body .bg-white\/5,
.cp-site-body .bg-white\/10,
.cp-site-body .bg-white\/\[0\.02\],
.cp-site-body .bg-white\/\[0\.06\] {
    background: #ffffff;
}

.cp-site-body .border-white\/5,
.cp-site-body .border-white\/10 {
    border-color: var(--cp-border);
}

.cp-site-body .bg-blue-500\/10 {
    background: #eff6ff;
}

.cp-site-body .bg-blue-500\/20 {
    background: #dbeafe;
}

.cp-site-body .bg-purple-500\/10 {
    background: #f5f3ff;
}

.cp-site-body .bg-purple-500\/20 {
    background: #ede9fe;
}

.cp-site-body .bg-emerald-500\/10 {
    background: #ecfdf5;
}

.cp-site-body .bg-emerald-500\/20 {
    background: #d1fae5;
}

.cp-site-body .bg-amber-500\/10 {
    background: #fffbeb;
}

.cp-site-body .bg-rose-500\/10 {
    background: #fff1f2;
}

.cp-site-body .bg-sky-500\/10 {
    background: #f0f9ff;
}

/* Keep button text white */

.cp-site-body a.bg-gradient-to-r,
.cp-site-body button.bg-gradient-to-r {
    color: #ffffff;
}

.cp-site-body a.bg-gradient-to-r .text-white,
.cp-site-body button.bg-gradient-to-r .text-white {
    color: #ffffff;
}

/* =========================================================
   Hero Section
   ========================================================= */

.cp-main-content > section:first-child {
    padding-top: 100px;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(96, 165, 250, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(139, 92, 246, 0.14),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );
}

.cp-main-content > section:first-child h1 {
    color: var(--cp-heading);
}

.cp-main-content > section:first-child p {
    color: #64748b;
}

.cp-main-content > section:first-child .text-white {
    color: var(--cp-heading);
}

.cp-main-content > section:first-child .text-slate-400,
.cp-main-content > section:first-child .text-slate-500 {
    color: #64748b;
}

.cp-main-content > section:first-child .bg-white\/10 {
    background: var(--cp-border);
}

.cp-gradient-text {
    color: transparent;
    background-image: linear-gradient(
        90deg,
        var(--cp-primary),
        var(--cp-purple)
    );
    background-clip: text;
    -webkit-background-clip: text;
}

/* =========================================================
   Glow
   ========================================================= */

.cp-glow {
    position: absolute;
    z-index: 0;
    border-radius: 9999px;
    filter: blur(110px);
    pointer-events: none;
    opacity: 0.55;
}

.cp-glow-blue {
    background: rgba(59, 130, 246, 0.22);
}

.cp-glow-purple {
    background: rgba(139, 92, 246, 0.20);
}

/* =========================================================
   Cards
   ========================================================= */

.cp-glass {
    border: 1px solid var(--cp-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--cp-shadow-sm);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cp-glass-strong {
    border: 1px solid var(--cp-border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--cp-shadow-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cp-site-body .cp-glass:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}

/* =========================================================
   Dashboard Card Fixes
   ========================================================= */

.cp-main-content > section:first-child .cp-glass-strong {
    color: var(--cp-text);
}

.cp-main-content > section:first-child .cp-glass-strong .text-white {
    color: var(--cp-heading);
}

.cp-main-content > section:first-child .cp-glass-strong .text-slate-300 {
    color: #475569;
}

.cp-main-content > section:first-child .cp-glass-strong .text-slate-400,
.cp-main-content > section:first-child .cp-glass-strong .text-slate-500 {
    color: #64748b;
}

.cp-main-content > section:first-child .cp-glass {
    background: #f8fafc;
    box-shadow: none;
}

.cp-main-content > section:first-child .cp-glass:hover {
    border-color: var(--cp-border);
    box-shadow: none;
}

/* =========================================================
   Bars
   ========================================================= */

.cp-bars {
    height: 110px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.cp-bars span {
    flex: 1;
    border-radius: 7px 7px 2px 2px;
    background: linear-gradient(
        180deg,
        #60a5fa,
        #2563eb
    );
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.12);
}

.cp-bars span:nth-child(1) {
    height: 42%;
}

.cp-bars span:nth-child(2) {
    height: 62%;
}

.cp-bars span:nth-child(3) {
    height: 48%;
}

.cp-bars span:nth-child(4) {
    height: 74%;
}

.cp-bars span:nth-child(5) {
    height: 58%;
}

.cp-bars span:nth-child(6) {
    height: 86%;
}

.cp-bars span:nth-child(7) {
    height: 68%;
}

.cp-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
}

/* =========================================================
   Stats Section
   ========================================================= */

.cp-main-content > section:nth-child(2) {
    background: #f8fafc;
    border-top: 1px solid var(--cp-border);
    border-bottom: 1px solid var(--cp-border);
}

.cp-main-content > section:nth-child(2) .text-white {
    color: var(--cp-heading);
}

/* =========================================================
   General Sections
   ========================================================= */

.cp-main-content section {
    position: relative;
}

.cp-main-content section:nth-child(even):not(:nth-child(2)) {
    background: #f8fafc;
}

.cp-main-content section:nth-child(odd) {
    background-color: #ffffff;
}

.cp-main-content h2,
.cp-main-content h3,
.cp-main-content h4 {
    color: var(--cp-heading);
}

.cp-main-content p {
    color: var(--cp-text);
}

.cp-main-content .cp-glass h3,
.cp-main-content .cp-glass .text-white {
    color: var(--cp-heading);
}

.cp-main-content .cp-glass p,
.cp-main-content .cp-glass .text-slate-400,
.cp-main-content .cp-glass .text-slate-500 {
    color: #64748b;
}

/* =========================================================
   Buttons
   ========================================================= */

.cp-site-body a[class*="bg-gradient-to-r"] {
    color: #ffffff;
    background-image: linear-gradient(
        135deg,
        var(--cp-primary),
        var(--cp-purple)
    );
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.24);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cp-site-body a[class*="bg-gradient-to-r"]:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(79, 70, 229, 0.32);
}

.cp-main-content > section:first-child a.cp-glass {
    color: var(--cp-heading);
    background: #ffffff;
    border: 1px solid var(--cp-border);
    box-shadow: var(--cp-shadow-sm);
}

.cp-main-content > section:first-child a.cp-glass:hover {
    color: var(--cp-primary);
    border-color: #93c5fd;
    background: #ffffff;
}

/* =========================================================
   Dashboard Preview Section
   ========================================================= */

.cp-main-content section .cp-glass-strong .text-white {
    color: var(--cp-heading);
}

.cp-main-content section .cp-glass-strong .text-slate-300 {
    color: #475569;
}

.cp-main-content section .cp-glass-strong .text-slate-400,
.cp-main-content section .cp-glass-strong .text-slate-500 {
    color: #64748b;
}

.cp-main-content section .cp-glass-strong .cp-glass {
    background: #f8fafc;
    box-shadow: none;
}

/* =========================================================
   FAQ
   ========================================================= */

details > summary {
    list-style: none;
    cursor: pointer;
}

details > summary::-webkit-details-marker {
    display: none;
}

details summary .cp-faq-icon {
    transition: transform 0.25s ease;
}

details[open] summary .cp-faq-icon {
    transform: rotate(45deg);
}

details.cp-glass {
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

details.cp-glass[open] {
    border-color: #bfdbfe;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   Floating Animation
   ========================================================= */

.cp-float {
    animation: cpFloat 6s ease-in-out infinite;
}

.cp-float-delay {
    animation: cpFloat 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes cpFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================================
   Reveal Animation
   ========================================================= */

.cp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.cp-reveal.cp-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Footer Support
   ========================================================= */

.cp-site-body footer {
    background: #0f172a;
}

.cp-site-body footer .text-white {
    color: #ffffff;
}

.cp-site-body footer .text-slate-300 {
    color: #cbd5e1;
}

.cp-site-body footer .text-slate-400 {
    color: #94a3b8;
}

.cp-site-body footer .text-slate-500 {
    color: #64748b;
}

.cp-site-body footer .border-white\/5,
.cp-site-body footer .border-white\/10 {
    border-color: rgba(255, 255, 255, 0.10);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1023px) {
    .cp-site-header {
        padding: 12px 16px;
    }

    .cp-navbar {
        min-height: 68px;
        padding: 10px 11px 10px 15px;
        border-radius: 15px;
    }

    .cp-desktop-nav,
    .cp-header-contact {
        display: none;
    }

    .cp-mobile-toggle {
        display: inline-flex;
    }

    .cp-main-content > section:first-child {
        padding-top: 75px;
    }
}

@media (max-width: 767px) {
    .cp-site-header {
        padding: 10px;
    }

    .cp-brand-icon {
        width: 41px;
        height: 41px;
        border-radius: 11px;
        font-size: 19px;
    }

    .cp-brand-text {
        font-size: 21px;
    }

    .cp-mobile-toggle {
        width: 42px;
        height: 42px;
    }

    .cp-main-content > section:first-child {
        padding-top: 60px;
    }

    .cp-main-content > section:first-child h1 {
        font-size: 42px;
        line-height: 1.12;
    }

    .cp-bars {
        height: 85px;
    }
}

@media (max-width: 575px) {
    .cp-main-content > section:first-child h1 {
        font-size: 36px;
    }

    .cp-main-content section {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cp-float,
    .cp-float-delay {
        animation: none;
    }
}

/* =========================================================
   Footer
   ========================================================= */

.cp-footer {
    position: relative;
    padding: 76px 0 24px;
    color: #cbd5e1;
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(37, 99, 235, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 20%,
            rgba(124, 58, 237, 0.12),
            transparent 32%
        ),
        #0f172a;
    overflow: hidden;
}

.cp-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(96, 165, 250, 0.55),
        rgba(139, 92, 246, 0.45),
        transparent
    );
}

.cp-footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 55px;
    padding-bottom: 55px;
}

.cp-footer-brand {
    max-width: 390px;
}

.cp-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cp-footer-logo-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ffffff;
    font-size: 22px;
    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.cp-footer-logo-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.cp-footer-logo-text span {
    color: #60a5fa;
}

.cp-footer-description {
    max-width: 360px;
    margin-top: 21px;
    color: #94a3b8 !important;
    font-size: 14px;
    line-height: 1.8;
}

.cp-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 24px;
}

.cp-footer-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #cbd5e1;
    font-size: 14px;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.cp-footer-contact-list a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.cp-footer-contact-list i {
    color: #60a5fa;
    font-size: 17px;
}

.cp-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.cp-footer-column h3 {
    margin: 0 0 7px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
}

.cp-footer-column a {
    position: relative;
    color: #94a3b8;
    font-size: 14px;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.cp-footer-column a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.cp-footer-bottom {
    position: relative;
    z-index: 1;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.cp-footer-bottom p {
    margin: 0;
    color: #64748b !important;
    font-size: 13px;
}

.cp-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cp-footer-bottom-links a {
    color: #64748b;
    font-size: 13px;
    transition: color 0.2s ease;
}

.cp-footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 1023px) {
    .cp-footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .cp-footer-main .cp-footer-column:last-child {
        grid-column: 2 / 4;
    }
}

@media (max-width: 767px) {
    .cp-footer {
        padding-top: 58px;
    }

    .cp-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 28px;
    }

    .cp-footer-brand {
        max-width: none;
        grid-column: 1 / -1;
    }

    .cp-footer-main .cp-footer-column:last-child {
        grid-column: auto;
    }

    .cp-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 12px;
    }
}

@media (max-width: 500px) {
    .cp-footer-main {
        grid-template-columns: 1fr;
    }

    .cp-footer-main .cp-footer-column:last-child {
        grid-column: auto;
    }

    .cp-footer-bottom-links {
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}

/* =========================================================
   Services Page
   ========================================================= */

.cp-main-content > section:first-child {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(59, 130, 246, 0.15),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );
}

.cp-main-content .bg-gradient-to-br.from-blue-600 {
    color: #ffffff;
}

.cp-main-content .bg-gradient-to-br.from-blue-600 .text-white\/90 {
    color: rgba(255, 255, 255, 0.92);
}

.cp-main-content .bg-gradient-to-br.from-blue-600 .text-white\/70 {
    color: rgba(255, 255, 255, 0.72);
}

.cp-main-content .bg-gradient-to-br.from-blue-600 .text-white\/60 {
    color: rgba(255, 255, 255, 0.62);
}

.cp-card-chip {
    width: 36px;
    height: 26px;
    display: inline-block;
    border-radius: 6px;
    background:
        linear-gradient(
            135deg,
            #fde68a,
            #f59e0b
        );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* =========================================================
   Contact Page Form
   ========================================================= */

.cp-form-control {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.5;
    background: #ffffff;
    outline: none;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.cp-form-control::placeholder {
    color: #94a3b8;
}

.cp-form-control:hover {
    border-color: #cbd5e1;
}

.cp-form-control:focus {
    border-color: #60a5fa;
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.12),
        0 8px 20px rgba(15, 23, 42, 0.05);
}

.cp-form-control option {
    color: #0f172a;
    background: #ffffff;
}

.cp-form-textarea {
    min-height: 135px;
    resize: vertical;
}

#cp-contact-form label {
    color: #334155;
}

#cp-form-success {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

#cp-contact-form button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

@media (max-width: 639px) {
    #cp-contact-form button {
        width: 100%;
    }
}
/* Navbar ke peeche hero background dikhane ke liye */

.cp-main-content > section:first-child {
    margin-top: -112px;
    padding-top: 190px !important;
}

@media (max-width: 1023px) {

    .cp-site-header {
        padding: 14px 16px 0;
    }

    .cp-main-content > section:first-child {
        margin-top: -96px;
        padding-top: 155px !important;
    }

}

@media (max-width: 575px) {

    .cp-site-header {
        padding: 10px 10px 0;
    }

    .cp-main-content > section:first-child {
        margin-top: -88px;
        padding-top: 135px !important;
    }

}

/* =========================================================
   Legal Pages
   ========================================================= */

.cp-legal-hero {
    padding-top: 90px;
    padding-bottom: 82px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(59, 130, 246, 0.15),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );
}

.cp-legal-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.cp-legal-sidebar {
    position: sticky;
    top: 125px;
}

.cp-legal-sidebar-title {
    margin: 0 0 14px;
    color: #0f172a !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cp-legal-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cp-legal-nav a {
    padding: 9px 11px;
    border-radius: 9px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.cp-legal-nav a:hover {
    color: #2563eb;
    background: #eff6ff;
    transform: translateX(2px);
}

.cp-legal-content {
    min-width: 0;
}

.cp-legal-section {
    scroll-margin-top: 145px;
}

.cp-legal-section + .cp-legal-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.cp-legal-section h2 {
    margin: 0 0 17px;
    color: #0f172a !important;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.cp-legal-section p {
    margin: 0;
    color: #526176 !important;
    font-size: 15px;
    line-height: 1.85;
}

.cp-legal-section p + p {
    margin-top: 15px;
}

.cp-legal-section ul {
    margin: 17px 0 0;
    padding-left: 23px;
}

.cp-legal-section li {
    margin-bottom: 10px;
    padding-left: 4px;
    color: #526176;
    font-size: 15px;
    line-height: 1.75;
}

.cp-legal-section li::marker {
    color: #2563eb;
}

.cp-legal-section a {
    color: #2563eb;
    font-weight: 650;
}

.cp-legal-section a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.cp-legal-contact-box {
    margin-top: 20px;
    padding: 22px 24px;
    border: 1px solid #dbeafe;
    border-radius: 15px;
    background: #f8fbff;
}

.cp-legal-contact-box p {
    line-height: 1.7;
}

.cp-legal-contact-box p + p {
    margin-top: 7px;
}

@media (max-width: 1023px) {
    .cp-legal-layout {
        grid-template-columns: 1fr;
    }

    .cp-legal-sidebar {
        position: static;
    }

    .cp-legal-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cp-legal-hero {
        padding-top: 68px;
        padding-bottom: 60px;
    }

    .cp-legal-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-legal-content {
        padding: 26px 20px;
    }

    .cp-legal-section + .cp-legal-section {
        margin-top: 32px;
        padding-top: 32px;
    }

    .cp-legal-section h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .cp-legal-nav {
        grid-template-columns: 1fr;
    }
}

/* All legal sections as premium cards */

.cp-legal-content .cp-legal-section {
    margin: 0 0 24px;
    padding: 30px 22px;

    border: 1px solid #dbeafe;
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(239, 246, 255, 0.94),
            rgba(248, 250, 252, 0.98)
        );

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.06);

    scroll-margin-top: 145px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.cp-legal-content .cp-legal-section:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;

    box-shadow:
        0 18px 40px rgba(37, 99, 235, 0.10);
}

.cp-legal-content .cp-legal-section + .cp-legal-section {
    margin-top: 0;
    padding-top: 30px;
    border-top: 1px solid #dbeafe;
}

.cp-legal-content .cp-legal-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.cp-legal-content .cp-legal-section h2::before {
    content: "";

    width: 5px;
    height: 28px;

    flex-shrink: 0;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #2563eb,
            #7c3aed
        );
}

.cp-legal-content .cp-legal-section:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .cp-legal-content .cp-legal-section {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .cp-legal-content .cp-legal-section + .cp-legal-section {
        padding-top: 24px;
    }
}

/* =========================================================
   Contact Form Messages
   ========================================================= */

#contact-form-section {
    scroll-margin-top: 135px;
}

.cp-form-message {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 26px;
    padding: 16px 18px;

    border: 1px solid;
    border-radius: 14px;

    font-size: 14px;
    line-height: 1.6;
}

.cp-form-message-icon {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    font-size: 20px;
}

.cp-form-message strong {
    display: block;

    margin-bottom: 3px;

    font-size: 14px;
    font-weight: 750;
}

.cp-form-message p {
    margin: 0;

    font-size: 13px;
    line-height: 1.6;
}

.cp-form-message-success {
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.cp-form-message-success .cp-form-message-icon {
    color: #047857;
    background: #d1fae5;
}

.cp-form-message-success strong {
    color: #065f46;
}

.cp-form-message-success p {
    color: #047857 !important;
}

.cp-form-message-error {
    border-color: #fecaca;
    background: #fef2f2;
}

.cp-form-message-error .cp-form-message-icon {
    color: #dc2626;
    background: #fee2e2;
}

.cp-form-message-error strong {
    color: #991b1b;
}

.cp-form-message-error p {
    color: #b91c1c !important;
}

.cp-form-error-list {
    margin: 8px 0 0;
    padding-left: 18px;

    color: #b91c1c;
    font-size: 13px;
}

.cp-form-error-list li {
    margin-top: 3px;
}

@media (max-width: 575px) {
    #contact-form-section {
        scroll-margin-top: 105px;
    }

    .cp-form-message {
        padding: 14px;
    }
}
