/* ============================================
   DubaiRealtyNRI - Responsive Styles
   Mobile-First Responsive Design
   ============================================ */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 56px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .navbar-nav .nav-link {
        padding: 25px 12px;
        font-size: 13px;
    }
    
    .brand-name {
        font-size: 22px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        padding: 12px 16px;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .dropdown-menu {
        background: rgba(255,255,255,0.05);
        margin-left: 20px;
    }
    
    .btn-consultation {
        margin: 15px 0;
        display: inline-block;
        text-align: center;
    }
    
    /* Grid Adjustments */
    .benefit-card h4 {
        font-size: 18px;
    }
    
    .property-card .price {
        font-size: 20px;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 32px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .quick-search {
        margin-top: -30px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        padding: 10px 16px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .brand-tagline {
        font-size: 8px;
    }
    
    /* Cards */
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-card .icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-card .icon i {
        font-size: 28px;
    }
    
    .property-buttons {
        flex-direction: column;
    }
    
    .property-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .project-buttons {
        flex-direction: column;
    }
    
    /* CTA */
    .cta-banner {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    /* Footer */
    .footer-widget {
        text-align: center;
    }
    
    .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Contact Page */
    .contact-info .info-card {
        margin-bottom: 20px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 28px;
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    .trust-badges {
        justify-content: center;
        gap: 15px;
    }
    
    .trust-badges span {
        font-size: 12px;
    }
    
    /* Lead Form */
    .lead-form-card {
        padding: 20px;
        margin-top: 30px;
    }
    
    .lead-form-card h3 {
        font-size: 20px;
    }
    
    /* Quick Search */
    .quick-search {
        margin-top: -20px;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .search-box h3 {
        font-size: 18px;
        text-align: center;
    }
    
    .search-box .col-md-3 {
        margin-bottom: 10px;
    }
    
    /* Section Headers */
    .section-padding {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    /* Benefit Cards */
    .benefit-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .benefit-card .icon {
        width: 55px;
        height: 55px;
    }
    
    .benefit-card .icon i {
        font-size: 24px;
    }
    
    .benefit-card h4 {
        font-size: 16px;
    }
    
    .benefit-card p {
        font-size: 12px;
    }
    
    /* Property Cards */
    .property-image {
        height: 200px;
    }
    
    .property-details {
        padding: 15px;
    }
    
    .property-details h4 {
        font-size: 16px;
    }
    
    .price {
        font-size: 18px;
    }
    
    .property-features {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .property-features span {
        font-size: 12px;
    }
    
    /* Project Cards */
    .project-image {
        height: 180px;
    }
    
    .project-details {
        padding: 15px;
    }
    
    .project-info {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Area Cards */
    .area-overlay h4 {
        font-size: 16px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }
    
    .quote-icon {
        font-size: 24px;
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
    
    /* CTA */
    .cta-banner {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 14px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-brand-name {
        font-size: 24px;
    }
    
    .footer-widget {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-widget h4 {
        font-size: 16px;
    }
    
    .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-widget ul li a {
        font-size: 13px;
    }
    
    .contact-details p {
        font-size: 12px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
        margin-top: 20px;
    }
    
    .copyright .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
    
    /* Page Header */
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    /* Contact Page */
    .info-card {
        margin-bottom: 20px;
    }
    
    .info-icon {
        width: 55px;
        height: 55px;
    }
    
    .info-icon i {
        font-size: 22px;
    }
    
    .contact-form-card {
        padding: 20px;
    }
    
    .contact-form-card h3 {
        font-size: 22px;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    /* Filter Sidebar */
    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    /* Navigation - Mobile */
    .navbar-brand {
        padding: 10px 0;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .brand-tagline {
        font-size: 7px;
    }
    
    .navbar-toggler {
        padding: 5px 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .dropdown-menu {
        background: rgba(255,255,255,0.05);
        margin-left: 15px;
    }
    
    .btn-consultation {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    /* Top Bar */
    .top-bar .contact-info {
        justify-content: center;
        gap: 15px;
        margin-bottom: 8px;
    }
    
    .top-bar .contact-info a {
        font-size: 11px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Results Header */
    .results-header {
        text-align: center;
    }
    
    .results-header .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
    
    /* Investment Guide */
    .guide-content h2 {
        font-size: 24px;
    }
    
    .guide-features li {
        font-size: 14px;
    }
    
    .guide-form .row .col-md-5,
    .guide-form .row .col-md-2 {
        margin-bottom: 10px;
    }
    
    /* Scroll to Top */
    .scroll-top {
        bottom: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Very Small Devices (320px and below) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 24px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .property-features {
        flex-direction: column;
        gap: 5px;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .navbar,
    .quick-search,
    .cta-banner,
    .footer,
    .whatsapp-sticky,
    .call-sticky,
    .scroll-top,
    .newsletter-form,
    .social-icons {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero-section {
        background: none;
        color: black;
        padding: 20px 0;
    }
    
    .property-card,
    .benefit-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .navbar-nav {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* High Resolution Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}