/* AI Pricing Coach - Responsive CSS */

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.78rem; }
    h3 { font-size: 1.61rem; }
    
    /* Hero Section */
    .hero-section {
        padding: 6rem 0 3rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.28rem;
        margin-bottom: 1rem;
    padding-top: 125px;
}
    
    .hero-section h2 {
        font-size: 1.35rem;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1.19rem;
    }
    
    /* Cards and Components */
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card {
        margin-bottom: 1.62rem;
    }
    
    /* Team Members */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .team-member h5 {
        font-size: 0.98rem;
    }
    
    .team-member p {
        font-size: 0.80rem;
    }
    
    /* Process Steps */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Pricing */
    .price-tag {
        font-size: 2rem;
    }
    
    /* Contact Form */
    .contact-info {
        margin-top: 2rem;
    }
    
    /* Section Padding */
    section {
        padding: 3rem 0;
    }
    
    /* Footer */
    footer .col-lg-4 {
        text-align: center;
    }
    
    footer .col-lg-4:not(:last-child) {
        margin-bottom: 2rem;
    }
}

/* Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .hero-section h1 {
        font-size: 2.58rem;
    padding-top: 125px;
}
    
    /* Team Grid */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Timeline */
    .timeline-item {
        margin-bottom: 1.57rem;
    }
    
    /* Section Padding */
    section {
        padding: 4rem 0;
    }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    .hero-section {
        padding: 8rem 0 5rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 125px;
}
    
    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }
    
    /* Feature Items */
    .feature-item {
        margin-bottom: 1.65rem;
    }
    
    /* Services Grid */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Team Members */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Process and Timeline */
    .process-step,
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    /* Career Items */
    .career-card {
        margin-bottom: 1.58rem;
    }
    
    /* Contact Form */
    .contact-info {
        margin-top: 2rem;
    }
    
    /* Gallery */
    #gallery .col-lg-3 {
        margin-bottom: 1rem;
    }
}

/* Large Devices (Desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 3.56rem;
    padding-top: 125px;
}
    
    /* Team Layout */
    .team-member {
        margin-bottom: 1rem;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 1rem;
    }
    
    /* Timeline */
    .timeline-item {
        margin-bottom: 1rem;
    }
    
    /* Element Cards for Additional Pages */
    .element-card {
        margin-bottom: 1rem;
    }
}

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 4rem;
    padding-top: 125px;
}
    
    /* Container Max Width */
    .container {
        max-width: 1200px;
    }
    
    /* Enhanced Hover Effects for Larger Screens */
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover {
        transform: translateY(-8px);
    }
    
    /* Team Grid Optimization */
    .team-member {
        padding: 1.5rem 1rem;
    }
    
    /* Process Steps Enhancement */
    .process-step {
        padding: 2rem 1rem;
    }
    
    /* Timeline Spacing */
    .timeline-item {
        padding: 2rem;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
    /* Hero Section */
    .hero-section {
        padding: 10rem 0 6rem;
    }
    
    .hero-section h1 {
        font-size: 4.61rem;
    padding-top: 125px;
}
    
    /* Container for Ultra Wide */
    .container {
        max-width: 1320px;
    }
    
    /* Enhanced Spacing */
    section {
        padding: 6rem 0;
    }
}

/* Print Styles */
@media print {
    /* Remove Navigation */
    .navbar {
        display: none;
    }
    
    /* Remove Backgrounds */
    .hero-section,
    .bg-light {
        background: white;
    }
    
    /* Adjust Colors for Print */
    body {
        color: black;
    }
    
    /* Remove Shadows */
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-item,
    .element-card {
        box-shadow: none;
        border: 1px solid #d5d5d5;
    }
    
    /* Optimize Typography */
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    /* Remove Interactive Elements */
    .btn-primary {
        display: none;
    }
    
    /* Optimize Images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Page Breaks */
    section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }
}

/* Landscape Orientation Optimizations */
@media (orientation: landscape) and (max-height: 600px) {
    /* Reduce Hero Height on Short Landscape Screens */
    .hero-section {
        min-height: 80vh;
        padding: 5rem 0 3rem;
    }
    
    /* Navbar Adjustment */
    .navbar {
        padding: 0.5rem 0;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Crisp borders and shadows */
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-item,
    .element-card {
        border: 0.5px solid rgba(0, 0, 0, 0.1);
    }
    
    /* Enhanced text rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    /* Remove all animations and transitions */
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Remove hover transforms */
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .faq-item:hover,
    .element-card:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    /* Enhance contrast */
    body {
        background: white;
        color: black;
    }
    
    .bg-light {
        background: #f0f0f0;
    }
    
    /* Strong borders */
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-item,
    .element-card {
        border: 2px solid black;
        box-shadow: none;
    }
    
    /* High contrast links */
    a {
        color: #1719ff;
        text-decoration: underline;
    }
    
    a:visited {
        color: #591491;
    }
    
    a:hover {
        color: #ff0500;
    }
}

/* Reduced Data Mode */
@media (prefers-reduced-data: reduce) {
    /* Remove background images */
    .hero-section::before {
        display: none;
    }
    
    /* Optimize images */
    img {
        image-rendering: -webkit-optimize-contrast;
    }
} 