/* 
   PensionPro Desk - Responsive CSS File
   Pension Plan Document Preparation Desk Template
   Version: 1.0
*/

/* ====== MEDIA QUERIES ====== */

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
    /* Global adjustments */
    section {
        padding: 70px 0;
    }
    
    /* Hero section */
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content h4 {
        font-size: 20px;
    }
    
    /* Team section */
    .team-image {
        height: 250px;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
    /* Global adjustments */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    /* Hero section */
    .hero-section, .hero-slide {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h4 {
        font-size: 18px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    /* Price plan section */
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
    
    /* Team section */
    .team-image {
        height: 220px;
    }
    
    /* Contact section */
    .contact-info {
        margin-bottom: 30px;
    }
    
    /* Expertise section */
    .expertise-image {
        margin-bottom: 30px;
    }
    
    /* Certification section */
    .certification-image {
        height: 180px;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
    /* Global adjustments */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    /* Hero section */
    .hero-section, .hero-slide {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .hero-content h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    /* About section */
    .about-feature {
        margin-bottom: 20px;
    }
    
    /* Service cards */
    .service-image {
        height: 180px;
    }
    
    /* Team section */
    .team-image {
        height: 250px;
    }
    
    /* Footer */
    .footer-section {
        padding: 50px 0 0;
    }
    
    /* Education cards */
    .education-icon {
        margin-bottom: 15px;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    /* Global adjustments */
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header h5 {
        font-size: 16px;
    }
    
    /* Hero section */
    .hero-section, .hero-slide {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .hero-content h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* About section */
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Service cards */
    .service-content {
        padding: 15px;
    }
    
    .service-price {
        font-size: 20px;
    }
    
    /* Price cards */
    .price {
        font-size: 30px;
    }
    
    /* Team section */
    .team-image {
        height: 220px;
    }
    
    /* Reviews section */
    .review-card {
        padding: 20px 15px;
    }
    
    /* Contact form */
    .contact-form-container {
        padding: 20px 15px;
    }
    
    /* Footer */
    .footer-section {
        padding: 40px 0 0;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding: 15px 0;
    }
    
    /* Resource cards */
    .resource-card {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-icon {
        margin: 0 0 15px 0;
    }
    
    /* Expertise items */
    .expertise-item {
        flex-direction: column;
        text-align: center;
    }
    
    .expertise-icon {
        margin: 0 0 10px 0;
    }
    
    .expertise-item h4 {
        margin-top: 10px;
    }
    
    /* Education cards */
    .education-card .row {
        flex-direction: column;
        text-align: center;
    }
    
    .education-icon {
        margin-bottom: 15px;
    }
    
    /* Office hours */
    .hours-list li {
        flex-direction: column;
        text-align: center;
    }
    
    .hours-list li span {
        margin-bottom: 5px;
    }
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide, .service-image img, .team-image img, 
    .certification-image img, .blog-image img {
        transition: none !important;
    }
    
    .service-card:hover, .about-feature:hover, .feature-card:hover,
    .price-card:hover, .team-card:hover, .blog-card:hover,
    .info-card:hover, .process-card:hover, .document-card:hover,
    .quality-card:hover, .prep-card:hover, .certification-card:hover,
    .education-card:hover, .partner-card:hover, .resource-card:hover {
        transform: none !important;
    }
    
    .service-card:hover .service-image img, 
    .team-card:hover .team-image img,
    .certification-card:hover .certification-image img,
    .blog-card:hover .blog-image img {
        transform: none !important;
    }
    
    .blog-link:after {
        transition: none !important;
    }
}

/* Specific Mobile Navigation Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 15px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        margin-top: 10px;
    }
    
    .navbar-nav {
        align-items: center;
    }
    
    .nav-link {
        padding: 10px;
        text-align: center;
    }
}

/* Mobile Swiper Adjustments */
@media (max-width: 767.98px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .reviews-swiper {
        padding: 20px 0;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images for high DPI screens if needed */
}

/* Print Styles */
@media print {
    body {
        font-size: 12pt;
    }
    
    .header, .footer-section {
        display: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    
    .hero-section, .about-section, .features-section,
    .reviews-section, .blog-section {
        display: none;
    }
    
    .service-card, .price-card, .info-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 