/* Mobile Responsive CSS */
@media (max-width: 768px) {
    /* General Mobile Styles */
    .container { padding: 0 15px; }
    .section { padding: 2rem 0 !important; }
    
    /* Header & Navigation */
    .site-nav .site-menu { flex-direction: column; }
    .site-nav .logo img { height: 30px; }
    .hero h1 { font-size: 1.5rem !important; }
    .hero p { font-size: 0.9rem !important; }
    
    /* Featured Properties Mobile Styles */
    .properties-slider-container {
        overflow-x: auto !important;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
    }
    .properties-slider {
        flex-wrap: nowrap !important;
        width: auto !important;
        transform: none !important;
        transition: none !important;
    }
    .properties-slider > div {
        flex: 0 0 85vw !important;
        min-width: 85vw !important;
        margin-right: 15px !important;
        max-width: none !important;
    }
    .properties-slider .mb-30 {
        height: auto !important;
        min-height: 450px;
        margin-bottom: 0;
    }
    .properties-slider .mb-30 img {
        height: 180px !important;
        object-fit: cover !important;
    }
    .properties-slider .property-content {
        padding: 12px !important;
    }
    .properties-slider .price .d-flex {
        flex-direction: column;
        gap: 8px;
    }
    .properties-slider .price span {
        margin: 0 !important;
        text-align: center;
        font-size: 0.85rem;
    }
    .properties-slider .row.mb-3 {
        font-size: 0.75rem !important;
        margin-bottom: 1rem !important;
    }
    .properties-slider .row.mb-3 .col-4 {
        padding: 0 5px;
    }
    .properties-slider .row.mb-3 div {
        margin-bottom: 8px;
        line-height: 1.2;
    }
    .properties-slider .d-flex.justify-content-between {
        flex-direction: column;
        gap: 8px;
    }
    .properties-slider .btn {
        width: 100% !important;
        margin-bottom: 5px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    /* Testimonials Mobile Styles */
    .testimonials-slider-container {
        overflow-x: auto !important;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
    }
    .testimonials-slider {
        flex-wrap: nowrap !important;
        width: auto !important;
        transform: none !important;
        transition: none !important;
    }
    .testimonial-slide {
        flex: 0 0 85vw !important;
        min-width: 85vw !important;
        margin-right: 15px !important;
        max-width: none !important;
    }
    .testimonial {
        height: auto !important;
        min-height: 200px !important;
        padding: 15px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    .testimonial > div:first-child {
        flex: none !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    .testimonial img {
        width: 50px !important;
        height: 50px !important;
    }
    .testimonial .rate {
        margin-bottom: 10px !important;
    }
    .testimonial h6 {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    .testimonial small {
        font-size: 12px !important;
        margin-bottom: 10px !important;
        display: block;
    }
    .testimonial p {
        font-size: 13px !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
    
    /* Property Cards */
    .property-item { height: auto !important; margin-bottom: 20px; }
    .property-item img { height: 200px !important; object-fit: contain !important; }
    .col-lg-4, .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    
    /* Property Single Page */
    .property-single .row { flex-direction: column; }
    .table-responsive { font-size: 14px; }
    
    /* Contact Page Mobile Styles */
    .section:first-of-type {
        padding-top: 100px !important;
    }
    .contact-info {
        margin-bottom: 30px;
        margin-top: 20px;
        padding-top: 20px;
    }
    .contact-info > div {
        margin-bottom: 25px !important;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
    }
    .contact-info h4 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    .contact-info p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    .mobile-address {
        line-height: 1.6 !important;
        word-break: break-word;
    }
    .mobile-address::after {
        content: "\A";
        white-space: pre;
    }
    .mobile-spacer {
        display: block !important;
    }
    .desktop-title {
        display: none !important;
    }
}

/* Desktop - Hide mobile spacer */
@media (min-width: 769px) {
    .mobile-spacer {
        display: none !important;
    }
    .desktop-title {
        display: block !important;
        color: #007bff;
        font-weight: bold;
        margin-bottom: 30px;
        margin-top: -20px;
        text-decoration: underline;
        text-underline-offset: 5px;
    }
    .contact-info i {
        font-size: 20px;
        margin-bottom: 10px;
        display: block;
    }
    
    /* Contact Form Mobile */
    .col-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .form-group {
        margin-bottom: 20px;
    }
    .form-group label {
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Social Widgets Mobile */
    .social-widget {
        margin-bottom: 20px !important;
        padding: 20px !important;
    }
    .social-widget img {
        width: 40px !important;
        height: 40px !important;
    }
    .social-widget h5 {
        font-size: 16px !important;
    }
    .social-widget p {
        font-size: 13px !important;
    }
    
    /* Feedback Cards Mobile */
    .feedback-card {
        margin-bottom: 20px !important;
        padding: 20px !important;
    }
    .feedback-card h4 {
        font-size: 18px !important;
    }
    .feedback-card p {
        font-size: 14px !important;
    }
    
    /* Map Mobile */
    .property-map iframe {
        height: 300px !important;
    }
    
    /* Forms */
    .form-control { font-size: 16px; }
    .btn { padding: 10px 15px; font-size: 14px; width: 100%; }
    
    /* Images */
    img { max-width: 100% !important; height: auto !important; }
    
    /* Text */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
}

/* Admin Panel Mobile */
@media (max-width: 768px) {
    .main-wrapper { padding: 0; }
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .content { margin-left: 0 !important; padding: 10px; }
    .card { margin-bottom: 15px; }
    .table-responsive { font-size: 12px; }
    .form-group { margin-bottom: 15px; }
    .btn { width: 100%; margin-bottom: 10px; }
}