/* Responsive CSS for AI Pricing Tool */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {

    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section p {
        font-size: 1.375rem;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
    .hero-section {
        padding: 120px 0;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .navbar-brand {
        font-size: 1.75rem;
    }
    
    .col-xl-20 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-section p {
        font-size: 1.125rem;
    }
    
    .navbar-nav {
        flex-direction: row;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .process-step {
        padding: 2rem;
    }
    
    .timeline-item {
        margin-left: 2rem;
    }
    
    .col-xl-20 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    body {
        overflow-x: hidden !important;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    

    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .price-card {
        margin-bottom: 1.5rem;
    }
    
    .review-card {
        margin-bottom: 1.5rem;
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .price-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .team-member {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .review-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .timeline-item {
        margin-left: 0;
        padding: 1.5rem;
    }
    
    .feature-box,
    .process-item,
    .integration-card,
    .security-feature,
    .performance-metric,
    .enterprise-feature,
    .analytics-tool,
    .custom-service,
    .support-service,
    .metric-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .blog-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .case-study-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .career-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .info-card i,
    .feature-item i {
        font-size: 1.75rem;
    }
    
    .feature-icon {
        font-size: 1.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .col-lg-20 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-xl-20 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Portrait Tablets and Small Laptops */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 1rem;
    }
    
    .col-lg-20 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-xl-20 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Landscape Tablets */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    .accordion-item {
        margin-bottom: 0.5rem;
    }
    
    .gallery-image {
        margin-bottom: 1rem;
    }
    
    .col-lg-20 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-xl-20 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Large Mobile Devices */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .form-control {
        font-size: 0.875rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0;
    }
    
    .space-container {
        padding: 1rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 374.98px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section p {
        font-size: 0.875rem;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .contact-form {
        padding: 1rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .process-step {
        padding: 0.75rem;
    }
    
    .timeline-item {
        padding: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .info-card i,
    .feature-item i {
        font-size: 1.25rem;
    }
    
    .feature-icon {
        font-size: 1.25rem;
    }
}

/* Specific responsive fixes */
@media (max-width: 991.98px) {
    .team-section .row {
        justify-content: center;
    }
    
    .team-member {
        max-width: 300px;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .contact-section .row:last-child {
        margin-top: 2rem;
    }
    
    .contact-section .row:last-child .col-lg-4 {
        margin-bottom: 1rem;
    }
}

/* Print responsive styles */
@media print {
    .hero-section {
        padding: 20px 0;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card {
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
        break-inside: avoid;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .process-step {
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
    
    .timeline-item {
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-image: url('../JEB_images/hero-bg@2x.webp');
    }
}

/* Landscape orientation specific styles */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}

/* Dark mode support (if enabled by user) */

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .team-member,
    .process-step,
    .timeline-item,
    .feature-box,
    .process-item,
    .integration-card,
    .security-feature,
    .performance-metric,
    .enterprise-feature,
    .analytics-tool,
    .custom-service,
    .support-service,
    .metric-card,
    .blog-card,
    .case-study-card,
    .career-item,
    .info-card,
    .feature-item,
    .gallery-image {
        transition: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-member:hover,
    .process-step:hover,
    .feature-box:hover,
    .process-item:hover,
    .integration-card:hover,
    .security-feature:hover,
    .performance-metric:hover,
    .enterprise-feature:hover,
    .analytics-tool:hover,
    .custom-service:hover,
    .support-service:hover,
    .metric-card:hover,
    .blog-card:hover,
    .case-study-card:hover,
    .career-item:hover,
    .info-card:hover,
    .feature-item:hover,
    .gallery-image:hover {
        transform: none;
    }
}

/* Focus visible for better accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus-visible,
    .form-control:focus-visible,
    .nav-link:focus-visible,
    .navbar-brand:focus-visible,
    .blog-link:focus-visible,
    .accordion-button:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
} 