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

:root {
    --primary-teal: #149777;
    --primary-teal-dark: #0d6e56;
    --primary-yellow: #ffc800;
    --primary-yellow-hover: #e6b400;
    --text-dark: #0f172a; /* Slate 900 for modern feel */
    --text-gray: #64748b; /* Slate 500 */
    --bg-light: #f8fafc; /* Slate 50 */
    --white: #ffffff;
    --border-color: #e2e8f0; /* Slate 200 */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --sharp: 0px;
}

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

body {
    font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.5;
    font-size: 16px; /* Increased for better readability */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px; /* Space for bottom nav on mobile */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

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

.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Global Header --- */
.site-header {
    background-color: var(--primary-teal);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.brand-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-logo svg {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    fill: var(--white);
}

.all-ads-link {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.all-ads-link:hover {
    text-decoration: none;
    color: #d1f2eb;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-action-link {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-action-link:hover {
    color: #d1f2eb;
}

.btn-post-ad {
    background-color: var(--primary-yellow);
    color: var(--primary-teal-dark);
    font-weight: 800;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--sharp);
    display: inline-block;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 0px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-post-ad:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.header-location {
    text-align: center;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 12px;
}

.header-location i {
    margin-right: 4px;
    font-size: 12px;
}

/* --- Hero Tagline --- */
.hero-tagline {
    text-align: center;
    color: var(--white);
    margin: 15px 0 25px;
}

.hero-tagline .hero-sub {
    font-size: 26px; /* Bigger font but smaller than Buy Sell */
    font-weight: 600;
    margin-bottom: 15px;
    color: #e0f2f1; /* Light teal for subtle contrast */
    letter-spacing: 0.5px;
}

.hero-tagline .hero-title {
    font-size: 46px; /* BIG FONT */
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
}

.hero-tagline .dot {
    font-size: 24px;
    vertical-align: middle;
    margin: 0 14px;
    color: var(--primary-yellow);
}

.header-search {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    display: flex;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 52px;
    padding: 0 60px 0 25px;
    border: none;
    border-radius: 40px;
    font-size: 17px;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    color: #1c2733;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 42px;
    width: 42px;
    border: none;
    background-color: var(--primary-yellow);
    color: var(--primary-teal-dark);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: var(--primary-yellow-hover);
}

/* --- Mobile Bottom Nav --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 10px;
    text-decoration: none;
    flex: 1;
    gap: 4px;
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active {
    color: var(--primary-teal);
    font-weight: 800;
}

.bottom-nav-item.post-ad-center {
    position: relative;
    top: -20px;
}

.post-ad-circle {
    background: #0f172a; /* Slate 900 for premium feel */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #fff;
    font-size: 24px !important;
    border: 4px solid var(--white);
    transition: transform 0.2s ease;
}

.post-ad-circle:active {
    transform: scale(1.1);
}

/* --- Main Content Area --- */
.main-content {
    flex-grow: 1;
    background-color: var(--white);
    padding: 0; /* REMOVE GAPS */
}

.main-content-bg {
    background-color: var(--bg-light);
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    font-size: 14px;
    color: var(--text-gray);
    background-color: #f3f6f5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.footer-col h4 {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 15px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #2f3432;
}

.footer-col ul a:hover {
    text-decoration: underline;
}

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

.footer-social a {
    color: var(--text-gray);
    font-size: 20px;
}

.footer-bottom {
    font-size: 12px;
}

/* Utility */
.section-title {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

@media (max-width: 768px) {
    .header-top {
        padding: 10px 0;
    }

    .header-right {
        gap: 15px;
    }

    .brand-logo {
        font-size: 20px;
    }

    .btn-post-ad {
        padding: 8px 12px;
        font-size: 12px;
    }

    .desktop-only {
        display: none !important;
    }

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 12px;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* --- Extracted Components --- */

/* 1. Homepage Hero */
.homepage-hero {
    background-color: var(--primary-teal);
    width: 100%;
    padding: 25px 0 35px; /* Reduced space */
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .homepage-hero {
        padding: 15px 0 25px; /* Even less on mobile */
    }
}

.homepage-hero::before {
    display: none; /* Removed cubes for cleaner look */
}

.hero-inner-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Mobile Location Pill */
.mobile-only-hero-location {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.15);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.mobile-location-pill:hover {
    background: rgba(0,0,0,0.25);
    color: white;
}

.hero-tagline-modern {
    text-align: center;
    margin-bottom: 25px; /* Reduced from 40px */
    color: #FFFFFF;
}

.hero-tagline-modern h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 56px; /* Adjusted size */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-tagline-modern p {
    font-family: 'Inter', sans-serif;
    font-size: 20px; /* Increased for better readability */
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 0;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.search-form-premium {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 40px;
    padding: 5px;
    height: 52px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 750px;
    margin: 0 auto;
}

.search-input-modern {
    flex: 1;
    border: none;
    padding: 0 20px;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.search-input-modern::placeholder {
    color: #999;
    font-weight: 400;
}

.search-btn-yellow-circle {
    background: var(--primary-yellow);
    color: var(--primary-teal-dark);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-btn-yellow-circle:hover {
    background: var(--primary-yellow-hover);
    transform: scale(1.05);
}

/* 2. Contact Footer Box */
.contact-footer-box {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #e7edee;
    margin: 40px auto 60px;
    max-width: 800px;
}

.contact-footer-box h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1c2733;
    margin-bottom: 5px;
    text-align: center;
}

.contact-footer-box p {
    font-size: 13px;
    color: #707676;
    margin-bottom: 25px;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.contact-methods::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #e7edee;
}

.c-method {
    width: 50%;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c-method-title {
    font-size: 14px;
    font-weight: 800;
    color: #1c2733;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.c-method-title i {
    color: #149777;
    font-size: 16px;
}

.c-method-val {
    font-size: 14px;
    color: #0074ba;
}

/* 3. Membership Page Section */
.membership-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 15px;
}

.banner-hero {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 40px;
}

.banner-text { flex: 1.2; }
.banner-text h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2c3e50;
}
.banner-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}
.banner-viz { flex: 0.8; text-align: right; }
.banner-viz img { max-width: 400px; width: 100%; height: auto; }

.steps-main-h {
    font-size: 19px;
    font-weight: 800;
    margin: 40px 0 25px 0;
    letter-spacing: -0.2px;
}

.step-card-ui {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.step-h-label {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.cat-tiles-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.cat-tile-ui {
    aspect-ratio: 1 / 0.9;
    border-right: 1px solid #f0f3f5;
    border-bottom: 1px solid #f0f3f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: center;
}

.cat-tile-ui:nth-child(6n) { border-right: none; }
.cat-tile-ui:hover { background: #f8fbff; }
.cat-tile-ui.on {
    outline: 2px solid var(--primary-teal);
    background: #fff;
    z-index: 5;
}

.cat-tile-ui i {
    font-size: 26px;
    color: var(--primary-teal);
    margin-bottom: 14px;
}

.cat-tile-ui span {
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    line-height: 1.3;
}

.plan-switch-ui {
    display: flex;
    background: #f1f3f5;
    padding: 4px;
    border-radius: 4px;
    width: fit-content;
    margin: 25px 25px 30px;
}

.plan-switch-ui button {
    padding: 8px 35px;
    border: none;
    background: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border-radius: 2px;
    color: #4a5568;
}

.plan-switch-ui button.on {
    background: #0074ba;
    color: #fff;
}

.plans-flex-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 25px 25px;
}

.plan-node-ui {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px 25px;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.plan-node-ui.best-value::after {
    content: 'POPULAR';
    position: absolute;
    top: 15px;
    right: -32px;
    background: #f35d22;
    color: #fff;
    padding: 4px 40px;
    font-size: 10px;
    font-weight: 800;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.plan-node-ui h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 35px;
    color: var(--text-dark);
}

.p-meta-line {
    display: flex;
    gap: 15px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.p-meta-line i {
    color: var(--primary-teal);
    font-size: 18px;
    margin-top: 2px;
    width: 24px;
    text-align: center;
}

.p-meta-data .lab { display: block; font-size: 11px; color: var(--text-gray); font-weight: 700; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.3px; }
.p-meta-data .val { display: block; font-size: 14px; color: var(--text-dark); font-weight: 700; }

.p-foot-ui { margin-top: auto; padding-top: 25px; border-top: 1px solid #f1f3f5; }
.p-total-amt { font-size: 26px; font-weight: 900; margin-bottom: 20px; }

.btn-select-plan-ui {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--primary-teal);
    border-radius: 4px;
    background: transparent;
    color: var(--primary-teal);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-select-plan-ui:hover { background: var(--primary-teal); color: #fff; }

.form-grid-ui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 30px; }
.input-grp-ui label { display: block; font-size: 12px; font-weight: 800; color: #4a5568; margin-bottom: 10px; }
.input-field-ui {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    background: #fafbfc;
}

.benefits-footer-ui {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 80px;
    text-align: center;
    padding-bottom: 80px;
}

.benefit-cell-ui img { width: 44px; height: 44px; margin-bottom: 15px; object-fit: contain; }
.benefit-cell-ui h4 { font-size: 13px; font-weight: 700; color: #4a5568; line-height: 1.4; }

@media (max-width: 900px) {
    .cat-tiles-wrapper { grid-template-columns: repeat(3, 1fr); }
    .banner-hero { flex-direction: column; text-align: center; padding: 40px; }
    .plans-flex-row { grid-template-columns: 1fr; }
    .form-grid-ui { grid-template-columns: 1fr; }
    .benefits-footer-ui { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .homepage-hero {
        padding: 25px 0 35px;
    }

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

    .hero-tagline-modern p {
        font-size: 16px;
        margin-top: 5px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }

    .contact-methods::after {
        display: none;
    }

    .c-method {
        width: 100%;
    }
}

/* 4. Sell Fast Page */
.sell-fast-container { max-width: 900px; margin: 40px auto; padding: 0 15px; }
.sell-fast-hero { background: #fff; text-align: center; padding: 50px 20px; border: 1px solid #e7edee; margin-bottom: 20px; }
.sell-fast-hero img { max-width: 320px; margin: 0 auto; display: block; opacity: 0.9; }
.sell-fast-heading { text-align: center; padding: 30px; background: #fff; border: 1px solid #e7edee; margin-bottom: 20px; }
.sell-fast-heading h2 { font-size: 20px; font-weight: 800; color: #1c2733; margin-top: 0; margin-bottom: 15px; }
.sell-fast-heading p { font-size: 14px; color: var(--text-gray); margin-bottom: 10px; }
.sell-fast-heading a { color: #0074ba; font-size: 13px; text-decoration: none; font-weight: 600; }
.sell-fast-heading a:hover { text-decoration: underline; }
.sell-fast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.sell-fast-card { background: #fff; border: 1px solid #e7edee; padding: 35px 30px; display: flex; gap: 25px; align-items: flex-start; }
.sf-card-icon { flex-shrink: 0; width: 64px; }
.sf-card-icon img { width: 100%; height: auto; }
.sf-card-content h3 { font-size: 16px; font-weight: 800; color: #1c2733; margin-top: 0; margin-bottom: 12px; }
.sf-card-content p { font-size: 14px; color: var(--text-gray); line-height: 1.6; margin: 0; }

/* 5. General Page Wrapper (for About, Terms, etc.) */
.page-wrapper { 
    max-width: 800px; 
    margin: 40px auto; 
    padding: 40px; 
    background: #fff; 
    border: 1px solid #e7edee; 
    border-radius: 4px; 
}
.page-wrapper h1 { 
    font-size: 24px; 
    font-weight: 800; 
    color: var(--primary-teal); 
    margin-bottom: 30px; 
    border-bottom: 2px solid #e7edee; 
    padding-bottom: 15px; 
}
.page-wrapper p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #3e4141;
}

@media (max-width: 768px) {
    .sell-fast-grid { grid-template-columns: 1fr !important; } 
    .sell-fast-card { flex-direction: column; align-items: center; text-align: center; }
    .page-wrapper { margin: 20px auto; padding: 20px; }
}

/* 6. About Page & Step Items */
.step-item { margin-bottom: 30px; }
.step-item h3 { font-size: 18px; font-weight: 700; color: #1c2733; margin-bottom: 10px; display: flex; align-items: center; }
.step-item p { font-size: 14px; color: #4a5568; line-height: 1.6; }

/* 7. Advertising Page Slider */
.ad-products-container { border: 1px solid #e7edee; border-radius: 4px; padding: 40px; position: relative; margin: 30px 0; background: #fafafa; }
.ad-tabs { display: flex; justify-content: center; gap: 40px; border-bottom: 2px solid #e7edee; padding-bottom: 15px; margin-bottom: 40px; }
.ad-tab { cursor: pointer; font-size: 14px; color: var(--text-gray); font-weight: 600; padding-bottom: 13px; margin-bottom: -17px; }
.ad-tab.active { color: #1c2733; font-weight: 800; border-bottom: 4px solid #1c2733; }
.ad-slide { display: none; align-items: center; gap: 30px; }
.ad-slide.active { display: flex; }
.ad-slide-img { flex: 1; text-align: center; }
.ad-slide-img img { max-width: 100%; height: auto; border-radius: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.ad-slide-content { flex: 1; }
.ad-slide-content h4 { font-size: 20px; font-weight: 800; color: #1c2733; margin-bottom: 15px; }
.ad-slide-content p { font-size: 15px; color: var(--text-gray); line-height: 1.8; margin-bottom: 25px; }
.ad-slide-dims div { font-size: 14px; color: #4a5568; line-height: 1.8; }
.ad-nav-btn { position: absolute; top: 110px; background: transparent; border: none; font-size: 24px; color: var(--text-gray); cursor: pointer; transition: 0.2s; }
.ad-nav-btn:hover { color: var(--primary-teal); }
.ad-nav-btn.prev { left: 10px; }
.ad-nav-btn.next { right: 10px; }

@media (max-width: 768px) {
    .ad-slide { flex-direction: column; }
    .ad-tabs { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .ad-products-container { padding: 30px 15px; }
    .ad-nav-btn { top: 50%; transform: translateY(-50%); }
}

/* 8. Homepage Component Layouts */
.home-section { margin-bottom: 40px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.cat-item { background: #fff; padding: 15px; border-radius: 6px; display: flex; align-items: center; gap: 12px; border: 1px solid #eef2f6; transition: 0.2s; }
.cat-item:hover { border-color: var(--primary-teal); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.cat-icon { width: 44px; height: 44px; background: #f8fbff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.cat-name { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; font-family: "Inter", sans-serif; }
.cat-ads { font-size: 12px; color: var(--text-gray); font-family: "Inter", sans-serif; }
 
/* Modern Category Grid (Bikroy Style) */
.category-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
 
.cat-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    transition: transform 0.2s;
    text-decoration: none;
}
 
.cat-item-modern:hover {
    background: #f8fbff;
}
 
.cat-icon-modern {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
 
.cat-name-modern {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1c2733;
    margin-bottom: 2px;
}
 
.cat-ads-modern {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #707676;
    font-weight: 400;
}

.home-banner-wrapper { margin-bottom: 25px; text-align: center; line-height: 0; }
.home-banner-link { display: block; }
.home-banner-img { width: 100%; max-width: 100%; height: auto; border-radius: 0; box-shadow: 0 2px 12px rgba(0,0,0,0.10); display: block; }

.quick-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background-color: #f3f6f5; padding: 20px; border-radius: 4px; }
.quick-link-col h4 { font-size: 15px; font-weight: 700; color: #1c2733; margin-bottom: 12px; }
.quick-link-col p, .quick-link-col a { font-size: 14px; color: #64748b; line-height: 1.8; }
.quick-link-col a:hover { text-decoration: underline; color: #0074ba; }

.about-block { border-top: 1px solid #e2eaf8; padding: 40px 0; margin-bottom: 40px; }
.about-block h3, .about-block h4 { font-size: 15px; font-weight: 700; color: #1c2733; margin-bottom: 12px; margin-top: 25px; }
.about-block h3 { margin-top: 0; font-size: 18px; }
.about-block p, .about-block ul { font-size: 14px; color: #4a5568; line-height: 1.7; margin-bottom: 15px; }
.about-block ul { padding-left: 20px; }

.show-less-btn { background: transparent; border: none; color: #0074ba; padding: 10px 0; font-size: 13px; cursor: pointer; font-weight: bold; display: inline-flex; align-items: center; gap: 5px; }
.show-less-btn:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .category-grid { grid-template-columns: 1fr; }
    .quick-links-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .quick-links-grid { grid-template-columns: 1fr; }
}

/* 9. Featured Ads Slider & Cards */
.slider-wrapper { position: relative; padding: 0 40px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: none; cursor: pointer; color: #222; font-size: 20px; padding: 10px; z-index: 10; width: 30px; height: 40px; display: flex; align-items: center; justify-content: center; }
.slider-btn.left { left: 0px; }
.slider-btn.right { right: 0px; }
.slider-container { overflow: hidden; width: 100%; }
.slider-track { display: flex; gap: 15px; transition: transform 0.4s ease-in-out; transform: translateX(0); }

.featured-card { flex: 0 0 calc(50% - 7.5px); border: 1px solid #f1e5c2; border-radius: 6px; display: flex; flex-direction: column; background: #fffdf0; position: relative; text-decoration: none; transition: all 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.03); }
.featured-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.badge-featured-orange { position: absolute; top: 0; left: 0; background-color: #ff9900; color: white; font-size: 10px; font-weight: bold; padding: 3px 6px; border-bottom-right-radius: 4px; z-index: 2; }
.featured-image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; height: 110px; background: #f4f5f7; padding: 4px; border-bottom: 1px solid #e2eaf8; }
.f-img { width: 100%; height: 100%; position: relative; overflow: hidden; background: #eee; }
.f-img img { width: 100%; height: 100%; object-fit: cover; }
.more-img-wrapper { position: relative; }
.more-img-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); color: white; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: bold; }

.ad-detail-box { padding: 10px 12px; flex-grow: 1; display: flex; flex-direction: column; position: relative; }
.ad-item-title { font-size: 14px; font-weight: bold; color: #0074ba; margin-bottom: 5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-item-desc { font-size: 12px; color: var(--text-gray); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-item-price { font-size: 14px; font-weight: bold; color: var(--primary-teal); margin-top: auto; }
.ad-badge-bottom { position: absolute; bottom: 10px; right: 12px; font-size: 14px; display: flex; align-items: center; gap: 5px; }

.ribbon-icon { background: #e56565; color: white; font-size: 9px; font-weight: bold; padding: 1px 4px; border-radius: 2px; }
.crown-icon { color: #ffc800; font-size: 14px; }

/* 10. Promo Blocks */
.promo-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; margin-bottom: 40px; }
.promo-box { border: 1px solid #e2eaf8; border-radius: 0; padding: 20px; display: flex; align-items: center; gap: 20px; }
.promo-content h3 { font-family: "Inter", sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #1c2733; letter-spacing: -0.3px; }
.promo-content p { font-family: "Inter", sans-serif; font-size: 13px; color: #707676; margin-bottom: 15px; line-height: 1.5; }
.btn-promo { display: inline-block; padding: 10px 24px; font-size: 13px; font-weight: 800; border-radius: 0; text-decoration: none; text-transform: uppercase; }
.btn-yellow { background: #ffc800; color: #222; }
.btn-yellow:hover { background: #e6b400; }
.btn-blue { background: #0074ba; color: #fff; }
.btn-blue:hover { background: #00639e; }

@media (max-width: 600px) {
    .featured-card { 
        flex: 0 0 calc(100% - 30px) !important; 
        border-radius: 0; /* Sharp edges */
        box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* Better separation */
    }
    .slider-wrapper { padding: 0; }
    .slider-btn { display: none; }
    .slider-track { 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 15px; 
        padding: 5px 15px 15px; /* Peek-through effect to show more cards */
        scrollbar-width: none;
    }
    .slider-track::-webkit-scrollbar { display: none; }
    .featured-card { scroll-snap-align: center; }
    
    /* Convert Grid to Mobile Swipeable Image Carousel */
    .featured-image-gallery { 
        display: flex !important; 
        flex-direction: row;
        overflow-x: auto; 
        scroll-snap-type: x mandatory;
        height: 220px; 
        padding: 0;
        gap: 0;
        border-bottom: none;
        scrollbar-width: none;
    }
    .featured-image-gallery::-webkit-scrollbar { display: none; }
    
    .f-img { 
        flex: 0 0 100%; 
        height: 100%;
        scroll-snap-align: start; 
    }
    
    .more-img-overlay { display: none !important; } /* Hide the basic +X overlay since they can swipe now */
    
    .ad-detail-box { padding: 16px; }
    .ad-item-title { font-size: 16px; margin-bottom: 8px; }
    .ad-item-price { font-size: 18px; margin-top: 12px; }
    .ad-item-desc { font-size: 13px; color: #718096; }

    .promo-section { grid-template-columns: 1fr; }
}

/* 11. Authentication (Login/Register/OTP) */
.auth-wrapper { display: flex; justify-content: center; align-items: center; min-height: 80vh; padding: 60px 15px; background-color: #f8f9fa; }
.auth-card-modern { background: white; width: 100%; max-width: 900px; min-height: 520px; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,0.05); display: flex; overflow: hidden; border: 1px solid #eee; }
.auth-benefits { flex: 1; padding: 50px 60px; border-right: 1px solid #f4f4f4; display: flex; flex-direction: column; }
.auth-promo-title { font-size: 20px; font-weight: bold; color: #222; margin-bottom: 5px; }
.auth-promo-subtitle { color: var(--text-gray); margin-bottom: 45px; font-size: 14px; }
.benefit-item { display: flex; align-items: center; margin-bottom: 35px; gap: 20px; }
.benefit-icon { width: 32px; display: flex; justify-content: center; }
.benefit-text { color: var(--text-gray); font-size: 14px; line-height: 1.4; }
.auth-actions { flex: 1; padding: 50px 60px; display: flex; flex-direction: column; }
.btn-otp-continue { width: 100%; height: 42px; background: #9bd3c4; color: white; border: none; border-radius: 4px; font-weight: bold; font-size: 14px; cursor: not-allowed; transition: all 0.2s; }
.auth-separator { text-align: center; position: relative; margin: 25px 0; font-size: 12px; color: #999; }
.social-login-group { display: flex; flex-direction: column; gap: 12px; }
.social-btn { width: 100%; height: 42px; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: bold; font-size: 14px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.social-btn.google { background: white; color: #222; border: 1px solid #ddd; }
.social-btn.facebook { background: #3b5998; color: white; border: none; }
.social-btn.email { background: var(--primary-teal); color: white; border: none; }
.auth-terms { font-size: 11px; color: var(--text-gray); text-align: center; line-height: 1.8; margin: 30px 0; }
.auth-terms a { color: var(--primary-teal); text-decoration: none; }
.auth-switch-section { text-align: center; margin-top: 10px; }
.switch-separator { height: 1px; background: #eee; margin-bottom: 25px; }
.auth-switch-section p { color: var(--text-gray); font-size: 14px; margin-bottom: 15px; }
.btn-switch-login { display: inline-block; padding: 8px 35px; background: #fdfdfd; border: 1px solid #ddd; border-radius: 4px; color: #222; font-weight: bold; text-decoration: none; font-size: 14px; transition: background 0.2s; }
.btn-switch-login:hover { background: #f8f8f8; }

@media (max-width: 768px) { 
    .auth-card-modern { flex-direction: column; } 
    .auth-benefits { display: none; } 
    .auth-actions { padding: 40px 30px; } 
}

@keyframes flyAndFade {
    0% { transform: translateX(0) translateY(0) scale(1); opacity: 1; }
    45% { transform: translateX(20px) translateY(-15px) scale(0.5); opacity: 0; }
    50% { transform: translateX(-20px) translateY(15px) scale(0.5); opacity: 0; }
    55% { transform: translateX(-20px) translateY(15px) scale(0.5); opacity: 1; }
    100% { transform: translateX(0) translateY(0) scale(1); opacity: 1; }
}
.otp-send-anim { animation: flyAndFade 1.5s infinite ease-in-out; display: inline-block; margin-right: 5px; }

.modern-input-group { margin-bottom: 15px; }
.modern-input-group input, .modern-input-group select, .modern-input-group textarea { width: 100%; height: 40px; padding: 0 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: #666; outline: none; transition: border-color 0.2s; }
.modern-input-group input:focus, .modern-input-group select:focus, .modern-input-group textarea:focus { border-color: var(--primary-teal); }
.modern-input-group textarea { height: auto; padding: 12px 15px; min-height: 100px; }

/* 12. OTP Verification */
.otp-card { background: white; width: 100%; max-width: 450px; padding: 50px 30px; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,0.05); text-align: center; border: 1px solid #eee; margin: 40px auto; }
.otp-icon-header { font-size: 40px; color: var(--primary-teal); margin-bottom: 20px; }
.otp-title { font-size: 20px; font-weight: bold; color: #222; margin-bottom: 8px; }
.otp-subtitle { font-size: 14px; color: var(--text-gray); margin-bottom: 30px; line-height: 1.6; }
.otp-input-container { display: flex; justify-content: center; gap: 10px; }
.otp-digit { width: 48px; height: 56px; border: 1px solid #ddd; border-radius: 4px; font-size: 24px; font-weight: bold; text-align: center; color: #222; outline: none; transition: border-color 0.2s; }
.otp-digit:focus { border-color: var(--primary-teal); box-shadow: 0 0 0 3px rgba(20, 151, 119, 0.1); }
.otp-footer { margin-top: 30px; font-size: 13px; color: var(--text-gray); }
.otp-footer a { color: var(--primary-teal); font-weight: 700; text-decoration: none; }

/* 13. Ad Posting & Details Form */
.post-details-wrapper { background-color: #f1f3f4; min-height: 100vh; padding: 40px 0; }
.container-medium { max-width: 1000px; margin: 0 auto; padding: 0 15px; }
.post-form-card { background: white; border-radius: 4px; border: 1px solid #e1e4e4; overflow: hidden; }
.form-header-bar { padding: 30px 40px; border-bottom: 1px solid #f1f3f4; background: #fff; display: flex; justify-content: space-between; align-items: center; }
.form-main-title { font-size: 18px; font-weight: 700; color: #002f34; margin: 0; }
.selection-summary { display: flex; align-items: center; gap: 30px; margin: 0; }
.summary-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #002f34; }
.summary-item i { color: var(--primary-teal); font-size: 18px; }
.summary-item a { color: #3b71fe; font-size: 13px; text-decoration: none; margin-left: 5px; font-weight: normal; }

.post-form-content { padding: 40px; }
.form-row-modern { margin-bottom: 30px; position: relative; max-width: 600px; }
.form-row-modern label { display: block; font-size: 11px; color: var(--text-gray); margin-bottom: 8px; }
.form-row-modern input, .form-row-modern select, .form-row-modern textarea { width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 12px 15px; font-size: 13px; outline: none; background: #fff; transition: border-color 0.2s; }
.form-row-modern input:focus, .form-row-modern select:focus, .form-row-modern textarea:focus { border-color: var(--primary-teal); }
.form-row-modern textarea { height: 120px; resize: vertical; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #222; cursor: pointer; }
.radio-label input { width: auto; height: auto; accent-color: var(--primary-teal); }

/* Optional Field Toggles */
.hidden-field { display: none !important; }
.optional-toggle-row { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; cursor: pointer; color: #0074ba; font-size: 13px; font-weight: 600; transition: color 0.2s; width: fit-content; }
.optional-toggle-row i { font-size: 18px; color: #0074ba; }
.optional-toggle-row:hover { color: #0056b3; text-decoration: underline; }

.photo-upload-grid { display: flex; gap: 15px; flex-wrap: wrap; }
.photo-slot { width: 100px; height: 100px; border: 1px solid #ddd; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fdfdfd; cursor: pointer; position: relative; overflow: hidden; background-size: contain; background-position: center; background-repeat: no-repeat; }
.photo-slot.active { border-color: #0074ba; background: #fff; }
.photo-slot i { font-size: 20px; margin-bottom: 8px; color: #0074ba; }
.photo-slot span { font-size: 10px; color: #0074ba; }
.file-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }

.photos-upsell-box { margin-top: 40px; border: 1px solid #e1eaf0; background: #fdfdfd; padding: 40px; border-radius: 0; text-align: center; }
.upsell-badge { position: absolute; top: 5px; right: 5px; background: #ea644c; color: white; font-size: 8px; padding: 2px 5px; border-radius: 3px; font-weight: bold; }

.form-section-divider { height: 1px; background: #eee; margin: 40px 0; }

@media (max-width: 768px) {
    .form-header-bar { flex-direction: column; align-items: flex-start; gap: 15px; padding: 20px; }
    .selection-summary { flex-direction: column; gap: 10px; align-items: flex-start; }
    .post-form-content { padding: 20px; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .photo-slot { width: calc(33% - 10px); }
}

/* --- Refined Contact & Input Styles --- */
.contact-info-row-stacked {
    margin-bottom: 20px;
    max-width: 600px;
}

.contact-info-row-stacked label {
    display: block;
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 4px;
    font-weight: 500;
}

.info-value-modern {
    font-size: 14px;
    color: #1c2733;
    font-weight: 700;
}

.phone-input-group-simple {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 44px;
    background: #fff;
    max-width: 400px;
}

.phone-prefix {
    width: 50px;
    height: 100%;
    background: #f8f9fa;
    color: #707676;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border-right: 1px solid #ddd;
}

.phone-input-group-simple input {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    color: #002f34;
}

.btn-add-phone-action {
    background: #f8f9fa;
    border: none;
    border-left: 1px solid #ddd;
    padding: 0 15px;
    height: 100%;
    color: #002f34;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-add-phone-action:hover {
    background: #eef2f3;
}

.btn-remove-phone-action {
    background: #fff;
    border: none;
    border-left: 1px solid #ddd;
    padding: 0 15px;
    height: 100%;
    color: #ea644c;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-post-ad-primary {
    background: #149777;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 60px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(20, 151, 119, 0.2);
}

.btn-post-ad-primary:hover {
    background: #0d7c62;
    transform: translateY(-1px);
}

/* 14. User Dashboard & Ads Management */
.user-ads-dashboard { padding: 5px 0; }
.success-alert-card { background: #e6f6f2; border: 1px solid var(--primary-teal); border-left: 5px solid var(--primary-teal); padding: 18px 25px; border-radius: 8px; margin-bottom: 30px; display: flex; align-items: center; gap: 15px; box-shadow: 0 4px 12px rgba(20, 151, 119, 0.1); }
.success-alert-card h4 { margin: 0; color: var(--primary-teal); font-size: 16px; font-weight: 800; }
.success-alert-card p { margin: 3px 0 0; color: #555; font-size: 13px; font-weight: 500; }

.managed-ad-item { display: flex; gap: 20px; padding: 15px; border: 1px solid #edeff0; border-radius: 8px; margin-bottom: 15px; background: #fff; position: relative; transition: box-shadow 0.2s; }
.managed-ad-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.ad-thumb { width: 140px; height: 100px; flex-shrink: 0; background: #f8f9fa; border-radius: 4px; overflow: hidden; }
.ad-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ad-info { flex: 1; }
.ad-status-badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: bold; text-transform: uppercase; }
.status-active { background: #e8f8f5; color: var(--primary-teal); }
.status-pending { background: #fffcf2; color: var(--secondary-yellow); }
.status-rejected { background: #fdf2f2; color: #d9534f; }

.btn-post-ad-small { background: var(--secondary-yellow); color: #2f3432; padding: 8px 16px; border-radius: 4px; font-weight: 800; font-size: 13px; text-decoration: none; transition: background 0.2s; }
.btn-post-ad-small:hover { background: #e6b400; }

.empty-state-wrapper { text-align: center; padding: 60px 0; }
.empty-illustration-container { position: relative; width: fit-content; margin: 0 auto 35px; }
.btn-post-ad-yellow { background: var(--secondary-yellow); color: #2f3432; border: none; border-radius: 4px; padding: 13px 35px; font-weight: 800; font-size: 14px; text-decoration: none; display: inline-block; transition: background 0.15s; box-shadow: 0 2px 0 rgba(0,0,0,0.05); }
.btn-post-ad-yellow:hover { background: #e6b400; }

/* 15. Ad Category Selection & Modal */
.post-ad-wrapper { background-color: #f1f3f4; min-height: 80vh; padding: 60px 0; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 15px; }
.post-selection-header { text-align: center; margin-bottom: 40px; }
.selection-welcome { font-size: 18px; font-weight: 800; color: #2f3432; margin-bottom: 5px; }
.selection-subtitle { font-size: 14px; color: var(--text-gray); }

.selection-grid { display: flex; gap: 20px; }
.selection-box { flex: 1; background: white; border-radius: 6px; border: 1px solid #e1e4e4; box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: all 0.2s ease; text-decoration: none; display: block; padding: 24px 18px; text-align: center; }
.selection-box:hover { box-shadow: 0 6px 14px rgba(0,0,0,0.08); transform: translateY(-2px); }
.action-icon { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.selection-box h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: 0.5px; color: #2f3432; }
.selection-box p { margin: 0 0 14px; font-size: 13px; color: var(--text-gray); min-height: 36px; }
.action-link { font-size: 13px; font-weight: 700; color: #0074ba; }

.sell-card .action-icon { background: #fff7e8; color: #ba9934; }
.job-card .action-icon { background: #eef8ff; color: #0074ba; }
.rent-card .action-icon { background: #ecfbf3; color: var(--primary-teal); }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: none; justify-content: center; align-items: center; z-index: 10000; }
.modal-container { background: white; width: 850px; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border: 1px solid #e1e4e4; position: relative; }
.modal-header { display: flex; border-bottom: 1px solid #eee; background: #fff; }
.header-col { flex: 1; padding: 18px 25px; font-size: 14px; font-weight: 800; color: #2f3432; }
.sub-header { border-left: 1px solid #eee; background: #fdfdfd; }
.modal-close { position: absolute; right: 15px; top: 15px; background: none; border: none; font-size: 24px; color: var(--text-gray); cursor: pointer; z-index: 10; }

.modal-body { display: flex; height: 500px; }
.left-panel { flex: 1; overflow-y: auto; border-right: 1px solid #eee; background: #fff; }
.right-panel { flex: 1; overflow-y: auto; background: #fdfdfd; }

.category-list, .subcategory-list { list-style: none; padding: 0; margin: 0; }
.category-list li a { display: flex; align-items: center; padding: 12px 25px; font-size: 13px; color: #2f3432; text-decoration: none; border-bottom: 1px solid #f9f9f9; }
.category-list li.active a { background: #f1f3f4; font-weight: 800; color: var(--primary-teal); }
.category-list li a i { width: 25px; font-size: 14px; color: var(--primary-teal); margin-right: 10px; }

.subcategory-list li a { display: block; padding: 12px 25px; font-size: 13px; color: #0074ba; text-decoration: none; border-bottom: 1px solid #eee; transition: all 0.2s; }
.subcategory-list li a:hover { background: #fff; padding-left: 30px; font-weight: 800; color: #2f3432; }

@media (max-width: 900px) {
    .selection-grid { flex-direction: column; }
    .modal-container { width: 95%; margin: 10px; flex-direction: column; }
    .modal-body { height: auto; min-height: 400px; flex-direction: column; }
    .modal-header { flex-direction: column; } 
}