/* Pension Health Check Kiosks - Responsive CSS */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    :root {
        --font-size-base: 14px;
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    /* Hero section mobile */
    .hero-section {
        min-height: 70vh;
        padding-top: 60px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-section h2 {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    /* Shapes hidden on mobile */
    .hero-shapes {
        display: none;
    }

    /* Navigation mobile */
    .navbar-brand {
        font-size: 1.4rem;
    }

    .navbar-nav .nav-link {
        padding: var(--spacing-sm);
        margin: var(--spacing-xs) 0;
        text-align: center;
    }

    /* Cards mobile */
    .feature-card, .service-card, .info-card {
        margin-bottom: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    .feature-card i, .info-card i {
        font-size: 2rem;
    }

    /* Feature items mobile */
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-sm);
    }

    .feature-item i {
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }

    /* Team members mobile */
    .team-member img {
        height: 150px;
    }

    /* Price plan mobile */
    .price-plan-card.featured {
        transform: none;
        margin-bottom: var(--spacing-md);
    }

    .plan-price {
        font-size: 2rem;
    }

    /* Contact form mobile */
    .contact-form {
        padding: var(--spacing-md);
    }

    /* Gallery mobile */
    .gallery-item {
        margin-bottom: var(--spacing-sm);
    }

    /* Footer mobile */
    .footer {
        text-align: center;
        padding: var(--spacing-md) 0;
    }

    .footer .col-lg-4 {
        margin-bottom: var(--spacing-md);
    }

    /* Breadcrumb mobile */
    .breadcrumb-section {
        margin-top: 60px;
        padding: var(--spacing-xs) 0;
        text-align: center;
    }

    .breadcrumb-section img {
        max-height: 40px;
    }

    /* Disable animations on mobile for better performance */
    .feature-card:hover, .service-card:hover, .info-card:hover,
    .team-member:hover img, .gallery-item:hover,
    .blog-card:hover, .price-plan-card:hover {
        transform: none;
    }

    /* Button adjustments */
    .btn {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .btn-outline-primary {
        margin-top: var(--spacing-xs);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 991.98px) {
    /* Hero section tablet */
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section h2 {
        font-size: 1.3rem;
    }

    /* Reduce shape sizes on tablet */
    .shape-blob-1 {
        width: 150px;
        height: 150px;
    }

    .shape-blob-2 {
        width: 100px;
        height: 100px;
    }

    /* Team grid tablet */
    .team-member {
        margin-bottom: var(--spacing-md);
    }

    .team-member img {
        height: 180px;
    }

    /* Price plan tablet */
    .price-plan-card.featured {
        transform: scale(1.02);
    }

    /* Gallery tablet */
    .gallery-item {
        margin-bottom: var(--spacing-sm);
    }

    /* Reduce some animations for better tablet performance */
    @media (max-width: 768px) {
        .feature-card:hover, .service-card:hover, .info-card:hover {
            transform: translateY(-2px);
        }
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Hero section desktop */
    .hero-section {
        min-height: 100vh;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    /* Full animations enabled */
    .feature-card:hover, .service-card:hover, .info-card:hover {
        transform: translateY(-5px);
    }

    .team-member img {
        height: 200px;
    }

    /* Enhanced desktop features */
    .price-plan-card.featured {
        transform: scale(1.05);
    }

    .price-plan-card.featured:hover {
        transform: scale(1.05) translateY(-5px);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .hero-section h1 {
        font-size: 4rem;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }

    /* Enhanced spacing for large screens */
    section {
        padding: 5rem 0;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

    /* Reduce section padding in landscape */
    section {
        padding: var(--spacing-md) 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp images on retina displays */
    .hero-image img,
    .service-card img,
    .team-member img,
    .gallery-item,
    .blog-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    /* Enhance touch targets */
    .btn {
        min-height: 44px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .form-control {
        min-height: 44px;
    }

    .accordion-button {
        min-height: 44px;
    }

    /* Remove hover effects on touch devices */
    .feature-card:hover, .service-card:hover, .info-card:hover,
    .team-member:hover img, .gallery-item:hover,
    .blog-card:hover, .price-plan-card:hover,
    .feature-item:hover, .navbar-nav .nav-link:hover {
        transform: none;
        background-color: initial;
    }

    /* Focus states for touch navigation */
    .feature-card:focus, .service-card:focus, .info-card:focus,
    .btn:focus, .form-control:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Swiper responsive adjustments */
@media (max-width: 768px) {
    .reviews-swiper {
        padding: var(--spacing-sm) 0;
    }

    .swiper-slide {
        padding: 0 var(--spacing-xs);
    }

    .review-card {
        max-width: 300px;
        padding: var(--spacing-sm);
    }
}

/* Form responsive adjustments */
@media (max-width: 576px) {
    .contact-form .row .col-md-6 {
        margin-bottom: var(--spacing-sm);
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* FAQ responsive adjustments */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 0.9rem;
        padding: var(--spacing-sm);
    }

    .accordion-body {
overflow-x: hidden;
        padding: var(--spacing-sm);
    }
}

/* Blog responsive adjustments */
@media (max-width: 768px) {
    .blog-card img {
        height: 150px;
    }

    .blog-content {
        padding: var(--spacing-sm);
    }
}

/* Gallery responsive grid */
@media (max-width: 576px) {
    .gallery-section .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Additional page responsive adjustments */
@media (max-width: 768px) {
    .benefit-card, .recognition-item, .support-feature, .security-feature,
    .ux-feature, .roadmap-item, .quality-item, .expansion-item {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
}

/* Print responsive (for mobile print) */
@media print and (max-width: 768px) {
    body {
overflow-x: hidden;
        font-size: 10px;
    }

    .hero-section, .gallery-section {
        display: none;
    }

    .contact-form {
        padding: var(--spacing-sm);
    }
}

/* Accessibility - respect user preferences */
@media (prefers-reduced-motion: reduce) {
    .shape-blob-1, .shape-blob-2 {
        animation: none;
    }

    .swiper {
        overflow: hidden;
    }
}

/* Dark mode support (if user prefers) */
@media (prefers-color-scheme: dark) {
    /* This is optional and can be implemented if needed */
    /* For now, maintaining light theme for consistency */
} 