/* Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 2.25rem;
    }
    
    .ai-animation {
        width: 350px;
        height: 350px;
    }
}

/* Tablet */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.875rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .ai-animation {
        width: 300px;
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav-container {
        padding: 0 15px;
    }

    /* Ensure all sections don't overflow */
    .services,
    .stats,
    .technology,
    .products-overview,
    .product-section,
    .flagship-section,
    .core-features,
    .cjobfit-hero {
        overflow-x: hidden;
    }

    /* C-Jobfit Animation Mobile Enhancements */
    .cjobfit-hero .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0 10px;
    }

    .cjobfit-animation {
        width: 100% !important;
        max-width: 320px !important;
        height: 280px !important;
        margin: 0 auto !important;
        padding: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .assessment-flow {
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    /* Optimize animations for mobile performance */
    .ring {
        border-width: 1px !important;
    }

    .processing-rings {
        will-change: transform;
    }

    .ai-core {
        will-change: transform;
    }

    .candidate-node,
    .results-node {
        will-change: box-shadow;
        border-width: 1px !important;
    }

    /* Reduce animation intensity on mobile */
    @keyframes nodeGlow {
        0%, 100% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.2); }
        50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
    }

    @keyframes aiPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    @keyframes ringExpand {
        0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
        50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.2; }
        100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
    }

    /* C-Jobfit Feature Sections Mobile Fixes */
    .feature-section {
        margin-bottom: 4rem;
    }

    .feature-section.alternate {
        margin-left: -15px;
        margin-right: -15px;
        padding: 3rem 15px;
    }

    .feature-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .feature-visual {
        order: -1;
    }

    .feature-section.alternate .feature-visual {
        order: 1;
    }

    /* Skills Builder Mobile Optimization */
    .skills-builder {
        max-width: 100%;
        width: 100%;
    }

    .builder-interface {
        padding: 1.5rem;
    }

    .skill-categories {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .category {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .skills-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .skill-tag {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 calc(50% - 0.5rem);
        text-align: center;
    }

    .generate-btn {
        padding: 1.25rem;
        font-size: 1.1rem;
        min-height: 56px;
    }

    /* Candidate Ranking Mobile Optimization */
    .ranking-system {
        max-width: 100%;
        width: 100%;
    }

    .candidate-list {
        padding: 1.5rem;
    }

    .candidate-item {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .rank-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        align-self: flex-start;
    }

    .candidate-info {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .candidate-name {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .candidate-score {
        font-size: 1rem;
    }

    .score-bar {
        width: 100%;
        height: 8px;
        margin-top: 0.5rem;
    }

    /* Assessment Demo Mobile Optimization */
    .assessment-demo {
        max-width: 100%;
    }

    .demo-screen {
        padding: 1.5rem;
    }

    .question-interface {
        padding: 1.5rem;
    }

    .question-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .progress-bar {
        width: 100%;
        height: 8px;
    }

    .question-content h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .answer-options {
        gap: 1rem;
    }

    .option {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Analytics Dashboard Mobile Optimization */
    .analytics-dashboard {
        max-width: 100%;
    }

    .dashboard-grid {
        gap: 1.5rem;
    }

    .metric-card {
        padding: 2rem;
    }

    .metric-header {
        margin-bottom: 1.5rem;
    }

    .metric-header span {
        font-size: 1rem;
    }

    .metric-value {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .metric-trend {
        font-size: 1rem;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.65rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }

    .ai-animation {
        width: 250px;
        height: 250px;
    }

    .services {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .stats {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .technology {
        padding: 60px 0;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tech-item {
        padding: 1.5rem;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile Medium */
@media (max-width: 480px) {
    .nav-logo h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.35rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .ai-animation {
        width: 200px;
        height: 200px;
    }

    .node {
        width: 15px;
        height: 15px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .tech-item {
        padding: 1.2rem;
    }

    .tech-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .tech-item h4 {
        font-size: 1.1rem;
    }

    .tech-item p {
        font-size: 0.9rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    /* C-Jobfit Mobile Medium Optimizations */
    .feature-section.alternate {
        margin-left: -15px;
        margin-right: -15px;
        padding: 2rem 15px;
    }

    .feature-info h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .feature-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Skills Builder Small Mobile */
    .builder-interface {
        padding: 1.2rem;
    }

    .skill-categories {
        gap: 0.5rem;
        margin-bottom: 1.2rem;
    }

    .category {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-height: 40px;
    }

    .skills-grid {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .skill-tag {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-height: 40px;
        flex: 1 1 100%;
    }

    .generate-btn {
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Candidate Ranking Small Mobile */
    .candidate-list {
        padding: 1.2rem;
    }

    .candidate-item {
        padding: 1rem;
        margin-bottom: 1rem;
        gap: 0.75rem;
    }

    .rank-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .candidate-name {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .candidate-score {
        font-size: 0.9rem;
    }

    .score-bar {
        height: 6px;
    }

    /* Assessment Demo Small Mobile */
    .demo-screen {
        padding: 1.2rem;
    }

    .question-interface {
        padding: 1.2rem;
    }

    .question-content h4 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .answer-options {
        gap: 0.75rem;
    }

    .option {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-height: 40px;
    }

    /* Analytics Dashboard Small Mobile */
    .metric-card {
        padding: 1.5rem;
    }

    .metric-header span {
        font-size: 0.9rem;
    }

    .metric-value {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .metric-trend {
        font-size: 0.9rem;
    }
}

/* Mobile Small */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .ai-animation {
        width: 180px;
        height: 180px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .service-card,
    .tech-item {
        padding: 1rem;
    }

    .service-icon,
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* C-Jobfit Very Small Mobile Optimizations */
    .feature-section.alternate {
        margin-left: -10px;
        margin-right: -10px;
        padding: 1.5rem 10px;
    }

    .feature-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .feature-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .highlight-item {
        padding: 0.6rem;
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }

    .highlight-item i {
        font-size: 0.9rem;
    }

    .highlight-item span {
        font-size: 0.8rem;
    }

    /* Skills Builder Very Small Mobile */
    .builder-interface {
        padding: 1rem;
    }

    .skill-categories {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .category {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        min-height: 36px;
    }

    .skills-grid {
        gap: 0.5rem;
        margin-bottom: 1.2rem;
    }

    .skill-tag {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-height: 36px;
        flex: 1 1 100%;
    }

    .generate-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    /* Candidate Ranking Very Small Mobile */
    .candidate-list {
        padding: 1rem;
    }

    .candidate-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        gap: 0.6rem;
    }

    .rank-badge {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .candidate-name {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .candidate-score {
        font-size: 0.8rem;
    }

    .score-bar {
        height: 5px;
    }

    /* Assessment Demo Very Small Mobile */
    .demo-screen {
        padding: 1rem;
    }

    .question-interface {
        padding: 1rem;
    }

    .question-header {
        gap: 0.8rem;
    }

    .question-number {
        font-size: 0.8rem;
    }

    .progress-bar {
        height: 6px;
    }

    .question-content h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .answer-options {
        gap: 0.6rem;
    }

    .option {
        padding: 0.7rem 0.9rem;
        font-size: 0.8rem;
        min-height: 36px;
    }

    /* Analytics Dashboard Very Small Mobile */
    .metric-card {
        padding: 1.2rem;
    }

    .metric-header {
        margin-bottom: 1rem;
    }

    .metric-header span {
        font-size: 0.8rem;
    }

    .metric-header i {
        font-size: 0.9rem;
    }

    .metric-value {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .metric-trend {
        font-size: 0.8rem;
    }

    .metric-trend i {
        font-size: 0.7rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .ai-animation {
        width: 200px;
        height: 200px;
    }

    .services,
    .technology {
        padding: 40px 0;
    }

    .stats {
        padding: 30px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: 50px 50px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .node,
    .connection {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Already using dark theme as default */
}

/* Print Styles */
@media print {
    .navbar,
    .hero-visual,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    .services,
    .technology {
        padding: 20px 0;
    }

    .stats {
        padding: 15px 0;
    }

    body {
        background: white;
        color: black;
    }

    .hero-title,
    .section-header h2,
    .gradient-text {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }

    .service-card,
    .tech-item {
        border: 1px solid #ccc;
        background: white;
    }
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.btn:focus,
.social-links a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Products Page Responsive */
@media (max-width: 968px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-section.alternate .product-content {
        grid-template-columns: 1fr;
    }

    .product-section.alternate .product-visual {
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .visual-placeholder {
        width: 300px;
        height: 250px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    /* Feature Showcase Responsive */
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
    }

    .feature-showcase .showcase-item:nth-child(5):last-child {
        grid-column: 1;
        max-width: none;
        margin: 0;
    }

    /* Flagship Product Responsive */
    .flagship-product {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .flagship-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .flagship-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .product-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .products-hero {
        min-height: 50vh;
        padding: 100px 0 50px;
    }

    .product-section {
        padding: 60px 0;
    }

    .product-info h2 {
        font-size: 2rem;
    }

    .product-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .product-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .features-grid {
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 1.2rem;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .product-stats .stat-number {
        font-size: 1.8rem;
    }

    .product-stats .stat-label {
        font-size: 0.8rem;
    }

    .visual-placeholder {
        width: 250px;
        height: 200px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Flagship Product Mobile Styles */
    .flagship-product {
        padding: 1.5rem !important;
        margin-bottom: 2rem !important;
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .flagship-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .flagship-info {
        padding: 0 !important;
    }

    .flagship-info h3 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .product-tagline {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .flagship-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .mini-stat {
        padding: 1rem;
    }

    .mini-stat-number {
        font-size: 2rem;
    }

    .mini-stat-label {
        font-size: 0.8rem;
    }

    .product-features {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    .feature-item {
        padding: 0.5rem;
    }

    .feature-item span {
        font-size: 0.85rem;
    }

    .product-buttons {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: stretch !important;
    }

    .product-buttons .btn {
        width: 100% !important;
        max-width: none !important;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-info h2 {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-item i {
        font-size: 1.2rem;
    }

    .feature-item h4 {
        font-size: 1rem;
    }

    .product-stats {
        gap: 1rem;
    }

    .product-stats .stat-number {
        font-size: 1.5rem;
    }

    .visual-placeholder {
        width: 200px;
        height: 150px;
    }

    /* Flagship Product Small Mobile Styles */
    .flagship-product {
        padding: 1rem;
        margin-bottom: 1.5rem;
        overflow-x: hidden;
        max-width: 100%;
    }

    .flagship-info h3 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .product-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .product-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .flagship-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .mini-stat {
        padding: 0.75rem;
        text-align: center;
    }

    .mini-stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }

    .mini-stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        margin-bottom: 1.5rem;
    }

    .feature-item {
        padding: 0.4rem;
        margin-bottom: 0.25rem;
    }

    .feature-item i {
        font-size: 0.8rem;
    }

    .feature-item span {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .product-buttons {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .product-buttons .btn {
        width: 100%;
        max-width: none;
        padding: 10px 16px;
        font-size: 0.85rem;
        text-align: center;
    }

    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    /* Adjust animations for smaller screens */
    .data-point {
        width: 40px;
        height: 40px;
    }

    .vehicle {
        width: 30px;
        height: 15px;
    }

    .emergency-point {
        width: 20px;
        height: 20px;
    }

    .customer-flow {
        width: 50px;
        height: 50px;
    }

    .heat-map {
        width: 60px;
        height: 40px;
    }

    .inventory-tracker {
        width: 40px;
        height: 60px;
    }
}

/* Team Page Responsive */
@media (max-width: 968px) {
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-graphic {
        width: 300px;
        height: 300px;
    }

    .orbit-1 { width: 120px; height: 120px; }
    .orbit-2 { width: 200px; height: 200px; }
    .orbit-3 { width: 280px; height: 280px; }

    .center-node {
        width: 60px;
        height: 60px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .culture-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .join-benefits {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .team-hero {
        min-height: 50vh;
        padding: 100px 0 50px;
    }

    .company-mission,
    .leadership-team,
    .departments,
    .company-culture,
    .join-us {
        padding: 60px 0;
    }

    .mission-text h2,
    .culture-text h2,
    .join-content h2 {
        font-size: 2rem;
    }

    .mission-text p,
    .culture-text p,
    .join-content p {
        font-size: 1rem;
    }

    .mission-graphic {
        width: 250px;
        height: 250px;
    }

    .orbit-1 { width: 100px; height: 100px; }
    .orbit-2 { width: 160px; height: 160px; }
    .orbit-3 { width: 220px; height: 220px; }

    .center-node {
        width: 50px;
        height: 50px;
    }

    .orbit-node {
        width: 15px;
        height: 15px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .photo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .member-info h3 {
        font-size: 1.3rem;
    }

    .member-bio {
        font-size: 0.85rem;
    }

    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .department-card {
        padding: 2rem;
    }

    .department-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .department-stats .stat-number {
        font-size: 2rem;
    }

    .culture-stats {
        gap: 1.5rem;
    }

    .culture-stat {
        padding: 1.5rem;
    }

    .culture-stat .stat-number {
        font-size: 1.8rem;
    }

    .join-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .benefit-item {
        padding: 1.2rem;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .join-buttons {
        flex-direction: column;
        align-items: center;
    }

    .join-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .mission-text h2,
    .culture-text h2,
    .join-content h2 {
        font-size: 1.8rem;
    }

    .mission-text p,
    .culture-text p,
    .join-content p {
        font-size: 0.9rem;
    }

    .mission-graphic {
        width: 200px;
        height: 200px;
    }

    .orbit-1 { width: 80px; height: 80px; }
    .orbit-2 { width: 130px; height: 130px; }
    .orbit-3 { width: 180px; height: 180px; }

    .center-node {
        width: 40px;
        height: 40px;
    }

    .orbit-node {
        width: 12px;
        height: 12px;
    }

    .value-item,
    .highlight-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .value-item i,
    .highlight-item i {
        margin-top: 0;
    }

    .team-member {
        padding: 1.2rem;
    }

    .photo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .member-info h3 {
        font-size: 1.2rem;
    }

    .member-role {
        font-size: 0.9rem;
    }

    .member-bio {
        font-size: 0.8rem;
    }

    .member-social a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .department-card {
        padding: 1.5rem;
    }

    .department-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .department-card h3 {
        font-size: 1.3rem;
    }

    .department-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .department-stats .stat-number {
        font-size: 1.8rem;
    }

    .department-stats .stat-label {
        font-size: 0.8rem;
    }

    .culture-stat {
        padding: 1.2rem;
    }

    .culture-stat .stat-number {
        font-size: 1.5rem;
    }

    .culture-stat .stat-label {
        font-size: 0.8rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .benefit-item i {
        font-size: 1.2rem;
    }

    .benefit-item span {
        font-size: 0.9rem;
    }
}

/* Video Page Responsive */
@media (max-width: 968px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-placeholder {
        height: 300px;
    }

    .category-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        width: 100%;
        max-width: 400px;
    }

    .social-subscribe .social-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .video-hero {
        min-height: 50vh;
        padding: 100px 0 50px;
    }

    .featured-video,
    .video-gallery,
    .newsletter-signup {
        padding: 60px 0;
    }

    .video-categories {
        padding: 40px 0;
    }

    .video-placeholder {
        height: 250px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .video-info h3 {
        font-size: 1.8rem;
    }

    .video-info p {
        font-size: 1rem;
    }

    .video-stats {
        gap: 1rem;
        justify-content: center;
    }

    .category-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-thumbnail {
        height: 180px;
    }

    .thumbnail-placeholder {
        font-size: 2.5rem;
    }

    .play-overlay {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .newsletter-content p {
        font-size: 1rem;
    }

    .social-subscribe .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .social-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .video-placeholder {
        height: 200px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .video-overlay {
        padding: 1rem;
    }

    .video-overlay h3 {
        font-size: 1.2rem;
    }

    .video-info h3 {
        font-size: 1.6rem;
    }

    .video-info p {
        font-size: 0.9rem;
    }

    .video-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .video-thumbnail {
        height: 150px;
    }

    .thumbnail-placeholder {
        font-size: 2rem;
    }

    .video-details {
        padding: 1rem;
    }

    .video-details h4 {
        font-size: 1.1rem;
    }

    .video-details p {
        font-size: 0.85rem;
    }

    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .newsletter-content h2 {
        font-size: 1.8rem;
    }

    .newsletter-content p {
        font-size: 0.9rem;
    }

    .email-input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .social-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .social-link i {
        font-size: 1rem;
    }
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group.full-width {
        grid-column: 1;
    }

    .social-connect .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 50vh;
        padding: 100px 0 50px;
    }

    .contact-options,
    .contact-form-section,
    .faq-section {
        padding: 60px 0;
    }

    .option-card {
        padding: 2rem;
    }

    .option-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .option-card h3 {
        font-size: 1.3rem;
    }

    .option-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .social-connect .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .social-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .faq-question {
        padding: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .faq-question h4 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .option-card {
        padding: 1.5rem;
    }

    .option-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .option-card h3 {
        font-size: 1.2rem;
    }

    .option-card p {
        font-size: 0.85rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-text h4 {
        font-size: 1.1rem;
    }

    .contact-text p {
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-header h3 {
        font-size: 1.3rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .checkbox-label {
        font-size: 0.8rem;
    }

    .checkmark {
        width: 16px;
        height: 16px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h4 {
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.85rem;
    }

    .social-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .social-link i {
        font-size: 1rem;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #E2E8F0;
        --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.4);
        --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .service-card,
    .tech-item,
    .feature-item,
    .team-member,
    .department-card,
    .value-item,
    .highlight-item,
    .culture-stat,
    .benefit-item,
    .video-card,
    .filter-btn,
    .social-link,
    .option-card,
    .contact-item,
    .contact-form,
    .faq-item {
        border-width: 2px;
    }

    .visual-placeholder {
        border-width: 3px;
    }

    .orbit {
        border-width: 3px;
    }

    .email-input,
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-width: 3px;
    }

    .checkmark {
        border-width: 3px;
    }
}
