/* Professional Responsive Design for Careers Page */

/* Tablet Landscape (1024px and down) */
@media screen and (max-width: 1024px) {
    .careers-hero {
        padding: 6rem 0 4rem;
        min-height: 60vh;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item {
        min-width: 130px;
        padding: 1.25rem;
    }

    .responsibilities-container {
        gap: 3rem;
    }

    .responsibilities-grid {
        gap: 0.75rem;
    }

    .responsibility-item {
        padding: 0.875rem;
        font-size: 0.875rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .freshers-card {
        padding: 2.5rem;
        gap: 2rem;
    }

    .freshers-icon {
        width: 100px;
        height: 100px;
    }

    .freshers-icon i {
        font-size: 3rem;
    }
}

/* Tablet Portrait (768px and down) */
@media screen and (max-width: 768px) {
    .careers-hero {
        padding: 5rem 0 3rem;
        min-height: 50vh;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 110px;
        padding: 1rem;
    }

    .stat-item i {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Location Cards Responsive */
    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .location-card {
        padding: 2rem;
    }

    .location-icon {
        width: 70px;
        height: 70px;
    }

    .location-icon i {
        font-size: 1.75rem;
    }

    /* Job Cards Responsive */
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .job-card {
        padding: 1.5rem;
    }

    .job-icon {
        width: 50px;
        height: 50px;
    }

    .job-icon i {
        font-size: 1.25rem;
    }

    .job-title {
        font-size: 1.25rem;
    }

    .salary-amount {
        font-size: 1.5rem;
    }

    /* Responsibilities Responsive */
    .responsibilities-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .responsibilities-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .responsibility-item {
        padding: 1rem;
    }

    .responsibility-item i {
        font-size: 1.25rem;
    }

    /* Benefits Responsive */
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
    }

    .benefit-icon i {
        font-size: 1.75rem;
    }

    /* Freshers Section Responsive */
    .freshers-card {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
    }

    .freshers-icon {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }

    .freshers-icon i {
        font-size: 2.5rem;
    }

    .freshers-content h2 {
        font-size: 2rem;
    }

    .freshers-content p {
        font-size: 1rem;
    }

    .freshers-benefits {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Contact Section Responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-person {
        flex-direction: column;
        text-align: center;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .person-avatar {
        width: 70px;
        height: 70px;
    }

    .person-avatar i {
        font-size: 1.75rem;
    }

    .person-info h3 {
        font-size: 1.25rem;
    }

    .contact-actions {
        flex-direction: column;
    }

    .application-info {
        padding: 2rem;
    }

    .application-info h3 {
        font-size: 1.5rem;
    }

    .process-step {
        gap: 1rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .step-content h4 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.875rem;
    }
}

/* Mobile (640px and down) */
@media screen and (max-width: 640px) {
    .careers-hero {
        padding: 4rem 0 2.5rem;
    }

    .hero-badge {
        padding: 0.6rem 1.25rem;
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .stat-item {
        width: 100%;
        min-width: auto;
        padding: 1rem;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .stat-item i {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.875rem;
        text-align: left;
    }

    /* Hide decorative shapes on mobile */
    .shape-2,
    .shape-3 {
        display: none;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
        opacity: 0.5;
    }

    /* Section Spacing */
    .locations-section,
    .jobs-section,
    .responsibilities-section,
    .benefits-section,
    .freshers-section,
    .contact-section {
        padding: 3rem 0;
    }

    .section-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 7vw, 1.75rem);
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Location Cards Ultra Mobile */
    .location-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .location-icon {
        width: 60px;
        height: 60px;
    }

    .location-icon i {
        font-size: 1.5rem;
    }

    .location-card h3 {
        font-size: 1.5rem;
    }

    .featured-badge {
        top: 15px;
        right: 15px;
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
    }

    .location-benefits li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }

    /* Job Cards Ultra Mobile */
    .job-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .job-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .job-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .job-title {
        font-size: 1.125rem;
    }

    .job-qualification {
        font-size: 0.8rem;
    }

    .job-salary {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .salary-amount {
        font-size: 1.375rem;
    }

    .salary-extra {
        font-size: 0.8rem;
    }

    .job-tags {
        justify-content: center;
    }

    .job-tag {
        padding: 0.4rem 0.875rem;
        font-size: 0.8rem;
    }

    .apply-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    /* Responsibilities Ultra Mobile */
    .responsibility-item {
        padding: 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .responsibility-item i {
        font-size: 1.5rem;
    }

    .responsibility-item span {
        font-size: 0.875rem;
    }

    .responsibilities-image {
        border-radius: 20px;
    }

    /* Benefits Ultra Mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .benefit-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .benefit-icon {
        width: 65px;
        height: 65px;
    }

    .benefit-icon i {
        font-size: 1.5rem;
    }

    .benefit-card h3 {
        font-size: 1.125rem;
    }

    .benefit-card p {
        font-size: 0.9rem;
    }

    /* Freshers Ultra Mobile */
    .freshers-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .freshers-icon {
        width: 80px;
        height: 80px;
    }

    .freshers-icon i {
        font-size: 2rem;
    }

    .freshers-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .freshers-content p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .freshers-benefits li {
        font-size: 0.9rem;
    }

    .freshers-benefits i {
        font-size: 1.125rem;
    }

    /* Contact Ultra Mobile */
    .contact-card,
    .application-info {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact-person {
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .person-avatar {
        width: 65px;
        height: 65px;
    }

    .person-avatar i {
        font-size: 1.5rem;
    }

    .person-info h3 {
        font-size: 1.125rem;
    }

    .person-info p {
        font-size: 0.875rem;
    }

    .contact-item {
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    .contact-item i {
        font-size: 1.125rem;
    }

    .contact-btn {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .application-info h3 {
        font-size: 1.375rem;
        margin-bottom: 1.5rem;
    }

    .process-steps {
        gap: 1.25rem;
    }

    .process-step {
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .step-content h4 {
        font-size: 0.95rem;
    }

    .step-content p {
        font-size: 0.825rem;
    }
}

/* Performance and Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-shape,
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-stats,
    .hero-overlay {
        animation: none;
    }

    .location-card,
    .job-card,
    .benefit-card,
    .responsibility-item,
    .contact-item,
    .apply-btn,
    .contact-btn {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .location-card,
    .job-card,
    .benefit-card,
    .contact-card,
    .application-info {
        border: 3px solid var(--gray-800);
    }

    .apply-btn,
    .contact-btn {
        border: 3px solid currentColor;
    }
}

/* Print Styles */
@media print {
    .floating-shape,
    .hero-overlay,
    .image-overlay {
        display: none;
    }

    .careers-hero,
    .freshers-section {
        background: white !important;
        color: black !important;
    }

    .location-card,
    .job-card,
    .benefit-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}
