/* Responsive Design */

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop */
@media (max-width: 1199.98px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.6rem; }
}

/* Tablet */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1.4rem; }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .contact-form {
        padding: 2rem;
        margin-bottom: 2rem;
    }
}

/* Mobile Large */
@media (max-width: 767.98px) {
    body {
    overflow-x: hidden;
        font-size: 15px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1rem; }
    
    .hero {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero h1 { font-size: 1.8rem; }
    .hero h2 { font-size: 1.3rem; }
    .hero p { font-size: 1rem; }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 10px 15px;
    }
    
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .feature-card,
    .service-card,
    .team-member,
    .pricing-card,
    .protection-card,
    .succession-item,
    .charity-card,
    .international-item,
    .education-item,
    .tech-card,
    .compliance-item,
    .support-card,
    .quality-item,
    .feature-item,
    .info-card,
    .case-study-card,
    .blog-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .breadcrumb-nav {
        padding: 80px 0 20px;
        text-align: center;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .review-item {
        padding: 2rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
    overflow-x: hidden;
        padding: 1rem;
    }
}

/* Mobile Small */
@media (max-width: 575.98px) {
    body {
    overflow-x: hidden;
        font-size: 14px;
    }
    
    .section-padding {
        padding: 30px 0;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 0.95rem; }
    
    .hero h1 { font-size: 1.6rem; }
    .hero h2 { font-size: 1.2rem; }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .feature-card,
    .service-card,
    .team-member,
    .pricing-card,
    .protection-card,
    .succession-item,
    .charity-card,
    .international-item,
    .education-item,
    .tech-card,
    .compliance-item,
    .support-card,
    .quality-item,
    .feature-item,
    .info-card,
    .case-study-card,
    .blog-card {
        padding: 1.2rem;
    }
    
    .feature-card i,
    .info-card i {
        font-size: 2.5rem;
    }
    
    .pricing-card .price {
        font-size: 1.8rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .review-item {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .gallery img {
        height: 150px;
    }
    
    .breadcrumb-image {
        max-width: 80px;
    }
    
    #space {
        margin-top: 70px;
        min-height: 50vh;
    }
}

/* Mobile Specific - Disable animations and autoplay on mobile */
@media (max-width: 767.98px) {
    /* Disable Swiper autoplay and effects on mobile */
    .swiper {
        --swiper-navigation-size: 30px;
    }
    
    .swiper-slide {
        padding: 0 10px;
    }
    
    /* Reduce motion for mobile users */
    .feature-card:hover,
    .service-card:hover,
    .team-member:hover,
    .pricing-card:hover,
    .protection-card:hover,
    .succession-item:hover,
    .charity-card:hover,
    .international-item:hover,
    .education-item:hover,
    .tech-card:hover,
    .compliance-item:hover,
    .support-card:hover,
    .quality-item:hover,
    .feature-item:hover,
    .info-card:hover,
    .case-study-card:hover,
    .blog-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }
    
    .gallery img:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .swiper-pagination,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    body {
    overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .section-padding {
        padding: 20pt 0;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto;
    }
    
    .hero h1, .hero h2, .hero p {
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #333333;
        --accent-color: #FFD700;
        --text-dark: #000000;
        --text-light: #333333;
        --bg-light: #FFFFFF;
        --border-color: #000000;
    }
    
    .feature-card,
    .service-card,
    .team-member,
    .pricing-card,
    .protection-card,
    .succession-item,
    .charity-card,
    .international-item,
    .education-item,
    .tech-card,
    .compliance-item,
    .support-card,
    .quality-item,
    .feature-item,
    .info-card,
    .case-study-card,
    .blog-card {
        border: 2px solid black;
    }
    
    .btn-primary {
        background: black;
        border: 2px solid black;
        color: white;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* Very Small Devices */
@media (max-width: 359.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.9rem; }
    
    .hero h1 { font-size: 1.4rem; }
    .hero h2 { font-size: 1.1rem; }
    
    .feature-card,
    .service-card,
    .team-member,
    .pricing-card,
    .protection-card,
    .succession-item,
    .charity-card,
    .international-item,
    .education-item,
    .tech-card,
    .compliance-item,
    .support-card,
    .quality-item,
    .feature-item,
    .info-card,
    .case-study-card,
    .blog-card {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} 