/* ==========================================================
   PLC & CNC Premium Theme
   Responsive
========================================================== */

/* ================= Large devices (1200px) ================= */

@media (max-width:1200px) {

    .container {
        max-width: 1140px;
    }

    .hero-title {
        font-size: 3.2rem;
    }
}

/* ================= Laptop (992px) ================= */

@media (max-width:991px) {

    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Hero */

    .hero-premium {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-floating-card {
        margin-top: 40px;
    }

    /* About */

    .experience-card {
        left: 20px;
        bottom: 20px;
    }
/* Projects */

    .project-image img {
        height: 280px;
    }

    /* Footer */

    .footer-premium {
        padding: 70px 0 30px;
    }
}

/* ================= Tablet (768px) ================= */

@media (max-width:768px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: .95rem;
    }

    /* Hero */

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.35;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .hero-floating-card {
        padding: 26px;
    }

    .hero-stats {
        row-gap: 18px;
    }

    /* About */

    .experience-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
        width: 100%;
    }

    .feature-item {
        padding: 18px;
    }

        .feature-item:hover {
            transform: none;
        }

    /* Services */

    .service-card-premium {
        padding: 26px;
    }

    .service-icon {
        width: 68px;
        height: 68px;
        font-size: 1.7rem;
    }

    /* Process */

    .process-timeline::before {
        right: 22px;
    }

    .process-step {
        gap: 18px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .step-content {
        padding: 20px;
    }

        .step-content:hover {
            transform: none;
        }

    /* Projects */

    .project-filter {
        justify-content: flex-start;
        overflow: auto;
        white-space: nowrap;
        padding-bottom: 8px;
    }

        .project-filter::-webkit-scrollbar {
            display: none;
        }

    .project-image img {
        height: 240px;
    }

    .project-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(15,23,42,.25), rgba(15,23,42,.82));
    }

    /* Blog */

    .blog-image img {
        height: 220px;
    }

    .blog-content {
        padding: 22px;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Contact */

    .contact-form-card {
        padding: 24px;
    }

    .contact-info-icon {
        width: 54px;
        height: 54px;
    }

    /* Footer */

    .footer-premium {
        text-align: center;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* ================= Mobile (576px) ================= */

@media (max-width:576px) {

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-badge {
        font-size: .85rem;
        padding: 8px 14px;
    }

    .hero-floating-card {
        border-radius: 22px;
    }

    .stat-item h2 {
        font-size: 2.2rem;
    }

    .service-card-premium,
    .project-card-premium,
    .blog-card-premium,
    .contact-form-card,
    .testimonial-card {
        border-radius: 22px;
    }

    .back-to-top {
        width: 46px;
        height: 46px;
        left: 18px;
        bottom: 18px;
    }
}

/* ================= Extra small (400px) ================= */

@media (max-width:400px) {

    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 18px;
        font-size: .95rem;
    }

    .project-image img {
        height: 210px;
    }
}
