/* ==========================================================
   ARNA JOB ALERTS
   STYLE.CSS
   PRODUCTION VERSION
   PART 1
========================================================== */

/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* ==========================================================
ROOT
========================================================== */

:root{

    --primary:#0d6efd;
    --primary-dark:#084298;

    --success:#198754;
    --danger:#dc3545;
    --warning:#ffc107;

    --text:#222;
    --text-light:#666;

    --bg:#f4f7fb;
    --white:#ffffff;

    --border:#e8e8e8;

    --radius:18px;

    --shadow:0 8px 20px rgba(0,0,0,.08);
    --shadow-hover:0 18px 40px rgba(0,0,0,.15);

    --transition:.30s;

}

/* ==========================================================
RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Poppins",sans-serif;

    background:var(--bg);

    color:var(--text);

    line-height:1.6;

    font-size:15px;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

ul{

    list-style:none;

    padding:0;

    margin:0;

}

button,
input{

    font-family:inherit;

}

button:focus,
input:focus{

    outline:none;
    box-shadow:none!important;

}

::selection{

    background:var(--primary);
    color:#fff;

}

/* ==========================================================
SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

/* ==========================================================
HEADER
========================================================== */

header{

    background:#fff;

    border-bottom:1px solid var(--border);

    z-index:999;

}

.navbar{

    padding:14px 0;

}

.navbar-brand{

    font-size:30px;

    font-weight:800;

    color:var(--primary)!important;

}

.navbar-brand i{

    margin-right:8px;

}

.nav-link{

    color:#333!important;

    font-weight:600;

    padding:10px 15px!important;

    border-radius:10px;

    transition:var(--transition);

}

.nav-link:hover,

.nav-link.active{

    background:var(--primary);

    color:#fff!important;

}

/* ==========================================================
HERO SEARCH
========================================================== */

.hero-search{

    padding:60px 0;

}

.hero-box{

    background:#fff;

    border-radius:25px;

    padding:50px;

    text-align:center;

    box-shadow:var(--shadow);

}

.hero-box h1{

    font-size:42px;

    font-weight:800;

    margin-bottom:15px;

}

.hero-box p{

    color:var(--text-light);

    font-size:18px;

    margin-bottom:30px;

}

.search-box{

    display:flex;

    max-width:700px;

    margin:auto;

    gap:12px;

}

.search-box input{

    flex:1;

    height:58px;

    border:none;

    border-radius:40px;

    padding:0 24px;

    background:#f5f7fb;

}

.search-box button{

    border:none;

    background:var(--primary);

    color:#fff;

    padding:0 28px;

    border-radius:40px;

    font-weight:700;

    transition:var(--transition);

}

.search-box button:hover{

    background:var(--primary-dark);

}

/* ==========================================================
BREAKING NEWS
========================================================== */

.breaking-news{

    margin:20px 0;

}

.breaking-box{

    display:flex;

    overflow:hidden;

    border-radius:14px;

    background:#fff;

    box-shadow:var(--shadow);

}

.breaking-title{

    background:#ff0000;

    color:#fff;

    padding:14px 22px;

    font-weight:700;

}

#breakingNews{

    width:100%;

    padding:14px;

    font-weight:600;

}

marquee{

    font-weight:600;

}

/* ==========================================================
CATEGORY BUTTONS
========================================================== */

.category-btn{

    border-radius:30px;

    font-weight:600;

    transition:var(--transition);

}

.category-btn:hover{

    transform:translateY(-2px);

}

.district-filter{

    display:flex;

    gap:10px;

    overflow-x:auto;

    padding-bottom:10px;

    scrollbar-width:none;

}

.district-filter::-webkit-scrollbar{

    display:none;

}

.district-btn{

    border:none;

    background:#fff;

    padding:10px 18px;

    border-radius:30px;

    font-weight:600;

    white-space:nowrap;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.district-btn:hover,

.district-btn.active{

    background:var(--primary);

    color:#fff;

}

/* ==========================================================
LIVE STATISTICS
========================================================== */

.stats-section{

    padding:35px 0;

}

.stats-card{

    background:#fff;

    border-radius:var(--radius);

    padding:30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

    height:100%;

}

.stats-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-hover);

}

.stats-card h2{

    font-size:38px;

    font-weight:800;

    color:var(--primary);

    margin-bottom:10px;

}

.stats-card p{

    margin:0;

    color:var(--text-light);

    font-weight:600;

}

/* ==========================================================
SECTION TITLES
========================================================== */

.section-title,

.latest-title{

    font-size:30px;

    font-weight:800;

    margin-bottom:22px;

    display:inline-block;

    border-bottom:3px solid var(--primary);

    padding-bottom:8px;

}

/* ==========================================================
FEATURED SLIDER
========================================================== */

.featured-job{

    position:relative;

    overflow:hidden;

    border-radius:22px;

}

.featured-job img{

    width:100%;

    height:360px;

    object-fit:cover;

}

.featured-overlay{

    position:absolute;

    inset:auto 0 0 0;

    padding:35px;

    color:#fff;

    background:linear-gradient(

        transparent,

        rgba(0,0,0,.82)

    );

}

.featured-overlay h2{

    font-size:34px;

    font-weight:800;

    margin-bottom:10px;

}

.featured-overlay p{

    font-size:17px;

    margin-bottom:18px;

}

.carousel-control-prev,

.carousel-control-next{

    width:7%;

}

/* ==========================================================
JOB CARD
========================================================== */

.job-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

    height:100%;

    position:relative;

}

.job-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.job-image-box{

    position:relative;

    overflow:hidden;

}

.job-image{

    width:100%;

    height:210px;

    object-fit:cover;

    transition:.35s;

}

.job-card:hover .job-image{

    transform:scale(1.06);

}

.new-badge{

    position:absolute;

    top:12px;

    left:12px;

    background:#ff0000;

    color:#fff;

    padding:6px 12px;

    border-radius:25px;

    font-size:12px;

    font-weight:700;

}

.urgent-badge{

    position:absolute;

    top:50px;

    left:12px;

    background:#ff4d4d;

    color:#fff;

    padding:6px 12px;

    border-radius:25px;

    font-size:12px;

    font-weight:700;

}

.video-badge{

    position:absolute;

    bottom:15px;

    right:15px;

    background:#E1306C;

    color:#fff;

    padding:7px 14px;

    border-radius:25px;

    font-size:12px;

    font-weight:700;

}

.job-content{

    padding:20px;

}

.job-title{

    font-size:21px;

    font-weight:700;

    line-height:1.45;

    margin-bottom:15px;

    min-height:60px;

}

.job-info{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:12px;

    color:var(--text-light);

    font-size:14px;

}

.job-info span{

    display:flex;

    align-items:center;

    gap:6px;

}

.salary{

    display:inline-block;

    background:#e8fff0;

    color:#008d3b;

    padding:5px 12px;

    border-radius:20px;

    font-size:13px;

    font-weight:700;

}

.last-date{

    display:inline-block;

    background:#fff4e5;

    color:#d97706;

    padding:5px 12px;

    border-radius:20px;

    font-size:13px;

    font-weight:700;

}

.views{

    margin-top:12px;

    font-size:13px;

    color:#888;

}

.view-btn{

    width:100%;

    margin-top:18px;

    border-radius:12px;

    font-weight:700;

}

/* ==========================================================
SOCIAL ROW
========================================================== */

.social-row{

    display:flex;

    gap:10px;

    margin-top:15px;

}

.social-row a{

    flex:1;

    text-align:center;

    color:#fff;

    padding:10px;

    border-radius:10px;

    font-weight:600;

}

.instagram{

    background:#E1306C;

}

.youtube{

    background:#ff0000;

}

.social-row a:hover{

    opacity:.92;

    color:#fff;

}

/* ==========================================================
TRENDING
========================================================== */

.trending-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

    height:100%;

}

.trending-card:hover{

    transform:translateY(-6px);

}

.trending-card img{

    width:100%;

    height:180px;

    object-fit:cover;

}

.trending-body{

    padding:18px;

}

.trending-title{

    font-size:18px;

    font-weight:700;

    margin-bottom:12px;

}

.trending-tags{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

}

.trending-tags span{

    background:#eef5ff;

    color:var(--primary);

    padding:6px 10px;

    border-radius:20px;

    font-size:12px;

    font-weight:700;

}

/* ==========================================================
ADVERTISEMENT
========================================================== */

.ad-box,

.ad-space{

    background:#fff;

    border:2px dashed #d4d4d4;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:#888;

    font-weight:700;

}

.ad-box{

    height:220px;

}

.ad-space{

    padding:35px;

    margin:30px 0;

}

/* ==========================================================
SIDEBAR
========================================================== */

.sidebar{
    position:sticky;
    top:90px;
}

.card{
    border:none;
    border-radius:18px;
    box-shadow:var(--shadow);
}

.card-header{
    font-size:18px;
    font-weight:700;
}

.list-group-item{
    padding:14px 18px;
    font-weight:500;
    transition:var(--transition);
    cursor:pointer;
}

.list-group-item:hover{
    background:var(--primary);
    color:#fff;
    padding-left:26px;
}

/* ==========================================================
JOB DETAILS HERO
========================================================== */

.job-hero{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:var(--shadow);
    margin-bottom:30px;
}

.hero-image{
    position:relative;
}

.hero-image img{
    width:100%;
    height:420px;
    object-fit:cover;
}

.hero-badges{
    position:absolute;
    top:20px;
    left:20px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.hero-badges .badge{
    border-radius:30px;
    padding:10px 18px;
    font-size:14px;
}

.hero-content{
    padding:30px;
}

.hero-content h1{
    font-size:40px;
    font-weight:800;
    margin-bottom:12px;
}

.hero-subtitle{
    font-size:18px;
    color:var(--text-light);
}

/* ==========================================================
INFO CARDS
========================================================== */

.info-card{
    background:#fff;
    border-radius:18px;
    padding:20px;
    display:flex;
    align-items:center;
    gap:18px;
    box-shadow:var(--shadow);
    transition:var(--transition);
    height:100%;
}

.info-card:hover{
    transform:translateY(-5px);
}

.info-icon{
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.info-card h6{
    margin:0;
    color:var(--text-light);
    font-size:14px;
}

.info-card p{
    margin:5px 0 0;
    font-size:18px;
    font-weight:700;
}

/* ==========================================================
DESCRIPTION
========================================================== */

.description-card{
    background:#fff;
    border-radius:20px;
    padding:25px;
    box-shadow:var(--shadow);
}

.description-card h4{
    margin-bottom:15px;
}

/* ==========================================================
DETAIL LISTS
========================================================== */

#vacancyList,
#documentList,
#dateList{

    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:var(--shadow);
    margin-bottom:25px;

}

#vacancyList li,
#documentList li,
#dateList li{

    list-style:none;
    padding:12px 0;
    border-bottom:1px solid #eee;

}

#vacancyList li:last-child,
#documentList li:last-child,
#dateList li:last-child{

    border-bottom:none;

}

/* ==========================================================
ACTION BUTTONS
========================================================== */

.action-buttons{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:30px;

}

.action-btn{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:16px;

    border:none;
    border-radius:15px;

    color:#fff;
    font-weight:700;

    transition:var(--transition);

}

.action-btn:hover{

    transform:translateY(-4px);
    color:#fff;

}

.apply-btn{
    background:#16a34a;
}

.notification-btn{
    background:#2563eb;
}

.youtube-btn{
    background:#ff0000;
}

.instagram-btn{
    background:#E1306C;
}

.save-btn{
    background:#f59e0b;
}

.share-btn{
    background:#06b6d4;
}

/* ==========================================================
RELATED JOBS
========================================================== */

.related-job{

    display:flex;
    gap:12px;

    padding:12px;

    border-bottom:1px solid #eee;

    background:#fff;

    transition:var(--transition);

}

.related-job:hover{

    background:#f4f8ff;

}

.related-job img{

    width:95px;
    height:70px;

    border-radius:10px;

    object-fit:cover;

}

.related-job h6{

    font-size:15px;
    font-weight:700;
    margin-bottom:6px;

}

.related-job p{

    margin:0;
    color:var(--text-light);
    font-size:13px;

}

/* ==========================================================
FLOATING BUTTONS
========================================================== */

.floating-whatsapp,
.floating-telegram{

    position:fixed;

    right:20px;

    width:60px;
    height:60px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    font-size:28px;

    z-index:999;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.floating-whatsapp{

    bottom:95px;
    background:#25D366;

}

.floating-telegram{

    bottom:165px;
    background:#229ED9;

}

.floating-whatsapp:hover,
.floating-telegram:hover{

    transform:scale(1.08);

    color:#fff;

}

/* ==========================================================
SCROLL TO TOP
========================================================== */

.top-btn{

    position:fixed;

    left:20px;
    bottom:25px;

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    font-size:22px;

    cursor:pointer;

    display:none;

    z-index:999;

    box-shadow:var(--shadow);

}

/* ==========================================================
BOTTOM NAVIGATION
========================================================== */

.bottom-nav{

    position:fixed;

    left:0;
    bottom:0;

    width:100%;
    height:70px;

    background:#fff;

    display:flex;

    justify-content:space-around;
    align-items:center;

    box-shadow:0 -5px 20px rgba(0,0,0,.12);

    z-index:9999;

}

.bottom-item{

    display:flex;
    flex-direction:column;
    align-items:center;

    color:#666;

    font-size:13px;
    font-weight:600;

    transition:var(--transition);

}

.bottom-item i{

    font-size:22px;
    margin-bottom:5px;

}

.bottom-item.active,
.bottom-item:hover{

    color:var(--primary);

}

@media(min-width:992px){

    .bottom-nav{
        display:none;
    }

}

/* ==========================================================
FOOTER
========================================================== */

.footer{

    background:#0f172a;

    color:#fff;

    padding:60px 0 20px;

    margin-top:60px;

}

.footer h3,
.footer h5{

    font-weight:700;
    margin-bottom:20px;

}

.footer p{

    color:#cbd5e1;
    line-height:1.8;

}

.footer a{

    color:#cbd5e1;
    transition:var(--transition);

}

.footer a:hover{

    color:#38bdf8;

}

.footer-social{

    display:flex;
    gap:12px;
    margin-top:15px;

}

.footer-social a{

    width:45px;
    height:45px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#1e293b;

    font-size:18px;

}

.footer-social a:hover{

    background:var(--primary);
    color:#fff;

}

.footer-bottom{

    text-align:center;

    margin-top:25px;

    color:#94a3b8;

    font-size:15px;

}

/* ==========================================================
ANIMATIONS
========================================================== */

.fade-up{
    animation:fadeUp .6s ease both;
}

.fade-in{
    animation:fadeIn .5s ease both;
}

.zoom-in{
    animation:zoomIn .35s ease both;
}

.slide-left{
    animation:slideLeft .45s ease both;
}

.slide-right{
    animation:slideRight .45s ease both;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes fadeIn{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

@keyframes zoomIn{

    from{
        opacity:0;
        transform:scale(.94);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

@keyframes slideLeft{

    from{
        opacity:0;
        transform:translateX(-25px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

@keyframes slideRight{

    from{
        opacity:0;
        transform:translateX(25px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

/* ==========================================================
LOADING SKELETON
========================================================== */

.loading{

    width:100%;
    height:220px;

    border-radius:18px;

    background:linear-gradient(
        90deg,
        #ececec 25%,
        #f7f7f7 50%,
        #ececec 75%
    );

    background-size:400% 100%;

    animation:skeleton 1.4s infinite;

}

.loading-text{

    height:18px;

    width:70%;

    border-radius:8px;

    margin:10px 0;

    background:inherit;

}

.loading-small{

    height:12px;

    width:40%;

    border-radius:6px;

    background:inherit;

}

@keyframes skeleton{

    0%{
        background-position:100% 0;
    }

    100%{
        background-position:-100% 0;
    }

}

/* ==========================================================
UTILITY CLASSES
========================================================== */

.shadow-custom{
    box-shadow:var(--shadow)!important;
}

.shadow-hover:hover{
    box-shadow:var(--shadow-hover)!important;
}

.radius{
    border-radius:var(--radius)!important;
}

.bg-primary-soft{
    background:#eef5ff;
}

.bg-success-soft{
    background:#e8fff0;
}

.bg-warning-soft{
    background:#fff8e6;
}

.bg-danger-soft{
    background:#ffe9e9;
}

.text-muted{
    color:var(--text-light)!important;
}

.cursor-pointer{
    cursor:pointer;
}

.transition{
    transition:var(--transition);
}

.object-cover{
    object-fit:cover;
}

.text-truncate-2{

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

.text-truncate-3{

    display:-webkit-box;

    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

/* ==========================================================
TABLET
========================================================== */

@media (max-width:992px){

    .hero-box{

        padding:35px;

    }

    .hero-box h1{

        font-size:34px;

    }

    .featured-job img{

        height:260px;

    }

    .hero-image img{

        height:320px;

    }

    .hero-content h1{

        font-size:30px;

    }

    .sidebar{

        position:static;

        margin-top:30px;

    }

    .navbar-brand{

        font-size:25px;

    }

}

/* ==========================================================
MOBILE
========================================================== */

@media (max-width:768px){

    body{

        font-size:14px;

    }

    .hero-search{

        padding:30px 0;

    }

    .hero-box{

        padding:25px;

    }

    .hero-box h1{

        font-size:28px;

    }

    .hero-box p{

        font-size:15px;

    }

    .search-box{

        flex-direction:column;

    }

    .search-box input,
    .search-box button{

        width:100%;

    }

    .featured-job img{

        height:220px;

    }

    .featured-overlay{

        padding:20px;

    }

    .featured-overlay h2{

        font-size:24px;

    }

    .job-image{

        height:180px;

    }

    .job-title{

        min-height:auto;

        font-size:18px;

    }

    .job-info{

        flex-direction:column;

        gap:8px;

    }

    .action-buttons{

        grid-template-columns:1fr;

    }

    .social-row{

        flex-direction:column;

    }

    .floating-whatsapp{

        width:55px;
        height:55px;
        right:15px;
        bottom:80px;

    }

    .floating-telegram{

        width:55px;
        height:55px;
        right:15px;
        bottom:145px;

    }

    .top-btn{

        width:50px;
        height:50px;
        left:15px;
        bottom:15px;

    }

}

/* ==========================================================
SMALL MOBILE
========================================================== */

@media (max-width:480px){

    .container{

        padding-left:14px;
        padding-right:14px;

    }

    .navbar-brand{

        font-size:22px;

    }

    .section-title,
    .latest-title{

        font-size:24px;

    }

    .hero-content{

        padding:20px;

    }

    .hero-content h1{

        font-size:24px;

    }

    .info-card{

        padding:16px;

    }

    .info-icon{

        width:50px;
        height:50px;
        font-size:22px;

    }

}

/* ==========================================================
DARK MODE
========================================================== */

body.dark{
    background:#0f172a;
    color:#f8fafc;
}

body.dark header,
body.dark .hero-box,
body.dark .card,
body.dark .job-card,
body.dark .featured-job,
body.dark .info-card,
body.dark .description-card,
body.dark .stats-card,
body.dark .trending-card,
body.dark .breaking-box,
body.dark #vacancyList,
body.dark #documentList,
body.dark #dateList,
body.dark .related-job{
    background:#1e293b;
    color:#f8fafc;
}

body.dark .nav-link{
    color:#f8fafc !important;
}

body.dark .nav-link:hover,
body.dark .nav-link.active{
    background:var(--primary);
    color:#fff !important;
}

body.dark .job-title,
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6{
    color:#fff;
}

body.dark p,
body.dark span,
body.dark li,
body.dark .hero-subtitle,
body.dark .job-info,
body.dark .stats-card p{
    color:#cbd5e1;
}

body.dark .district-btn{
    background:#334155;
    color:#fff;
}

body.dark .district-btn.active,
body.dark .district-btn:hover{
    background:var(--primary);
}

body.dark .search-box input{
    background:#334155;
    color:#fff;
}

body.dark .list-group-item{
    background:#1e293b;
    color:#fff;
    border-color:#334155;
}

body.dark .list-group-item:hover{
    background:var(--primary);
}

body.dark .bottom-nav{
    background:#1e293b;
}

body.dark .bottom-item{
    color:#cbd5e1;
}

body.dark .bottom-item.active,
body.dark .bottom-item:hover{
    color:#38bdf8;
}

body.dark .footer{
    background:#020617;
}

body.dark .footer-social a{
    background:#334155;
}

body.dark .ad-box,
body.dark .ad-space{
    background:#1e293b;
    border-color:#475569;
    color:#cbd5e1;
}

/* ==========================================================
PRINT
========================================================== */

@media print{

    header,
    footer,
    .bottom-nav,
    .floating-whatsapp,
    .floating-telegram,
    .top-btn,
    .action-buttons,
    .carousel-control-prev,
    .carousel-control-next{
        display:none !important;
    }

    body{
        background:#fff;
        color:#000;
        font-size:12pt;
    }

    .job-hero,
    .description-card,
    .info-card{
        box-shadow:none;
        border:1px solid #ddd;
    }

    a{
        color:#000;
        text-decoration:none;
    }

}

/* ==========================================================
ACCESSIBILITY
========================================================== */

button:focus-visible,
a:focus-visible,
input:focus-visible{
    outline:3px solid rgba(13,110,253,.35);
    outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){

    *,
    *::before,
    *::after{

        animation:none !important;
        transition:none !important;
        scroll-behavior:auto !important;

    }

}

/* ==========================================================
SMALL PERFORMANCE HELPERS
========================================================== */

.lazy-image{
    opacity:0;
    transition:opacity .3s ease;
}

.lazy-image.loaded{
    opacity:1;
}

.card,
.job-card,
.trending-card,
.stats-card{
    will-change:transform;
}

.hero-image img,
.job-image,
.trending-card img{
    image-rendering:auto;
}

/* ==========================================================
PREMIUM UI REFRESH
========================================================== */

:root{
    --primary:#1456c7;
    --primary-dark:#0f3f96;
    --success:#0f9f62;
    --warning:#f59e0b;
    --danger:#dc2626;
    --text:#0f172a;
    --text-light:#5b6b82;
    --bg:#ecf3fb;
    --white:#ffffff;
    --border:#d9e4f2;
    --radius:22px;
    --shadow:0 18px 45px rgba(15,23,42,.08);
    --shadow-hover:0 26px 60px rgba(15,23,42,.14);
    --transition:.30s;
}

body{
    background:
        radial-gradient(circle at top left, rgba(20,86,199,.09), transparent 28%),
        radial-gradient(circle at top right, rgba(15,159,98,.08), transparent 22%),
        linear-gradient(180deg, #f7faff 0%, #eef4fb 38%, #eaf2fb 100%);
    color:var(--text);
}

header{
    background:rgba(255,255,255,.82);
    border-bottom:1px solid rgba(15,23,42,.06);
    backdrop-filter:blur(18px);
    box-shadow:0 12px 35px rgba(15,23,42,.05);
}

.navbar{
    padding:18px 0;
}

.navbar-brand{
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--text)!important;
    letter-spacing:-.03em;
}

.navbar-brand i{
    width:46px;
    height:46px;
    margin-right:0;
    border-radius:15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:linear-gradient(135deg, var(--primary), #2d7dff);
    box-shadow:0 14px 28px rgba(20,86,199,.28);
}

.navbar-toggler{
    border:none;
    padding:10px 12px;
    border-radius:15px;
    background:rgba(20,86,199,.08);
    box-shadow:inset 0 0 0 1px rgba(20,86,199,.08);
}

.nav-link{
    color:var(--text-light)!important;
    font-size:14px;
    font-weight:700;
    letter-spacing:-.01em;
}

.nav-link:hover,
.nav-link.active{
    background:linear-gradient(135deg, var(--primary), #2b7fff);
    color:#fff!important;
    box-shadow:0 14px 28px rgba(20,86,199,.22);
    transform:translateY(-1px);
}

.hero-search{
    padding:48px 0 30px;
}

.hero-box{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(20,86,199,.1);
    border-radius:32px;
    background:
        linear-gradient(135deg, rgba(20,86,199,.10), rgba(15,159,98,.05) 38%, rgba(255,255,255,.98) 76%),
        #fff;
    box-shadow:0 30px 70px rgba(15,23,42,.12);
}

.hero-box::before{
    content:"";
    position:absolute;
    inset:-80px auto auto -80px;
    width:220px;
    height:220px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(20,86,199,.22), rgba(20,86,199,0));
    pointer-events:none;
}

.hero-box::after{
    content:"";
    position:absolute;
    inset:auto -70px -90px auto;
    width:240px;
    height:240px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(15,159,98,.16), rgba(15,159,98,0));
    pointer-events:none;
}

.hero-box h1{
    max-width:820px;
    margin:0 auto 18px;
    line-height:1.05;
    letter-spacing:-.05em;
    font-size:clamp(2.45rem, 5vw, 4rem);
}

.hero-box p{
    max-width:700px;
    margin:0 auto 30px;
    color:var(--text-light);
    font-size:18px;
}

.search-box{
    position:relative;
    align-items:center;
    max-width:760px;
    padding:10px;
    border-radius:999px;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(20,86,199,.12);
    box-shadow:0 18px 36px rgba(15,23,42,.10);
    backdrop-filter:blur(12px);
}

.search-box input{
    height:62px;
    padding:0 26px;
    background:transparent;
    color:var(--text);
}

.search-box input::placeholder{
    color:rgba(91,107,130,.9);
}

.search-box button{
    min-width:168px;
    height:62px;
    padding:0 30px;
    background:linear-gradient(135deg, var(--primary), #2b7fff);
    box-shadow:0 16px 30px rgba(20,86,199,.24);
}

.search-box button:hover{
    background:linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform:translateY(-1px);
}

.breaking-news{
    margin:22px 0;
}

.breaking-box{
    border:1px solid rgba(20,86,199,.10);
    background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.96));
    box-shadow:0 18px 36px rgba(15,23,42,.08);
}

.breaking-title{
    letter-spacing:.08em;
    text-transform:uppercase;
    background:linear-gradient(135deg, #dc2626, #fb7185);
}

#breakingNews{
    color:var(--text);
}

.category-btn,
.district-btn{
    border:1px solid rgba(20,86,199,.12);
    background:rgba(255,255,255,.84);
    color:var(--text);
    box-shadow:0 12px 24px rgba(15,23,42,.06);
    backdrop-filter:blur(8px);
}

.category-btn{
    padding:12px 18px;
    font-weight:700;
}

.category-btn:hover,
.category-btn.active,
.district-btn:hover,
.district-btn.active{
    background:linear-gradient(135deg, var(--primary), #2b7fff);
    color:#fff;
    border-color:transparent;
    box-shadow:0 16px 30px rgba(20,86,199,.22);
    transform:translateY(-2px);
}

.stats-card,
.job-card,
.trending-card,
.card,
.description-card,
.info-card,
#vacancyList,
#documentList,
#dateList,
.featured-job{
    border:1px solid rgba(148,163,184,.14);
    box-shadow:var(--shadow);
}

.stats-card{
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,255,.98));
}

.stats-card::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:6px;
    background:linear-gradient(180deg, var(--primary), #4ea1ff);
}

.stats-card h2{
    letter-spacing:-.04em;
}

.section-title,
.latest-title{
    position:relative;
    border-bottom:none;
    padding-bottom:0;
    letter-spacing:-.04em;
    font-size:clamp(1.7rem, 4vw, 2.35rem);
}

.section-title::after,
.latest-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:74px;
    height:4px;
    border-radius:999px;
    background:linear-gradient(90deg, var(--primary), #4ea1ff);
}

.featured-job{
    border-radius:28px;
    overflow:hidden;
}

.featured-overlay{
    background:linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,.14) 24%, rgba(2,6,23,.88) 100%);
}

.job-card,
.trending-card,
.card{
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,255,.98));
}

.job-card{
    border-radius:24px;
}

.job-card::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg, var(--primary), #4ea1ff, #57d6a0);
    opacity:0;
    transition:opacity var(--transition);
}

.job-card:hover::before{
    opacity:1;
}

.job-content{
    padding:22px;
}

.job-title{
    line-height:1.35;
    letter-spacing:-.02em;
}

.new-badge,
.urgent-badge,
.video-badge,
.salary,
.last-date{
    box-shadow:0 12px 22px rgba(15,23,42,.14);
}

.social-row a{
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 10px 24px rgba(15,23,42,.10);
}

.card-header{
    padding:18px 22px;
    border-bottom:1px solid rgba(148,163,184,.12);
    background:linear-gradient(180deg, rgba(248,250,252,.95), rgba(239,246,255,.92));
}

.list-group-item{
    border-color:rgba(148,163,184,.14);
}

.list-group-item:hover{
    background:linear-gradient(135deg, var(--primary), #2b7fff);
    color:#fff;
}

.btn{
    border-radius:15px;
    font-weight:700;
    letter-spacing:-.01em;
    padding:.86rem 1.16rem;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        color .22s ease,
        border-color .22s ease;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    border-color:transparent;
    background:linear-gradient(135deg, var(--primary), #2b7fff);
    box-shadow:0 14px 28px rgba(20,86,199,.24);
}

.btn-success{
    border-color:transparent;
    background:linear-gradient(135deg, var(--success), #18b978);
    box-shadow:0 14px 28px rgba(15,159,98,.22);
}

.btn-outline-primary{
    color:var(--primary);
    border-color:rgba(20,86,199,.20);
    background:rgba(255,255,255,.84);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active{
    color:#fff;
    border-color:transparent;
    background:linear-gradient(135deg, var(--primary), #2b7fff);
    box-shadow:0 14px 28px rgba(20,86,199,.20);
}

.btn-outline-danger{
    background:rgba(255,255,255,.88);
}

.top-btn{
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, var(--primary), #2b7fff);
    box-shadow:0 16px 30px rgba(20,86,199,.24);
}

.top-btn.show{
    display:flex;
}

.bottom-nav{
    height:76px;
    background:rgba(255,255,255,.90);
    border-top:1px solid rgba(15,23,42,.08);
    backdrop-filter:blur(18px);
}

.bottom-item{
    gap:4px;
    color:var(--text-light);
}

.bottom-item.active,
.bottom-item:hover{
    color:var(--primary);
    transform:translateY(-2px);
}

.footer{
    background:
        radial-gradient(circle at top left, rgba(56,189,248,.10), transparent 22%),
        linear-gradient(180deg, #0b1527 0%, #071120 100%);
    border-top:1px solid rgba(148,163,184,.14);
}

.footer h3,
.footer h5{
    letter-spacing:-.02em;
}

.footer-social a{
    border:1px solid rgba(148,163,184,.16);
    background:rgba(30,41,59,.72);
    backdrop-filter:blur(10px);
}

body.dark{
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.14), transparent 26%),
        radial-gradient(circle at top right, rgba(15,159,98,.10), transparent 18%),
        linear-gradient(180deg, #07111f 0%, #091528 100%);
}

body.dark header{
    background:rgba(9,21,40,.76);
    border-bottom-color:rgba(148,163,184,.12);
    box-shadow:0 16px 40px rgba(2,6,23,.40);
}

body.dark .navbar-brand{
    color:#f8fafc!important;
}

body.dark .navbar-toggler{
    background:rgba(148,163,184,.12);
    box-shadow:inset 0 0 0 1px rgba(148,163,184,.10);
}

body.dark .hero-box,
body.dark .card,
body.dark .job-card,
body.dark .featured-job,
body.dark .info-card,
body.dark .description-card,
body.dark .stats-card,
body.dark .trending-card,
body.dark .breaking-box,
body.dark #vacancyList,
body.dark #documentList,
body.dark #dateList,
body.dark .related-job{
    background:
        linear-gradient(180deg, rgba(15,23,42,.95), rgba(18,30,52,.94));
    border-color:rgba(148,163,184,.10);
}

body.dark .search-box{
    background:rgba(15,23,42,.72);
    border-color:rgba(148,163,184,.12);
    box-shadow:0 22px 48px rgba(2,6,23,.36);
}

body.dark .search-box input{
    background:transparent;
    color:#f8fafc;
}

body.dark .search-box input::placeholder{
    color:rgba(203,213,225,.82);
}

body.dark .category-btn,
body.dark .district-btn{
    background:rgba(15,23,42,.78);
    color:#e2e8f0;
    border-color:rgba(148,163,184,.14);
}

body.dark .btn-outline-primary{
    background:rgba(15,23,42,.78);
    color:#dbeafe;
    border-color:rgba(96,165,250,.28);
}

body.dark .top-btn,
body.dark .bottom-nav{
    box-shadow:0 18px 36px rgba(2,6,23,.40);
}

body.dark .bottom-nav{
    background:rgba(9,21,40,.88);
    border-top-color:rgba(148,163,184,.12);
}

body.dark .footer{
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.16), transparent 24%),
        linear-gradient(180deg, #020617 0%, #06101f 100%);
}

@media (max-width:768px){

    .navbar{
        padding:14px 0;
    }

    .hero-box{
        border-radius:26px;
    }

    .hero-box h1{
        font-size:clamp(2rem, 9vw, 2.8rem);
    }

    .search-box{
        padding:0;
        border:none;
        background:transparent;
        box-shadow:none;
        backdrop-filter:none;
    }

    .search-box input,
    .search-box button{
        height:58px;
        border-radius:18px;
        box-shadow:0 14px 28px rgba(15,23,42,.10);
    }

    .search-box input{
        background:rgba(255,255,255,.94);
        border:1px solid rgba(20,86,199,.10);
    }

    .category-btn,
    .district-btn{
        padding:10px 16px;
        font-size:13px;
    }

    .bottom-nav{
        height:72px;
    }
}

@media (max-width:480px){

    .hero-box{
        padding:24px 20px 22px;
    }

    .hero-box p{
        font-size:14px;
        margin-bottom:24px;
    }

    .job-card,
    .trending-card,
    .card{
        border-radius:20px;
    }

    .footer{
        padding:48px 0 20px;
    }
}

/* ==========================================================
END OF PRODUCTION CSS
ARNA JOB ALERTS
========================================================== */
