/* Custom CSS for ApnaPata Theme */

/* Search Box Styles */
.search-box-container {
    display: flex;
    align-items: center;
    margin: 0 20px;
    flex: 1;
    max-width: 500px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
}

.search-icon {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 10px;
    font-size: 14px;
}

.search-input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    flex: 1;
    font-size: 14px;
}

.search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Cities Link Styles */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cities-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cities-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.cities-text {
    font-size: 14px;
    font-weight: 600;
}

.cities-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.cities-link:hover i {
    transform: translateY(1px);
}

.location-btn, .mic-btn {
    margin-left: 8px;
    border: none;
    background: transparent;
    color: white;
    padding: 5px 8px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 12px;
}

.location-btn:hover, .mic-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mic-btn.btn-danger {
    background: #dc3545;
    border: 1px solid #dc3545;
}

.mic-btn.btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
}

/* Responsive design */
@media (max-width: 768px) {
    .search-box-container {
        margin: 10px 0;
        max-width: 100%;
        order: 3;
    }
    
    .brand-logo {
        gap: 15px;
    }
    
    .cities-link {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .cities-text {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .search-box-container {
        margin: 5px 0;
    }
    
    .search-input-wrapper {
        padding: 6px 12px;
    }
    
    .search-input-wrapper input {
        font-size: 13px;
    }
    
    .brand-logo {
        gap: 10px;
    }
    
    .cities-link {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .cities-text {
        font-size: 12px;
    }
}

/* Popular Cities Section Styles */
.popular-cities-section {
    background: #ffffff;
    padding: 80px 0;
}

.cities-grid .row {
    margin: 0 -10px;
}

.cities-grid .col-xl-3,
.cities-grid .col-lg-4,
.cities-grid .col-md-6,
.cities-grid .col-sm-6 {
    padding: 0 10px;
    margin-bottom: 20px;
}

.city-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.city-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

.city-card:hover .city-image img {
    transform: scale(1.05);
}

.city-content {
    padding: 20px;
    text-align: left;
}

.city-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.city-content p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
}

.main-title .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.main-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Responsive adjustments for cities section */
@media (max-width: 768px) {
    .popular-cities-section {
        padding: 60px 0;
    }
    
    .main-title h2 {
        font-size: 28px;
    }
    
    .city-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .popular-cities-section {
        padding: 40px 0;
    }
    
    .main-title h2 {
        font-size: 24px;
    }
    
    .city-image {
        height: 160px;
    }
    
    .city-content {
        padding: 15px;
    }
    
    .city-content h4 {
        font-size: 16px;
    }
}

/* Mobile App Section Styles */
.mobile-app-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.mobile-app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="buildings" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect x="0" y="15" width="4" height="5" fill="%23d4d4d4" opacity="0.3"/><rect x="6" y="10" width="3" height="10" fill="%23d4d4d4" opacity="0.3"/><rect x="11" y="12" width="4" height="8" fill="%23d4d4d4" opacity="0.3"/><rect x="17" y="8" width="3" height="12" fill="%23d4d4d4" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23buildings)"/></svg>') repeat;
    opacity: 0.1;
}

.app-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.app-content .subtitle {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.features-list {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-item i {
    color: #007bff;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
}

.feature-item span {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    background: #000;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.download-btn img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text .small-text {
    font-size: 10px;
    opacity: 0.8;
    line-height: 1;
}

.btn-text .large-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-container {
    position: relative;
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-right: 15px;
}

.hamburger-menu span {
    width: 18px;
    height: 2px;
    background: #333;
    border-radius: 1px;
}

.search-bar {
    flex: 1;
    position: relative;
    margin-right: 15px;
}

.search-bar input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    outline: none;
}

.search-bar i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 12px;
}

.notification-icon {
    position: relative;
    color: #007bff;
    font-size: 18px;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
}

.phone-content {
    padding: 20px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

.location-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.explore-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    background: #e9ecef;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}

.tag.active {
    background: #007bff;
    color: white;
}

.recommended-section {
    margin-bottom: 20px;
}

.recommended-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.recommended-section p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.property-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.property-card {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.verified-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 600;
}

.property-info {
    flex: 1;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.property-info i {
    color: #ffc107;
    font-size: 14px;
}

.download-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #2c3e50;
}

.download-badge i {
    color: #007bff;
}

/* Responsive adjustments for mobile app section */
@media (max-width: 768px) {
    .mobile-app-section {
        padding: 60px 0;
    }
    
    .app-content h2 {
        font-size: 36px;
    }
    
    .phone-container {
        width: 240px;
        height: 480px;
    }
    
    .download-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .app-content h2 {
        font-size: 28px;
    }
    
    .phone-container {
        width: 200px;
        height: 400px;
    }
    
    .download-btn {
        min-width: 150px;
        padding: 10px 15px;
    }
}

/* Preferred Agents Section Styles */
.preferred-agents-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.see-all-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.see-all-link:hover {
    color: #0056b3;
}

.agents-container {
    position: relative;
    overflow: hidden;
}

.agents-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.agents-scroll::-webkit-scrollbar {
    height: 6px;
}

.agents-scroll::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.agents-scroll::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

.agent-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    min-width: 340px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745);
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #e3f2fd;
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.agent-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.agent-info {
    flex: 1;
}

.agent-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.preferred-badge {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid #b8dacc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.preferred-agent-badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.preferred-agent-badge i {
    font-size: 11px;
}

.agent-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.company-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #495057;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo-square {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
}

.company-details h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.company-details p {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 2px 0;
    line-height: 1.4;
    font-weight: 500;
}

.property-stats {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.scroll-right {
    right: -20px;
}

.scroll-left {
    left: -20px;
}

/* Responsive adjustments for preferred agents section */
@media (max-width: 768px) {
    .preferred-agents-section {
        padding: 60px 0;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .agent-card {
        min-width: 300px;
        padding: 20px;
    }
    
    .agent-avatar {
        width: 50px;
        height: 50px;
    }
    
    .agent-info h4 {
        font-size: 18px;
    }
    
    .company-info {
        padding: 12px;
    }
    
    .company-logo, .logo-square {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .property-stats {
        padding: 16px;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .scroll-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .preferred-agents-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .agent-card {
        min-width: 280px;
        padding: 18px;
    }
    
    .agent-profile {
        gap: 12px;
    }
    
    .agent-avatar {
        width: 45px;
        height: 45px;
    }
    
    .agent-info h4 {
        font-size: 17px;
    }
    
    .preferred-badge {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .preferred-agent-badge {
        padding: 8px 10px;
        font-size: 8px;
    }
    
    .company-info {
        padding: 12px;
        gap: 12px;
    }
    
    .company-logo, .logo-square {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .company-details h5 {
        font-size: 15px;
    }
    
    .company-details p {
        font-size: 12px;
    }
    
    .property-stats {
        padding: 14px;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 10px;
    }
}

/* Promotional Banners Section Styles */
.promotional-banners-section {
    background: #ffffff;
    padding: 60px 0 40px 0;
    margin-top: -20px;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 216px;
}

.banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.banner-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.banner-image .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-card:hover .banner-image .bg-img {
    transform: scale(1.08);
}

/* Responsive adjustments for promotional banners */
@media (max-width: 992px) {
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .banner-card {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .promotional-banners-section {
        padding: 50px 0 30px 0;
    }
    
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .banner-card {
        height: 162px;
    }
}

@media (max-width: 576px) {
    .promotional-banners-section {
        padding: 40px 0 20px 0;
    }
    
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .banner-card {
        height: 144px;
    }
}

/* City Selector Modal Styles */
.city-selector-modal {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow: hidden;
}

.city-selector-modal .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 30px 15px;
    background: #f8f9fa;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-arrow {
    color: #6c757d;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.back-arrow:hover {
    color: #007bff;
}

.city-selector-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.city-selector-modal .btn-close {
    background: none;
    border: none;
    font-size: 20px;
    opacity: 0.6;
}

.city-selector-modal .modal-body {
    padding: 0;
    max-height: 60vh;
    overflow-y: auto;
}

/* Cities Section */
.cities-section {
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.cities-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.cities-grid.other-cities {
    grid-template-columns: repeat(6, 1fr);
}

.city-column {
    display: flex;
    flex-direction: column;
    padding-right: 15px;
}

.city-item {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.city-item:hover {
    color: #0056b3;
    text-decoration: underline;
    background: rgba(0, 123, 255, 0.05);
    padding-left: 8px;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cities-grid.other-cities {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cities-section {
        padding: 15px 20px;
    }
    
    .city-selector-modal .modal-header {
        padding: 15px 20px 10px;
    }
}

@media (max-width: 576px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-grid.other-cities {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-section {
        padding: 12px 15px;
    }
    
    .city-selector-modal .modal-header {
        padding: 12px 15px 8px;
    }
    
    .city-selector-modal .modal-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .city-item {
        font-size: 13px;
        padding: 6px 0;
    }
}

/* Post Ad Category Section Styles */
.post-ad-category-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.category-cards {
    margin-top: 40px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    margin-bottom: 20px;
}

.category-icon svg {
    width: 60px;
    height: 60px;
    fill: #667eea;
}

.category-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.category-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.category-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.category-features i {
    color: #4CAF50;
    margin-right: 8px;
    font-size: 0.8rem;
}

.category-action .btn {
    width: 100%;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px;
}

/* Post Ad Form Styles */
.post-ad-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.post-ad-form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.form-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f8f9fa;
}

.form-actions .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 120px;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #5a6fd8;
}

.breadcrumb-item.active {
    color: #6c757d;
}

        /* Multi-Step Form Styles */
        .step-progress {
            margin-bottom: 40px;
        }

        .step-indicator {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
        }

        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 20px;
            position: relative;
        }

        .step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 20px;
            left: 100%;
            width: 40px;
            height: 2px;
            background: #e9ecef;
            z-index: 1;
        }

        .step.completed:not(:last-child)::after {
            background: #28a745;
        }

        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e9ecef;
            color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            margin-bottom: 8px;
            transition: all 0.3s ease;
            z-index: 2;
            position: relative;
        }

        .step.active .step-number {
            background: #667eea;
            color: white;
        }

        .step.completed .step-number {
            background: #28a745;
            color: white;
        }

        .step-label {
            font-size: 0.9rem;
            color: #6c757d;
            font-weight: 500;
        }

        .step.active .step-label {
            color: #667eea;
            font-weight: 600;
        }

        .step.completed .step-label {
            color: #28a745;
        }

        .form-step {
            display: none;
        }

        .form-step.active {
            display: block;
        }

        .step-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f8f9fa;
        }

        /* Form Section Styles */
        .form-section {
            margin-bottom: 30px;
        }

        .section-label {
            font-size: 1.1rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
        }

        /* Transaction Button Styles */
        .transaction-buttons {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .transaction-btn {
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 25px;
            padding: 12px 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .transaction-btn:hover {
            border-color: #667eea;
            color: #667eea;
        }

        .transaction-btn.active {
            background: #667eea;
            border-color: #667eea;
            color: white;
        }

        .transaction-btn input[type="radio"] {
            display: none;
        }

        /* Category Option Styles */
        .category-options {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .category-option {
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 15px 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 120px;
        }

        .category-option:hover {
            border-color: #667eea;
            color: #667eea;
        }

        .category-option input[type="radio"] {
            display: none;
        }

        .category-option input[type="radio"]:checked + span {
            color: #667eea;
        }

        .category-option input[type="radio"]:checked {
            border-color: #667eea;
            background: #f8f9ff;
        }

        /* Subtype Pill Styles */
        .subtype-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .subtype-pill {
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 15px;
            padding: 8px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            white-space: nowrap;
        }

        .subtype-pill:hover {
            border-color: #667eea;
            color: #667eea;
        }

        .subtype-pill input[type="radio"] {
            display: none;
        }

        .subtype-pill input[type="radio"]:checked + span {
            color: #667eea;
        }

        .subtype-pill input[type="radio"]:checked {
            border-color: #667eea;
            background: #f8f9ff;
        }

        /* Details Form Styles */
        .details-form {
            margin-bottom: 30px;
        }

        .common-fields {
            margin-top: 30px;
            padding-top: 30px;
            border-top: 2px solid #f8f9fa;
        }

        .checkbox-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
            margin-top: 10px;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            font-size: 0.95rem;
            color: #555;
            cursor: pointer;
        }

        .checkbox-item input[type="checkbox"] {
            margin-right: 8px;
            transform: scale(1.1);
        }

        .checkbox-item:hover {
            color: #667eea;
        }

        /* Form Navigation Styles */
        .form-navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid #f8f9fa;
        }

        .form-navigation .btn {
            min-width: 120px;
            padding: 12px 25px;
            font-weight: 600;
            border-radius: 8px;
        }

        /* Validation Error Styles */
        .validation-error {
            margin-bottom: 20px;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Draft Alert Styles */
        .alert {
            border-radius: 10px;
            border: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .alert-info {
            background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
            color: #1565c0;
        }

        /* Input Group Styles */
        .input-group {
            display: flex;
        }

        .input-group .form-control:first-child {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

        .input-group .form-control:last-child {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border-left: 0;
            min-width: 100px;
        }

        /* Responsive Design for Post Ad Pages */
        @media (max-width: 768px) {
            .post-ad-category-section {
                padding: 40px 0;
            }

            .category-card {
                padding: 20px;
                margin-bottom: 20px;
            }

            .post-ad-section {
                padding: 40px 0;
            }

            .post-ad-form-container {
                padding: 20px;
            }

            .form-actions {
                flex-direction: column;
            }

            .form-actions .btn {
                width: 100%;
            }

            .step-indicator {
                margin-bottom: 20px;
            }

            .step {
                margin: 0 10px;
            }

            .step:not(:last-child)::after {
                width: 20px;
            }

            .step-number {
                width: 35px;
                height: 35px;
                font-size: 0.9rem;
            }

            .step-label {
                font-size: 0.8rem;
            }

            .checkbox-group {
                grid-template-columns: 1fr;
            }

            .form-navigation {
                flex-direction: column;
                gap: 15px;
            }

            .form-navigation .btn {
                width: 100%;
            }

            .transaction-buttons {
                flex-direction: column;
                gap: 8px;
            }

            .transaction-btn {
                width: 100%;
            }

            .category-options {
                flex-direction: column;
                gap: 10px;
            }

            .category-option {
                width: 100%;
            }

            .subtype-pills {
                gap: 6px;
            }

            .subtype-pill {
                font-size: 0.8rem;
                padding: 6px 12px;
            }
        }