/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6a1b9a;
    --dark-purple: #4a148c;
    --light-purple: #9c27b0;
    --accent-color: #00bcd4;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f5f5f5;
    --sidebar-width: 220px;
    --header-height: 85px;
    --sticky-offset: 70px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    font-size: 14px;
    overflow-x: hidden;
    padding-top: var(--header-height);
    transition: padding-top 0.25s ease;
}

/* Skip layout/paint for offscreen sections to reduce main-thread work */
.center-content > section:not(.hero-section) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

/* HEADER STYLES */
.main-header {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    padding: 6px 20px;
    height: var(--header-height);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transform: translateY(0);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

body.header-hidden {
    --sticky-offset: 12px;
    padding-top: 12px;
}

body.header-hidden .main-header {
    transform: translateY(-100%);
    box-shadow: none;
}

.logo-container {
    color: var(--text-light);
}

.logo-icon {
    font-size: 25px;
    color: var(--accent-color);
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
}

.tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-style: italic;
}

/* Navigation */
.desktop-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nav-links {
    margin-bottom: 1px;
    height: 25px;
}

.nav-link {
    color: var(--text-light) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: yellow !important;
    transform: translateY(-2px);
}

.admin-icon i {
    font-size: 18px;
}

/* Search Box */
.search-container {
    position: relative;
    width: 280px;
    height: 10px;
    margin-right: 20px;
    
    
}

.search-input {
    padding: 6px 35px 6px 12px;
    border-radius: 20px;
    border: none;
    font-size: 12px;
    height: 32px;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 150%;
    transform: translateY(-50%);
    color: var(--primary-purple);
}

/* Mobile Menu */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    float: right;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-purple);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.close-mobile-nav {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    float: right;
    cursor: pointer;
    margin-bottom: 20px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Action Bar */
.action-bar {
    background: #fff;
    padding: 10px 0;
    
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.action-buttons {
    display: flex;
    gap: 10px;
    
    flex-wrap: wrap;
}

.btn-action {
    font-size: 12px;
    padding: 8px 16px;
    
    border-radius: 5px;
    font-weight: 500;
    
    transition: all 0.3s ease;
}

.btn-action i {
    margin-right: 5px;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Main Content Layout */
.main-content {
    margin-top: 20px;
    padding: 0 10px;
}

/* Sidebars */
.left-sidebar,
.right-sidebar {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: var(--sticky-offset);
    height: calc(100vh - var(--sticky-offset) - 20px);
    overflow-y: auto;
    scrollbar-gutter: stable;
    transition: width 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
    will-change: width, padding;
    padding: 15px;
}

.left-sidebar:hover,
.right-sidebar:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.left-sidebar {
    width: var(--sidebar-width);
}

.right-sidebar {
    width: 250px;
    margin-left: 15px;
}

.left-sidebar.collapsed {
    width: 50px;
}

.right-sidebar.collapsed {
    width: 80px;
}

.toggle-sidebar {
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.toggle-sidebar:hover {
    background: var(--dark-purple);
    transform: scale(1.1);
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.sidebar-link i {
    margin-right: 10px;
    color: black;
    font-size: 14px;
}

.sidebar-link:hover {
    background: var(--light-purple);
    color: white;
    transform: translateX(5px);
}

.sidebar-link:hover i {
    color: white;
}

.sidebar-divider {
    margin: 20px 0;
    border-color: rgba(106, 27, 154, 0.2);
}

.collapsed .sidebar-content {
    display: none;
}

/* Center Content */
.center-content {
    flex: 1;
    padding: 0 20px;
    max-width: calc(100% - var(--sidebar-width) * 2 - 60px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 38%),
        radial-gradient(circle at 80% 0%, rgba(0, 188, 212, 0.16), transparent 46%),
        linear-gradient(125deg, #120f38 0%, #251451 48%, #0f172a 100%);
    border-radius: 18px;
    padding: 48px 40px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: -40px auto auto -80px;
    width: 200px;
    height: 200px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    filter: blur(2px);
    border-radius: 50%;
    opacity: 0.7;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: auto -80px -120px auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.22), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    opacity: 0.8;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
    z-index: 1;
}

.hero-content {
    text-align: left;
    color: var(--text-light);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-title {
    color: var(--text-light);
    font-size: 38px;
    font-weight: 800;
    margin: 18px 0 10px;
    letter-spacing: -0.5px;
}

.hero-lead {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    min-height: 30px;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 10px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-hero.primary {
    background: #ffffff;
    color: #221155;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.btn-hero.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.4);
}

.btn-hero.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero.outline {
    background: transparent;
    color: #c7d2fe;
    border: 1px dashed rgba(255, 255, 255, 0.35);
}

.btn-hero.ghost:hover,
.btn-hero.outline:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 600;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    width: 100%;
    max-width: 380px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    color: #e5e7eb;
}

.hero-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(120deg, #22c55e, #16a34a);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.hero-card__title {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 10px;
}

.hero-card__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card__list strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.hero-card__list span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-card__list .badge {
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    background: #fff;
}

.hero-card__footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metric {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
}

.metric-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.03em;
}

.metric-value {
    display: block;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
}

.cursor {
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Latest Posts Section */
.latest-posts-section {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 55%, #eef5ff 100%);
    border-radius: 22px;
    padding: 32px;
    border: 1px solid rgba(106, 27, 154, 0.1);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.latest-posts-section::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 70%);
    top: -60px;
    right: -40px;
    pointer-events: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    margin-left: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section-header .btn,
.section-header .btn-sm {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 10px;
    white-space: nowrap;
}

.section-header h2 {
    font-size: 28px;
    color: var(--dark-purple);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header i {
    margin-right: 12px;
    color: var(--primary-purple);
    font-size: 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.post-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 10px;
    border: 1px solid rgba(106, 27, 154, 0.1);
    box-shadow: 0 15px 40px rgba(50, 87, 167, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(111, 76, 255, 0.08), rgba(19, 151, 213, 0.05));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.post-card > * {
    position: relative;
    z-index: 1;
}

.apply-section {
    margin-top: 25px;
    margin-bottom: 10px;
    background: linear-gradient(120deg, var(--primary-purple), #4f46e5 60%, #0f172a);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    position: relative;
}

.apply-section::after {
    content: '';
    position: absolute;
    inset: 20px -40px auto auto;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(0);
    pointer-events: none;
}

.apply-content {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.apply-info {
    flex: 1.6;
}

.apply-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.apply-info h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 20px 0 12px;
}

.apply-info p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.apply-highlights {
    list-style: none;
    padding: 18px 0 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 20px;
}

.apply-highlights li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.95);
}

.apply-highlights i {
    color: #22c55e;
    margin-top: 3px;
}

.apply-cta {
    flex: 1;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.apply-note {
    font-size: 14px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-apply-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary-purple);
    border-radius: 999px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-apply-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.35);
    border-color: white;
}

@media (max-width: 992px) {
    .apply-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .apply-cta {
        width: 100%;
    }

    .apply-highlights {
        grid-template-columns: 1fr;
    }
}

.services-section {
    margin-top: 30px;
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.services-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 20px;
}

.services-heading h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 10px 0 8px;
    color: var(--text-dark);
}

.services-heading p {
    margin: 0;
    color: #5b5f7a;
    max-width: 520px;
    font-size: 14px;
}

.section-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-purple);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.services-link {
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.services-link:hover {
    color: #2f2b99;
    gap: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    border-radius: 16px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(248, 249, 255, 0.9), rgba(223, 230, 255, 0.7));
    border: 1px solid rgba(99, 102, 241, 0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-media {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.service-body p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #4c4f63;
    line-height: 1.5;
}

.service-meta {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-purple);
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .services-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-media {
        width: 100%;
        height: 160px;
    }
}

.video-section {
    margin-top: 35px;
    background: #0f172a;
    border-radius: 22px;
    padding: 32px;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.video-section::after {
    content: '';
    position: absolute;
    inset: auto -80px -120px auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59,130,246,0.3), rgba(15,23,42,0));
    transform: rotate(25deg);
    pointer-events: none;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.video-header h2 {
    font-size: 26px;
    color: #fff;
    margin: 12px 0 10px;
}

.video-header p {
    margin: 0;
    color: rgba(226, 232, 240, 0.8);
    font-size: 14px;
}

.video-controls {
    display: flex;
    gap: 12px;
}

.video-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.video-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.video-slider-wrapper {
    overflow: hidden;
}

.video-slider {
    display: flex;
    gap: 20px;
    scroll-behavior: smooth;
}

.video-card {
    flex: 0 0 320px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.45);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb span {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.video-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-info h3 {
    font-size: 16px;
    color: #fff;
    margin: 0;
}

.video-info p {
    margin: 0;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.75);
    line-height: 1.4;
}

.video-info .video-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.7);
}

.video-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

@media (max-width: 992px) {
    .video-header {
        flex-direction: column;
    }

    .video-slider {
        gap: 14px;
    }

    .video-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 576px) {
    .video-card {
        flex: 0 0 85%;
    }
}

.clients-section {
    margin-top: 32px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 24px;
}

.clients-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 12px 0 8px;
}

.clients-header p {
    margin: 0;
    color: #5e6479;
    font-size: 14px;
    max-width: 520px;
}

.clients-stats {
    display: flex;
    gap: 20px;
}

.clients-stats div {
    text-align: right;
}

.clients-stats strong {
    display: block;
    font-size: 26px;
    color: var(--primary-purple);
}

.clients-stats span {
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.clients-marquee {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 0;
}

.clients-track {
    display: flex;
    gap: 20px;
    animation: clientsScroll 25s linear infinite;
    width: max-content;
}

.client-card {
    min-width: 180px;
    background: #f8f9ff;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.client-card img {
    width: 96px;
    height: 48px;
    object-fit: contain;
    filter: grayscale(0.1);
    opacity: 0.9;
}

.client-card span {
    font-size: 12px;
    font-weight: 600;
    color: #4b4f61;
}

@keyframes clientsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .clients-header {
        flex-direction: column;
    }

    .clients-stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .clients-stats {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .clients-stats div {
        text-align: left;
    }
}

.site-footer {
    margin-top: 40px;
    background: #0b1120;
    color: #cbd5f5;
}

/* User Feedback Slider (home) */
.user-feedback-section {
    margin-top: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 55%, #eef5ff 100%);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.uf-ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(65px);
    opacity: 0.6;
    animation: ufFloat 16s ease-in-out infinite;
}

.uf-ambient-1 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.25), transparent 60%);
    top: -60px;
    left: -80px;
}

.uf-ambient-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 60% 60%, rgba(14, 165, 233, 0.2), transparent 55%);
    bottom: -80px;
    right: -60px;
    animation-delay: 1.8s;
}

.user-feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.user-feedback-header h2 {
    font-size: 24px;
    margin: 10px 0 6px;
    color: var(--text-dark);
    font-weight: 700;
}

.user-feedback-header p {
    margin: 0;
    color: #5c6075;
}

.uf-label-row,
.uf-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.uf-chip,
.uf-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.08);
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.uf-chip.soft {
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.18);
}

.uf-pill {
    padding: 5px 10px;
}

.uf-pill.subtle {
    background: rgba(99, 102, 241, 0.07);
    color: #4338ca;
}

.uf-pill.strong {
    background: rgba(52, 211, 153, 0.1);
    color: #0f766e;
    border-color: rgba(16, 185, 129, 0.24);
}

.user-feedback-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.user-feedback-cta i{
    font-size: 15px;
}
.user-feedback-cta a{
    font-size: 10px;
}

.user-feedback-cta .btn {
    border: none;
    background: linear-gradient(135deg, #6a1b9a 0%, #4f46e5 60%, #0ea5e9 100%);
    color: #fff;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.user-feedback-cta .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(79, 70, 229, 0.3);
    opacity: 0.95;
}

.user-feedback-cta .btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2);
}

.user-feedback-arrows {
    display: inline-flex;
    gap: 8px;
}

.uf-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: #fff;
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.12);
}

.uf-nav:hover {
    background: var(--primary-purple);
    color: #fff;
    transform: translateY(-2px) scale(1.02);
}

.uf-slide-meta{
    font-size:11px;
}
.uf-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 14px;
}

.user-feedback-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px 14px;
    scroll-snap-type: x mandatory;
}

.user-feedback-slider::-webkit-scrollbar {
    height: 8px;
}

.user-feedback-slider::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.35);
    border-radius: 10px;
}

.uf-slide {
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    scroll-snap-align: start;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    animation: ufFadeUp 0.55s ease var(--delay, 0ms) both;
}

.uf-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.06), rgba(14, 165, 233, 0.04));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.uf-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(79, 70, 229, 0.26);
}

.uf-slide:hover::before {
    opacity: 1;
}

.uf-slide-stars {
    color: #f59e0b;
    margin-bottom: 8px;
}

.uf-slide-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.uf-slide-top .uf-pill {
    font-size: 11px;
    padding: 4px 10px;
}

.uf-slide-comment {
    color: #0f172a;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4; /* fallback */
    overflow: hidden;
    word-break: break-word;
    min-height: 76px;
    position: relative;
    z-index: 1;
}

.uf-slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.uf-show-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    letter-spacing: 0.01em;
}



.uf-slide-user {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.uf-avatar {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
}

.uf-pill {
    position: relative;
    z-index: 1;
}

.uf-skeleton {
    border-style: dashed;
    border-color: rgba(99, 102, 241, 0.16);
}

.uf-skeleton-bar {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(226, 232, 240, 0.9), rgba(148, 163, 184, 0.35), rgba(226, 232, 240, 0.9));
    background-size: 200% 100%;
    animation: ufShimmer 1.4s ease-in-out infinite;
    margin-bottom: 10px;
}

.uf-skeleton-bar.short {
    width: 40%;
}

.uf-skeleton-bar.tiny {
    height: 8px;
    margin-bottom: 6px;
}

.uf-skeleton-bar.tiny.wide {
    width: 80%;
}

.uf-skeleton-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.uf-skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(226, 232, 240, 0.95), rgba(148, 163, 184, 0.55));
}

.uf-skeleton-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@keyframes ufFloat {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(12px, -8px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes ufFadeUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes ufShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
    .user-feedback-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-feedback-cta {
        width: 100%;
        justify-content: space-between;
    }

    .user-feedback-slider {
        grid-auto-columns: 85%;
    }

    .uf-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* User Feedback Page */
.user-feedback-page {
    padding-top: 110px;
}

.uf-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 16px;
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 40%, #ffffff 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.uf-hero-text {
    position: relative;
    z-index: 1;
}

.uf-hero-text::after {
    content: "";
    position: absolute;
    inset: -20% 50% auto -10%;
    height: 120%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.18), transparent 70%);
    pointer-events: none;
}

.uf-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
    font-weight: 600;
    font-size: 13px;
}

.uf-hero-title {
    font-size: 26px;
    margin: 10px 0 6px;
    color: #0f172a;
}

.uf-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uf-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.uf-stat {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.uf-stat-label {
    color: #6b7280;
    font-size: 12px;
}

.uf-stat-value {
    display: block;
    font-weight: 700;
    font-size: 20px;
    color: #0f172a;
}

.uf-pane.uf-pane-gradient {
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 55%, #e0f2fe 100%);
}

.uf-list-compact li {
    padding: 4px 0;
}

.user-feedback-sticky {
    position: sticky;
    
    top: calc(var(--sticky-offset) + 5px);
    z-index: 1;
}

.uf-pane {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.user-feedback-form .form-label {
    font-weight: 600;
    color: #0f172a;
}

.user-feedback-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.uf-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.uf-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.uf-card-header h4 {
    margin: 4px 0 0;
    font-size: 15px;
}

.uf-designation {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.uf-time {
    color: #94a3b8;
    font-size: 12px;
}

.uf-stars {
    color: #f59e0b;
    font-size: 13px;
}

.uf-comment-text {
    margin: 0 0 10px;
    color: #0f172a;
    line-height: 1.5;
}

.uf-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.uf-action-btn {
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 600;
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.uf-action-btn:hover {
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

.uf-action-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.uf-action-icon {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.uf-action-icon:hover {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, 0.3);
}

.uf-comments {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px dashed rgba(99, 102, 241, 0.2);
    transition: all 0.18s ease;
}

.uf-comment {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

.uf-comment-header {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #334155;
}

.uf-comment-time {
    color: #94a3b8;
    font-size: 12px;
}

.uf-comment-form textarea {
    resize: vertical;
}

.uf-feed-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.uf-toolbar-actions {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.uf-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.uf-page-buttons {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

.uf-page-btn {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.16s ease;
    min-width: 36px;
    text-align: center;
}

.uf-page-btn:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.uf-page-btn.active {
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.25);
}

.uf-page-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.uf-pagination-meta {
    color: #6b7280;
    font-size: 13px;
}

.uf-feed-toolbar .btn {
    padding: 6px 10px;
}

@media (max-width: 992px) {
    .uf-page-hero {
        grid-template-columns: 1fr;
    }
}

.footer-top {
    padding: 50px 30px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-brand p {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
}

.footer-links h5,
.footer-contact h5 {
    font-size: 15px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary-purple);
}

.footer-map iframe {
    border-radius: 12px;
}

.btn-contact-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--primary-purple), #4f46e5);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 30px;
    background: #070b13;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 15px;
    font-size: 13px;
}

.footer-legal a:hover {
    color: #fff;
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: black;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(67, 56, 202, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
}

@media (max-width: 576px) {
    .scroll-top-btn {
        right: 15px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal a {
        margin-left: 0;
        margin-right: 15px;
    }
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(42, 68, 118, 0.18);
    border-color: rgba(106, 27, 154, 0.35);
}

.post-card:hover::before {
    opacity: 1;
}

.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-job {
    background: linear-gradient(120deg, #22c55e, #16a34a);
    color: white;
}

.badge-hotlist {
    background: linear-gradient(120deg, #fb923c, #f97316);
    color: white;
}

.badge-candidate {
    background: linear-gradient(120deg, #0ea5e9, #2563eb);
    color: white;
}

.post-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
    color: #5b6170;
    margin-bottom: 14px;
}

.post-meta i {
    margin-right: 6px;
    color: var(--primary-purple);
}

.post-details {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-tag {
    background: rgba(99, 102, 241, 0.12);
    color: #3f3d56;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail-tag i {
    color: var(--primary-purple);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--primary-purple);
    font-size: 16px;
}

.loading-spinner.small {
    padding: 20px;
    font-size: 14px;
    color: inherit;
}




/* NEW: Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 20%;
    right: 0;
    width: 400px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    margin-top: 5px;
}

.search-results-list {
    padding: 10px;
}

.search-result-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 14px;
}

.search-result-meta {
    font-size: 12px;
    color: #777;
}

@media (max-width: 576px) {
    .search-results-dropdown {
        width: 90vw;
        left: 5vw;
        right: auto;
    }
}

/* Desktop/laptop typography tightening */
@media (min-width: 992px) {
    body {
        font-size: 13px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 17px;
    }

    p,
    li {
        font-size: 13px;
        line-height: 1.65;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .tagline {
        font-size: 10px;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: 1.4px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .sidebar-title {
        font-size: 13px;
    }

    .sidebar-link {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .left-sidebar,
    .right-sidebar {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .section-header {
       flex-direction: column;
        align-items: flex-start
    }
    .section-header h2 {
    margin-bottom: 10px;
     font-size: 20px;
    }
    .section-header a {
        margin-top: 10px;
    }
    .section-header p {
        font-size: 14px;
    }
    
    .guides-section {
        margin-top: 1px;
    }
    
    /* LEFT SIDEBAR - Slides from left */
    .left-sidebar {
        position: fixed;
        left: -100%;
        top: 20;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
    }
    
    .left-sidebar.mobile-active {
        left: 0;
    }
    
    /* RIGHT SIDEBAR - Slides from right */
    .right-sidebar {
        position: fixed;
        right: -100%;
        top: 20;
        height: 100vh;
        z-index: 999;
        transition: right 0.3s ease;
    }
    
    .right-sidebar.mobile-active {
        right: 0;
    }
    
    .center-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }

    .hero-section {
        padding: 40px 28px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }

    
}

@media (max-width: 576px) {
    .action-buttons {
        justify-content: center;
    }
    
    .btn-action {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .logo-text h1 {
        font-size: 16px;
        margin-top: 20px;
        
    }
    
    .tagline {
        font-size: 9px;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

/* NEW: Mobile Sidebar Toggle Buttons */
.mobile-sidebar-toggles {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    gap: 50px;
}

.mobile-sidebar-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    border: none;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-sidebar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(106, 27, 154, 0.7);
}

@media (max-width: 992px) {
    .toggle-sidebar {
        display: none;
    }

    .mobile-sidebar-toggles {
        display: flex;
    }
}

/* NEW: Backdrop for mobile sidebars */
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.sidebar-backdrop.active {
    display: block;
}

/* Scrollbar Styling */
.left-sidebar::-webkit-scrollbar,
.right-sidebar::-webkit-scrollbar {
    width: 6px;
}

.left-sidebar::-webkit-scrollbar-thumb,
.right-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 10px;
}

.left-sidebar::-webkit-scrollbar-track,
.right-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}






/*--------------------About Us pge -------------------------/


/* About Page Specific Styles */

/* About Hero Section */
.about-hero-section {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    border-radius: 18px;
    padding: 60px 40px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(106, 27, 154, 0.35);
    position: relative;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.about-hero-grid {
    display: grid;
    grid-template-columns:10fr 1fr;
    gap: 0px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero-content {
    color: var(--text-light);
    
    
}



@media (max-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-hero-section {
        padding: 40px 20px;
    }
}

/* Mission & Vision Section */
.mission-vision-section {
    background: #fff;
    padding: 60px 0;
    margin-bottom: 40px;
}

.mission-card, .vision-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(106, 27, 154, 0.15);
}

.mission-icon, .vision-icon {
    font-size: 48px;
    color: var(--primary-purple);
    margin-bottom: 20px;
    display: block;
}

.mission-card h3, .vision-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.mission-card p, .vision-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 768px) {
    .mission-card, .vision-card {
        margin-bottom: 30px;
        padding: 30px 20px;
    }
}

/* About Services Section */
.about-services-section {
    margin-bottom: 35px;
}

.about-services-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(106, 27, 154, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.about-services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.about-services-title {
    font-size: 24px;
    margin: 10px 0 6px;
    color: var(--text-dark);
    font-weight: 700;
}

.about-services-subtitle {
    margin: 0;
    font-size: 14px;
    color: #5b5f7a;
    max-width: 520px;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.about-service-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.about-service-item i {
    font-size: 18px;
    color: var(--primary-purple);
    margin-top: 2px;
}

.about-service-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #0f172a;
}

.about-service-item p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.about-services-foot {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.about-services-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-services-pill {
    background: rgba(106, 27, 154, 0.12);
    color: var(--primary-purple);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.about-services-note {
    font-size: 12px;
    color: #475569;
}

@media (max-width: 768px) {
    .about-services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-services-cta {
        width: 100%;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    position: relative;
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-purple);
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-purple);
    line-height: 1;
    transition: all 1s ease;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 4px solid var(--light-purple);
}

.team-card h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.team-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.team-social a:hover {
    background: var(--dark-purple);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(106, 27, 154, 0.15);
}

.value-icon {
    font-size: 48px;
    color: var(--primary-purple);
    margin-bottom: 20px;
    display: block;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}










/*------------------------------Services CSS-------------------------/

/* Services Page Specific Styles */

/* Services Hero Section */
.services-hero-section {
    background: linear-gradient(135deg, #0b1020 0%, #1e1b4b 40%, var(--primary-purple) 100%);
    border-radius: 18px;
    padding: 56px 40px;
    margin-bottom: 36px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.35);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px) saturate(1.05);
}

.services-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -25%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.8;
}

.services-hero-section::after {
    content: '';
    position: absolute;
    right: -18%;
    bottom: -20%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 188, 212, 0.22), rgba(255, 255, 255, 0));
    opacity: 0.6;
    transform: rotate(24deg);
}

.services-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.services-hero-content {
    color: var(--text-light);
    max-width: 640px;
}

.services-hero-content .hero-kicker {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.14em;
}

.services-hero-content .hero-title {
    font-size: 34px;
    line-height: 1.1;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.services-hero-content .hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    max-width: 540px;
}

.services-hero-section .hero-actions .btn-hero.primary {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8ff 100%);
    color: #1f1a4f;
}

.services-hero-section .hero-actions .btn-hero.ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.services-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.services-hero-image:hover img {
    transform: translateY(-6px) scale(1.02);
}

@media (max-width: 992px) {
    .services-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .services-hero-section {
        padding: 40px 20px;
    }
}

/* Services Overview Section */
.services-overview-section {
    background: #fff;
    padding: 80px 0;
}

.services-overview-section .section-title {
    font-size: 30px;
    margin-bottom: 10px;
}

.services-overview-section .section-subtitle {
    color: #4c4f63;
    margin-bottom: 30px;
}

.services-overview-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.services-overview-section .service-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f5f6ff 100%);
    padding: 32px 22px 24px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(106, 27, 154, 0.1);
}

.services-overview-section .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.06), rgba(0, 188, 212, 0.06));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-overview-section .service-card > * {
    position: relative;
    z-index: 1;
}

.services-overview-section .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    border-color: rgba(106, 27, 154, 0.25);
}

.services-overview-section .service-card:hover::before {
    opacity: 1;
}

.services-overview-section .service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #6a1b9a 0%, #7c3aed 100%);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
    position: absolute;
    top: 16px;
    right: 16px;
}

.services-overview-section .service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0f172a;
}

.services-overview-section .service-card p {
    color: #4c4f63;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.services-overview-section .service-link {
    color: var(--primary-purple);
    font-weight: 700;
    gap: 8px;
    letter-spacing: 0.01em;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

.services-overview-section .service-link:hover {
    color: var(--dark-purple);
    gap: 10px;
}

@media (max-width: 768px) {
    .services-overview-section .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .services-hero-content .hero-title {
        font-size: 28px;
    }
}

/* Services Stats Section */
.services-stats-section {
    background: linear-gradient(135deg, #0b1224 0%, #1e1b4b 55%, #2b164f 100%);
    padding: 68px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services-stats-section::before {
    content: '';
    position: absolute;
    inset: -10% -30% auto auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    opacity: 0.6;
    pointer-events: none;
}

.services-stats-section::after {
    content: '';
    position: absolute;
    inset: auto auto -20% -25%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.18), rgba(255, 255, 255, 0));
    opacity: 0.55;
    pointer-events: none;
}

.services-stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-stats-section .stat-item {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(4px);
}

.services-stats-section .stat-icon {
    font-size: 34px;
    color: #c4b5fd;
    margin-bottom: 10px;
    display: block;
}

.services-stats-section .stat-number {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    transition: all 1s ease;
}

.services-stats-section .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

@media (max-width: 576px) {
    .services-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .services-stats-section .stat-number {
        font-size: 30px;
    }
}































 /* ===================================
   ONLINE PDF EDITOR STYLES
   =================================== */

.online-pdf-editor-container {
    padding: 20px 0;
    min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.online-pdf-editor-hero {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 38%),
                radial-gradient(circle at 80% 0%, rgba(0, 188, 212, 0.16), transparent 46%),
                linear-gradient(125deg, #120f38 0%, #251451 48%, #0f172a 100%);
    border-radius: 18px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
    position: relative;
    overflow: hidden;
}

.online-pdf-editor-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.online-pdf-editor-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.online-pdf-editor-hero-title {
    color: var(--text-light);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.online-pdf-editor-hero-title i {
    color: var(--accent-color);
    margin-right: 12px;
}

.online-pdf-editor-hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 20px;
}

.online-pdf-editor-hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.online-pdf-editor-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.online-pdf-editor-feature-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Sidebars */
.online-pdf-editor-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: calc(var(--sticky-offset) + 10px);
}

.online-pdf-editor-sidebar-header {
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-purple);
    margin-bottom: 20px;
}

.online-pdf-editor-sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-purple);
    margin: 0;
}

.online-pdf-editor-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.online-pdf-editor-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.online-pdf-editor-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Upload Area */
.online-pdf-editor-upload-area {
    border: 2px dashed var(--primary-purple);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    background: #f9f9ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.online-pdf-editor-upload-area:hover,
.online-pdf-editor-upload-area.dragover {
    background: #f0e6f6;
    border-color: var(--dark-purple);
    transform: scale(1.02);
}

.online-pdf-editor-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.online-pdf-editor-upload-label i {
    font-size: 48px;
    color: var(--primary-purple);
}

.online-pdf-editor-upload-label span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.online-pdf-editor-upload-label small {
    font-size: 11px;
    color: #666;
}

/* Buttons */
.online-pdf-editor-btn-primary,
.online-pdf-editor-tool-btn,
.online-pdf-editor-btn-secondary,
.online-pdf-editor-btn-download,
.online-pdf-editor-btn-success,
.online-pdf-editor-btn-sm,
.online-pdf-editor-btn-icon {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.online-pdf-editor-btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: white;
}

.online-pdf-editor-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.4);
}

.online-pdf-editor-tool-btn {
    background: #f5f5f5;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.online-pdf-editor-tool-btn:hover,
.online-pdf-editor-tool-btn.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.online-pdf-editor-btn-secondary {
    background: #6c757d;
    color: white;
}

.online-pdf-editor-btn-secondary:hover {
    background: #5a6268;
}

.online-pdf-editor-btn-download {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.online-pdf-editor-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.online-pdf-editor-btn-success {
    background: #28a745;
    color: white;
}

.online-pdf-editor-btn-success:hover {
    background: #218838;
}

.online-pdf-editor-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.online-pdf-editor-btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    background: #f5f5f5;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.online-pdf-editor-btn-icon:hover {
    background: var(--primary-purple);
    color: white;
}

.online-pdf-editor-btn-icon.active {
    background: var(--primary-purple);
    color: white;
}

/* Form Controls */
.online-pdf-editor-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
}

.online-pdf-editor-input-sm,
.online-pdf-editor-select {
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
}

.online-pdf-editor-input-sm:focus,
.online-pdf-editor-select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(106, 27, 154, 0.25);
}

.online-pdf-editor-color-input {
    height: 40px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}

.online-pdf-editor-text-style-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.online-pdf-editor-font-controls,
#onlinePdfEditorSignatureControls,
#onlinePdfEditorDrawingControls {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
}

/* Canvas Wrapper */
.online-pdf-editor-canvas-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.online-pdf-editor-canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.online-pdf-editor-page-info {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.online-pdf-editor-zoom-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

#onlinePdfEditorZoomLevel {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-purple);
    min-width: 50px;
    text-align: center;
}

.online-pdf-editor-canvas-container {
    position: relative;
    overflow: auto;
    max-height: 800px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

#onlinePdfEditorCanvas {
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background: white;
}

.online-pdf-editor-elements-layer {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.online-pdf-editor-canvas-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

/* Empty State */
.online-pdf-editor-empty-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #999;
}

.online-pdf-editor-empty-state i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.online-pdf-editor-empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}

.online-pdf-editor-empty-state p {
    font-size: 14px;
    color: #999;
}

/* Document Info */
.online-pdf-editor-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.online-pdf-editor-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.online-pdf-editor-info-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-purple);
}

/* Saved Documents List */
.online-pdf-editor-saved-list {
    max-height: 300px;
    overflow-y: auto;
}

.online-pdf-editor-saved-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.online-pdf-editor-saved-item:hover {
    background: #f0e6f6;
    transform: translateX(5px);
}

.online-pdf-editor-saved-item-info {
    flex: 1;
}

.online-pdf-editor-saved-item-info strong {
    display: block;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.online-pdf-editor-saved-item-info small {
    font-size: 11px;
    color: #666;
}

.online-pdf-editor-saved-item-actions {
    display: flex;
    gap: 5px;
}

/* Help Tips */
.online-pdf-editor-help-tips p {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.online-pdf-editor-help-tips i {
    color: var(--accent-color);
    margin-top: 2px;
}

/* Notifications */
.online-pdf-editor-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transition: right 0.3s ease;
    min-width: 300px;
}

.online-pdf-editor-notification.show {
    right: 20px;
}

.online-pdf-editor-notification i {
    font-size: 20px;
}

.online-pdf-editor-notification-success {
    border-left: 4px solid #28a745;
}

.online-pdf-editor-notification-success i {
    color: #28a745;
}

.online-pdf-editor-notification-error {
    border-left: 4px solid #dc3545;
}

.online-pdf-editor-notification-error i {
    color: #dc3545;
}

.online-pdf-editor-notification-info {
    border-left: 4px solid #17a2b8;
}

.online-pdf-editor-notification-info i {
    color: #17a2b8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .online-pdf-editor-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .online-pdf-editor-hero-title {
        font-size: 26px;
    }

    .online-pdf-editor-canvas-container {
        max-height: 600px;
    }
}

@media (max-width: 576px) {
    .online-pdf-editor-hero {
        padding: 25px 20px;
    }

    .online-pdf-editor-hero-title {
        font-size: 22px;
    }

    .online-pdf-editor-hero-description {
        font-size: 13px;
    }

    .online-pdf-editor-canvas-wrapper {
        padding: 15px;
    }

    .online-pdf-editor-canvas-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .online-pdf-editor-canvas-footer {
        flex-direction: column;
    }

    .online-pdf-editor-notification {
        min-width: 250px;
        right: -300px;
    }

    .online-pdf-editor-notification.show {
        right: 10px;
    }
}

/* Scrollbar Styling */
.online-pdf-editor-canvas-container::-webkit-scrollbar,
.online-pdf-editor-saved-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.online-pdf-editor-canvas-container::-webkit-scrollbar-thumb,
.online-pdf-editor-saved-list::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 10px;
}

.online-pdf-editor-canvas-container::-webkit-scrollbar-track,
.online-pdf-editor-saved-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* 404 Page */
.error-page {
    background: radial-gradient(circle at top right, rgba(156, 39, 176, 0.18), transparent 55%),
        linear-gradient(135deg, #ffffff 0%, #f7f1fb 45%, #eef6fb 100%);
    min-height: calc(100vh - var(--header-height));
    padding: 70px 0 90px;
}

.error-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: center;
}

.error-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 22px 50px rgba(30, 18, 62, 0.12);
    position: relative;
    overflow: hidden;
}

.error-card::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -110px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(106, 27, 154, 0.15);
}

.error-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 188, 212, 0.18);
    color: var(--dark-purple);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.error-code {
    font-size: clamp(72px, 16vw, 160px);
    line-height: 0.9;
    font-weight: 700;
    color: red;
    margin: 12px 0 6px;
}

.error-title {
    font-size: 28px;
    color: red;
    margin-bottom: 8px;
}

.error-text {
    color: #4b4b4b;
    font-size: 15px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.error-actions .btn {
    border-radius: 999px;
    padding: 10px 22px;
}

.error-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.error-links a {
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: none;
}

.error-links a:hover {
    color: var(--dark-purple);
    text-decoration: underline;
}

.error-panel {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--text-light);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 20px 40px rgba(74, 20, 140, 0.25);
}

.error-panel h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.error-panel p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.error-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.error-panel-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.error-panel-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 4px;
}

.error-panel-item a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.error-panel-item span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
}

.error-panel-footer {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991px) {
    .error-hero {
        grid-template-columns: 1fr;
    }

    .error-panel {
        order: 2;
    }

    .error-card {
        order: 1;
    }
}

@media (max-width: 575px) {
    .error-card,
    .error-panel {
        padding: 28px;
    }

    .error-title {
        font-size: 24px;
    }
}
