/* ======================================================
   PREXMS – MASTER STYLESHEET (ALL PAGES COMBINED)
   Includes: common styles + landing + blog listing + blog detail 
   + news listing + news detail + alert listing + alert detail 
   + about us + contact us
   ====================================================== */
/* ----- DESIGN TOKENS (CSS Variables) ----- */
:root {
    --p: #6622ce;
    --pl: #8b4ef0;
    --pd: #4e18a4;
    --p10: rgba(102, 34, 206, .08);
    --p20: rgba(102, 34, 206, .15);
    --p40: rgba(102, 34, 206, .35);
    --green: #059669;
    --red: #dc2626;
    --blue: #2563eb;
    --amber: #d97706;
    --bg: #f7f5ff;
    --bg2: #fff;
    --bg3: #f1ecff;
    --card: #fff;
    --bdr: rgba(102, 34, 206, .12);
    --bdr2: rgba(0, 0, 0, .07);
    --tx: #1a0a3c;
    --tx2: #4b3a72;
    --tx3: #7c6ea0;
    --sh-sm: 0 2px 14px rgba(102, 34, 206, .09);
    --sh-md: 0 8px 32px rgba(102, 34, 206, .14);
    --sh-lg: 0 20px 60px rgba(102, 34, 206, .18);
}

/* ----- GLOBAL RESET & BASE ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--tx);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5 {
    font-family: 'Roboto Slab', serif;
    line-height: 1.2;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ----- CUSTOM SCROLLBAR ----- */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f0ebff;
}

::-webkit-scrollbar-thumb {
    background: var(--pl);
    border-radius: 3px;
}

/* ==================== COMMON UTILITIES ==================== */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.g {
    background: linear-gradient(135deg, var(--p), var(--pl) 55%, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rounded {
    border-radius: 15px;
}

.stag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--p);
    background: var(--p10);
    border: 1px solid rgba(102, 34, 206, 0.2);
    border-radius: 50px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.stag span {
    width: 5px;
    height: 5px;
    background: var(--p);
    border-radius: 50%;
    display: inline-block;
}

.stitle {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}

.ssub {
    color: var(--tx3);
    font-size: 0.97rem;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* ----- BUTTON STYLES ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.01em;
}

.btn.btn-sm {
    padding: 5px 20px !important;
    line-height: inherit;
}

.btn-badge {
    background-color: white;
    display: flex;
    border-radius: 15px;
    min-width: 15px;
    height: 15px;
    color: var(--p);
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    line-height: 0px;
    padding: 0px 3px;
}

.btn-fill {
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff;
    padding: 0.78rem 1.8rem;
    box-shadow: 0 4px 20px var(--p40);
}

.btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--p40);
}

.btn-out {
    background: transparent;
    color: var(--p);
    padding: 0.75rem 1.8rem;
    border: 1.5px solid var(--p) !important;
}

.btn-out:hover {
    background: var(--p10);
}

.btn-ghost {
    background: transparent;
    color: var(--tx2);
    padding: 0.75rem 1.5rem;
    border: 1.5px solid var(--bdr2) !important;
}

.btn-ghost:hover {
    border-color: var(--p) !important;
    color: var(--p);
}

/* ----- NAVIGATION (fixed, blur, animated) ----- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 68px;
    background: rgba(247, 245, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--bdr);
    box-shadow: var(--sh-sm);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 34px;
    display: block;
}

/* ----- navigation (desktop) ----- */
.navbar_container {
    margin-left: auto;
    margin-right: auto;
    padding: 3px 5%;
    display: flex;
    justify-content: space-between;
}

.nav_back_btn {
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    color: var(--p);
    background-color: #fff;
    border-radius: 30px;
    padding: 0px 10px;
    font-size: 14px;
    box-shadow: 1px 4px 2px #00000024;
    cursor: pointer;
}

.nav_back_btn>svg {
    width: 18px;
    height: 18px;
    transition: all ease 0.3s;
    transform: translate(0px, 0px);
}

.nav_back_btn:hover>svg {
    transform: translate(-5px, 0px);
}

.nav_contact>a>svg {
    width: 18px;
    height: 18px;
}

.nav_contact>a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
}

.nav_left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.nav_contact {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: #fff;
}

.navbar_strip {
    background-color: var(--p);
}

.nav_social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    color: #fff;
}

.nav_social>a {
    width: 30px;
    height: 30px;
    background-color: var(--pl);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--tx2);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: color 0.2s;
    border: none;
    background: none;
    font-family: inherit;
}

.nav-link:hover, .nav-item:hover>.nav-link {
    color: var(--p);
}

.nav-link.active {
    border-bottom: 2px solid var(--p);
    color: var(--p);
    font-weight: bold;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.currency-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0px 10px 0px 10px;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--p), var(--pl));
    box-shadow: 0 4px 20px var(--p40);
    border: none;
    cursor: pointer;
}

.currency-switch-btn>img {
    max-height: 30px;
}

/* dropdown arrow */
.arrow {
    font-size: 0.7rem;
    transition: transform 0.25s;
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

.currency-dropdown {
    display: inline-flex;
    position: relative;
}

.currency-dropdown>ul {
    position: absolute;
    top: 100%;
    width: 200px;
    right: 0px;
    border-radius: 5px;
    margin-top: 2px;
    transition: all 0.1s ease;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(135deg, var(--p), var(--pl));
    list-style: none;
    padding: 5px;
    margin-left: 0px;
    margin-right: 0px;
    transform: translate(0px, 10px);
}

.currency-dropdown:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, 0px);
}

.currency-dropdown>ul>li>img {
    max-height: 30px;
}

.currency-dropdown>ul>li {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
}

.currency-dropdown>ul>li:hover {
    background-color: var(--pl);
}

.nav-profile {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0px 10px 0px 0px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--p), var(--pl));
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(109, 40, 217, 0.3);
}

.nav-profile:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);
    transform: translateY(-1px);
}

.nav-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: #6d28d9;
}

.profile-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    background-image: linear-gradient(135deg, var(--p), var(--pl));
}

.profile-name {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Purple theme variations */
.nav-profile.purple-light {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

.nav-profile.purple-dark {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

/* ----- dropdown base (hidden by default) ----- */
.dropdown, .nested-dropdown, .mega-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 16px;
    box-shadow: var(--sh-sm);
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    z-index: 1001;
}

/* show on hover (desktop) */
.nav-item:hover>.dropdown, .nav-item:hover>.nested-dropdown, .nav-item:hover>.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* dropdown items */
.dropdown li, .nested-dropdown li {
    list-style: none;
}

.dropdown a, .nested-dropdown a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--tx2);
    font-size: 0.85rem;
    font-weight: 400;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown a:hover, .nested-dropdown a:hover {
    background: var(--p10);
    color: var(--p);
}

/* ----- nested dropdown (position right) ----- */
.nested-dropdown {
    left: 100%;
    top: -0.75rem;
    /* align with parent item */
    margin-left: 2px;
}

/* parent item with nested */
.has-nested {
    position: relative;
}

.has-nested>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-nested>a::after {
    content: '›';
    font-size: 1.1rem;
    line-height: 1;
    margin-left: 1rem;
    color: var(--tx3);
}

/* show nested on hover */
.has-nested:hover>.nested-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ----- mega menu (multi‑column) ----- */
.mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 700px;
    padding: 1.5rem;
    display: flex;
    gap: 2rem;
}

.nav-item:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-col {
    flex: 1;
}

.mega-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--p);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bdr);
}

.mega-col ul {
    list-style: none;
}

.mega-col li {
    margin-bottom: 0.6rem;
}

.mega-col a {
    color: var(--tx2);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.mega-col a:hover {
    color: var(--p);
}

/* ----- mobile hamburger (hidden on desktop) ----- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--tx);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ----- mobile menu (off‑canvas) ----- */
.mobile-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 245, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 1.5rem 5%;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* mobile nav list */
.mobile-nav {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--bdr);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--tx2);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
}

.mobile-nav-link .arrow {
    font-size: 1rem;
    transition: transform 0.3s;
}

.mobile-nav-link.active .arrow {
    transform: rotate(180deg);
}

/* mobile dropdown / mega (hidden by default) */
.mobile-dropdown, .mobile-mega {
    display: none;
    padding: 0.5rem 0 1rem 1rem;
}

.mobile-dropdown.show, .mobile-mega.show {
    display: block;
}

.mobile-dropdown a {
    display: block;
    padding: 0.6rem 0;
    color: var(--tx3);
    font-size: 0.9rem;
}

.mobile-mega .mega-col {
    margin-bottom: 1.5rem;
}

.mobile-mega .mega-col h4 {
    font-size: 0.8rem;
    color: var(--p);
    margin-bottom: 0.5rem;
}

.mobile-mega .mega-col a {
    padding: 0.4rem 0;
}

/* nested mobile (sub‑sub) */
.mobile-nested {
    display: none;
    padding-left: 1rem;
}

.mobile-nested.show {
    display: block;
}

/* desktop only */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }
}

/* mobile styles */
@media (max-width: 768px) {
    .navbar_container {
        flex-direction: column;
        gap: 3px;
    }

    .nav_contact>a>span {
        display: none;
    }

    .nav, .header-actions .btn-outline, .header-actions .btn, .header-actions .nav-profile {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
    }
}

/* ----- FOOTER (global) ----- */
.footer_sub {
    background-color: #fff;
    box-shadow: 0px -1px 10px 0px #00000005;
    padding: 30px 0;
}

.fsub_row {
    width: 100%;
    padding: 10px 0;
}

.fsub_row>h3 {
    margin-bottom: 15px;
    color: var(--p);
    font-size: 16px;
}

.fsub_row>div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.fsub_column {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.fsub_column>a {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    text-decoration: none;
}

.fsub_column>a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .fsub_column {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .fsub_row>div {
        flex-direction: column;
    }

    .fsub_column {
        width: 100%;
    }

    .fsub_column>a {
        font-size: 13px;
    }

    .fsub_row>h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .footer_sub {
        padding: 20px 10px;
    }

    .fsub_column>a {
        font-size: 12px;
    }

    .fsub_row>h3 {
        font-size: 14px;
    }
}

footer {
    background: var(--tx);
    padding: 4rem 5% 2rem;
}

.ftop {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.fbrand img {
    height: 30px;
    margin-bottom: 1rem;
    filter: brightness(10);
}

.fbrand p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.65;
    max-width: 275px;
    font-weight: 300;
}

.fsoc {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.fsoc a {
    width: 33px;
    height: 33px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.55);
}

.fsoc a:hover {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}

.fcol h5 {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.fcol ul {
    list-style: none;
}

.fcol li {
    margin-bottom: 0.55rem;
}

.fcol a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
    transition: color 0.2s;
}

.fcol a:hover {
    color: #fff;
}

.fbot {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.fbot p {
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.32);
}

/* ----- SCROLL REVEAL ANIMATION ----- */
.r {
    opacity: 0;
    transform: translateY(24px);
}

.r.in {
    animation: fup 0.65s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== LANDING PAGE SPECIFIC ==================== */
/* ----- HERO SECTION ----- */
#hero {
    min-height: 100vh;
    padding: 118px 5% 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 55% at 60% 25%, rgba(102, 34, 206, .07), transparent 70%), radial-gradient(ellipse 50% 45% at 8% 80%, rgba(168, 85, 247, .07), transparent 60%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--bdr) 1px, transparent 1px), linear-gradient(90deg, var(--bdr) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .45;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hbadge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
    background: var(--p10);
    border: 1px solid rgba(102, 34, 206, .25);
    border-radius: 50px;
    padding: .35rem 1rem;
    font-size: .73rem;
    font-weight: 700;
    color: var(--p);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ldot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 6px #22c55e;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .55;
        transform: scale(1.6);
    }
}

.htitle {
    font-size: clamp(2.5rem, 5.5vw, 4.1rem);
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
    line-height: 1.08;
}

.hsub {
    font-size: .98rem;
    color: var(--tx2);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 460px;
}

.hbtns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.htrust {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tavs {
    display: flex;
}

.tavs span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: linear-gradient(135deg, var(--p), var(--pl));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 700;
    color: #fff;
    margin-left: -8px;
}

.tavs span:first-child {
    margin-left: 0;
}

.ttxt {
    font-size: .8rem;
    color: var(--tx3);
}

.ttxt strong {
    color: var(--tx);
    font-weight: 700;
}

/* hero visual */
.hvisual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hv-wrap {
    position: relative;
    width: 380px;
    height: 420px;
}

.hv-main {
    width: 255px;
    background: var(--card);
    border-radius: 24px;
    padding: 5px;
    box-shadow: var(--sh-lg);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--bdr);
    overflow: hidden;
}

.hv-float {
    position: absolute;
    background: var(--card);
    border-radius: 18px;
    padding: 5px;
    box-shadow: var(--sh-md);
    border: 1px solid var(--bdr);
    overflow: hidden;
}

.hv-main>img {
    border-radius: 19px;
}

.hv-float>img {
    border-radius: 13px;
}

.hf1 {
    top: 0;
    right: 0;
    width: 138px;
    animation: fA 5s ease-in-out infinite;
}

.hf2 {
    bottom: 20px;
    left: 0;
    width: 148px;
    animation: fB 6s ease-in-out infinite;
}

.hf3 {
    top: 18px;
    left: -8px;
    width: 130px;
    animation: fC 7s ease-in-out infinite;
}

@keyframes fA {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes fB {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(9px)
    }
}

@keyframes fC {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

/* ----- TICKER ----- */
.ticker-sec {
    background: linear-gradient(135deg, var(--pd), var(--p), var(--pl));
    padding: .85rem 0;
    overflow: hidden;
}

.ticker {
    display: flex;
    width: max-content;
    animation: tick 30s linear infinite;
}

.ti {
    flex-shrink: 0;
    padding: 0 2.5rem;
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    gap: .75rem;
}

.td {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, .45);
    border-radius: 50%;
    display: inline-block;
}

@keyframes tick {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ----- STATS BAR ----- */
.stats-bar {
    background: var(--card);
    border-bottom: 1px solid var(--bdr);
}

.stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2.5rem 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sitem {
    text-align: center;
}

.snum {
    font-family: 'Roboto Slab', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--p);
    line-height: 1;
}

.slbl {
    font-size: .76rem;
    color: var(--tx3);
    font-weight: 500;
    margin-top: .3rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ----- STORES CARDS ----- */
#stores {
    padding: 88px 0;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1.5rem;
}

.scard {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 24px;
    padding: 2rem;
    transition: all .35s;
    position: relative;
    overflow: hidden;
    display: block;
}

.scard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cc1, var(--p)), var(--cc2, var(--pl)));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
}

.scard:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: rgba(102, 34, 206, .22);
}

.scard:hover::after {
    transform: scaleX(1);
}

.sci {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.scard h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .35rem;
}

.scard p {
    font-size: .87rem;
    color: var(--tx3);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.sctags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: 1.1rem;
}

.sctag {
    font-size: .67rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 50px;
    background: var(--p10);
    color: var(--p);
    border: 1px solid rgba(102, 34, 206, .15);
}

.sclink {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--p);
}

.sclink svg {
    transition: transform .2s;
}

.scard:hover .sclink svg {
    transform: translateX(4px);
}

.gov {
    --cc1: #6622ce;
    --cc2: #a855f7;
}

.gov .sci {
    background: #f3f0ff;
    color: var(--p);
}

.fnd {
    --cc1: #059669;
    --cc2: #34d399;
}

.fnd .sci {
    background: #f0fdf4;
    color: #059669;
}

.mba {
    --cc1: #d97706;
    --cc2: #f59e0b;
}

.mba .sci {
    background: #fffbeb;
    color: #d97706;
}

.jee {
    --cc1: #dc2626;
    --cc2: #f87171;
}

.jee .sci {
    background: #fff1f2;
    color: #dc2626;
}

/* ----- PACKAGES ----- */
#packages {
    padding: 88px 0;
    background: var(--bg3);
}

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pkg {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all .35s;
}

.pkg:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.pkg.feat {
    background: linear-gradient(150deg, #f6f0ff, #fff);
    border-color: rgba(102, 34, 206, .35);
    box-shadow: var(--sh-lg);
}

.pkg.feat:hover {
    transform: translateY(-6px);
}

.rib {
    position: absolute;
    top: 1.5rem;
    right: -2.2rem;
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .28rem 3.2rem;
    transform: rotate(45deg);
}

.pyb {
    display: inline-flex;
    align-items: center;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.apex .pyb {
    background: #ede9fe;
    color: var(--p);
}

.primex .pyb {
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff;
}

.scholar .pyb {
    background: #fef3c7;
    color: #92400e;
}

.pname {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.01em;
    margin-bottom: .2rem;
}

.apex .pname {
    color: var(--p);
}

.primex .pname {
    background: linear-gradient(135deg, var(--p), var(--pl));
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scholar .pname {
    color: #92400e;
}

.ptag {
    font-size: .84rem;
    color: var(--tx3);
    margin-bottom: 1.5rem;
}

.phr {
    height: 1px;
    background: var(--bdr);
    margin: 1.5rem 0;
}

.pfeats {
    list-style: none;
}

.pfeats li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .87rem;
    color: var(--tx2);
    padding: .38rem 0;
}

.pfeats li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pbtn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding: .85rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .25s;
    cursor: pointer;
    border: none;
}

.plinks {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.plinks>a {
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 12px;
    padding: 5px 10px;
    transition: all ease .2s;
}

.plinks>a:hover {
    background-color: var(--p);
    color: white;
}

.apex .pbtn {
    background: var(--p10);
    color: var(--p);
    border: 1.5px solid rgba(102, 34, 206, .22) !important;
}

.apex .pbtn:hover {
    background: var(--p);
    color: #fff;
}

.primex .pbtn {
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff;
    box-shadow: 0 6px 24px var(--p40);
}

.primex .pbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--p40);
}

.scholar .pbtn {
    background: #fef3c7;
    color: #92400e;
    border: 1.5px solid #fde68a !important;
}

.scholar .pbtn:hover {
    background: #f59e0b;
    color: #fff;
}

/* ----- WHY SECTION ----- */
#why {
    padding: 88px 0;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.witem {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 18px;
    padding: 1.25rem;
    transition: all .3s;
    margin-bottom: 1rem;
}

.witem:last-child {
    margin-bottom: 0;
}

.witem:hover {
    border-color: rgba(102, 34, 206, .3);
    box-shadow: var(--sh-sm);
}

.wicon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--p10);
}

.witem h4 {
    font-size: .94rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.witem p {
    font-size: .84rem;
    color: var(--tx3);
    line-height: 1.6;
}

.wgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wsc {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 18px;
    padding: 1.5rem;
    text-align: center;
    transition: all .3s;
}

.wsc:hover {
    border-color: rgba(102, 34, 206, .3);
    transform: translateY(-3px);
    box-shadow: var(--sh-sm);
}

.wbig {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--p);
    line-height: 1;
}

.wlbl {
    font-size: .76rem;
    color: var(--tx3);
    font-weight: 500;
    margin-top: .3rem;
}

.wicon2 {
    font-size: 1.8rem;
    margin-bottom: .5rem;
}

.wbigcard {
    grid-column: 1/-1;
    background: linear-gradient(135deg, var(--pd), var(--p), var(--pl));
    border-radius: 18px;
    padding: 1.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wbigcard h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.wbigcard p {
    font-size: .82rem;
    opacity: .8;
    line-height: 1.5;
}

/* ----- ANNOUNCEMENTS (landing) ----- */
#announcements {
    padding: 88px 0;
    background: var(--bg3);
}

.ann-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.acard {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all .3s;
    margin-bottom: 1rem;
}

.acard:last-child {
    margin-bottom: 0;
}

.acard:hover {
    border-color: rgba(102, 34, 206, .25);
    box-shadow: var(--sh-sm);
    transform: translateX(4px);
}

.abadge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.ab-ur {
    background: #fff1f2;
    color: var(--red);
}

.ab-new {
    background: #f0fdf4;
    color: var(--green);
}

.ab-info {
    background: #eff6ff;
    color: var(--blue);
}

.acontent h4 {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.acontent p {
    font-size: .82rem;
    color: var(--tx3);
    line-height: 1.55;
}

.ameta {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .5rem;
    flex-wrap: wrap;
}

.atag {
    font-size: .67rem;
    font-weight: 700;
    padding: .14rem .55rem;
    border-radius: 50px;
}

.at-ur {
    background: #fee2e2;
    color: #b91c1c;
}

.at-new {
    background: #dcfce7;
    color: #15803d;
}

.at-info {
    background: #dbeafe;
    color: #1d4ed8;
}

.at-pur {
    background: #ede9fe;
    color: var(--p);
}

.adate {
    font-size: .7rem;
    color: var(--tx3);
}

.sbox {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.sbox h4 {
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: .9rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--bdr);
}

.srow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .55rem 0;
    border-bottom: 1px solid var(--bdr);
    gap: .75rem;
}

.srow:last-child {
    border: none;
}

.srow-txt {
    font-size: .82rem;
    color: var(--tx2);
    font-weight: 500;
}

.sbadge {
    font-size: .64rem;
    font-weight: 700;
    padding: .14rem .5rem;
    border-radius: 50px;
}

.bl {
    background: #dcfce7;
    color: #15803d;
}

.bs {
    background: #fef3c7;
    color: #92400e;
}

.bc {
    background: #fee2e2;
    color: #991b1b;
}

.cgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: .5rem;
}

.cbox {
    background: var(--p10);
    border-radius: 10px;
    padding: .75rem;
    text-align: center;
}

.cnum {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--p);
}

.clbl {
    font-size: .64rem;
    color: var(--tx3);
    font-weight: 500;
}

/* ----- NEWS SECTION (landing) ----- */
#news {
    padding: 88px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ncard {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 24px;
    overflow: hidden;
    transition: all .35s;
    display: flex;
    flex-direction: column;
}

.ncard:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: rgba(102, 34, 206, .2);
}

.nthumb {
    height: 155px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nthumb-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.nc-pur {
    background: linear-gradient(135deg, #f3f0ff, #e9e3ff);
}

.nc-grn {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.nc-amb {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.nc-blu {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.nc-red {
    background: linear-gradient(135deg, #fff1f2, #fee2e2);
}

.nc-tel {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

.ncont {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nmeta {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .7rem;
    flex-wrap: wrap;
}

.ncat {
    font-size: .66rem;
    font-weight: 700;
    padding: .18rem .6rem;
    border-radius: 50px;
}

.cat-n {
    background: var(--p10);
    color: var(--p);
}

.cat-b {
    background: #f0fdf4;
    color: #059669;
}

.cat-t {
    background: #fffbeb;
    color: #d97706;
}

.cat-u {
    background: #eff6ff;
    color: #2563eb;
}

.ndate {
    font-size: .7rem;
    color: var(--tx3);
}

.ncard h3 {
    font-size: .91rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: .45rem;
    flex: 1;
}

.ncard .ndesc {
    font-size: .81rem;
    color: var(--tx3);
    line-height: 1.6;
    margin-bottom: .9rem;
}

.nfoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.nav2 {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.aav {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p), var(--pl));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 700;
    color: #fff;
}

.aan {
    font-size: .74rem;
    color: var(--tx3);
    font-weight: 500;
}

.nread {
    font-size: .74rem;
    font-weight: 700;
    color: var(--p);
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nread svg {
    transition: transform .2s;
}

.ncard:hover .nread svg {
    transform: translateX(3px);
}

.nfeat {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.nfeat .nthumb {
    height: 100%;
    min-height: 200px;
}

.nfeat h3 {
    font-size: 1.1rem !important;
}

/* ----- APP SECTION ----- */
#app {
    padding: 88px 0;
    background: linear-gradient(135deg, var(--pd) 0%, var(--p) 50%, var(--pl) 100%);
    position: relative;
    overflow: hidden;
}

#app::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 28px 28px;
}

.app-inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-text .stag {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
}

.app-text h2 {
    font-size: clamp(1.85rem, 3.8vw, 2.9rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

.app-text p {
    color: rgba(255, 255, 255, .82);
    font-size: .96rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.app_btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app_btn {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    padding: .9rem 1.5rem;
    color: #fff;
    transition: all .3s;
}

.app_btn:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .5);
}

.app_btn.dis {
    opacity: .4;
    cursor: not-allowed;
}

.app_btn.dis:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25);
}

.dl-lbl {
    font-size: .67rem;
    opacity: .8;
    display: block;
    letter-spacing: .04em;
}

.dl-nm {
    font-size: .94rem;
    font-weight: 700;
    display: block;
}

.app-vis {
    display: flex;
    justify-content: center;
}

.phone {
    width: 215px;
    height: 415px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .12);
    border: 2px solid rgba(255, 255, 255, .22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .07) inset;
    animation: appfloat 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    padding: 0;
    /* Remove any default padding */
}

@keyframes appfloat {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-14px)
    }
}

.pnotch {
    position: absolute;
    top: 14px;
    width: 68px;
    height: 20px;
    background: rgb(0 0 0);
    border-radius: 50px;
    z-index: 10;
}

.pscreens {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.pscreens img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.pscreens img.active {
    opacity: 1;
}

/* ==================== BLOG LISTING SPECIFIC ==================== */
.blog-header {
    padding: 118px 5% 40px;
    background: var(--bg);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.filter-chip {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 50px;
    padding: .5rem 1.2rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--tx2);
    transition: all .2s;
    cursor: pointer;
}

.filter-chip.active {
    background: var(--p);
    color: #fff;
    border-color: var(--p);
    box-shadow: 0 4px 14px var(--p40);
}

.filter-chip:hover {
    border-color: var(--p);
    color: var(--p);
}

.filter-chip.active:hover {
    color: #fff;
}

.cat-i {
    background: #f3e8ff;
    color: var(--pd);
}

/* ----- NEW: search bar + archive/drawer (responsive) ----- */
.blog-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin: 1.2rem 0 1.8rem;
}

.search-wrapper {
    flex: 2 1 280px;
    display: flex;
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 60px;
    padding: 0.2rem 0.2rem 0.2rem 1.2rem;
    align-items: center;
    box-shadow: var(--sh-sm);
    transition: box-shadow 0.2s;
}

.search-wrapper:focus-within {
    box-shadow: 0 0 0 3px var(--p20);
    border-color: var(--p);
}

.search-wrapper i {
    color: var(--tx3);
    font-size: 1rem;
}

.search-wrapper input {
    width: 100%;
    padding: 0.7rem 0.5rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
    color: var(--tx);
}

.search-wrapper button {
    background: var(--p);
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.3rem;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.search-wrapper button:hover {
    background: var(--pd);
}

/* archive chip / drawer toggle */
.archive-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 40px;
    padding: 0.45rem 1.3rem;
    font-weight: 500;
    color: var(--tx2);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--sh-sm);
}

.archive-toggle i {
    font-size: 1rem;
    color: var(--p);
}

.archive-toggle:hover {
    border-color: var(--p);
    color: var(--p);
    background: var(--p10);
}

/* bottom drawer / modal (archive panel) */
.drawer-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    justify-content: flex-end;
    align-items: flex-end;
    transition: 0.3s;
    height: 100%;
}

.drawer-overlay.open {
    display: flex;
}

.drawer {
    background: var(--bg2);
    width: 100%;
    max-width: 420px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    padding: 1.8rem 1.8rem 2.3rem;
    box-shadow: 0 -20px 50px rgba(102, 34, 206, 0.2);
    border-top: 2px solid var(--p20);
    transform: translateY(0);
    animation: slideUp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
    margin-left: auto;
    margin-right: auto;
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.drawer-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--tx);
}

.close-drawer {
    background: var(--p10);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--p);
    cursor: pointer;
}

.archive-section {
    margin-bottom: 1.8rem;
}

.archive-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tx3);
    margin-bottom: 0.9rem;
    font-weight: 700;
}

.archive-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.archive-chip {
    background: var(--bg3);
    padding: 0.45rem 1.1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--tx2);
    border: 1px solid var(--bdr);
    transition: 0.2s;
    cursor: pointer;
}

.archive-chip i {
    margin-right: 0.3rem;
    font-size: 0.7rem;
    color: var(--p);
}

.archive-chip:hover {
    background: var(--p);
    color: white;
    border-color: var(--p);
}

.archive-chip:hover i {
    color: white;
}

/* categories inside drawer (same style) */
.category-grid-drawer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cat-drawer-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.8rem;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid var(--bdr);
    margin-bottom: 0.3rem;
    font-weight: 500;
    color: var(--tx2);
}

.cat-drawer-item i {
    width: 20px;
    color: var(--p);
}

/* filter bar (existing) + mobile improvements */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.filter-chip {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 50px;
    padding: .5rem 1.2rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--tx2);
    transition: all .2s;
    cursor: pointer;
}

.filter-chip.active {
    background: var(--p);
    color: #fff;
    border-color: var(--p);
    box-shadow: 0 4px 14px var(--p40);
}

.filter-chip:hover {
    border-color: var(--p);
    color: var(--p);
}

.filter-chip.active:hover {
    color: #fff;
}

/* interview category */
.pagination {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin: 3rem 0 2rem;
}

.page-item {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--bdr);
    color: var(--tx2);
    font-weight: 500;
    transition: all .2s;
}

.page-item.active {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}

.page-item:hover {
    border-color: var(--p);
    color: var(--p);
}

.page-item.active:hover {
    color: #fff;
}

.featured-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* ==================== BLOG DETAIL SPECIFIC ==================== */
.blog-detail-header {
    padding: 118px 5% 40px;
    background: var(--bg);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 1rem;
}

.blog-cat {
    background: var(--p10);
    color: var(--p);
    padding: .25rem 1rem;
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.blog-date {
    color: var(--tx3);
    font-size: .85rem;
}

.blog-author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.2rem 0;
    border-top: 1px solid var(--bdr);
    border-bottom: 1px solid var(--bdr);
    margin: 1.5rem 0;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p), var(--pl));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.author-info h5 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.author-info p {
    font-size: .78rem;
    color: var(--tx3);
}

.site-content {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 1.2rem;
    margin: 2rem 0 3rem;
    box-shadow: var(--sh-sm);
}

.rich-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
}

.rich-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.5rem 0 .75rem;
    color: var(--tx2);
}

.rich-content p {
    font-size: .98rem;
    color: var(--tx2);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.rich-content ul, .rich-content ol {
    margin: 1rem 0 1.5rem 1.8rem;
    color: var(--tx2);
}

.rich-content li {
    margin-bottom: .4rem;
}

.rich-content blockquote {
    border-left: 4px solid var(--p);
    background: var(--p10);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    margin: 1.8rem 0;
    font-style: italic;
    color: var(--tx);
    font-weight: 500;
}

.rich-content img {
    border-radius: 15px;
    margin-bottom: 1.2rem;
}

.content-highlight {
    background: var(--p10);
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--p20);
    margin: 2rem 0;
}

.share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--p10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p);
    transition: all .2s;
    font-size: 1rem;
}

.share-icon:hover {
    background: var(--p);
    color: #fff;
}

.comment-box {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 2.5rem;
}

.comment-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* ==================== NEWS LISTING SPECIFIC ==================== */
.news-header {
    padding: 118px 5% 40px;
    background: var(--bg);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.breaking-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.breaking-card {
    background: linear-gradient(135deg, var(--pd), var(--p), var(--pl));
    border-radius: 24px;
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breaking-card .breaking-tag {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    align-self: flex-start;
    border-radius: 50px;
    padding: .2rem 1rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.breaking-card h3 {
    font-size: 1.4rem;
    color: #fff;
}

.breaking-card p {
    opacity: .85;
    font-size: .9rem;
}

.breaking-meta {
    display: flex;
    gap: 1rem;
    font-size: .75rem;
    opacity: .75;
}

/* ==================== NEWS DETAIL SPECIFIC ==================== */
.news-detail-header {
    padding: 118px 5% 40px;
    background: var(--bg);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.2rem;
}

.news-badge {
    background: var(--p10);
    color: var(--p);
    padding: .25rem 1rem;
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.news-badge.urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.news-date {
    color: var(--tx3);
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.news-source {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 50px;
    padding: .25rem 1rem;
    font-size: .7rem;
    color: var(--tx2);
}

.detail-content {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 2.5rem;
    margin: 2rem 0 3rem;
    box-shadow: var(--sh-sm);
}

.key-info-bar {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    margin: 1.5rem 0 2rem;
    box-shadow: var(--sh-sm);
}

.info-label {
    font-size: .7rem;
    color: var(--tx3);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tx);
}

.highlight-box {
    background: var(--p10);
    border-left: 4px solid var(--p);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.highlight-box .label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--p);
    font-weight: 700;
}

.official-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--p10);
    padding: .75rem 1.5rem;
    border-radius: 50px;
    color: var(--p);
    font-weight: 700;
    margin: 1rem 0;
}

.official-link:hover {
    background: var(--p);
    color: #fff;
}

.related-alerts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

/* ==================== ALERT LISTING SPECIFIC ==================== */
.alerts-header {
    padding: 118px 5% 40px;
    background: var(--bg);
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.alert-card {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all .3s;
}

.alert-card:hover {
    border-color: rgba(102, 34, 206, .3);
    box-shadow: var(--sh-md);
    transform: translateX(4px);
}

.alert-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.icon-new {
    background: #dcfce7;
    color: #15803d;
}

.icon-info {
    background: #dbeafe;
    color: #1d4ed8;
}

.icon-purple {
    background: #ede9fe;
    color: var(--p);
}

.alert-content {
    flex: 1;
}

.alert-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.alert-desc {
    font-size: .86rem;
    color: var(--tx3);
    line-height: 1.55;
    margin-bottom: .6rem;
}

.alert-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.alert-tag {
    font-size: .68rem;
    font-weight: 700;
    padding: .18rem .7rem;
    border-radius: 50px;
}

.tag-red {
    background: #fee2e2;
    color: #b91c1c;
}

.tag-green {
    background: #dcfce7;
    color: #15803d;
}

.tag-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.tag-purple {
    background: #ede9fe;
    color: var(--p);
}

.alert-date {
    font-size: .72rem;
    color: var(--tx3);
    display: flex;
    align-items: center;
    gap: .2rem;
}

.alert-cta {
    margin-left: auto;
    align-self: center;
    background: var(--p10);
    padding: .5rem 1rem;
    border-radius: 40px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--p);
    white-space: nowrap;
}

.alert-cta:hover {
    background: var(--p);
    color: #fff;
}

.featured-alert {
    background: linear-gradient(135deg, var(--pd), var(--p), var(--pl));
    border-radius: 28px;
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.alert-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

/* ==================== ALERT DETAIL SPECIFIC ==================== */
.alert-detail-header {
    padding: 118px 5% 30px;
    background: var(--bg);
}

.alert-meta-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.5rem;
}

.alert-badge {
    background: #fee2e2;
    color: #b91c1c;
    padding: .25rem 1rem;
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.alert-badge.green {
    background: #dcfce7;
    color: #15803d;
}

.alert-badge.blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.alert-badge.purple {
    background: #ede9fe;
    color: var(--p);
}

.alert-detail-card {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 2.5rem;
    margin: 2rem 0 3rem;
    box-shadow: var(--sh-sm);
}

.alert-detail-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
}

.alert-detail-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.5rem 0 .75rem;
    color: var(--tx2);
}

.alert-detail-card p {
    font-size: .98rem;
    color: var(--tx2);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.mini-alert {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 18px;
    padding: 1.2rem;
    transition: all .3s;
    display: block;
}

.mini-alert:hover {
    border-color: rgba(102, 34, 206, .25);
    box-shadow: var(--sh-sm);
    transform: translateY(-3px);
}

.mini-alert .mini-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: .7rem;
}

.mini-red {
    background: #fee2e2;
    color: #b91c1c;
}

.mini-green {
    background: #dcfce7;
    color: #15803d;
}

.mini-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.mini-alert h4 {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.mini-alert .meta {
    font-size: .68rem;
    color: var(--tx3);
}

.sub-box {
    background: linear-gradient(145deg, var(--p10), #fff);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.sub-box h3 {
    font-size: 1.2rem;
    margin-bottom: .25rem;
}

/* ==================== ABOUT US SPECIFIC ==================== */
/* ----- ABOUT PAGE SPECIFIC STYLES ----- */
.about-header {
    padding: 118px 5% 40px;
    background: var(--bg);
    text-align: center;
}

.about-header .stitle {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-header .ssub {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* mission section */
.mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0 4rem;
}

.mission-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mission-text p {
    color: var(--tx2);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--sh-sm);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Roboto Slab', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--p);
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: var(--tx3);
    margin-top: .3rem;
}

/* story & values */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.value-card {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    transition: all .3s;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: var(--p20);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--p10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.value-card p {
    color: var(--tx3);
    font-size: .88rem;
}

/* leadership team (simple) */
.team-section {
    background: var(--bg3);
    border-radius: 48px;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p), var(--pl));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
}

.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: .2rem;
}

.team-member p {
    color: var(--tx3);
    font-size: .82rem;
}

/* milestones / timeline */
.timeline {
    margin: 4rem 0;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 20px;
    padding: 1.5rem;
    align-items: center;
}

.timeline-year {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--p);
    min-width: 100px;
    text-align: right;
}

.timeline-desc {
    flex: 1;
}

.timeline-desc h4 {
    font-size: 1.1rem;
    margin-bottom: .2rem;
}

/* office / locations (from contact) */
.office-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.office-card {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.office-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--p10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.office-card h4 {
    font-size: 1.1rem;
    margin-bottom: .2rem;
}

.office-card p {
    color: var(--tx2);
    font-size: .88rem;
    line-height: 1.5;
}

/* footer identical */
footer {
    background: var(--tx);
    padding: 4rem 5% 2rem;
}

.ftop {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.fbrand img {
    height: 30px;
    margin-bottom: 1rem;
    filter: brightness(10);
}

.fbrand p {
    font-size: .84rem;
    color: rgba(255, 255, 255, .48);
    line-height: 1.65;
    max-width: 275px;
    font-weight: 300;
}

.fsoc {
    display: flex;
    gap: .7rem;
    margin-top: 1.2rem;
}

.fsoc a {
    width: 33px;
    height: 33px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .11);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: all .2s;
    color: rgba(255, 255, 255, .55);
}

.fsoc a:hover {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}

.fcol h5 {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 1rem;
}

.fcol ul {
    list-style: none;
}

.fcol li {
    margin-bottom: .55rem;
}

.fcol a {
    color: rgba(255, 255, 255, .58);
    font-size: .86rem;
    transition: color .2s;
}

.fcol a:hover {
    color: #fff;
}

.fbot {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.fbot p {
    font-size: .79rem;
    color: rgba(255, 255, 255, .32);
}

/* reveal */
.r {
    opacity: 0;
    transform: translateY(24px);
}

.r.in {
    animation: fup .65s cubic-bezier(.23, 1, .32, 1) forwards;
}

@keyframes fup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width: 1000px) {
    .mission-section {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .office-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .nlinks, .nright {
        display: none;
    }

    .ham {
        display: flex;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: .5rem;
    }

    .timeline-year {
        text-align: center;
    }
}

/* ==================== CONTACT US SPECIFIC ==================== */
/* ─── CONTACT ─── */
#contact {
    padding: 88px 0;
    background: var(--bg3)
}

.cont-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem
}

.cinfo h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: .5rem
}

.csub {
    font-size: .9rem;
    color: var(--tx3);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400
}

.cdet {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    margin-bottom: 1.2rem
}

.cdicon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--p10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p)
}

.cdtxt p {
    font-size: .71rem;
    color: var(--tx3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .12rem;
    font-family: 'Roboto', sans-serif
}

.cdtxt a, .cdtxt span {
    font-size: .9rem;
    color: var(--tx);
    font-weight: 500;
    font-family: 'Roboto', sans-serif
}

.cdtxt a:hover {
    color: var(--p)
}

.hcard {
    background: linear-gradient(135deg, var(--p10), rgba(168, 85, 247, .05));
    border: 1px solid rgba(102, 34, 206, .18);
    border-radius: 18px;
    padding: 1.25rem;
    margin-top: 2rem
}

.hcard h5 {
    font-family: 'Roboto', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    color: var(--p);
    margin-bottom: .7rem
}

.hrow {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    color: var(--tx2);
    padding: .3rem 0;
    font-family: 'Roboto', sans-serif
}

.obadge {
    font-size: .64rem;
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    padding: .14rem .5rem;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif
}

.form-wrap {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--sh-sm)
}

.form-wrap h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--tx)
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.fg {
    margin-bottom: 1rem
}

.fg label {
    display: block;
    font-size: .77rem;
    font-weight: 700;
    color: var(--tx2);
    margin-bottom: .38rem;
    letter-spacing: .02em;
    font-family: 'Roboto', sans-serif
}

.fg input, .fg select, .fg textarea {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--bdr);
    border-radius: 10px;
    padding: .72rem 1rem;
    color: var(--tx);
    font-family: 'Roboto', sans-serif;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-weight: 400
}

.fg input:focus, .fg select:focus, .fg textarea:focus {
    border-color: var(--p);
    box-shadow: 0 0 0 3px var(--p10)
}

.fg textarea {
    resize: vertical;
    min-height: 108px
}

.fg select {
    appearance: none;
    cursor: pointer
}

.fsub {
    width: 100%;
    padding: .9rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    border: none;
    cursor: pointer;
    letter-spacing: .02em;
    box-shadow: 0 6px 24px var(--p40);
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}

.fsub:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--p40)
}

.contact-header {
    padding: 118px 5% 40px;
    background: var(--bg);
    text-align: center;
}

.contact-grid-enhanced {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-info-card {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--sh-sm);
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.cd-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--p10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p);
    flex-shrink: 0;
}

.cd-text p {
    font-size: .71rem;
    color: var(--tx3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .12rem;
}

.cd-text a, .cd-text span {
    font-size: .9rem;
    color: var(--tx);
    font-weight: 500;
}

.cd-text a:hover {
    color: var(--p);
}

.office-hours {
    background: var(--p10);
    border-radius: 18px;
    padding: 1.2rem;
    margin-top: 1.5rem;
}

.office-hours .hrow {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    padding: .4rem 0;
    color: var(--tx2);
}

.open-badge {
    background: #dcfce7;
    color: #15803d;
    padding: .15rem .6rem;
    border-radius: 50px;
    font-size: .65rem;
    font-weight: 700;
}

.map-placeholder {
    background: var(--bg3);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    border: 1px dashed var(--p40);
    margin: 1.5rem 0;
}

.form-wrap-enhanced {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--sh-sm);
}

.form-wrap-enhanced h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.fg {
    margin-bottom: 1rem;
}

.fg label {
    display: block;
    font-size: .77rem;
    font-weight: 700;
    color: var(--tx2);
    margin-bottom: .38rem;
}

.fg input, .fg select, .fg textarea {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--bdr);
    border-radius: 10px;
    padding: .72rem 1rem;
    color: var(--tx);
    font-family: 'Roboto', sans-serif;
    font-size: .9rem;
    outline: none;
}

.fg input:focus, .fg select:focus, .fg textarea:focus {
    border-color: var(--p);
    box-shadow: 0 0 0 3px var(--p10);
}

.fg textarea {
    min-height: 108px;
    resize: vertical;
}

.fsub {
    width: 100%;
    padding: .9rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    letter-spacing: .02em;
    box-shadow: 0 6px 24px var(--p40);
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.fsub:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--p40);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

.office-card-sm {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all .3s;
}

.office-card-sm:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-sm);
    border-color: var(--p20);
}

.office-icon-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--p10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto .8rem;
}

.office-card-sm h4 {
    font-size: 1rem;
    margin-bottom: .2rem;
}

.office-card-sm p {
    color: var(--tx3);
    font-size: .8rem;
    line-height: 1.5;
}

/* ==================== RESPONSIVE (common + page-specific) ==================== */
@media (max-width: 1000px) {
    .hero-inner, .why-layout, .cont-grid, .mission-section, .contact-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        text-align: center;
    }

    .hero-inner>* {
        order: -1;
    }

    .hbtns, .htrust {
        justify-content: center;
    }

    .hsub {
        margin: 0 auto 2.5rem;
    }

    .hvisual {
        order: -1;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nfeat {
        grid-template-columns: 1fr;
    }

    .nfeat .nthumb {
        height: 155px;
    }

    .ftop {
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .office-grid {
        grid-template-columns: 1fr;
    }

    .offices-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .ann-layout, .app-inner, .breaking-row {
        grid-template-columns: 1fr;
    }

    .abtns {
        justify-content: center;
    }

    .featured-row {
        grid-template-columns: 1fr;
    }

    .related-alerts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .alert-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nlinks, .nright {
        display: none;
    }

    .ham {
        display: flex;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .ftop {
        grid-template-columns: 1fr 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: .5rem;
    }

    .timeline-year {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .news-grid, .related-alerts-grid, .offices-grid {
        grid-template-columns: 1fr;
    }

    .frow {
        grid-template-columns: 1fr;
    }

    .alert-card {
        flex-wrap: wrap;
    }

    .alert-cta {
        margin-left: 0;
    }
}

@media (max-width: 460px) {
    .ftop {
        grid-template-columns: 1fr;
    }

    .hv-wrap {
        width: 300px;
        height: 340px;
    }
}

/* ===== NO RECORDS FOUND COMPONENT ===== */
.no-records {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 28px;
    padding: 3rem 2rem;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--sh-sm);
}

/* icon / illustration */
.no-records-icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.2rem;
    opacity: 0.7;
}

/* main heading */
.no-records h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--tx);
    margin-bottom: 0.5rem;
}

/* description text */
.no-records p {
    color: var(--tx3);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* action buttons (optional) */
.no-records-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* inline variant (for tables/lists) */
.no-records-inline {
    background: var(--card);
    border: 1px dashed var(--bdr);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin: 1rem 0;
}

.no-records-inline .mini-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    opacity: 0.5;
}

.no-records-inline h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tx2);
    margin-bottom: 0.3rem;
}

.no-records-inline p {
    color: var(--tx3);
    font-size: 0.8rem;
}

/* SHARE BUTTONS */
.share-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin: 2rem 0;
}

.share-label {
    font-size: 0.95rem;
    color: #666;
    margin-right: 0.5rem;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-icon:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.share-icon svg {
    width: 18px;
    height: 18px;
}

/* Individual platform colors on hover */
.share-icon:nth-child(2):hover svg {
    color: #000;
}

/* X */
.share-icon:nth-child(3):hover svg {
    color: #1877f2;
}

/* Facebook */
.share-icon:nth-child(4):hover svg {
    color: #0077b5;
}

/* LinkedIn */
.share-icon:nth-child(5):hover svg {
    color: #666;
}

/* Copy link */
/* Toast notification for copy link */
.copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ── HERO / PAGE HEADER ── */
.page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0520 0%, #2d0a6e 40%, #4e18a4 70%, #6622ce 100%);
    padding: 52px 5% 44px;
}

.ph-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.ph-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none
}

.ph-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none
}

.po1 {
    width: 420px;
    height: 420px;
    background: rgba(168, 85, 247, .25);
    top: -120px;
    right: 0;
    animation: po1 9s ease-in-out infinite
}

.po2 {
    width: 280px;
    height: 280px;
    background: rgba(102, 34, 206, .3);
    bottom: -60px;
    left: -20px;
    animation: po2 11s ease-in-out infinite
}

@keyframes po1 {
    0%, 100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-24px, 18px)
    }
}

@keyframes po2 {
    0%, 100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(18px, -16px)
    }
}

.ph-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto
}

.ph-back {
    cursor: pointer;
}

.ph-meta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ph-meta>img {
    max-width: 100px;
}

.ph-badge, .ph-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    padding: .28rem .9rem;
    margin-bottom: 1.1rem;
    font-family: 'Roboto', sans-serif
}

.ph-badge .dot {
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(1.7)
    }
}

h1.ph-title {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: .5rem
}

.ph-sub {
    font-size: .9rem;
    color: rgba(255, 255, 255, .65);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin-bottom: 1.75rem;
    max-width: 520px;
    line-height: 1.65
}

.ph-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap
}

.ph-stat .n {
    font-family: 'Roboto Slab', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1
}

.ph-stat .l {
    font-size: .68rem;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .15rem;
    font-family: 'Roboto', sans-serif
}

/* BACKGRUND COLORS */
.bg-pur {
    background: linear-gradient(135deg, #1a0a3c, #4e18a4)
}

.bg-blu {
    background: linear-gradient(135deg, #0f2340, #1e40af)
}

.bg-grn {
    background: linear-gradient(135deg, #0a2a18, #065f46)
}

.bg-amb {
    background: linear-gradient(135deg, #2a1a00, #92400e)
}

.bg-ind {
    background: linear-gradient(135deg, #1a1040, #3730a3)
}

.bg-teal {
    background: linear-gradient(135deg, #0a2a28, #0f766e)
}

.bg-rose {
    background: linear-gradient(135deg, #2a0a18, #9f1239)
}

.bg-deep {
    background: linear-gradient(135deg, #0d0520, #6622ce)
}

.bg-slate {
    background: linear-gradient(135deg, #1c1c2e, #334155)
}

/* SERVICES */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 5% 5rem
}

/* ── CATEGORY SECTION ── */
.cat-section {
    margin-bottom: 3.5rem
}

/* category header row */
.cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.cat-header-left {
    display: flex;
    align-items: center;
    gap: 1rem
}

.cat-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cat-name {
    font-family: 'Roboto Slab', serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--tx)
}

.cat-desc {
    font-size: 16px;
    color: var(--tx3);
    font-family: 'Roboto', sans-serif;
    margin-top: .1rem
}

.cat-view-all {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--p);
    cursor: pointer;
    transition: color .2s;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
}

.cat-view-all:hover {
    color: var(--pl)
}

.cat-view-all svg {
    transition: transform .2s
}

.cat-view-all:hover svg {
    transform: translateX(3px)
}

/* ── SCROLL TRACK ── */
.scroll-track-wrap {
    position: relative
}

/* fade hint on right edge (desktop) */
.scroll-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 64px;
    background: linear-gradient(to left, var(--bg), transparent);
    pointer-events: none;
    z-index: 2;
}

.scroll-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    /* space for scrollbar */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--bdr) transparent;
}

.scroll-track::-webkit-scrollbar {
    height: 4px
}

.scroll-track::-webkit-scrollbar-track {
    background: transparent
}

.scroll-track::-webkit-scrollbar-thumb {
    background: var(--bdr);
    border-radius: 2px
}

/* on desktop: show grid, disable scroll */
@media(min-width: 1025px) {
    .scroll-track {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        overflow: visible;
        padding-bottom: 0;
        scrollbar-width: none;
    }

    .scroll-track::-webkit-scrollbar {
        display: none
    }

    .scroll-track-wrap::after {
        display: none
    }
}

/* ── PACKAGE CARD ── */
.pkg-card {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .32s cubic-bezier(.23, 1, .32, 1);
    flex-shrink: 0;
    /* for horizontal scroll */
    width: 296px;
    /* fixed width for scroll rows */
    scroll-snap-align: start;
}

@media(min-width: 1025px) {
    .pkg-card {
        width: auto
    }

    /* let grid handle it */
}

.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: rgba(102, 34, 206, .22);
}

/* featured card glow */
.pkg-card.featured {
    border-color: rgba(102, 34, 206, .35);
    box-shadow: 0 0 0 2px var(--p20), var(--sh-md);
}

.pkg-card.featured:hover {
    box-shadow: 0 0 0 2px var(--p20), var(--sh-lg);
}

/* ── FEATURE IMAGE ── */
.pkg-img {
    position: relative;
    height: 170px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pkg-img-bg {
    position: absolute;
    inset: 0;
    transition: transform .45s cubic-bezier(.23, 1, .32, 1);
}

.pkg-card:hover .pkg-img-bg {
    transform: scale(1.04)
}

.pkg-img {
    position: relative;
    z-index: 1;
    font-size: 3.8rem;
    user-select: none;
    pointer-events: none;
    transition: transform .3s;
}

.pkg-card:hover .pkg-img {
    transform: scale(1.1) translateY(-4px)
}

/* badges on image */
.img-badges {
    position: absolute;
    top: .8rem;
    left: .8rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: .35rem
}

.ibadge {
    font-size: .62rem;
    font-weight: 700;
    padding: .18rem .6rem;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .15);
    display: inline-block;
}

.ib-popular {
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff
}

.ib-new {
    background: rgba(34, 197, 94, .25);
    color: #86efac;
    border-color: rgba(34, 197, 94, .3)
}

.ib-limited {
    background: rgba(220, 38, 38, .25);
    color: #fca5a5;
    border-color: rgba(220, 38, 38, .3)
}

.ib-bestseller {
    background: rgba(201, 168, 76, .25);
    color: #fcd34d;
    border-color: rgba(201, 168, 76, .3)
}

/* validity badge top-right */
.img-validity {
    position: absolute;
    top: .8rem;
    right: .8rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .3rem;
    background: rgba(26, 10, 60, .65);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .22rem .6rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    font-family: 'Roboto', sans-serif;
    border: 1px solid rgba(255, 255, 255, .12);
}

.img-validity svg {
    opacity: .75
}

/* discount chip bottom-left on image */
.img-discount {
    position: absolute;
    bottom: .8rem;
    left: .8rem;
    z-index: 3;
    background: var(--red);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: .18rem .6rem;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: .02em;
}

/* ── CARD BODY ── */
.pkg-body {
    padding: 1.2rem 1.3rem .9rem;
    flex: 1;
    display: flex;
    flex-direction: column
}

/* category tag */
.pkg-cat {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tx3);
    font-family: 'Roboto', sans-serif;
    margin-bottom: .4rem;
}

/* name */
.pkg-name {
    font-family: 'Roboto Slab', serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--tx);
    margin-bottom: .35rem;
    line-height: 1.25;
}

/* description */
.pkg-desc {
    font-size: .8rem;
    color: var(--tx3);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* highlight points */
.pkg-points {
    list-style: none;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: .32rem;
    max-height: 150px;
    overflow: auto;
}

.pkg-points li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .77rem;
    color: var(--tx2);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.pkg-points li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p), var(--pl));
    flex-shrink: 0;
    margin-top: .48rem;
}

/* validity strip */
.pkg-validity {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .74rem;
    font-weight: 600;
    color: var(--p);
    background: var(--p10);
    border: 1px solid rgba(102, 34, 206, .14);
    border-radius: 8px;
    padding: .38rem .65rem;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
}

.pkg-validity svg {
    flex-shrink: 0
}

/* spacer */
.pkg-spacer {
    flex: 1
}

/* ── PRICE BLOCK ── */
.pkg-price-block {
    padding: .75rem 1.3rem;
    border-top: 1px solid var(--bdr);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap
}

.price-current {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--tx);
    line-height: 1;
}

.price-mrp {
    font-size: .82rem;
    font-weight: 500;
    color: var(--tx3);
    text-decoration: line-through;
    font-family: 'Roboto', sans-serif;
}

.price-save {
    font-size: .65rem;
    font-weight: 700;
    color: var(--green);
    background: rgba(5, 150, 105, .1);
    border: 1px solid rgba(5, 150, 105, .2);
    border-radius: 4px;
    padding: .1rem .4rem;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
}

.price-label {
    font-size: .64rem;
    color: var(--tx3);
    font-family: 'Roboto', sans-serif;
    margin-top: .15rem;
    text-transform: uppercase;
    letter-spacing: .04em
}

/* ── ACTION BUTTONS ── */
.pkg-actions {
    padding: .9rem 1.3rem 1.1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .62rem .5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--p), var(--pl));
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .25s;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 14px var(--p40);
}

.btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 20px var(--p40)
}

.btn-explore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .62rem .5rem;
    border-radius: 50px;
    background: transparent;
    color: var(--p);
    font-size: .8rem;
    font-weight: 700;
    border: 1.5px solid var(--p) !important;
    cursor: pointer;
    transition: all .25s;
    font-family: 'Roboto', sans-serif;
}

.btn-explore:hover {
    background: var(--p10)
}

@media(max-width: 520px) {
    .pkg-card {
        width: 268px
    }

    .ph-stats {
        gap: 1.5rem
    }
}

/* CART CSS */
body.cart-open {
    overflow: hidden;
}

/* Header / Nav Mockup */
.cart-navbar {
    background: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cart-trigger {
    background: #000000;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.cart-trigger:hover {
    opacity: 0.8;
}

/* Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

/* Drawer Header */
.cart-drawer-header {
    padding: 5px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.cart-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    color: #6b7280;
    border-radius: 50%;
}

.cart-close-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Drawer Body (Empty State) */
.cart-drawer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cart-empty-icon {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.cart-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-empty-text {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.cart-shop-btn {
    background: #000000;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: transform 0.1s;
}

.cart-shop-btn:active {
    transform: scale(0.98);
}

/* Drawer Footer */
.cart-drawer-footer {
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

/* CART CSS */
.cart-item-list {
    overflow-y: auto;
    flex: 1;
}

.cart-item {
    display: flex;
    flex-direction: column;
    padding: 12px 12px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-top {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.cart-item-img {
    width: 54px;
    height: 54px;
    background: #f4f4f4;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* Tax and Discount Breakdown */
.cart-item-tax-breakdown {
    background: #fafafa;
    border-radius: 6px;
    padding: 6px 8px;
    margin-top: 4px;
    font-size: 0.65rem;
    line-height: 1.4;
    color: #666;
}

.cart-tax-row {
    display: flex;
    justify-content: space-between;
}

.cart-discount-row {
    display: flex;
    justify-content: space-between;
    color: #27ae60;
    font-weight: 600;
    margin-top: 2px;
    border-top: 1px dashed #ddd;
    padding-top: 2px;
}

.cart-item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-price-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #7f44db;
    font-weight: 800;
}

.cart-item-old-price {
    font-size: 0.7rem;
    text-decoration: line-through;
    color: #aaa;
}

/* Quantity Controls */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    padding: 2px;
    border-radius: 6px;
}

.cart-qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f44db;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cart-qty-btn svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.cart-qty-input {
    width: 28px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    outline: none;
}

.cart-remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ff4d4d;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

/* Coupon Section */
.cart-coupon-section {
    padding: 12px;
    background: #f9f7ff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-coupon-apply {
    display: flex;
    gap: 5px;
}

.cart-coupon-input {
    flex-grow: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.75rem;
    outline: none;
}

.cart-coupon-btn {
    background: #7f44db;
    color: white;
    border: none;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

/* Applied Coupon (Detailed) */
.cart-coupon-applied {
    background: rgba(127, 68, 219, 0.08);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(127, 68, 219, 0.2);
    position: relative;
}

.cart-coupon-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cart-coupon-info {
    flex-grow: 1;
}

.cart-coupon-tag {
    background: #7f44db;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 4px;
}

.cart-coupon-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #7f44db;
}

.cart-coupon-desc {
    display: block;
    font-size: 0.65rem;
    color: #6a538d;
    margin-top: 2px;
}

.cart-coupon-remove {
    color: #ff4d4d;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.cart-coupon-pill {
    display: inline-block;
    background: #fff;
    border: 1px solid #7f44db;
    color: #7f44db;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 0.65rem;
}

/* Summary */
.cart-summary {
    padding: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #666;
}

.cart-summary-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    font-weight: 700;
    color: #333;
    font-size: 1rem;
}

.cart-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #7f44db, #a26df0);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px;
    cursor: pointer;
}

.cart-item-list::-webkit-scrollbar {
    width: 4px;
}

.cart-item-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-item-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* MODULES */
.modules {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 30px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.modules>a {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
}

.modules>a:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.modules img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 10px;
}

.modules strong {
    font-size: 16px;
    margin-bottom: 6px;
    color: #7c3aed;
}

.modules span {
    font-size: 14px;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modules button {
    align-self: center;
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    transition: all .25s ease;
    position: absolute;
    bottom: 10px;
    display: flex;
    align-items: center;
}

.modules button>svg {
    height: 15px;
    width: 15px;
    transition: all 0.3s ease;
    transform: translate(-5px, 0px);
}

.modules>a:hover button {
    opacity: 1;
    transform: translateY(0);
}

.modules>a:hover button>svg {
    transform: translate(5px, 0px);
}

/* responsive */
@media (max-width: 1200px) {
    .modules {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .modules {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MODULE CONTENT BLOCKS */
.content-blocks {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-blocks>div {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    align-items: center;
}

.content-blocks img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
}

/* title */
.content-blocks h2 {
    margin: 8px 0 12px;
}

/* alternate layout */
.content-blocks>div:nth-child(even) {
    grid-template-columns: 1fr 320px;
}

.content-blocks>div:nth-child(even) img {
    order: 2;
}

.content-blocks>div:nth-child(even)>div {
    order: 1;
}

/* tablet */
@media (max-width: 900px) {
    .content-blocks>div {
        grid-template-columns: 260px 1fr;
    }

    .content-blocks>div:nth-child(even) {
        grid-template-columns: 1fr 260px;
    }
}

/* mobile */
@media (max-width: 640px) {
    .content-blocks>div {
        grid-template-columns: 1fr;
    }

    .content-blocks img {
        order: 1 !important;
        width: 100%;
        max-width: 260px;
        margin: auto;
    }

    .content-blocks>div>div {
        order: 2 !important;
    }
}

.faq-layout {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--bdr);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.faq-item.open {
    border-color: rgba(102, 34, 206, .25);
    box-shadow: var(--sh-sm)
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    user-select: none;
}

.faq-q-text {
    font-size: .9rem;
    font-weight: 700;
    color: var(--tx);
    font-family: 'Roboto', sans-serif;
    line-height: 1.4
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--p10);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p);
    transition: all .28s;
}

.faq-item.open .faq-icon {
    background: var(--p);
    color: #fff;
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s cubic-bezier(.23, 1, .32, 1), padding .3s;
    padding: 0 1.3rem;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 1.3rem 1.1rem
}

.faq-a p {
    font-size: .85rem;
    color: var(--tx2);
    line-height: 1.75;
    font-weight: 400;
    font-family: 'Roboto', sans-serif
}