/* Service Pages Responsive Styles */

/* 1280x768 Resolution Optimizations */
@media (max-width: 1280px) and (min-width: 1025px) {
    /* Hero Section for 1280x768 */
    .services-page [class*="hero-"] {
        min-height: 520px;
    }
    
    .services-page [class*="hero-"]::before {
        background: linear-gradient(to right, #FFFFFF 50%, rgba(255, 255, 255, 0) 85%);
    }
    
    .services-page [class*="hero-"] .hero-text-content {
        padding: 90px 40px 90px 60px;
        max-width: 55%;
    }
    
    .services-page [class*="hero-"] .hero-text-content h1 {
        font-size: 44px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .services-page [class*="hero-"] .hero-text-content p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 28px;
    }
    
    .services-page [class*="hero-"] .hero-text-content .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 160px;
    }
    
    /* Why Work with BitsFlow Section for 1280x768 */
    .why-work-with-bitsflow {
        padding: 60px 40px;
    }
    
    .why-work-with-bitsflow .section-header {
        margin-bottom: 40px;
    }
    
    .why-work-with-bitsflow .section-header h2 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .why-work-with-bitsflow .section-header p {
        font-size: 16px;
        line-height: 1.5;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .features-wrapper {
        max-width: 1100px;
        margin: 0 auto;
    }
    
    .features-grid {
        gap: 32px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-item {
        padding: 24px;
        text-align: center;
    }
    
    .feature-icon img {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }
    
    .feature-title {
        font-size: 18px;
        line-height: 1.4;
    }
    
    /* FAQ Section for 1280x768 */
    .product-faq-service {
        padding: 60px 40px;
    }
    
    .product-faq-service .container {
        max-width: 1000px;
    }
    
    .product-faq-service .section-title {
        font-size: 36px;
        margin-bottom: 32px;
    }
    
    .faq-item {
        margin-bottom: 20px;
    }
    
    .faq-question {
        padding: 20px 24px;
        font-size: 18px;
        line-height: 1.4;
    }
    
    .faq-toggle-icon {
        width: 40px;
        height: 40px;
    }
    
    .faq-answer p {
        padding: 20px 24px;
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Lead Capture Section for 1280x768 */
    .lead-capture-section {
        width: 85%;
        max-width: 1000px;
        margin-top: -120px;
        padding: 70px 40px 40px;
        min-height: 320px;
    }
    
    .lead-capture-text-content {
        gap: 16px;
    }
    
    .lead-capture-text-content h2 {
        font-size: 38px;
        line-height: 48px;
        margin-bottom: 12px;
    }
    
    .lead-capture-text-content p {
        font-size: 18px;
        line-height: 28px;
    }
    
    .lead-capture-buttons {
        gap: 20px;
        margin-top: 24px;
    }
    
    .btn-lead-demo, .btn-lead-contact {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 160px;
    }
    
    .footer-decorative-image {
        top: -30px;
        max-width: 75%;
    }
    
    .lead-capture-decorative-icons-image-container {
        padding: 20px 0;
    }
    
    /* Section spacing for 1280x768 */
    .section-spacer {
        height: 40px;
    }
}

/* Tablet and smaller desktop screens */
@media (max-width: 1024px) {
    /* Hero Section */
    .services-page [class*="hero-"] .hero-text-content h1 {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .services-page [class*="hero-"] .hero-text-content p {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .services-page [class*="hero-"]::before {
        background: linear-gradient(to right, #FFFFFF 45%, rgba(255, 255, 255, 0) 80%);
    }
    
    .services-page [class*="hero-"] .hero-text-content {
        padding: 80px 40px 80px 80px;
    }
    
    /* FAQ Section */
    .product-faq-service .section-title {
        font-size: 40px;
    }
    
    .faq-question {
        font-size: 22px;
        line-height: 30px;
    }
    .lead-capture-section {
        width: 90%;
        height: auto;
        min-height: 300px;
        margin-top: -100px;
        padding: 60px 20px 30px;
    }
    
    .lead-capture-text-content h2 {
        font-size: 36px;
        line-height: 46px;
        white-space: normal;
    }
    
    .lead-capture-text-content p {
        font-size: 18px;
        line-height: 26px;
    }
    
    .lead-capture-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-decorative-image {
        top: -25px;
        max-width: 80%;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    /* Hero Section */
    .services-page [class*="hero-"] {
        min-height: auto;
        position: relative;
        overflow: hidden;
    }
    
    .services-page [class*="hero-"]::before {
        background: linear-gradient(rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.7) 100%);
    }
    
    .services-page [class*="hero-"] .hero-text-content {
        padding: 70px 20px;
        text-align: center;
        margin: 0 auto;
    }
    
    .services-page [class*="hero-"] .hero-text-content h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .services-page [class*="hero-"] .normal-text {
        display: inline;
    }
    
    .services-page [class*="hero-"] .hero-text-content p {
        font-size: 16px;
        margin: 15px auto 25px;
        max-width: 100%;
    }
    
    .services-page [class*="hero-"] .hero-text-content .btn-primary {
        margin: 0 auto;
    }
    
    /* Why Work with BitsFlow Section */
    .why-work-with-bitsflow {
        padding: 50px 20px 40px;
    }
    
    .why-work-with-bitsflow .section-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .why-work-with-bitsflow .section-header h2 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .why-work-with-bitsflow .section-header p {
        font-size: 16px;
        line-height: 1.4;
        margin: 0 auto;
    }
    
    .features-wrapper {
        padding-top: 20px;
    }
    
    .features-grid {
        gap: 30px;
    }
    
    .feature-item {
        width: 100%;
        max-width: 320px;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon img {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }
    
    .feature-title {
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }
    
    /* Spacing adjustments */
    .section-spacer {
        height: 10px; /* Reduced from 40px */
    }
    
    /* FAQ Section */
    .product-faq-service {
        padding: 40px 20px;
        margin-top: 5px; /* Reduced top margin */
    }
    
    .product-faq-service .section-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 15px 0;
        font-size: 18px;
        line-height: 1.4;
    }
    
    .faq-question span {
        width: calc(100% - 60px);
    }
    
    .faq-toggle-icon {
        width: 36px;
        height: 36px;
    }
    
    .faq-item.active .faq-answer {
        padding-bottom: 15px;
    }
    
    .faq-answer p {
        font-size: 15px;
        line-height: 1.5;
    }
    .lead-capture-section {
        width: 92%;
        margin-top: -70px;
        padding: 40px 15px 20px;
        border-radius: 10px;
        min-height: 250px;
        box-sizing: border-box;
    }
    
    .lead-capture-text-content {
        gap: 10px;
    }
    
    .lead-capture-text-content h2 {
        font-size: 28px;
        line-height: 36px;
        padding: 0 5px;
        margin-bottom: 5px;
    }
    
    .lead-capture-text-content p {
        font-size: 16px;
        line-height: 22px;
        padding: 0 5px;
    }
    
    .lead-capture-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 15px;
        align-items: center;
    }
    
    .btn-lead-demo, .btn-lead-contact {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 15px;
        text-align: center;
    }
    
    .lead-capture-decorative-icons-image-container {
        padding-bottom: 10px;
        padding-top: 10px;
        margin-top: 10px;
    }
    
    .footer-decorative-image {
        top: -15px;
        max-width: 220px;
        margin: 0 auto;
        display: block;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    /* Hero Section */
    .services-page [class*="hero-"] .hero-text-content {
        padding: 50px 15px;
    }
    
    .services-page [class*="hero-"] .hero-text-content h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .services-page [class*="hero-"] .hero-text-content p {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .services-page [class*="hero-"] .hero-text-content .btn-primary {
        height: 46px;
        padding-left: 20px;
        font-size: 15px;
    }
    
    .services-page [class*="hero-"] .btn-primary .arrow-container {
        width: 38px;
    }
    
    /* Why Work with BitsFlow Section */
    .why-work-with-bitsflow {
        padding: 40px 15px 30px;
    }
    
    .why-work-with-bitsflow .section-header h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .why-work-with-bitsflow .section-header p {
        font-size: 15px;
    }
    
    .features-grid {
        gap: 25px 10px;
    }
    
    .feature-item {
        max-width: 100%;
    }
    
    .feature-title {
        font-size: 15px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Spacing adjustments */
    .section-spacer {
        height: 10px; /* Further reduced from 20px */
    }
    
    /* FAQ Section */
    .product-faq-service {
        padding: 15px 15px 30px;
        gap: 10px;
        margin-top: 5px; /* Even smaller top margin */
    }
    
    .product-faq-service .section-title {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 12px 0;
        font-size: 16px;
        font-weight: 600;
    }
    
    .faq-toggle-icon {
        width: 32px;
        height: 32px;
    }
    
    .faq-toggle-icon::before {
        height: 14px;
    }
    
    .faq-toggle-icon::after {
        width: 14px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    .lead-capture-section {
        width: 95%;
        padding: 30px 15px 10px;
    }
    
    .lead-capture-text-content h2 {
        font-size: 24px;
        line-height: 30px;
    }
    
    .lead-capture-text-content p {
        font-size: 14px;
        line-height: 20px;
        padding: 0;
        margin-bottom: 5px;
    }
    
    .lead-capture-buttons {
        margin-top: 10px;
        gap: 12px;
    }
    
    .footer-decorative-image {
        max-width: 180px;
        top: -10px;
    }
}
