/* =========================
   HEADER CSS
   Navbar → Filter Section
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #1C4D8D;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-actions a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-actions .post-ad-btn {
    background: #1C4D8D;
    color: #fff;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
}

.nav-actions .post-ad-btn i {
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, #BDE8F5 0%, #1C4D8D 100%);
    padding: 0.8rem 2rem;
    color: #fff;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.85rem;
}

/* Disclaimer */
.disclaimer {
    /* background: #BDE8F5; */
    padding: 0.8rem 2rem;
    text-align: center;
    /* color: #1C4D8D; */
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.disclaimer i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    /* background: #fff; */
    padding: 2.5rem 2rem 0 2rem;
    text-align: center;
}

.hero-section h1 {
    /* color: #1C4D8D; */
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    max-width: 1200px;
    margin: 0 auto;
}

/* Filter Section */
.filter-section {
    /* background: #fff; */
    padding: 2rem;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.filter-group {
    flex: 1 1 50px;
    min-width: 0;
    max-width: 300px;
}

.filter-group select,
.filter-group input {
    padding: 0.8rem;
    border: 2px solid #1C4D8D;
    border-radius: 5px;
    font-size: 0.95rem;
    color: #1C4D8D;
    background: #fff;
    width: 100%;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #1C4D8D;
}

.search-btn {
    background: #1C4D8D;
    margin-left: 5px;
    color: #fff;
    width: fit-content;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background: #4988C4;
}

.search-btn i {
    font-size: 1.1rem;
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-3+p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================
   HEADER RESPONSIVE
   ========================= */
/* Footer */
.footer {
    margin-top: 3rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-top {
    background: linear-gradient(160deg, #0c2d5a 0%, #1C4D8D 60%, #1a3f6f 100%);
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
}

/* --- Brand Column --- */
.footer-brand {
    padding-right: 1.5rem;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    font-style: italic;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    color: #BDE8F5;
    font-size: 1.3rem;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.footer-about strong {
    color: #BDE8F5;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #BDE8F5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #BDE8F5;
    color: #1C4D8D;
    border-color: #BDE8F5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(189, 232, 245, 0.25);
}

/* --- Footer Sections --- */
.footer-section-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    position: relative;
    letter-spacing: 0.02em;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: #BDE8F5;
    border-radius: 2px;
}

.footer-section a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
    transition: all 0.25s;
    padding: 0.15rem 0;
}

.footer-section a:hover {
    color: #BDE8F5;
    transform: translateX(4px);
}

.footer-section a i {
    font-size: 0.78rem;
    width: 16px;
    text-align: center;
    color: rgba(189, 232, 245, 0.5);
    transition: color 0.25s;
}

.footer-section a:hover i {
    color: #BDE8F5;
}

/* --- Bottom Bar --- */
.footer-bottom-bar {
    background: rgba(8, 20, 40, 0.6);
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-bar p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    margin: 0;
}

.footer-bottom-bar p i {
    margin-right: 0.3rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(189, 232, 245, 0.5) !important;
    font-weight: 600;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-top {
        padding: 2rem 1.2rem 1.5rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }

    .footer-bottom-bar {
        padding: 0.8rem 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {

    .filter-section {
        padding: 1rem;
    }

    .filter-grid,
    .filter-grid-2 {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        max-width: 100%;
    }

    .search-btn {
        width: 100%;
        margin-left: 0;
    }

    .nav-container {
        justify-content: center;
        flex-direction: column;
    }

    .nav-actions {
        padding: 1% 0;
        width: 100%;
        justify-content: space-between;
    }

    .navbar {
        padding: 1rem;
    }

    .breadcrumb,
    .disclaimer {
        padding: 0.8rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }
}