/* 
* Real Estate Transactions Website Template
* Responsive CSS File
*/

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content h3 {
        font-size: 1.6rem;
    }
    
    .section-heading h2 {
        font-size: 2.3rem;
    }
    
    .section-heading h3 {
        font-size: 1.6rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-heading h2 {
        font-size: 2.1rem;
    }
    
    .section-heading h3 {
        font-size: 1.4rem;
    }
    
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        font-size: 1.2rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer [class*="col-"] {
        margin-bottom: 30px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-content h3 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-heading h2 {
        font-size: 1.9rem;
    }
    
    .section-heading h3 {
        font-size: 1.3rem;
    }
    
    .section-heading p {
        font-size: 1rem;
    }
    
    .about-feature-item, 
    .service-card, 
    .feature-box, 
    .price-card, 
    .team-member, 
    .info-card, 
    .blog-card,
    .legal-card, 
    .document-card, 
    .challenge-card, 
    .global-card, 
    .trend-card, 
    .benefit-card, 
    .pitfall-card {
        margin-bottom: 20px;
    }
    
    .info-icon, 
    .feature-box .feature-icon,
    .legal-icon, 
    .document-icon, 
    .challenge-icon, 
    .global-icon, 
    .trend-icon, 
    .benefit-icon, 
    .pitfall-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 2rem;
    }
    
    .timeline-item, .tech-item {
        margin-bottom: 15px;
    }
    
    .time-icon, .tech-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.2rem;
    }
    
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h3 {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section-heading {
        margin-bottom: 30px;
    }
    
    .section-heading h2 {
        font-size: 1.7rem;
    }
    
    .section-heading h3 {
        font-size: 1.2rem;
    }
    
    .section-heading p {
        font-size: 0.95rem;
    }
    
    .service-card, 
    .feature-box, 
    .price-card, 
    .team-member, 
    .info-card, 
    .blog-card,
    .contact-info,
    .contact-form-wrapper,
    .legal-card, 
    .document-card, 
    .challenge-card, 
    .global-card, 
    .trend-card, 
    .benefit-card, 
    .pitfall-card {
        padding: 20px;
    }
    
    .info-icon, 
    .feature-box .feature-icon,
    .legal-icon, 
    .document-icon, 
    .challenge-icon, 
    .global-icon, 
    .trend-icon, 
    .benefit-icon, 
    .pitfall-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.8rem;
    }
    
    .review-text:before {
        font-size: 1.5rem;
        top: -15px;
        left: -10px;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    /* Reduce font sizes for very small screens */
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    /* Adjust spacing for smaller screens */
    .service-card h4,
    .feature-box h4,
    .info-card h4,
    .legal-card h4, 
    .document-card h4, 
    .challenge-card h4, 
    .global-card h4, 
    .trend-card h4, 
    .benefit-card h4, 
    .pitfall-card h4 {
        font-size: 1.1rem;
    }
    
    /* Make buttons more touch-friendly on mobile */
    .btn {
        padding: 10px 25px;
    }
    
    /* Space Page */
    #space {
        height: 300px;
    }
}

/* Support for high pixel density displays and dark mode */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* High-resolution screen optimizations if needed */
}

@media (prefers-reduced-motion: reduce) {
    /* Remove animations for users who prefer reduced motion */
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper-container {
        --swiper-autoplay-delay: 999999999s;
    }
}

@media (prefers-color-scheme: dark) {
    /* Dark mode styles - would be implemented in a real project */
} 