/* Responsive CSS for Storytelling Workshops */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Cards */
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card, 
    .case-study-card, .process-step, .career-card, .info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Service Cards */
    .service-card .price {
        font-size: 1.5rem;
    }
    
    /* Pricing Cards */
    .price-tag {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured::before {
        top: -15px;
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    /* Team Section */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Timeline */
    .timeline-container {
        padding: 1rem 0;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-date {
        margin-bottom: 1rem;
        margin-right: 0;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* FAQ */
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h5::before {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Blog Cards */
    .blog-card img {
        height: 150px;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Additional Page Cards */
    .method-card, .tech-card, .framework-card, .assessment-card, .support-card,
    .tech-solution-card, .finance-solution-card, .healthcare-solution-card,
    .manufacturing-solution-card, .education-solution-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Gallery */
    .gallery-img {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    footer {
        text-align: center;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        justify-content: center;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Cards */
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card {
        padding: 1.8rem;
    }
    
    /* Team Section */
    .team-member img {
        width: 130px;
        height: 130px;
    }
    
    /* Timeline */
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-date {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    /* Contact Form */
    .contact-info {
        margin-top: 2rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    /* Cards */
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card {
        padding: 2rem;
    }
    
    /* Team Section */
    .team-member img {
        width: 140px;
        height: 140px;
    }
    
    /* Timeline */
    .timeline-item {
        flex-direction: row;
        text-align: left;
    }
    
    .timeline-item::before {
        display: block;
    }
    
    .timeline-date {
        margin-right: 2rem;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        order: 2;
        margin-right: 0;
        margin-left: 2rem;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Gallery */
    .gallery-img {
        margin-bottom: 1.5rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    /* Team Section */
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 0;
    }
    
    /* Timeline */
    .timeline-item {
        margin-bottom: 2.5rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    /* Container adjustments */
    .container {
        max-width: 1200px;
    }
    
    /* Cards */
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card {
        padding: 2.5rem;
    }
    
    /* Timeline */
    .timeline-item {
        margin-bottom: 3rem;
    }
}

/* Height-based Media Queries */
@media (max-height: 600px) {
    .hero-section {
        min-height: 80vh;
        padding: 60px 0;
    }
}

@media (max-height: 500px) {
    .hero-section {
        min-height: 70vh;
        padding: 40px 0;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .navbar, .breadcrumb, footer {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
        padding: 2rem 0;
    }
    
    .hero-section::before {
        display: none !important;
    }
    
    .btn {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section, .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card, .blog-card,
    .gallery-img, .team-member img, .faq-item {
        transform: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #0066cc;
        --accent-color: #cc0000;
        --text-dark: #000000;
        --text-light: #333333;
        --light-bg: #f0f0f0;
        --white: #ffffff;
    }
    
    .btn {
        border: 2px solid !important;
    }
    
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card {
        border: 2px solid var(--primary-color) !important;
    }
}

/* Dark Mode Support */

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem;
    }
    
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card {
        padding: 2rem;
    }
    
    .faq-item {
        padding: 2rem;
    }
    
    .contact-form .form-control {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    
    .gallery-img {
        margin-bottom: 1rem;
    }
}

/* Fold/Flex Display Adjustments */
@media (max-width: 280px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card {
        padding: 1rem;
    }
    
    .price-tag {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Wide Screen Adjustments */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section p {
        font-size: 1.3rem;
    }
    
    .feature-card, .feature-item, .service-card, .pricing-card, .review-card,
    .case-study-card, .process-step, .career-card, .info-card {
        padding: 3rem;
    }
} 