/*
===============================================
Apex Talent Solutions - Responsive Stylesheet
Mobile & Tablet Optimizations
===============================================
*/

/* ==================== LARGE DEVICES (DESKTOPS) ==================== */
@media (max-width: 1399px) {
    .banner-section .banner-content h1 {
        font-size: 3.5rem;
    }
    
    .why-choose-text {
        padding: 70px 40px;
    }
}

/* ==================== LARGE LAPTOPS ==================== */
@media (max-width: 1399px) {
    .navbar-area .main-nav .navbar .navbar-nav .nav-item .nav-link {
        padding: 8px 10px;
        font-size: 13px;
        letter-spacing: 0.2px;
    }
    
    .navbar-area .main-nav .navbar .other-option .signin-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .navbar-area .main-nav .navbar .other-option {
        gap: 10px;
    }
}

/* ==================== MEDIUM-LARGE DEVICES ==================== */
@media (max-width: 1199px) {
    .navbar-area .main-nav .navbar .navbar-nav .nav-item .nav-link {
        padding: 8px 8px;
        font-size: 12px;
        letter-spacing: 0;
    }
    
    .navbar-area .main-nav .navbar .other-option .signin-btn {
        padding: 7px 12px;
        font-size: 12px;
    }
    
    .navbar-area .main-nav .navbar .other-option {
        gap: 8px;
    }
    
    .navbar-area .main-nav .navbar .navbar-brand img {
        max-height: 45px;
    }
    
    .banner-section .banner-content h1 {
        font-size: 3rem;
    }
    
    .why-choose-text {
        padding: 60px 30px;
    }
    
    .why-choose-text .media .media-body p {
        max-width: none;
    }
    
    .footer-area .footer-widget.pl-60 {
        padding-left: 0;
    }
    
    .stat-item .stat-number {
        font-size: 2.5rem;
    }
}

/* ==================== TABLETS ==================== */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-area .main-nav {
        display: none !important;
    }
    
    .navbar-area .mobile-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        background: var(--primary-dark);
    }
    
    .navbar-area .mobile-nav .logo img {
        max-height: 40px;
    }
    
    .mean-container .mean-bar {
        background: transparent;
        padding: 0;
    }
    
    .mean-container a.meanmenu-reveal {
        color: var(--white) !important;
        padding: 10px;
    }
    
    .mean-container .mean-nav {
        background: var(--primary-navy);
    }
    
    .mean-container .mean-nav ul li a {
        color: var(--white);
        padding: 12px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mean-container .mean-nav ul li a:hover {
        background: var(--accent-gold);
        color: var(--primary-dark);
    }
    
    /* Hero Slider */
    .hero-slide {
        min-height: auto;
    }
    
    .hero-content {
        padding: 120px 0 180px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider .owl-nav {
        padding: 0 15px;
    }
    
    .hero-slider .owl-nav button {
        width: 45px;
        height: 45px;
        font-size: 22px !important;
    }
    
    .hero-slider .owl-dots {
        bottom: 100px;
    }
    
    .hero-search-box {
        position: relative;
        transform: none;
        padding: 30px 15px;
        background: var(--off-white);
    }
    
    .hero-search-form {
        padding: 25px;
    }
    
    /* Stats Section */
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-wrapper {
        margin-top: 0;
        padding: 30px 20px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .stat-icon i {
        font-size: 28px;
    }
    
    .stat-content .stat-number {
        font-size: 2rem;
    }
    
    /* Category & Jobs Sliders */
    .category-slider .owl-nav,
    .jobs-slider .owl-nav {
        position: static;
        justify-content: center;
        margin-top: 30px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .section-header .section-title h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-header-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .jobs-slider-nav {
        order: 2;
    }
    
    /* Countries Slider */
    .countries-slider .owl-nav {
        position: static;
        justify-content: center;
        margin-top: 30px;
    }
    
    .countries-section {
        padding: 70px 0;
    }
    
    /* Banner */
    .banner-section {
        min-height: auto;
        padding: 130px 0 80px;
    }
    
    .banner-section::after {
        height: 150px;
    }
    
    .banner-section .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-section .banner-content p {
        font-size: 1rem;
    }
    
    .banner-section .banner-content .banner-form {
        padding: 25px;
    }
    
    .banner-section .banner-content .banner-form .find-btn {
        margin-top: 15px;
    }
    
    /* Process Cards */
    .process-number {
        font-size: 4rem;
    }
    
    /* Why Choose Section */
    .why-choose-image {
        margin-top: 50px;
        padding: 20px;
    }
    
    .experience-badge {
        bottom: 40px;
        left: 20px;
        padding: 20px 25px;
    }
    
    .experience-badge .years {
        font-size: 2.5rem;
    }
    
    /* FAQ */
    .faq-accordion {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .faq-content .faq-image {
        display: none;
    }
    
    /* CTA Cards */
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
    
    /* Stats Bar */
    .stats-bar {
        margin-top: -50px;
        padding: 30px 0;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 15px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-item .stat-number {
        font-size: 2.25rem;
    }
    
    /* Sections */
    .pt-100 {
        padding-top: 70px;
    }
    
    .pb-70 {
        padding-bottom: 50px;
    }
    
    .pb-100 {
        padding-bottom: 70px;
    }
    
    .ptb-100 {
        padding: 70px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* Why Choose */
    .why-choose-text {
        padding: 50px 30px;
    }
    
    .why-choose-img {
        min-height: 400px;
    }
    
    /* Category Cards */
    .category-card {
        padding: 30px 20px;
    }
    
    .category-card i {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    /* Job Cards */
    .job-card {
        padding: 25px;
    }
    
    .job-card .job-save {
        text-align: left;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px dashed var(--light-gray);
    }
    
    /* Testimonials */
    .testimonial-items .testimonial-text {
        padding: 30px;
    }
    
    /* Forms */
    .resume-upload-card,
    .contact-area,
    .job-post-from {
        padding: 30px;
    }
    
    /* Page Title */
    .page-title {
        padding: 120px 0 80px;
    }
    
    .page-title h2 {
        font-size: 2.5rem;
    }
    
    /* Filter Card */
    .filter-card {
        position: static !important;
        margin-bottom: 30px;
    }
}

/* ==================== MOBILE LANDSCAPE ==================== */
@media (max-width: 767px) {
    /* Hero Slider */
    .hero-content {
        padding: 100px 0 150px;
    }
    
    .hero-content h1 {
        font-size: 1.85rem;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .hero-tag {
        font-size: 11px;
        padding: 8px 15px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns a {
        width: 100%;
        text-align: center;
    }
    
    .hero-slider .owl-nav {
        display: none;
    }
    
    .hero-slider .owl-dots {
        bottom: 80px;
    }
    
    .hero-search-form {
        padding: 20px;
    }
    
    .hero-search-form label {
        font-size: 11px;
    }
    
    .hero-search-form input,
    .hero-search-form select,
    .hero-search-form .search-btn {
        height: 50px;
    }
    
    /* Stats */
    .stats-wrapper {
        padding: 25px 15px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }
    
    .stat-icon {
        margin-bottom: 15px;
    }
    
    .stat-content .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-content p {
        font-size: 12px;
    }
    
    /* Categories */
    .category-card {
        padding: 30px 20px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    /* Jobs */
    .job-card-header {
        padding: 20px;
    }
    
    .job-card-body {
        padding: 20px;
    }
    
    .job-card-footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .apply-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Process */
    .how-it-works-section {
        padding: 60px 0;
    }
    
    .process-card {
        padding: 30px 20px;
    }
    
    .process-number {
        font-size: 3rem;
        top: -10px;
        right: 20px;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
    }
    
    .process-icon i {
        font-size: 30px;
    }
    
    /* Why Choose */
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .experience-badge {
        position: static;
        margin-top: 30px;
        display: inline-block;
    }
    
    .why-choose-image {
        text-align: center;
    }
    
    /* Accreditations */
    .accreditations-home-section {
        padding: 60px 0;
    }
    
    .accreditation-item {
        padding: 20px 15px;
    }
    
    .accreditation-icon {
        width: 50px;
        height: 50px;
    }
    
    .accreditation-icon i {
        font-size: 22px;
    }
    
    .accreditation-item h4 {
        font-size: 0.9rem;
    }
    
    .accreditation-item p {
        font-size: 11px;
    }
    
    /* CTA */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-card {
        padding: 30px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .cta-icon i {
        font-size: 28px;
    }
    
    /* FAQ */
    .faq-section {
        padding: 60px 0;
    }
    
    .accordion-button {
        padding: 20px;
        font-size: 0.9rem;
    }
    
    .accordion-button i {
        font-size: 18px;
    }
    
    .accordion-body {
        padding: 0 20px 20px;
        font-size: 14px;
    }
    
    /* Testimonials Grid */
    .about-testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-card::before {
        font-size: 5rem;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .author-info h5 {
        font-size: 0.9rem;
    }
    
    .author-info span {
        font-size: 12px;
    }
    
    /* Banner */
    .banner-section {
        padding: 120px 0 60px;
    }
    
    .banner-section .banner-content h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .banner-section .banner-content > p:first-child {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .banner-section .banner-content .banner-form {
        padding: 20px;
    }
    
    .banner-section .banner-content .banner-form .form-group label {
        font-size: 12px;
    }
    
    .banner-section .banner-content .banner-form .form-group .form-control,
    .banner-section .banner-content .banner-form .find-btn {
        height: 50px;
    }
    
    .banner-section .banner-content .keyword {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .banner-section .banner-content .keyword li {
        font-size: 13px;
    }
    
    /* Stats Bar */
    .stats-bar {
        margin-top: -30px;
    }
    
    .stat-item .stat-number {
        font-size: 2rem;
    }
    
    .stat-item .stat-label {
        font-size: 12px;
    }
    
    /* Sections */
    .pt-100 {
        padding-top: 50px;
    }
    
    .pb-70 {
        padding-bottom: 40px;
    }
    
    .pb-100 {
        padding-bottom: 50px;
    }
    
    .ptb-100 {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    /* Category Cards */
    .category-card {
        padding: 25px 15px;
    }
    
    .category-card i {
        font-size: 35px;
        margin-bottom: 15px;
    }
    
    .category-card h3 {
        font-size: 1.1rem;
    }
    
    /* Job Cards */
    .job-card .thumb-img {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .job-card .thumb-img img {
        max-width: 35px;
    }
    
    .job-card .job-info h3 {
        font-size: 1rem;
    }
    
    .job-card .job-info ul {
        gap: 10px;
    }
    
    .job-card .job-info ul li {
        font-size: 13px;
    }
    
    /* How It Works */
    .use-text i {
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-size: 40px;
    }
    
    .use-text h3 {
        font-size: 1.1rem;
    }
    
    /* Why Choose */
    .why-choose-text {
        padding: 40px 20px;
    }
    
    .why-choose-text .section-title h2 {
        font-size: 1.75rem;
    }
    
    .why-choose-text .media {
        flex-direction: column;
        text-align: center;
    }
    
    .why-choose-text .media i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .why-choose-img {
        min-height: 300px;
    }
    
    .counter-area .counter-text h2 {
        font-size: 2rem;
    }
    
    /* Page Title */
    .page-title {
        padding: 100px 0 60px;
    }
    
    .page-title h2 {
        font-size: 2rem;
    }
    
    .page-title ul {
        padding: 8px 15px;
    }
    
    .page-title ul li {
        font-size: 13px;
        margin: 0 8px;
    }
    
    /* Subscribe Section */
    .subscribe-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .subscribe-section .section-title {
        margin-bottom: 25px;
    }
    
    .subscribe-section .section-title h2 {
        font-size: 1.5rem;
    }
    
    .subscribe-section .newsletter-form .form-control {
        padding: 15px 20px;
        padding-right: 20px;
    }
    
    .subscribe-section .newsletter-form .sub-btn {
        position: static;
        width: 100%;
        margin-top: 15px;
        border-radius: 50px;
    }
    
    /* Forms */
    .resume-upload-card,
    .contact-area,
    .job-post-from {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .upload-area i {
        font-size: 45px;
    }
    
    .upload-area h4 {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer-area {
        padding: 50px 0 40px;
    }
    
    .footer-area .footer-widget {
        margin-bottom: 35px;
    }
    
    .footer-area .footer-widget h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    /* Buttons */
    .btn-primary-custom,
    .btn-secondary-custom,
    .theme-btn .default-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* Back to top */
    .top-btn {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
        right: 15px;
    }
    
    .top-btn.active {
        bottom: 15px;
    }
}

/* ==================== MOBILE PORTRAIT ==================== */
@media (max-width: 575px) {
    body {
        font-size: 15px;
    }
    
    /* Banner */
    .banner-section .banner-content h1 {
        font-size: 1.75rem;
    }
    
    .banner-section .banner-content .banner-form {
        padding: 15px;
    }
    
    .banner-section .banner-content .banner-form .form-group .form-control {
        height: 48px;
        font-size: 14px;
    }
    
    .banner-section .banner-content .banner-form .find-btn {
        height: 48px;
        font-size: 14px;
    }
    
    /* Stats */
    .stat-item .stat-number {
        font-size: 1.75rem;
    }
    
    /* Section Titles */
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    /* Category Cards */
    .category-card i {
        font-size: 30px;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
    
    /* Job Cards */
    .job-card {
        padding: 20px;
    }
    
    .job-card .job-info h3 {
        font-size: 0.95rem;
    }
    
    .job-card .job-info ul li {
        font-size: 12px;
    }
    
    /* Why Choose */
    .why-choose-text .section-title h2 {
        font-size: 1.5rem;
    }
    
    .counter-area .counter-text h2 {
        font-size: 1.75rem;
    }
    
    .counter-area .counter-text p {
        font-size: 12px;
    }
    
    /* Use Text */
    .use-text i {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 32px;
    }
    
    .use-text span {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }
    
    /* Page Title */
    .page-title h2 {
        font-size: 1.75rem;
    }
    
    .page-title ul li {
        font-size: 12px;
    }
    
    /* Testimonials */
    .testimonial-items .testimonial-text {
        padding: 25px 20px;
    }
    
    .testimonial-items .testimonial-text i {
        font-size: 30px;
    }
    
    .testimonial-items .testimonial-text p {
        font-size: 0.95rem;
    }
    
    /* Forms */
    .resume-form .form-group label {
        font-size: 14px;
    }
    
    .resume-form .form-control {
        height: 48px;
        font-size: 14px;
    }
    
    /* MVV Cards */
    .mvv-card {
        padding: 35px 25px;
    }
    
    .mvv-card i {
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 28px;
    }
    
    .mvv-card h3 {
        font-size: 1.25rem;
    }
    
    /* Accreditation Cards */
    .accreditation-card {
        padding: 30px 20px;
    }
    
    .accreditation-card h4 {
        font-size: 1rem;
    }
    
    /* Choose Cards */
    .choose-card {
        padding: 35px 25px;
    }
    
    .choose-card i {
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 28px;
    }
    
    .choose-card h3 {
        font-size: 1.1rem;
    }
    
    /* Looking Job / Recruiting Cards */
    .looking-job,
    .recruiting-card {
        padding: 25px 20px;
    }
    
    .looking-job .media,
    .recruiting-card .media {
        flex-direction: column;
        text-align: center;
    }
    
    .looking-job .media i,
    .recruiting-card .media i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .looking-job .media .media-body h5,
    .recruiting-card .media .media-body h5 {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .copyright-text p {
        font-size: 12px;
    }
    
    /* Pagination */
    .pagination .page-item .page-link {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }
}

/* ==================== EXTRA SMALL DEVICES ==================== */
@media (max-width: 400px) {
    .banner-section .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .stat-item .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.35rem;
    }
    
    .page-title h2 {
        font-size: 1.5rem;
    }
    
    .page-title ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .page-title ul li::after {
        display: none;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .job-card {
        padding: 15px;
    }
    
    .mvv-card,
    .choose-card,
    .accreditation-card {
        padding: 25px 15px;
    }
}

/* ==================== DARK MODE SUPPORT ==================== */
@media (prefers-color-scheme: dark) {
    /* Optional dark mode styles */
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar-area,
    .footer-area,
    .top-btn,
    .loader-content {
        display: none !important;
    }
    
    .page-title {
        background: #333 !important;
    }
    
    body {
        font-size: 12pt;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
