/* Careers Responsive Styles */

/* 1280x768 Resolution Optimizations */
@media (max-width: 1280px) and (min-width: 1025px) {
    /* Careers Hero Section for 1280x768 */
    .careers-hero-content {
        padding: 60px 40px;
        gap: 40px;
    }
    
    .careers-hero-image {
        width: 45%;
        height: 350px;
    }
    
    .careers-hero-text {
        width: 55%;
        padding-left: 32px;
    }
    
    .careers-hero-text h1 {
        font-size: 44px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .careers-hero-text p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    .careers-hero-text .btn-view-openings {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 180px;
    }
    
    /* Why Work With Us Section for 1280x768 */
    .why-work-container {
        padding: 60px 40px;
    }
    
    .why-work-container h2 {
        font-size: 38px;
        margin-bottom: 40px;
    }
    
    .why-work-rows {
        gap: 32px;
        max-width: 1100px;
        margin: 0 auto;
    }
    
    .why-work-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .why-work-card {
        padding: 24px;
    }
    
    .why-work-card h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .why-work-card p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .why-work-card.image-card {
        height: 280px;
    }
    
    /* Testimonial Section for 1280x768 */
    .testimonial-container {
        padding: 60px 40px;
    }
    
    .testimonial-title {
        font-size: 38px;
        margin-bottom: 40px;
    }
    
    .testimonial-elements-wrapper {
        gap: 32px;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .testimonial-content-wrapper {
        max-width: 85%;
    }
    
    .testimonial-quote {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .testimonial-author-details {
        gap: 16px;
    }
    
    .author-name {
        font-size: 18px;
    }
    
    .author-title {
        font-size: 15px;
    }
    
    /* Open Positions Section for 1280x768 */
    .open-positions-section {
        padding: 60px 40px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 38px;
        margin-bottom: 16px;
    }
    
    .section-header p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .job-listings {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        max-width: 1100px;
        margin: 0 auto;
    }
    
    .job-card {
        padding: 24px 20px;
    }
    
    .job-details h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .job-meta {
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .job-meta span {
        font-size: 14px;
    }
    
    .job-tags {
        margin-bottom: 20px;
    }
    
    .job-tags .tag {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .btn-apply-now {
        padding: 12px 20px;
        font-size: 15px;
        min-width: 140px;
    }
    
    .view-more-container {
        margin-top: 40px;
    }
    
    .btn-view-more {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 160px;
    }
}

/* Tablet and smaller desktop screens */
@media (max-width: 1024px) {
    /* Careers Hero Section */
    .careers-hero-content {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .careers-hero-image {
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }
    
    .careers-hero-text {
        width: 100%;
        padding-left: 0;
    }
    
    .careers-hero-text h1 {
        font-size: 38px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .careers-hero-text p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Why Work With Us Section */
    .why-work-container {
        padding: 50px 20px;
    }
    
    .why-work-container h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .why-work-rows {
        gap: 25px;
    }
    
    .why-work-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
    
    .why-work-card {
        padding: 20px;
    }
    
    .why-work-card h3 {
        font-size: 20px;
    }
    
    .why-work-card p {
        font-size: 15px;
    }
    
    /* Testimonial Section */
    .testimonial-container {
        padding: 50px 20px;
    }
    
    .testimonial-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .testimonial-elements-wrapper {
        gap: 20px;
    }
    
    .testimonial-content-wrapper {
        max-width: 90%;
    }
    
    /* Open Positions Section */
    .open-positions-section {
        padding: 50px 20px;
    }
    
    .open-positions-section h2 {
        font-size: 36px;
    }
    
    .job-listings {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .job-card {
        padding: 20px 15px;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    /* Careers Hero Section */
    .careers-hero-content {
        padding: 15px 10px;
    }
    
    .careers-hero-image {
        height: 180px;
        margin-bottom: 15px;
        border-radius: 8px;
        background-position: center;
        background-size: cover;
        width: 100%;
        object-fit: cover;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .careers-hero-text h1 {
        font-size: 24px;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 12px;
        padding: 0 5px;
    }

    .careers-hero-text h1 .highlight {
        color: #0088CC;
        display: block;
        font-size: 20px;
        margin-top: 5px;
    }
    
    .careers-text-wrapper {
        max-width: 100%;
        margin: 0 auto 20px;
        padding: 0 20px;
    }

    .careers-hero-text p {
        font-size: 13px;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 0;
        padding: 0;
        color: #555;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
        font-weight: 400;
    }
    
    .careers-hero-text .btn-view-openings {
        margin: 0 auto;
        display: block;
        max-width: 200px;
        text-align: center;
        padding: 12px 24px;
    }
    
    /* Why Work With Us Section */
    .why-work-container {
        padding: 40px 15px;
    }
    
    .why-work-container h2 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .why-work-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-work-card.image-card {
        height: 200px;
    }
    
    .why-work-card {
        text-align: center;
        align-items: center;
    }
    
    .why-work-card-icon-bg {
        margin: 0 auto 15px;
    }
    
    .why-work-card h3 {
        font-size: 18px;
    }
    
    .why-work-card p {
        font-size: 14px;
    }
    
    /* Testimonial Section */
    .testimonial-container {
        padding: 40px 15px;
    }
    
    .testimonial-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .testimonial-elements-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .decorative-column {
        display: none; /* Hide decorative columns on mobile */
    }
    
    .testimonial-content-wrapper {
        max-width: 100%;
    }
    
    .testimonial-quote-icon-container {
        margin: 0 auto 15px;
    }
    
    .testimonial-text-content {
        text-align: center;
    }
    
    .testimonial-quote {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .testimonial-author-details {
        justify-content: center;
        margin-top: 15px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-title {
        font-size: 14px;
    }
    
    /* Open Positions Section */
    .open-positions-section {
        padding: 40px 15px;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .section-header h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .section-header p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .job-listings {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-card-content {
        flex-direction: column;
        padding: 15px;
    }
    
    .job-details {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .job-apply {
        width: 100%;
    }
    
    .job-details h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .job-meta {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .job-meta span {
        font-size: 13px;
    }
    
    .job-tags {
        margin-bottom: 15px;
    }
    
    .job-tags .tag {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .btn-apply-now {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    
    .view-more-container {
        margin-top: 30px;
    }
    
    .btn-view-more {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    /* Careers Hero Section */
    .careers-hero-content {
        padding: 10px 5px;
    }
    
    .careers-hero-image {
        height: 160px;
        margin-bottom: 12px;
        max-width: 260px;
    }
    
    .careers-hero-text h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .careers-hero-text h1 .highlight {
        font-size: 18px;
    }
    
    .careers-text-wrapper {
        max-width: 260px;
    }
    
    .careers-hero-text p {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .careers-hero-text .btn-view-openings {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .careers-hero-text .btn-view-openings {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Why Work With Us Section */
    .why-work-container {
        padding: 30px 15px;
    }
    
    .why-work-container h2 {
        font-size: 24px;
    }
    
    .why-work-card.image-card {
        height: 180px;
    }
    
    /* Testimonial Section */
    .testimonial-container {
        padding: 30px 15px;
    }
    
    .testimonial-title {
        font-size: 24px;
    }
    
    /* Open Positions Section */
    .open-positions-section {
        padding: 30px 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
}
