/* ===========================================
   PROFESSIONAL CLASSIFIED WEBSITE
   STYLE.CSS
   =========================================== */

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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#333;
    font-size:15px;
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

ul{
    list-style:none;
}

.container{
    width:95%;
    max-width:1400px;
    margin:auto;
}

/*============================
TOP BAR
============================*/

.topbar{
    background:#0d6efd;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.topbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.topbar a{
    color:#fff;
    margin-left:15px;
}

/*============================
HEADER
============================*/

header{
    background:#fff;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo{
    font-size:30px;
    font-weight:700;
    color:#0d6efd;
}

.logo span{
    color:#ff6600;
}

.menu{
    display:flex;
    align-items:center;
    gap:20px;
}

.menu a{
    font-weight:500;
    transition:.3s;
}

.menu a:hover{
    color:#0d6efd;
}

.post-btn{
    background:#ff6600;
    color:#fff;
    padding:12px 22px;
    border-radius:6px;
    font-weight:600;
    transition:.3s;
}

.post-btn:hover{
    background:#e95b00;
}

/*============================
HERO
============================*/

.hero{
    background:linear-gradient(120deg,#0d6efd,#4f8cff);
    color:#fff;
    padding:70px 0;
}

.hero h1{
    font-size:48px;
    font-weight:700;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
    margin-bottom:30px;
}

/*============================
SEARCH
============================*/

.search-box{
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
}

.search-form{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 170px;
    gap:15px;
}

.search-form input,
.search-form select{
    height:52px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 15px;
    font-size:15px;
}

.search-form button{
    border:none;
    background:#0d6efd;
    color:#fff;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.search-form button:hover{
    background:#084ec5;
}

/*============================
SECTION TITLE
============================*/

.section{
    padding:70px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:38px;
    margin-bottom:10px;
}

.section-title p{
    color:#666;
}

/*============================
CATEGORY
============================*/

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
    gap:20px;
}

.category-card{
    background:#fff;
    padding:25px;
    text-align:center;
    border-radius:10px;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
}

.category-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.category-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#eef5ff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:15px;
    font-size:30px;
    color:#0d6efd;
}

.category-card h4{
    margin-bottom:8px;
}

.category-card span{
    color:#777;
    font-size:14px;
}

/*============================
LATEST ADS
============================*/

.ads-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:25px;
}

.ad-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

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

.ad-image{
    height:220px;
    overflow:hidden;
    position:relative;
}

.ad-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.ad-card:hover img{
    transform:scale(1.08);
}

.featured{
    position:absolute;
    top:12px;
    left:12px;
    background:#ff6600;
    color:#fff;
    padding:5px 10px;
    font-size:12px;
    border-radius:4px;
}

.price{
    color:#0d6efd;
    font-size:24px;
    font-weight:700;
    margin-bottom:10px;
}

.ad-content{
    padding:20px;
}

.ad-content h3{
    font-size:18px;
    margin-bottom:8px;
}

.location{
    color:#777;
    font-size:14px;
    margin-bottom:10px;
}

.date{
    color:#999;
    font-size:13px;
}
/*=========================================
FEATURED BANNER
=========================================*/

.feature-banner{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-bottom:60px;
}

.feature-banner h2{
    font-size:36px;
    margin-bottom:15px;
}

.feature-banner p{
    color:#666;
    margin-bottom:20px;
}

.feature-banner img{
    width:350px;
}

/*=========================================
BUTTONS
=========================================*/

.btn{
    display:inline-block;
    padding:12px 24px;
    border-radius:6px;
    border:none;
    cursor:pointer;
    transition:.3s;
    font-weight:600;
    font-size:15px;
}

.btn-primary{
    background:#0d6efd;
    color:#fff;
}

.btn-primary:hover{
    background:#084ec5;
}

.btn-success{
    background:#198754;
    color:#fff;
}

.btn-success:hover{
    background:#157347;
}

.btn-danger{
    background:#dc3545;
    color:#fff;
}

.btn-danger:hover{
    background:#bb2d3b;
}

.btn-warning{
    background:#ffc107;
    color:#000;
}

.btn-dark{
    background:#212529;
    color:#fff;
}

.btn-light{
    background:#f8f9fa;
    border:1px solid #ddd;
}

.btn-block{
    display:block;
    width:100%;
    text-align:center;
}

/*=========================================
FORMS
=========================================*/

.form-box{
    background:#fff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.form-title{
    font-size:30px;
    margin-bottom:25px;
    text-align:center;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-control{
    width:100%;
    height:50px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 15px;
    transition:.3s;
    font-size:15px;
}

.form-control:focus{
    border-color:#0d6efd;
    outline:none;
}

textarea.form-control{
    height:160px;
    padding:15px;
    resize:vertical;
}

select.form-control{
    cursor:pointer;
}

input[type=file]{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

/*=========================================
LOGIN PAGE
=========================================*/

.login-wrapper{
    width:100%;
    max-width:450px;
    margin:80px auto;
}

.register-wrapper{
    width:100%;
    max-width:650px;
    margin:60px auto;
}

/*=========================================
POST AD
=========================================*/

.post-wrapper{
    max-width:950px;
    margin:40px auto;
}

.post-wrapper h2{
    margin-bottom:25px;
}

.upload-box{
    border:2px dashed #ccc;
    padding:50px;
    text-align:center;
    border-radius:12px;
    transition:.3s;
}

.upload-box:hover{
    border-color:#0d6efd;
}

/*=========================================
PROFILE
=========================================*/

.profile-box{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:30px;
}

.profile-sidebar{
    background:#fff;
    border-radius:10px;
    padding:25px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.profile-sidebar img{
    width:120px;
    height:120px;
    border-radius:50%;
    margin:auto;
    margin-bottom:20px;
}

.profile-sidebar h3{
    text-align:center;
    margin-bottom:10px;
}

.profile-sidebar ul li{
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.profile-sidebar ul li:last-child{
    border:none;
}

.profile-content{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

/*=========================================
DASHBOARD CARDS
=========================================*/

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

.dashboard-card{
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

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

.dashboard-card h3{
    color:#666;
    font-size:16px;
    margin-bottom:10px;
}

.dashboard-card h2{
    font-size:32px;
    color:#0d6efd;
}

/*=========================================
TABLES
=========================================*/

.table-responsive{
    overflow:auto;
}

.table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.table th{
    background:#0d6efd;
    color:#fff;
    padding:14px;
    text-align:left;
}

.table td{
    padding:14px;
    border-bottom:1px solid #eee;
}

.table tr:hover{
    background:#f7f9fc;
}

/*=========================================
ALERTS
=========================================*/

.alert{
    padding:15px 20px;
    border-radius:6px;
    margin-bottom:20px;
}

.alert-success{
    background:#d1e7dd;
    color:#0f5132;
}

.alert-danger{
    background:#f8d7da;
    color:#842029;
}

.alert-warning{
    background:#fff3cd;
    color:#664d03;
}

.alert-info{
    background:#cff4fc;
    color:#055160;
}

/*=========================================
BADGES
=========================================*/

.badge{
    display:inline-block;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

.badge-success{
    background:#198754;
    color:#fff;
}

.badge-danger{
    background:#dc3545;
    color:#fff;
}

.badge-warning{
    background:#ffc107;
    color:#000;
}

.badge-primary{
    background:#0d6efd;
    color:#fff;
}

/*=========================================
PAGINATION
=========================================*/

.pagination{
    display:flex;
    justify-content:center;
    margin-top:40px;
    gap:8px;
}

.pagination a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    background:#fff;
    box-shadow:0 5px 10px rgba(0,0,0,.08);
    transition:.3s;
}

.pagination a:hover,
.pagination a.active{
    background:#0d6efd;
    color:#fff;
}

/*=========================================
BREADCRUMB
=========================================*/

.breadcrumb{
    background:#fff;
    padding:15px 20px;
    border-radius:8px;
    margin:25px 0;
}

.breadcrumb a{
    color:#0d6efd;
}

.breadcrumb span{
    margin:0 8px;
}

/*=========================================
STATISTICS
=========================================*/

.stats{
    background:#0d6efd;
    color:#fff;
    padding:70px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.stat-card{
    text-align:center;
}

.stat-card h2{
    font-size:42px;
    margin-bottom:10px;
}

.stat-card p{
    font-size:18px;
}

/*=========================================
SIDEBAR
=========================================*/

.sidebar{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.sidebar-title{
    font-size:22px;
    margin-bottom:20px;
    border-bottom:2px solid #f2f2f2;
    padding-bottom:12px;
}

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.sidebar ul li:last-child{
    border-bottom:none;
}

.sidebar ul li a{
    color:#555;
    transition:.3s;
}

.sidebar ul li a:hover{
    color:#0d6efd;
    padding-left:6px;
}

/*=========================================
FILTER BOX
=========================================*/

.filter-box{
    background:#fff;
    border-radius:12px;
    padding:20px;
    margin-bottom:25px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.filter-box h4{
    margin-bottom:18px;
    font-size:18px;
}

.filter-group{
    margin-bottom:18px;
}

.filter-group label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
}

.filter-group input,
.filter-group select{
    width:100%;
    height:46px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 12px;
}

.price-range{
    width:100%;
}

/*=========================================
VIEW AD
=========================================*/

.view-ad{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    margin:40px 0;
}

.ad-gallery{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.main-image{
    height:500px;
    overflow:hidden;
    border-radius:10px;
    margin-bottom:15px;
}

.main-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.gallery-thumbs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.gallery-thumbs img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
    border:2px solid transparent;
    transition:.3s;
}

.gallery-thumbs img:hover{
    border-color:#0d6efd;
}

.ad-details{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.ad-details h1{
    font-size:32px;
    margin-bottom:12px;
}

.ad-details .price{
    font-size:38px;
    color:#0d6efd;
    margin-bottom:20px;
}

.ad-meta{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-bottom:25px;
}

.meta-box{
    background:#f8f9fa;
    padding:12px;
    border-radius:8px;
}

.meta-box strong{
    display:block;
    margin-bottom:5px;
}

/*=========================================
SELLER BOX
=========================================*/

.seller-box{
    margin-top:25px;
    padding:20px;
    background:#f9fafb;
    border-radius:10px;
}

.seller-box img{
    width:80px;
    height:80px;
    border-radius:50%;
    margin-bottom:15px;
}

.seller-box h3{
    margin-bottom:10px;
}

.seller-box p{
    color:#666;
    margin-bottom:15px;
}

.call-btn{
    display:block;
    width:100%;
    text-align:center;
    background:#198754;
    color:#fff;
    padding:14px;
    border-radius:8px;
    margin-bottom:10px;
    font-weight:600;
}

.chat-btn{
    display:block;
    width:100%;
    text-align:center;
    background:#0d6efd;
    color:#fff;
    padding:14px;
    border-radius:8px;
    font-weight:600;
}

/*=========================================
DESCRIPTION
=========================================*/

.description-box{
    margin-top:30px;
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.description-box h2{
    margin-bottom:20px;
}

.description-box p{
    color:#555;
    line-height:1.9;
}

/*=========================================
SIMILAR ADS
=========================================*/

.similar-ads{
    margin-top:60px;
}

.similar-ads h2{
    margin-bottom:30px;
}

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

footer{
    background:#1b1f23;
    color:#fff;
    margin-top:80px;
}

.footer-top{
    padding:70px 0;
}

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

.footer-widget h3{
    margin-bottom:20px;
    font-size:22px;
}

.footer-widget p{
    color:#bbb;
    line-height:1.8;
}

.footer-widget ul{
    list-style:none;
}

.footer-widget ul li{
    margin-bottom:12px;
}

.footer-widget ul li a{
    color:#bbb;
    transition:.3s;
}

.footer-widget ul li a:hover{
    color:#fff;
    padding-left:5px;
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.footer-social a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#2b3137;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.footer-social a:hover{
    background:#0d6efd;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding:20px 0;
    text-align:center;
    color:#aaa;
}

/*=========================================
NEWSLETTER
=========================================*/

.newsletter{
    background:#0d6efd;
    color:#fff;
    padding:60px 0;
}

.newsletter-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.newsletter h2{
    font-size:34px;
}

.newsletter-form{
    display:flex;
    gap:10px;
}

.newsletter-form input{
    width:320px;
    height:50px;
    border:none;
    border-radius:6px;
    padding:0 15px;
}

.newsletter-form button{
    border:none;
    background:#ff6600;
    color:#fff;
    padding:0 30px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
}

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

#backToTop{
    position:fixed;
    bottom:25px;
    right:25px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
    display:none;
    z-index:9999;
    transition:.3s;
}

#backToTop:hover{
    background:#084ec5;
}

/*=========================================
ADMIN PANEL
=========================================*/

.admin-wrapper{
    display:flex;
    min-height:100vh;
    background:#f4f6f9;
}

/*=========================================
ADMIN SIDEBAR
=========================================*/

.admin-sidebar{
    width:270px;
    background:#1e293b;
    color:#fff;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    overflow-y:auto;
}

.admin-logo{
    padding:25px;
    text-align:center;
    background:#0f172a;
    font-size:26px;
    font-weight:700;
    letter-spacing:1px;
}

.admin-logo span{
    color:#38bdf8;
}

.admin-menu{
    padding:20px 0;
}

.admin-menu h5{
    padding:12px 25px;
    color:#94a3b8;
    text-transform:uppercase;
    font-size:12px;
    letter-spacing:1px;
}

.admin-menu ul{
    list-style:none;
}

.admin-menu li{
    margin:2px 0;
}

.admin-menu li a{
    display:block;
    padding:15px 25px;
    color:#cbd5e1;
    transition:.3s;
    font-size:15px;
}

.admin-menu li a:hover,
.admin-menu li.active a{
    background:#2563eb;
    color:#fff;
}

.admin-menu li i{
    width:25px;
}

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

.admin-content{
    margin-left:270px;
    width:calc(100% - 270px);
    min-height:100vh;
}

.admin-topbar{
    background:#fff;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 30px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.admin-topbar h2{
    font-size:26px;
}

.admin-user{
    display:flex;
    align-items:center;
    gap:12px;
}

.admin-user img{
    width:45px;
    height:45px;
    border-radius:50%;
}

.admin-body{
    padding:30px;
}

/*=========================================
ADMIN DASHBOARD CARDS
=========================================*/

.admin-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-bottom:35px;
}

.admin-card{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    position:relative;
    overflow:hidden;
}

.admin-card::after{
    content:"";
    position:absolute;
    right:-25px;
    bottom:-25px;
    width:90px;
    height:90px;
    background:rgba(13,110,253,.08);
    border-radius:50%;
}

.admin-card h4{
    color:#6b7280;
    margin-bottom:10px;
    font-size:15px;
}

.admin-card h2{
    font-size:36px;
    margin-bottom:8px;
}

.admin-card p{
    color:#888;
}

.bg-primary{
    border-left:5px solid #0d6efd;
}

.bg-success{
    border-left:5px solid #198754;
}

.bg-danger{
    border-left:5px solid #dc3545;
}

.bg-warning{
    border-left:5px solid #ffc107;
}

/*=========================================
ADMIN TABLE
=========================================*/

.admin-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.admin-table th{
    background:#0d6efd;
    color:#fff;
    padding:15px;
    text-align:left;
}

.admin-table td{
    padding:15px;
    border-bottom:1px solid #eee;
}

.admin-table tr:hover{
    background:#f8fbff;
}

/*=========================================
ADMIN BUTTONS
=========================================*/

.btn-sm{
    padding:8px 15px;
    font-size:13px;
}

.btn-edit{
    background:#0d6efd;
    color:#fff;
}

.btn-delete{
    background:#dc3545;
    color:#fff;
}

.btn-view{
    background:#198754;
    color:#fff;
}

.btn-edit:hover{
    background:#0b5ed7;
}

.btn-delete:hover{
    background:#bb2d3b;
}

.btn-view:hover{
    background:#157347;
}

/*=========================================
ADMIN FORMS
=========================================*/

.admin-form{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.admin-form .form-group{
    margin-bottom:20px;
}

.admin-form input,
.admin-form textarea,
.admin-form select{
    width:100%;
    padding:12px 15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
}

.admin-form textarea{
    min-height:160px;
}

/*=========================================
ADMIN LOGIN
=========================================*/

.admin-login{
    width:100%;
    max-width:450px;
    margin:80px auto;
}

.admin-login .form-box{
    padding:40px;
}

.admin-login h2{
    text-align:center;
    margin-bottom:30px;
}

/*=========================================
ADMIN STATS
=========================================*/

.chart-box{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.chart-box h3{
    margin-bottom:20px;
}

/*=========================================
STATUS BADGES
=========================================*/

.status-active{
    background:#198754;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

.status-pending{
    background:#ffc107;
    color:#000;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

.status-rejected{
    background:#dc3545;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

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

.quick-actions{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.quick-card{
    background:#fff;
    text-align:center;
    padding:30px;
    border-radius:12px;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

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

.quick-card i{
    font-size:42px;
    color:#0d6efd;
    margin-bottom:15px;
}

.quick-card h4{
    margin-bottom:8px;
}

/*=========================================
NOTIFICATION BOX
=========================================*/

.notification-box{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.notification-item{
    display:flex;
    justify-content:space-between;
    padding:15px 0;
    border-bottom:1px solid #eee;
}

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

/*=========================================
PROGRESS BAR
=========================================*/

.progress{
    width:100%;
    height:10px;
    background:#eee;
    border-radius:20px;
    overflow:hidden;
}

.progress-bar{
    height:10px;
    background:#0d6efd;
}

/*=========================================
ADMIN FOOTER
=========================================*/

.admin-footer{
    margin-top:40px;
    text-align:center;
    padding:20px;
    color:#888;
}

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

@media(max-width:1200px){

.container{
    width:96%;
}

.search-form{
    grid-template-columns:repeat(2,1fr);
}

.hero h1{
    font-size:42px;
}

.view-ad{
    grid-template-columns:1fr;
}

.profile-box{
    grid-template-columns:1fr;
}

.newsletter-box{
    flex-direction:column;
    text-align:center;
}

.newsletter-form{
    justify-content:center;
}

}

/*=============================*/

@media(max-width:992px){

.menu{
    display:none;
}

.mobile-menu{
    display:block;
}

.category-grid{
    grid-template-columns:repeat(3,1fr);
}

.ads-grid{
    grid-template-columns:repeat(2,1fr);
}

.stats-grid{
    grid-template-columns:repeat(2,1fr);
}

.admin-sidebar{
    width:230px;
}

.admin-content{
    margin-left:230px;
    width:calc(100% - 230px);
}

}

/*=============================*/

@media(max-width:768px){

.hero{
    padding:60px 0;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:16px;
}

.search-form{
    grid-template-columns:1fr;
}

.category-grid{
    grid-template-columns:repeat(2,1fr);
}

.ads-grid{
    grid-template-columns:1fr;
}

.stats-grid{
    grid-template-columns:1fr;
}

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

.feature-banner{
    flex-direction:column;
    text-align:center;
}

.feature-banner img{
    margin-top:25px;
    width:250px;
}

.newsletter-form{
    flex-direction:column;
}

.newsletter-form input{
    width:100%;
}

.admin-sidebar{
    position:relative;
    width:100%;
}

.admin-content{
    margin-left:0;
    width:100%;
}

.admin-topbar{
    padding:15px;
}

.admin-cards{
    grid-template-columns:1fr;
}

.dashboard-grid{
    grid-template-columns:1fr;
}

}

/*=============================*/

@media(max-width:576px){

.logo{
    font-size:24px;
}

.section-title h2{
    font-size:28px;
}

.category-grid{
    grid-template-columns:1fr;
}

.main-image{
    height:300px;
}

.gallery-thumbs img{
    width:70px;
    height:70px;
}

.table{
    display:block;
    overflow-x:auto;
}

.form-box{
    padding:20px;
}

.post-wrapper{
    padding:10px;
}

}

/*==================================================
ANIMATIONS
==================================================*/

.fadeIn{
    animation:fadeIn .6s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.zoomIn{
    animation:zoomIn .5s ease;
}

@keyframes zoomIn{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.slideUp{
    animation:slideUp .5s ease;
}

@keyframes slideUp{
    from{
        transform:translateY(40px);
        opacity:0;
    }
    to{
        transform:translateY(0);
        opacity:1;
    }
}

/*==================================================
HOVER EFFECTS
==================================================*/

.hover-shadow:hover{
    box-shadow:0 20px 35px rgba(0,0,0,.15);
}

.hover-scale{
    transition:.35s;
}

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

.hover-up{
    transition:.35s;
}

.hover-up:hover{
    transform:translateY(-8px);
}

/*==================================================
LOADER
==================================================*/

.loader{
    width:60px;
    height:60px;
    border:6px solid #eee;
    border-top:6px solid #0d6efd;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:auto;
}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

/*==================================================
MODAL
==================================================*/

.modal{
display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.65);
z-index:99999;
}

.modal-content{
background:#fff;
width:90%;
max-width:700px;
margin:70px auto;
padding:30px;
border-radius:12px;
position:relative;
animation:zoomIn .3s;
}

.close-modal{
position:absolute;
right:20px;
top:15px;
font-size:30px;
cursor:pointer;
}

/*==================================================
TOAST MESSAGE
==================================================*/

.toast{
position:fixed;
right:20px;
bottom:20px;
background:#198754;
color:#fff;
padding:15px 25px;
border-radius:8px;
display:none;
box-shadow:0 10px 20px rgba(0,0,0,.2);
z-index:99999;
}

/*==================================================
IMAGE ZOOM
==================================================*/

.zoom-image{
overflow:hidden;
}

.zoom-image img{
transition:.5s;
}

.zoom-image:hover img{
transform:scale(1.12);
}

/*==================================================
UTILITY CLASSES
==================================================*/

.text-center{text-align:center;}
.text-left{text-align:left;}
.text-right{text-align:right;}

.mt-10{margin-top:10px;}
.mt-20{margin-top:20px;}
.mt-30{margin-top:30px;}
.mt-40{margin-top:40px;}
.mt-50{margin-top:50px;}

.mb-10{margin-bottom:10px;}
.mb-20{margin-bottom:20px;}
.mb-30{margin-bottom:30px;}
.mb-40{margin-bottom:40px;}
.mb-50{margin-bottom:50px;}

.p-10{padding:10px;}
.p-20{padding:20px;}
.p-30{padding:30px;}
.p-40{padding:40px;}

.rounded{
border-radius:10px;
}

.shadow{
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.bg-white{
background:#fff;
}

.bg-light{
background:#f8f9fa;
}

.bg-primary{
background:#0d6efd;
color:#fff;
}

.bg-success{
background:#198754;
color:#fff;
}

.bg-danger{
background:#dc3545;
color:#fff;
}

.bg-warning{
background:#ffc107;
}

.bg-dark{
background:#212529;
color:#fff;
}

/*==================================================
PRINT
==================================================*/

@media print{

header,
footer,
.sidebar,
.btn,
.search-box,
.newsletter,
#backToTop{
display:none;
}

body{
background:#fff;
}

.container{
width:100%;
}

}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#eee;
}

::-webkit-scrollbar-thumb{
background:#0d6efd;
border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
background:#084ec5;
}

/*==================================================
END OF STYLE.CSS
==================================================*/
