    /* =========================================
   1. VARIABLES & RESET
   ========================================= */

   /* Import Google Font (Plus Jakarta Sans / Inter for professional modern typography) */
/* @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #333333;
    --accent: #ff5d2c;
    --text: #222222;
    --muted: #4b5563;
    --border: #e5e7eb;
    --surface: #ffffff;
    --surface-soft: #f8f9fa;
    --dark: #0f172a;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {

    color: var(--text);
    background-color: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

h1, .h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4, .h4 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }

p {
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    color: var(--muted);
    line-height: 1.7;
}

a {
    transition: var(--transition);
}

/* =========================================
   3. UTILITIES & COMPONENTS
   ========================================= */
.bg-surface-soft { background-color: var(--surface-soft) !important; }
.text-accent { color: var(--accent) !important; }

.hover-accent:hover { color: var(--accent) !important; }
.hover-accent-link:hover { color: var(--accent) !important; }
.hover-white:hover { color: #ffffff !important; }

.card-compact {position: relative;     position: relative;
    border: 1px solid #d6d6d6;
    border-radius: 10px;}

.card-compact .post-content{padding:10px 15px;}
    .post-content h4.title{font-size:14px; font-weight: 700;}

.badge-category {
    display: inline-block;
        padding: 2px 4px;
        font-size: 12px!important;
        font-weight: 500;
        text-transform: capitalize!important;
    padding: 3px 4px!important;
        color: var(--accent);
        background: rgb(255 255 255);
        border-radius: 0.25rem;
        text-decoration: none;
        transition: var(--transition);
        position: absolute;
        top: 6px;
        left: 10px;
}


.img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    
    background-color: var(--surface-soft);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1040;
    transition: var(--transition);
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-link-custom {
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--surface-soft);
    color: var(--accent);
}

/* =========================================
   5. SEARCH OVERLAY
   ========================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.btn-close-search {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-search:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--accent) !important;
}

/* hero section */

/* Card Container Setup */
.featured-overlay-card {
    min-height: 480px; /* High-impact hero height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Background Image Animation */
.card-bg-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.featured-overlay-card:hover .card-bg-img {
    transform: scale(1.05);
}

/* Premium Dark Gradient Overlay */
.card-overlay-gradient {
    background: linear-gradient(
        180deg, 
        rgba(15, 23, 42, 0.2) 0%, 
        rgba(15, 23, 42, 0.6) 50%, 
        rgba(15, 23, 42, 0.95) 100%
    );
    z-index: 1;
}

/* Glassmorphism Badge */
.badge-glass {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Compact & Modern Overlay Typography */
.hero-title-overlay {
    font-size: clamp(1.25rem, 2vw, 1.65rem); /* Controlled, neat font size */
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.82);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.extra-small-desc {
    font-size: 0.875rem;
    line-height: 1.5;
}

.extra-small {
    font-size: 0.78rem;
}

.border-white-15 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Glassmorphism CTA Button */
.btn-glass-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-glass-primary:hover {
    background: #ff3b30;
    color: #ffffff;
    border-color: #ff3b30;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Title Hover Glow */
.hover-glow-link {
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.hover-glow-link:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Card Hover Elevation */
.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.3) !important;
}



/* ============================================================
   LATEST NEWS — Modern / ThemeForest-style
   ============================================================ */
.latest-news{
  --nw-accent:#ff5d2c;
  --nw-accent-2:#ff4d8d;
  --nw-ink:#0e1223;
  --nw-muted:#6f7691;
  --nw-line:#e8eaf4;
  --nw-bg:#fff;
  --nw-radius:20px;

  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:var(--nw-ink);
  font-family:'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(91,75,255,.10), transparent 65%),
    radial-gradient(800px 420px at -10% 110%, rgba(255,77,141,.09), transparent 65%),
    var(--nw-bg);
}
.latest-news a{ text-decoration:none; }

/* ---------- Header ---------- */
.latest-news .eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.45rem .9rem; margin-bottom:1rem;
  border-radius:100px; background:#fff; border:1px solid var(--nw-line);
  box-shadow:0 10px 24px -18px rgba(14,18,35,.55);
  color:var(--nw-accent);
  font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
}
.latest-news .section-title{
  font-size:clamp(1.9rem, 3.6vw, 3rem);
  font-weight:800; letter-spacing:-.035em; line-height:1.06;
}
.latest-news .text-gradient{
  color:#0e1223;
}
.latest-news .section-lead{
  color:var(--nw-muted); font-size:1.02rem; line-height:1.7; max-width:52ch;
}

/* ---------- Filter pills ---------- */
.filter-pill{
  display:inline-block;
  padding:.5rem 1.15rem; border-radius:100px;
  background:#fff; border:1px solid var(--nw-line);
  color:var(--nw-muted);
  font-size:.84rem; font-weight:700; white-space:nowrap;
  transition:all .28s ease;
}
.filter-pill:hover{
  color:var(--nw-accent);
  border-color:rgba(91,75,255,.35);
  transform:translateY(-2px);
  box-shadow:0 14px 26px -20px rgba(91,75,255,.9);
}
.filter-pill.active{
  color:#fff; border-color:transparent;
  background:#070707;
  box-shadow:0 16px 28px -16px rgba(91,75,255,.95);
}

/* ---------- Featured article (image overlay) ---------- */
.news-featured{
  position:relative; isolation:isolate;
  height:100%; min-height:440px;
  border-radius:10px;
  overflow:hidden;
  background:#0e1223;
  box-shadow:0 40px 70px -45px rgba(14,18,35,.75);
}
.news-featured img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  transition:transform 1s cubic-bezier(.19,1,.22,1);
}
.news-featured:hover img{ transform:scale(1.07); }
.news-featured::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,
      rgba(8,10,24,0) 28%,
      rgba(8,10,24,.55) 60%,
      rgba(8,10,24,.95) 100%);
}
.badge-cat{
  position:absolute; top:1.15rem; left:1.15rem; z-index:3;
  padding:.42rem .85rem; border-radius:100px;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  color:var(--nw-accent);
  font-size:.66rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  transition:.28s;
}
.badge-cat:hover{ background:#fff; transform:translateY(-2px); }

.news-featured__body{
  position:relative; z-index:2;
  height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:clamp(1.25rem, 2.6vw, 2.25rem);
  color:#fff;
}
.meta-row{ display:flex; flex-wrap:wrap; gap:.5rem; }
.meta-chip{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.35rem .75rem; border-radius:100px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  color:#fff; font-size:.72rem; font-weight:600;
}
.featured-title{
  font-size:clamp(1.35rem, 2.3vw, 2rem);
  font-weight:800; letter-spacing:-.02em; line-height:1.2;
  margin-bottom:.75rem;
}
.featured-title a{ color:#fff; }
.featured-title a:hover{
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}
.featured-excerpt{
  color:rgba(255,255,255,.78);
  font-size:.92rem; line-height:1.65;
  margin-bottom:1.1rem; max-width:60ch;
}
.meta-author{
  display:flex; align-items:center; gap:.7rem;
  padding-top:1rem; border-top:1px solid rgba(255,255,255,.16);
}
.meta-author img{
  width:40px; height:40px; border-radius:50%; object-fit:cover;
  border:2px solid rgba(255,255,255,.55);
}
.meta-author .name{ display:block; color:#fff; font-size:.85rem; font-weight:700; line-height:1.25; }
.meta-author .date{ display:block; color:rgba(255,255,255,.65); font-size:.75rem; }

/* ---------- Editor's picks panel ---------- */

/* Section Background & Spacing */
    .picks-trending {
        background-color: #f8fafc;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    /* Section Heading Accent */
    .picks-trending h2 {
        position: relative;
        padding-left: 14px;
        color: #0f172a;
        letter-spacing: -0.02em;
    }

    .picks-trending h2::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 22px;
        background: #ff3b30;
        border-radius: 4px;
    }

    /* Card Layout & Shadow */
    .card-featured {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 0px;
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .card-featured.card-hover:hover {
        transform: translateY(-5px);
        border-color: #cbd5e1;
        
    }

    /* Image Wrapper with Aspect Ratio & Zoom Effect */
    .card-featured .img-wrapper {
        position: relative;
        overflow: hidden;
        
        aspect-ratio: 16 / 10;
        background-color: #f1f5f9;
        
    }

    .card-featured .img-wrapper img {
        width: 100%;
        height: 100%;
        border-radius:10px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .card-featured.card-hover:hover .img-wrapper img {
        transform: scale(1.06);
    }

    /* Category Badge Style */
    .badge-category {
        display: inline-block;
        width: fit-content;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        color: #ff3b30;
        background-color: #eff6ff;
        border: 1px solid #bfdbfe;
        padding: 4px 10px;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .badge-category:hover {
        background-color: #ff3b30;
        color: #ffffff;
        border-color: #ff3b30;
    }

    /* Card Title & Link Hover */
    .card-featured h4 {
        line-height: 1.4;
        margin-top: 0.35rem;
    }

    .hover-accent-link {
        color: #0f172a !important;
        transition: color 0.2s ease;
    }

    .hover-accent-link:hover {
        color: #ff3b30 !important;
    }

    /* Time / Meta Text */
    .card-featured .text-muted {
        color: #64748b !important;
        font-size: 0.78rem;
        margin-top: auto;
        padding-top: 0.5rem;
    }

    /* Owl Carousel Dots & Nav Enhancements */
    
   
   

.news-side{
  height:100%;
  display:flex; flex-direction:column;
  padding:clamp(1.15rem, 2.2vw, 1.75rem);
  background:#fff;
  border:1px solid var(--nw-line);
  border-radius:10px;
  box-shadow:0 30px 60px -50px rgba(14,18,35,.7);
}
.news-side__head{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--nw-line);
}
.news-side__head h3{
  margin:0; font-size:.78rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
}
.side-link{
  display:inline-flex; align-items:center; gap:.35rem;
  font-size:.78rem; font-weight:700; color:var(--nw-accent);
}
.side-link i{ transition:transform .3s; }
.side-link:hover i{ transform:translateX(4px); }

.news-list{ list-style:none; margin:0; padding:0; flex:1 1 auto; }
.news-list__item{
  display:grid; grid-template-columns:88px 1fr; gap:1rem; align-items:center;
  padding:1rem 0;
  border-bottom:1px dashed var(--nw-line);
  transition:transform .3s ease;
}
.news-list__item:last-child{ border-bottom:0; }
.news-list__item:hover{ transform:translateX(5px); }
.news-list__thumb{
  display:block; width:88px; height:88px;
  border-radius:16px; overflow:hidden; background:#eef0f8;
}
.news-list__thumb img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .7s cubic-bezier(.19,1,.22,1);
}
.news-list__item:hover .news-list__thumb img{ transform:scale(1.12); }
.cat-mini{
  display:inline-block; margin-bottom:.4rem;
  padding:.24rem .58rem; border-radius:100px;
  background:rgba(91,75,255,.09); color:#ff5d2c;
  font-size:.62rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
}
.news-list__title{
  font-size:.95rem; font-weight:700; line-height:1.35;
  letter-spacing:-.01em; margin-bottom:.35rem;
}
.news-list__title a{ color:var(--nw-ink); transition:color .25s; }
.news-list__item:hover .news-list__title a{ color:#ff5d2c; }
.news-list__meta{
  display:inline-flex; align-items:center; gap:.3rem;
  font-size:.75rem; color:var(--nw-muted);
}
.side-cta{
  margin-top:1rem;
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.85rem 1rem; border-radius:14px;
  background:var(--nw-ink); color:#fff;
  font-size:.85rem; font-weight:700;
  transition:all .3s ease;
}
.side-cta i{ transition:transform .3s; }
.side-cta:hover{
  color:#fff; transform:translateY(-2px);
  background:linear-gradient(115deg, var(--nw-accent), var(--nw-accent-2));
  box-shadow:0 20px 32px -18px rgba(91,75,255,.95);
}
.side-cta:hover i{ transform:translateX(4px); }



/* Section Container */
        .tech-section {
            background-color: #fff;
        }

        /* Section Header Accent */
        .header-title-wrapper {
            position: relative;
            padding-left: 14px;
        }

        .header-title-wrapper::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: #ff3b30;
            border-radius: 4px;
            box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
        }

        .hover-accent {
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .hover-accent:hover {
            color: #ff3b30 !important;
        }

        /* Card Base Styles - Light Mode */
        .tech-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .tech-card:hover {
            transform: translateY(-50px);
            transform: translateY(-4px);
            border-color: #cbd5e1;
            box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
        }

        /* Image Wrapper & Zoom Effect */
        .card-img-container {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 9;
            background-color: #f1f5f9;
        }

        .card-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .tech-card:hover .card-img-container img {
            transform: scale(1.06);
        }

        /* Category Badges - Light Colors */
        .category-badge {
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            padding: 4px 10px;
            border-radius: 6px;
            text-transform: uppercase;
        }

        .badge-blue {
            background-color: #eff6ff;
            color: #1d4ed8;
            border: 1px solid #bfdbfe;
        }

        .badge-purple {
            background-color: #faf5ff;
            color: #7e22ce;
            border: 1px solid #e9d5ff;
        }

        .badge-green {
            background-color: #f0fdf4;
            color: #15803d;
            border: 1px solid #bbf7d0;
        }

        .badge-amber {
            background-color: #fffbeb;
            color: #b45309;
            border: 1px solid #fde68a;
        }

        /* Right Column Trending List */
        .trending-list-card {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .trending-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 10px;
            border-radius: 10px;
            transition: all 0.2s ease;
            text-decoration: none;
            border: 1px solid transparent;
        }

        .trending-item:hover {
            background-color: #f8fafc;
            border-color: #e2e8f0;
        }

        .trending-num {
            font-size: 1.1rem;
            font-weight: 800;
            color: #94a3b8;
            min-width: 24px;
            transition: color 0.2s ease;
        }

        .trending-item:hover .trending-num {
            color: #ff3b30;
        }

        .trending-thumb {
            width: 70px;
            height: 70px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
            background-color: #e2e8f0;
        }

        .trending-title {
            color: #0f172a;
            font-size: 0.88rem;
            font-weight: 600;
            line-height: 1.35;
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .trending-item:hover .trending-title {
            color: #ff3b30;
        }

        .meta-text {
            font-size: 0.75rem;
            color: #64748b;
        }


        .latest-news .news-card{padding: 0px !important;}
/* ---------- Grid cards ---------- */
.news-card{
  height:100%;
  display:flex; flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--nw-line);
  border-radius:var(--nw-radius);
  transition:transform .4s cubic-bezier(.19,1,.22,1), box-shadow .4s, border-color .4s;
}
.news-card:hover{
  transform:translateY(-5px);
  
}
.news-card__media{
  position:relative; display:block;
  aspect-ratio:16 / 10; overflow:hidden; background:#eef0f8;
}
.news-card__media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.19,1,.22,1);
}
.news-card:hover .news-card__media img{ transform:scale(1.09); }
.cat-chip{
  position:absolute; top:.9rem; left:.9rem;
  padding:.35rem .78rem; border-radius:100px;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  color:var(--nw-accent);
  font-size:.64rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
}
.news-card__body{
  display:flex; flex-direction:column; flex:1 1 auto;
  padding: 15px;
}
.news-card__meta{
  display:flex; align-items:center; gap:.5rem;
  margin-bottom:.6rem;
  font-size:.72rem; font-weight:600; color:var(--nw-muted);
}
.news-card__meta .dot{ width:4px; height:4px; border-radius:50%; background:#c9cee2; }
.news-card__title{
  font-size:1.08rem; font-weight:800; line-height:1.32;
  letter-spacing:-.015em; margin-bottom:.6rem;
}
.news-card__title a{ color:var(--nw-ink); transition:color .25s; }
.news-card__title a:hover{ color:var(--nw-accent); }
.news-card__excerpt{
  font-size:.86rem; line-height:1.65; color:var(--nw-muted);
  margin-bottom:1.15rem;
}
.read-more{
  margin-top:auto;
  display:inline-flex; align-items:center; gap:.45rem;
  font-size:.78rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:var(--nw-ink); transition:color .25s;
}
.read-more i{ transition:transform .3s; }
.news-card:hover .read-more{ color:var(--nw-accent); }
.news-card:hover .read-more i{ transform:translateX(5px); }

/* ---------- Load more ---------- */
.load-more{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.95rem 2rem; border-radius:100px;
  background:#fff; border:1px solid var(--nw-line);
  color:var(--nw-ink); font-size:.88rem; font-weight:700;
  box-shadow:0 18px 35px -28px rgba(14,18,35,.7);
  transition:all .3s ease;
}
.load-more:hover{
  color:#fff; border-color:transparent; transform:translateY(-3px);
  background:linear-gradient(115deg, var(--nw-accent), var(--nw-accent-2));
  box-shadow:0 26px 42px -22px rgba(91,75,255,.9);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px){
  .news-featured{ min-height:400px; }
  .news-side{ height:auto; }
}
@media (max-width: 575.98px){
  .news-featured{ min-height:360px; }
  .news-list__item{ grid-template-columns:72px 1fr; gap:.85rem; }
  .news-list__thumb{ width:72px; height:72px; border-radius:10px; }
  .filter-pill{ padding:.42rem .95rem; font-size:.78rem; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce){
  .latest-news *{ transition:none !important; animation:none !important; }
}







/* =========================================
   6. CARDS & HOVER EFFECTS
   ========================================= */
.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-4px);
}

.card-hover:hover .img-wrapper img {
    transform: scale(1.04);
}

.card-hover-list {
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin: -0.5rem;
}

.card-hover-list:hover {
    background: var(--surface-soft);
}

.card-editorial .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    border-radius: 0 0 0.5rem 0.5rem;
}

/* =========================================
   7. SECTIONS SPECIFIC
   ========================================= */
/* Tabs */
.nav-tabs-modern .nav-link {
    border: none;
    color: var(--muted);
 font-weight: 600;
    padding: 0px 10px;
    position: relative;
    margin: 3px 5px;
    position: relative;
    background: transparent;
}

.nav-tabs-modern .nav-link:hover {
    color: #ff3b30;
    border: none;
}

.nav-tabs-modern .nav-link.active {
    color: #ffffff;
    background: #ff3b30;
    border: none;
    border-radius: 10px;
}


/* Trending Number */
.trending-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    font-family: var(--font-heading);
    min-width: 3rem;
}

/* Newsletter */
.newsletter-section .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(255, 93, 44, 0.15);
}

/* =========================================
   8. OWL CAROUSEL CUSTOMIZATION
   ========================================= */
.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: var(--border);
    transition: var(--transition);
}

.owl-theme .owl-dots .owl-dot.active span {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.owl-theme .owl-nav [class*='owl-'] {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0 10px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* =========================================
   9. ACCESSIBILITY & FOCUS STATES
   ========================================= */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 0;
}

/* =========================================
   10. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 991.98px) {
    .trending-number {
        font-size: 2rem;
        min-width: 2.5rem;
    }
    
    .card-editorial .card-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    }
}

@media (max-width: 767.98px) {
    .hero-section .img-wrapper {
        aspect-ratio: 16/10;
    }
    
    .nav-tabs-modern {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .nav-tabs-modern::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tabs-modern .nav-link {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}




/*  */


/* --- Left Section: Latest World News Header --- */
        .section-header h2 {
            font-size: 28px;
            font-weight: 800;
            color: #1a1a1a;
            margin-bottom: 2px;
        }

        .section-header p {
            color: #888888;
            font-size: 14px;
            margin-bottom: 12px;
        }

        .header-line {
            height: 2px;
            background-color: #ff3b30;
            width: 100%;
            margin-bottom: 30px;
        }

        /* Category Filter Buttons */
        .category-filter .btn {
            border-radius: 0;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 6px 14px;
            border: 1px solid #e5e5e5;
            color: #444444;
            background-color: #f9f9f9;
        }

        .category-filter .btn-danger,
        .category-filter .btn.active {
            background-color: #ff3b30;
            border-color: #ff3b30;
            color: #ffffff;
        }

        /* News Cards */
        .news-badge {
            background-color: #ff3b30;
            color: #ffffff;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 10px;
            text-transform: capitalize;
            display: inline-block;
            margin-bottom: 10px;
        }

        .news-title {
            font-size: 20px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 10px;
        }

        .news-title a {
            color: #111111;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .news-title a:hover {
            color: #ff3b30;
        }

        .news-meta {
            font-size: 12px;
            color: #888888;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .news-meta span {
            margin-right: 15px;
        }

        .news-excerpt {
            font-size: 14px;
            color: #666666;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .author-box {
            display: flex;
            align-items: center;
        }

        .author-img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 10px;
        }

        .author-name {
            font-size: 12px;
            font-weight: 700;
            color: #222222;
            text-transform: uppercase;
        }

        .news-stats {
            font-size: 12px;
            color: #888888;
        }

        .news-stats i {
            margin-left: 10px;
            margin-right: 3px;
        }

        /* --- Right Section: Popular/Recent Sidebar --- */
        .sidebar-tabs {
            display: flex;
            border-bottom: none;
        }

        .sidebar-tabs .nav-link {
            flex: 1;
            text-align: center;
            border-radius: 0;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 12px 10px;
            color: #ffffff;
            border: none;
        }

        .sidebar-tabs .nav-link.popular-tab {
            background-color: #ff3b30;
        }

        .sidebar-tabs .nav-link.recent-tab {
            background-color: #1e1e1e;
        }

        .sidebar-tabs .nav-link.active {
            opacity: 1;
        }

        .sidebar-tabs .nav-link:not(.active) {
            opacity: 0.85;
        }

        .sidebar-content {
            border: 1px solid #eee;
            border-top: none;
            padding: 15px;
            background-color: #ffffff;
        }

        .sidebar-item {
            display: flex;
            gap: 15px;
            padding-bottom: 15px;
            margin-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }

        .sidebar-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .sidebar-thumb {
            width: 100px;
            height: 75px;
            object-fit: cover;
            border-radius: 3px;
            flex-shrink: 0;
        }

        .sidebar-item-title {
            font-size: 14px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 6px;
        }

        .sidebar-item-title a {
            color: #111111;
            text-decoration: none;
        }

        .sidebar-item-title a:hover {
            color: #ff3b30;
        }

        .sidebar-item-meta {
            font-size: 11px;
            color: #888888;
            font-weight: 600;
        }

        .sidebar-item-meta span {
            margin-right: 8px;
        }



        .post-row {border-bottom: 1px solid #ddd;
    margin-bottom: 20px;}


    /* Container positioning */
.hero-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.hero-item .post-img img {
        width: 100%;
    min-height: 230px;
    object-fit: cover;
    display: block;
    height: 230px;
}

/* Dark Overlay & Content Placement */
.hero-item .post-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Dark gradient overlay from transparent top to dark bottom */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
}

/* Title Styling */
.hero-item .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero-item .title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-item .title a:hover {
    color: #ff3b30;
}

/* Meta Text Styling */
.hero-item .meta-text {
    font-size: 13px;
    color: #e0e0e0;
    font-weight: 500;
}

.hero-item .meta-text i {
    color: #ffffff;
}

.linkurl {color:#ff3b30;}


.bg-sec {background: #eef2ff;}



/* new css  */



            /* News Card Base Styles */
            .news-card {
                position: relative;
                border-radius: 8px;
                overflow: hidden;
                background-size: cover;
                background-position: center;
                color: #ffffff;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                padding: 20px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .news-card:hover {
                transform: translateY(-4px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
            }

            /* Dark Overlay Gradient */
            .main-heroo .news-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
                z-index: 1;
            }

            .main-heroo .news-card-content {
                position: relative;
                z-index: 2;
            }

            .main-heroo .news-card-header {
                position: relative;
                z-index: 2;
                display: flex;
                justify-content: flex-end;
            }

            /* Category Badge */
            .category-badge {
                font-size: 11px;
                font-weight: 700;
                text-transform: uppercase;
                padding: 5px 12px;
                border-radius: 3px;
                letter-spacing: 0.5px;
            }

            .bg-business {
                background-color: #0088cc;
            }

            .bg-cricket {
                background-color: #70b800;
            }

            .bg-politics {
                background-color: #ff6600;
            }

            .bg-lifestyle {
                background-color: #d81b60;
            }

            .bg-music {
                background-color: #e91e63;
            }

            .bg-science {
                background-color: #00bcd4;
            }

            .bg-fashion {
                background-color: #ff1744;
            }

            /* Titles and Meta */
            .news-title {
                font-weight: 500;
                line-height: 28px;
                margin-bottom: 8px;
                color: #ffffff;
                font-size:20px;
                text-decoration: none;
                display: block;
            }

            .news-title:hover {
                color: #e0e0e0;
            }

            .news-meta {
                font-size: 12px;
                color: #f2f2f2;
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .news-meta i {
                margin-right: 4px;
            }

            /* Heights for Layout */
            .main-heroo .card-featured {
                min-height: 420px;
            }

            .card-grid {
                min-height: 200px;
            }





            
.modern-footer {
    position: relative;
    overflow: hidden;
    background: #111111;
    color: #ffffff;
    padding: 80px 0 0;
}

/* subtle editorial background detail */

.modern-footer::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -180px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.modern-footer::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -180px;
    left: -150px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: minmax(280px, 1.25fr) minmax(500px, 2fr);

    gap: 90px;

    padding-bottom: 65px;
}


/* =========================================================
   BRAND
========================================================= */



.footer-logo {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 25px;

    background: #ffffff;
    border-radius: 8px;

    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: 145px;
    height: auto;
}

.footer-description {

    margin: 0 0 28px;

    color: #f2f2f2;
text-align:justify;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-social a {
    width: 42px;
    height: 42px;

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

    color: #b5b5b5;

    border: 1px solid #2d2d2d;
    border-radius: 50%;

    text-decoration: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-social a:hover {
    color: #111111;
    background: #ffffff;
    border-color: #ffffff;

    transform: translateY(-4px);
}


/* =========================================================
   NAVIGATION
========================================================= */



.footer-column {
    min-width: 0;
}



.modern-footer h3 {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 600;

    letter-spacing: -0.02em;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    padding: 0;
    margin: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    color: #f2f2f2;

    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-links a i {
    opacity: 0;

    font-size: 12px;

    transform: translate(-5px, 5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translate(0, 0);
}


/* =========================================================
   CTA
========================================================= */

.footer-cta {
    position: relative;
    z-index: 1;

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

    gap: 30px;

    padding: 28px 30px;

    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;
}

.footer-cta-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-cta-icon {
    width: 48px;
    height: 48px;

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

    flex-shrink: 0;

    color: #111111;
    background: #ffffff;

    border-radius: 50%;

    font-size: 20px;
}

.footer-cta-label {
    display: block;

    margin-bottom: 4px;

    color: #777777;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-cta h3 {
    margin: 0;

    color: #ffffff;

    font-size: 20px;
    font-weight: 500;

    letter-spacing: -0.02em;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;

    color: #111111;
    background: #ffffff;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-cta-button:hover {
    color: #ffffff;
    background: #2a2a2a;

    transform: translateY(-2px);
}

.footer-cta-button i {
    font-size: 13px;
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 1;

    min-height: 76px;

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

    gap: 20px;

    color: #666666;

    font-size: 12px;
}

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

.footer-bottom-links a {
    color: #777777;
    text-decoration: none;

    transition: color 0.25s ease;
}

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

.footer-bottom-links span {
    color: #444444;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    width: 38px;
    height: 38px;

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

    flex-shrink: 0;

    color: #ffffff;

    border: 1px solid #303030;
    border-radius: 50%;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.back-to-top:hover {
    color: #111111;
    background: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .modern-footer {
        padding-top: 65px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .footer-brand {
        max-width: 600px;
    }

   

   

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .modern-footer {
        padding-top: 55px;
    }

    .footer-main {
        gap: 45px;
        padding-bottom: 45px;
    }

    .footer-navigation {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 25px;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;

        padding: 25px 0;
    }

    .footer-cta-button {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-wrap: wrap;

        padding: 20px 0;
    }

    .footer-bottom-links {
        order: 3;
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .footer-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .footer-column h3 {
        font-size: 17px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-cta-content {
        align-items: flex-start;
    }

    .footer-cta h3 {
        font-size: 18px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom-links {
        order: 0;
    }

    .back-to-top {
        position: absolute;
        right: 0;
        bottom: 20px;
    }

}



/* category */


        .category-header {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            color: #fff;
            padding: 1.5rem 0;
            
            position: relative;
            overflow: hidden;
        }

        .category-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, var(--primary-accent) 0%, transparent 70%);
            opacity: 0.25;
            filter: blur(60px);
        }

        .breadcrumb-item + .breadcrumb-item::before {
            color: rgba(255, 255, 255, 0.4);
        }



.cat-content {padding-right: 20px;}

/* Modern Minimal Row Post Items */
.post-row-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 0px!important;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.post-row-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 23, 68, 0.3);
    box-shadow: 0 20px 30px -10px rgba(255, 23, 68, 0.18);
}

.post-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.post-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-row-item:hover .post-img-wrapper img {
    transform: scale(1.08);
}

.post-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: #ff1744;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.35);
    z-index: 2;
}

.category-page .post-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

.category-page .post-title a {
        color: #000;
    font-size: 20px !important;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.post-title a:hover {
    color: #ff1744;
}

.post-excerpt {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.read-more-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f8fafc;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.post-row-item:hover .read-more-btn {
    background-color: #ff1744;
    color: #ffffff;
    border-color: #ff1744;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.3);
}


.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-widget:hover {
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
}

/* Modern Widget Title */
.widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    background: #ff1744;
    border-radius: 4px;
}

/* 1. Sleek Search Box */
.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-modern {
    width: 100%;
    padding: 0.75rem 2.8rem 0.75rem 1rem;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 500;
    outline: none;
    transition: all 0.25s ease;
}

.search-input-modern:focus {
    background-color: #ffffff;
    border-color: #ff1744;
    box-shadow: 0 0 0 4px rgba(255, 23, 68, 0.12);
}

.search-submit-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ff1744;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-submit-btn:hover {
    background-color: #d50000;
    transform: translateY(-50%) scale(1.05);
}

/* 2. Interactive Category Links */
.category-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    background-color: #f8fafc;
    border: 1px solid transparent;
    color: #334155;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.category-pill:last-child {
    margin-bottom: 0;
}

.category-pill:hover,
.category-pill.active {
    background-color: #ffffff;
    border-color: rgba(255, 23, 68, 0.25);
    color: #ff1744;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.08);
}

.category-badge-count {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.category-pill:hover .category-badge-count,
.category-pill.active .category-badge-count {
    background-color: #ff1744;
    color: #ffffff;
}

/* 3. Trending Posts Design */
.trending-post-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
}

.trending-post-card:last-child {
    margin-bottom: 0;
}

.trending-post-card:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.trending-img-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.trending-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trending-post-card:hover .trending-img-wrapper img {
    transform: scale(1.1);
}

.trending-post-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.trending-post-card:hover .trending-post-title {
    color: #ff1744;
}

.trending-meta {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sticky Main Sidebar Box */
.sidebar-box-main {
    position: sticky;
    top: 85px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

/* Section Title inside Sidebar */
.widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #ff1744;
    border-radius: 2px;
}

/* Sidebar Divider Line */
.sidebar-divider {
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0;
}

/* Search Box Design */
.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-modern {
    width: 100%;
    padding: 0.7rem 2.8rem 0.7rem 0.9rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #0f172a;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}

.search-input-modern:focus {
    background-color: #ffffff;
    border-color: #ff1744;
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.12);
}

.search-submit-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #ff1744;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-submit-btn:hover {
    background-color: #d50000;
}

/* Category Pills */
.category-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.4rem;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid transparent;
    color: #334155;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-pill:last-child {
    margin-bottom: 0;
}

.category-pill:hover,
.category-pill.active {
    background-color: #ffffff;
    border-color: rgba(255, 23, 68, 0.25);
    color: #ff1744;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-badge-count {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.category-pill:hover .category-badge-count,
.category-pill.active .category-badge-count {
    background-color: #ff1744;
    color: #ffffff;
}

/* Trending Posts */
.trending-post-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: all 0.2s ease;
}

.trending-post-card:last-child {
    margin-bottom: 0;
}

.trending-post-card:hover {
    background-color: #f8fafc;
}

.trending-img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.trending-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-post-card:hover .trending-img-wrapper img {
    transform: scale(1.08);
}

.trending-post-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.trending-post-card:hover .trending-post-title {
    color: #ff1744;
}

.trending-meta {
    font-size: 0.73rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-accent {
    background-color: #ff1744;
    color: #ffffff;
    font-weight: 700;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    border: none;
    transition: all 0.2s ease;
}

.btn-accent:hover {
    background-color: #d50000;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(255, 23, 68, 0.4);
}

/* Pagination Styling */
.pagination .page-link {
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    margin: 0 3px;
    border-radius: 10px;
    padding: 0.55rem 0.95rem;
}

.pagination .page-item.active .page-link {
    background-color: #ff1744;
    border-color: #ff1744;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.35);
}



/* single-detail */

.single-detail {
            padding: 30px 0;
        }

        /* Hero Blog Post Card */
      /* Blog Post Image Container Styling */
.blog-post {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Smooth rounded corners */
 
    background: #ffffff;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

/* Hover Effect on Container */
.blog-post:hover {
    
    transform: translateY(-4px); /* Floating effect */
}

/* Image Styling */
.blog-post img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease-in-out;
}




        /* Post Title Styling */
        .post-title {
           font-size: 29px;
    font-weight: 700;
    color: #0f172a;
    line-height: 39px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
        }

        /* Modern Post Meta Styling with Bootstrap Icons */
        .post-meta {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 18px;
                /* background: #fff;
                padding: 10px 11px; */
                /* border-radius: 12px; */
                /* border: 1px solid #e2e8f0; */
                /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); */
                margin-bottom: 15px;
                font-size: 0.9rem;
                color: #000000;
                display: inline-flex;
        }

        .post-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
        }

        .post-meta-item i {
            color: #ff1744;
            font-size: 1rem;
        }

        .post-meta-item.author {
            color: #0f172a;
            font-weight: 600;
        }

        .post-meta-divider {
            width: 4px;
            height: 4px;
            background-color: #cbd5e1;
            border-radius: 50%;
        }

       

        /* Headings (h2, h3, h4, h5) */
        .single-detail .post-content h2,
        .single-detail .post-content h3,
        .single-detail .post-content h4,
        .single-detail .post-content h5 {
            color: #0f172a;
            font-weight: 700;
            line-height: 1.35;
            margin-top: 35px;
            margin-bottom: 16px;
        }

        .single-detail .post-content h2, .single-detail .post-content h3, .single-detail .post-content h4 {border-left: 4px solid #ff1744;     padding-left: 14px;}
        .single-detail .post-content h2 {
            font-size: 1.75rem;
            border-left: 4px solid #ff1744;
            padding-left: 14px;
        }

        .single-detail .post-content h3 { font-size: 1.45rem; }
        .single-detail .post-content h4 { font-size: 1.25rem; }
        .single-detail .post-content h5 { font-size: 1.1rem; }

        /* Paragraphs & Links */
        .post-content p {
               margin-bottom: 22px;
    color: #475569;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: 0.5px;
    font-weight: 400;
    text-shadow: 0 0 black;
        }

        .post-content a {
            color: #ff1744;
            text-decoration: underline;
            text-underline-offset: 4px;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        .post-content a:hover {
            color: #ff1744;
        }

        /* Lists (ul, ol, li) */
        .post-content ul,
        .post-content ol {
            padding-left: 24px;
            margin-bottom: 25px;
        }

        .post-content li {
            margin-bottom: 10px;
            color: #334155;
        }

        .post-content ul li::marker {
            color: #ff1744;
        }

        .post-content ol li::marker {
            color: #ff1744;
            font-weight: 700;
        }

.post-content ul li, .post-content ol li, .post-content li{ color: #475569;
    font-size: 17px;
    line-height: 29px;
    letter-spacing: 0.5px;
    font-weight: 400;
    text-shadow: 0 0 black;}
    .post-content p{ margin-bottom: 22px;
        text-align: justify;
    color: #475569;
    font-size: 17px;
    line-height: 29px;
    letter-spacing: 0.5px;
    font-weight: 400;
    text-shadow: 0 0 black;}
       
        /* Responsive Fixes */
        @media (max-width: 768px) {
            .post-title { font-size: 1.75rem; }
            .post-content { padding: 25px 20px; }
            .post-meta { gap: 12px;  }
        }



        /* contact us apge */


          .contact-section {
            padding: 40px 0;
        }

        /* Section Header */
        .contact-header {
            text-align: center;
            max-width: 650px;
            margin: 0 auto 50px auto;
        }

      

        .contact-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 12px;
        }

        .contact-header p {
            color: #64748b;
            font-size: 1.05rem;
        }

        /* Outer Main Wrapper Box */
        .contact-wrapper {
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
            border: 1px solid #e2e8f0;
            overflow: hidden;
            padding: 16px;
        }

        /* Left Column: Contact Info Card */
        .contact-info-card {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            color: #ffffff;
            border-radius: 18px;
            padding: 40px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .contact-info-card h3 {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .contact-info-card p.subtitle {
            color: #94a3b8;
            font-size: 0.95rem;
            margin-bottom: 35px;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 28px;
        }

        .info-icon {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.1);
            color: #38bdf8;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .info-item:hover .info-icon {
            background: #ff1744;
            color: #ffffff;
            transform: translateY(-3px);
        }

        .info-text h6 {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #94a3b8;
            margin-bottom: 4px;
        }

        .info-text p, .info-text a {
            color: #f1f5f9;
            font-weight: 500;
            margin: 0;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.2s ease;
        }

        .info-text a:hover {
            color: #38bdf8;
        }

        /* Social Icons */
        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .social-btn {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-btn:hover {
            background: #ff1744;
            color: #ffffff;
            transform: translateY(-3px);
        }

        /* Right Column: Contact Form */
        .contact-form-wrapper {
            padding: 30px 20px;
        }

        .form-label {
            font-weight: 600;
            font-size: 0.9rem;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .form-control, .form-select {
            border: 1.5px solid #e2e8f0;
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 0.95rem;
            color: #0f172a;
            background-color: #f8fafc;
            transition: all 0.25s ease;
        }

        .form-control:focus, .form-select:focus {
            background-color: #ffffff;
            border-color: #ff1744;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
            outline: none;
        }

        .btn-submit {
            background-color: #ff1744;
            color: #ffffff;
            font-weight: 600;
            padding: 14px 28px;
            border-radius: 10px;
            border: none;
            width: 100%;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .btn-submit:hover {
            background-color: #1d4ed8;
            box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
            transform: translateY(-2px);
        }

        /* Responsive Adjustments */
        @media (max-width: 991px) {
            .contact-info-card {
                padding: 30px 24px;
            }
            .contact-form-wrapper {
                padding: 25px 10px 10px 10px;
            }
        }


        /* 404 error */
        /* Subtle Background Glows */
        .bg-glow-1 {
            position: absolute;
            width: 350px;
            height: 350px;
            background: rgba(37, 99, 235, 0.25);
            filter: blur(100px);
            border-radius: 50%;
            top: 15%;
            left: 20%;
            z-index: 0;
        }

        .bg-glow-2 {
            position: absolute;
            width: 300px;
            height: 300px;
            background: rgba(168, 85, 247, 0.2);
            filter: blur(100px);
            border-radius: 50%;
            bottom: 15%;
            right: 20%;
            z-index: 0;
        }

        /* Main Container Card */
        .error-card {
            position: relative;
            z-index: 1;
            background: rgba(30, 41, 59, 0.7);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 28px;
            padding: 50px 40px;
            max-width: 680px;
            width: 100%;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            text-align: center;
        }

        /* Floating 404 Text Graphic */
        .error-code-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 20px;
        }

        .error-code {
            font-size: 7.5rem;
            font-weight: 800;
            line-height: 1;
            letter-spacing: -0.04em;
            background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin: 0;
            animation: float 4s ease-in-out infinite;
        }

        .error-icon-badge {
            position: absolute;
            top: 10px;
            right: -20px;
            width: 50px;
            height: 50px;
            background: #2563eb;
            color: #ffffff;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
            transform: rotate(12deg);
            animation: floatBadge 4s ease-in-out infinite;
        }

        /* Typography */
        .error-title {
            font-size: 1.85rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
        }

        .error-description {
            color: #94a3b8;
            font-size: 1.05rem;
            max-width: 460px;
            margin: 0 auto 30px auto;
        }

        /* Quick Search Bar */
        .search-box {
            position: relative;
            max-width: 440px;
            margin: 0 auto 30px auto;
        }

        .search-box .form-control {
            background-color: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            padding: 12px 16px 12px 42px;
            color: #ffffff;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .search-box .form-control:focus {
            background-color: rgba(15, 23, 42, 0.9);
            border-color: #60a5fa;
            box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
            outline: none;
        }

        .search-box .form-control::placeholder {
            color: #64748b;
        }

        .search-box .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            font-size: 1.1rem;
        }

        /* Action Buttons */
        .action-btns {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            color: #ffffff;
            font-weight: 600;
            padding: 12px 26px;
            border-radius: 12px;
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
        }

        .btn-primary-custom:hover {
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 14px 24px -5px rgba(37, 99, 235, 0.5);
        }

        .btn-secondary-custom {
            background: rgba(255, 255, 255, 0.08);
            color: #f1f5f9;
            font-weight: 600;
            padding: 12px 24px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .btn-secondary-custom:hover {
            background: rgba(255, 255, 255, 0.15);
            color: #ffffff;
            transform: translateY(-2px);
        }

        /* Keyframe Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        @keyframes floatBadge {
            0%, 100% { transform: rotate(12deg) translateY(0px); }
            50% { transform: rotate(12deg) translateY(-8px); }
        }

        /* Responsive Fixes */
        @media (max-width: 576px) {
            .error-card {
                padding: 35px 20px;
                margin: 20px;
            }
            .error-code {
                font-size: 5.5rem;
            }
            .error-title {
                font-size: 1.5rem;
            }
            .error-icon-badge {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
                right: -10px;
            }
        }


        /* error page */
        
        .background-grid {
            position: fixed;
            inset: 0;
            pointer-events: none;
            background-image:
                linear-gradient(
                    rgba(17, 17, 17, 0.035) 1px,
                    transparent 1px
                ),
                linear-gradient(
                    90deg,
                    rgba(17, 17, 17, 0.035) 1px,
                    transparent 1px
                );
            background-size: 55px 55px;
            mask-image: linear-gradient(
                to bottom,
                black 20%,
                #000 95%
            );
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            filter: blur(2px);
        }

        .orb-one {
            width: 420px;
            height: 420px;
            top: -180px;
            right: -130px;
            background: rgba(255, 93, 44, 0.12);
        }

        .orb-two {
            width: 300px;
            height: 300px;
            bottom: -150px;
            left: -120px;
            background: rgba(17, 17, 17, 0.06);
        }




        
        .error-main {
            flex: 1;
            width: min(1100px, calc(100% - 40px));
            margin: 0 auto;
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 55px 0 90px;
        }

        .error-content {
            width: 100%;
            text-align: center;
        }

        /* ==============================
           404 NUMBER
        ============================== */

        .error-number-wrapper {
            position: relative;
            width: fit-content;
            margin: 0 auto 25px;
        }

        .error-number {
            font-size: 22rem;
            line-height: 20rem;
            
            font-weight: 700;

            background: linear-gradient(
                135deg,
                #111111 15%,
                #383838 48%,
                #ff5d2c 100%
            );

            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;

            user-select: none;
        }

        .error-badge {
            position: absolute;
            right: 5%;
            top: 10%;
            padding: 8px 13px;
            border-radius: 100px;
            color: var(--white);
            background: var(--accent);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            transform: rotate(8deg);
            box-shadow: 0 10px 30px rgba(255, 93, 44, 0.25);
        }

        /* ==============================
           CONTENT
        ============================== */

        .error-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
            color: var(--accent);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .error-label::before {
            content: "";
            width: 28px;
            height: 2px;
            background: var(--accent);
        }

        .error-title {
            max-width: 700px;
            margin: 0 auto 16px;
            color:#000!important;
            font-family: "Space Grotesk", sans-serif;
            font-size: clamp(34px, 5vw, 58px);
            line-height: 1.04;
            letter-spacing: -0.055em;
        }

        .error-description {
            max-width: 570px;
            margin: 0 auto;
            color: var(--secondary);
            font-size: 16px;
            line-height: 1.7;
        }


        /* ==============================
           ACTIONS
        ============================== */

        .error-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 20px;
        }

        .btn {
            min-height: 48px;
            padding: 0 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 600;
            transition:
                transform 0.25s ease,
                background 0.25s ease,
                border-color 0.25s ease;
        }

        .btn-primary {
            color: var(--white);
            background: var(--primary);
        }

        .btn-primary:hover {
            background: var(--accent);
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(255, 93, 44, 0.2);
        }

        .btn-secondary {
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, 0.7);
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            background: var(--white);
            transform: translateY(-3px);
        }

        .btn svg {
            width: 16px;
            height: 16px;
        }


        /* ==============================
           FLOATING ELEMENTS
        ============================== */

        .floating-dot {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
            animation: float 4s ease-in-out infinite;
        }

        .dot-one {
            top: 25%;
            left: 12%;
        }

        .dot-two {
            right: 13%;
            bottom: 30%;
            width: 5px;
            height: 5px;
            animation-delay: 1s;
        }

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

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

        /* ==============================
           RESPONSIVE
        ============================== */

        @media (max-width: 767px) {
            .cat-content{padding:18px!important;}

            .category-tabs .card-compact {margin-bottom: 20px; height: auto !important;}
          
            

            .error-main {
                width: min(100% - 28px, 1100px);
                padding: 45px 0 65px;
            }

            .error-number {
                font-size: 10rem;
                line-height: normal;
            }

            .error-badge {
                right: 0;
                top: 0;
                font-size: 10px;
                padding: 6px 9px;
            }

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

            .error-description {
                font-size: 14px;
                line-height: 1.65;
            }

            .error-search {
                border-radius: 18px;
                flex-wrap: wrap;
                padding: 7px;
            }

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

            .btn {
                width: 100%;
            }

            .error-footer {
                width: min(100% - 28px, 1100px);
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                gap: 14px;
            }

            .floating-dot {
                display: none;
            }
        }
