/* ==========================================
   RAHUL ENGINEERING - RESPONSIVE STYLESHEET
   ========================================== */

/* ==================== EXTRA LARGE SCREENS (1400px+) ==================== */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 54px;
    }

    .workflow-step {
        max-width: 145px;
    }
}

/* ==================== LARGE DESKTOP (1200px - 1399px) ==================== */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 42px;
    }

    .workflow-step {
        max-width: 120px;
    }

    .workflow-step h5 {
        font-size: 9px;
    }

    .workflow-arrow {
        width: 22px;
        font-size: 14px;
    }
}

/* ==================== LAPTOP (992px - 1199px) ==================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-section {
        min-height: 620px;
    }

    .section-title-dark,
    .section-title-light {
        font-size: 28px;
    }

    .cta-title {
        font-size: 30px;
    }

    .navbar-nav .nav-link {
        font-size: 11px;
        padding: 8px 8px;
    }

    .why-item h5 {
        font-size: 12px;
    }

    .why-item p {
        font-size: 11px;
    }
}

/* ==================== TABLET (768px - 991px) ==================== */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 90px;
    }

    .hero-left {
        padding: 30px 0 20px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-process-strip span {
        font-size: 9px;
    }

    .hero-content-row {
        min-height: auto;
    }

    .hero-bottom-stats {
        position: relative;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 10px;
    }

    .workflow-section,
    .capabilities-section,
    .machinery-section,
    .industries-section,
    .cta-section {
        padding: 45px 0 40px;
    }

    .why-section,
    .customers-section {
        padding: 40px 0 35px;
    }

    .section-header-compact {
        margin-bottom: 28px;
    }

    .section-title-dark,
    .section-title-light {
        font-size: 26px;
    }

    .cap-card-img {
        height: 140px;
    }

    .machine-img-wrap {
        height: 160px;
    }

    .cta-title {
        font-size: 28px;
    }

    .footer-main {
        padding: 40px 0 30px;
    }
}

/* ==================== MOBILE LARGE (576px - 767px) ==================== */
@media (max-width: 767px) {
    body {
        font-size: 13px;
    }

    .hero-section {
        padding-bottom: 0;
    }

    .hero-left {
        padding: 25px 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-badge {
        font-size: 9px;
        padding: 5px 12px;
        letter-spacing: 1px;
    }

    .hero-process-strip {
        gap: 5px;
    }

    .hero-process-strip span {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .hero-trust-points .trust-point {
        padding: 8px 10px;
        gap: 8px;
    }

    .hero-trust-points .trust-point i {
        font-size: 18px;
    }

    .hero-trust-points .trust-point span {
        font-size: 9px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 12px;
        padding: 10px 20px;
    }

    .hero-bottom-stats {
        position: relative;
    }

    .stat-item {
        padding: 14px 8px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-suffix {
        font-size: 18px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .workflow-section,
    .capabilities-section,
    .machinery-section,
    .industries-section,
    .cta-section {
        padding: 40px 0 35px;
    }

    .why-section,
    .customers-section {
        padding: 35px 0 30px;
    }

    .section-header-compact {
        margin-bottom: 25px;
    }

    .section-title-dark,
    .section-title-light {
        font-size: 24px;
    }

    .cap-card-img {
        height: 130px;
    }

    .machine-img-wrap {
        height: 160px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-text {
        font-size: 14px;
    }

    .btn-cta-main {
        font-size: 13px;
        padding: 12px 30px;
    }

    .cta-trust-icons {
        gap: 15px;
    }

    .cta-trust-icons span {
        font-size: 10px;
    }

    .industry-card {
        padding: 20px 14px;
    }

    .industry-icon {
        width: 46px;
        height: 46px;
    }

    .industry-icon i {
        font-size: 20px;
    }

    .industry-card h5 {
        font-size: 13px;
    }

    .industry-card p {
        font-size: 11px;
    }

    .footer-heading {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .floating-whatsapp {
        width: 46px;
        height: 46px;
        font-size: 22px;
        bottom: 20px;
        left: 18px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 20px;
        right: 18px;
    }
}

/* ==================== MOBILE SMALL (below 576px) ==================== */
@media (max-width: 575px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-process-strip {
        gap: 3px;
    }

    .hero-process-strip span {
        font-size: 7px;
    }

    .hero-process-strip .divider {
        font-size: 8px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 11px;
        padding: 9px 16px;
        width: 100%;
        text-align: center;
    }

    .section-title-dark,
    .section-title-light {
        font-size: 22px;
    }

    .panel-header h3 {
        font-size: 15px;
    }

    .doc-list li {
        font-size: 12px;
        padding: 8px 0;
    }

    .upcoming-info h5 {
        font-size: 13px;
    }

    .machine-info h5 {
        font-size: 15px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-title br {
        display: none;
    }

    .footer-main {
        padding: 35px 0 25px;
    }

    .footer-desc {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-contact a,
    .footer-contact span {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

/* ==================== VERY SMALL SCREENS (below 380px) ==================== */
@media (max-width: 379px) {
    .hero-title {
        font-size: 22px;
    }

    .logo-name {
        font-size: 15px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-suffix {
        font-size: 16px;
    }

    .section-title-dark,
    .section-title-light {
        font-size: 20px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .top-bar,
    #mainNavbar,
    .floating-whatsapp,
    .back-to-top,
    .hero-bottom-stats,
    .cta-section {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 20px 0;
    }

    body {
        color: #000;
        background: #fff;
    }
}