/* ========================================
   MOBILE RESPONSIVE OVERRIDES
   Priority styles for mobile devices
======================================== */

/* ===== GLOBAL MOBILE FIXES ===== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        line-height: 1.6;
    }

    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }

    .section {
        padding: 40px 0 !important;
    }

    /* Typography */
    .section-tag {
        font-size: 0.55rem !important;
        padding: 4px 10px !important;
        letter-spacing: 0.08em !important;
        margin-bottom: 10px !important;
    }

    .section-title {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .section-desc {
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
    }

    .section-header--center {
        margin-bottom: 25px !important;
    }

    /* Buttons */
    .btn {
        padding: 10px 18px !important;
        font-size: 0.7rem !important;
        border-radius: 25px !important;
    }

    .btn--lg {
        padding: 12px 22px !important;
        font-size: 0.75rem !important;
    }

    .btn i {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 12px !important;
    }

    .section {
        padding: 40px 0 !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .btn {
        padding: 8px 16px !important;
        font-size: 0.7rem !important;
    }
}

/* ===== HEADER MOBILE ===== */
@media (max-width: 768px) {
    .header {
        padding: 10px 0 !important;
    }

    .nav__logo {
        gap: 8px !important;
    }

    .logo-mark {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }

    .logo-name {
        font-size: 1rem !important;
    }

    .logo-tagline {
        font-size: 0.5rem !important;
    }

    .nav__cta {
        padding: 6px 14px !important;
        font-size: 0.65rem !important;
    }
}

/* Old 3D carousel mobile styles moved to bottom of file */

@media (max-width: 768px) {
    .hero-float-icons {
        display: none !important;
    }
    
    .hero-shapes {
        opacity: 0.5 !important;
    }
}

/* ===== MARQUEE MOBILE ===== */
@media (max-width: 768px) {
    .clients-marquee {
        padding: 10px 0 !important;
    }

    .client-text {
        font-size: 0.65rem !important;
    }

    .client-dot {
        width: 4px !important;
        height: 4px !important;
    }

    .marquee-content {
        gap: 20px !important;
    }
}

/* ===== ABOUT SECTION MOBILE ===== */
@media (max-width: 768px) {
    .about {
        padding: 40px 0 !important;
    }

    .about__grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .about__content {
        order: 2;
    }

    .about__visual {
        order: 1;
    }

    .about__lead {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
    }

    .about__text {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }

    /* Old about features/image-stack/badge styles moved to bottom of file */
}

/* ===== SERVICES SECTION MOBILE ===== */
@media (max-width: 768px) {
    .services {
        padding: 40px 0 !important;
    }

    .services__bg {
        display: none !important;
    }

    .services-swiper {
        padding: 10px 0 35px !important;
    }

    .service-card {
        padding: 18px !important;
        margin: 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    }

    .service-card__number {
        font-size: 1.3rem !important;
        top: 12px !important;
        right: 12px !important;
        opacity: 0.15 !important;
    }

    .service-card__icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    .service-card__title {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }

    .service-card__desc {
        font-size: 0.8rem !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
        color: #666 !important;
    }

    .service-card__list {
        margin-bottom: 12px !important;
    }

    .service-card__list li {
        font-size: 0.75rem !important;
        padding-left: 14px !important;
        margin-bottom: 5px !important;
        line-height: 1.4 !important;
    }

    .service-card__list li::before {
        width: 4px !important;
        height: 4px !important;
        top: 6px !important;
    }

    .service-card__link {
        font-size: 0.7rem !important;
        font-weight: 600 !important;
    }

    .services__nav {
        gap: 12px !important;
        margin-top: 15px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .services-prev, .services-next {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.75rem !important;
        border-width: 1.5px !important;
    }

    .services-pagination {
        order: -1 !important;
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
    }

    .services-pagination .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
    }

    .services-pagination .swiper-pagination-bullet-active {
        width: 18px !important;
    }
}

/* ===== STATS SECTION MOBILE ===== */
@media (max-width: 768px) {
    .stats {
        padding: 50px 0 !important;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .stat-card {
        padding: 20px 15px !important;
        border-radius: 10px !important;
    }

    .stat-card__icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }

    .stat-card__value {
        font-size: 1.6rem !important;
    }

    .stat-card__label {
        font-size: 0.6rem !important;
        letter-spacing: 0.05em !important;
    }
}

@media (max-width: 480px) {
    .stats__grid {
        gap: 8px !important;
    }

    .stat-card {
        padding: 15px 10px !important;
    }

    .stat-card__icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }

    .stat-card__value {
        font-size: 1.4rem !important;
    }

    .stat-card__label {
        font-size: 0.55rem !important;
    }
}

/* ===== WHY SECTION MOBILE ===== */
@media (max-width: 768px) {
    .why {
        padding: 50px 0 !important;
    }

    .why__grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .why__lead {
        font-size: 0.9rem !important;
    }

    .why__accordion {
        gap: 8px !important;
    }

    .accordion-item {
        border-radius: 10px !important;
    }

    .accordion-header {
        padding: 12px !important;
        gap: 10px !important;
    }

    .accordion-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
    }

    .accordion-header h4 {
        font-size: 0.8rem !important;
    }

    .accordion-toggle {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
    }

    .accordion-content p {
        font-size: 0.75rem !important;
        padding: 0 12px 12px !important;
        padding-left: 58px !important;
        line-height: 1.6 !important;
    }

    /* Old process visual styles moved to bottom of file */
}

/* ===== TESTIMONIALS MOBILE ===== */
@media (max-width: 768px) {
    .testimonials {
        padding: 50px 0 !important;
    }

    .testimonials-swiper {
        padding: 15px 0 40px !important;
    }

    .testimonial-card {
        padding: 20px !important;
        border-radius: 12px !important;
        margin: 0 5px !important;
    }

    .testimonial-card__quote {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }

    .testimonial-card__text {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
        margin-bottom: 20px !important;
    }

    .testimonial-card__author {
        gap: 12px !important;
    }

    .author-avatar {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }

    .author-info h4 {
        font-size: 0.85rem !important;
    }

    .author-info p {
        font-size: 0.7rem !important;
    }

    .testimonial-card__rating {
        font-size: 0.8rem !important;
    }

    .testimonials-pagination .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
    }
}

/* Old print gallery mobile styles moved to bottom of file */

/* ===== EQUIPMENT SHOWCASE MOBILE ===== */
@media (max-width: 768px) {
    .equipment-section {
        padding: 50px 0 !important;
    }
    
    .equipment-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .equipment-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .equipment-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .equipment-name {
        font-size: 13px !important;
    }
    
    .equipment-brand {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .equipment-showcase {
        grid-template-columns: 1fr !important;
    }
    
    .equipment-card {
        flex-direction: row !important;
        gap: 12px !important;
        text-align: left !important;
    }
    
    .equipment-icon {
        margin-bottom: 0 !important;
    }
}

/* ===== CTA SECTION MOBILE ===== */
@media (max-width: 768px) {
    .cta {
        padding: 50px 0 !important;
    }

    .cta__title {
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
    }

    .cta__desc {
        font-size: 0.85rem !important;
        margin-bottom: 20px !important;
    }

    .cta__actions {
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .cta__actions .btn {
        width: 100% !important;
    }

    .cta__features {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .cta-feature {
        font-size: 0.75rem !important;
    }
}

/* ===== CONTACT SECTION MOBILE ===== */
@media (max-width: 768px) {
    .contact-preview {
        padding: 50px 0 !important;
    }

    .contact-preview__grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-info p {
        font-size: 0.85rem !important;
        margin-bottom: 20px !important;
    }

    .contact-details {
        gap: 12px !important;
    }

    .contact-item {
        gap: 12px !important;
    }

    .contact-item__icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }

    .contact-item__content h4 {
        font-size: 0.8rem !important;
    }

    .contact-item__content p {
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .contact-form h3 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .form-group {
        margin-bottom: 10px !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 8px !important;
    }

    .form-group textarea {
        min-height: 80px !important;
    }
}

/* ===== FOOTER MOBILE ===== */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px !important;
    }

    .footer__grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .footer__brand {
        grid-column: auto !important;
    }

    .footer__logo {
        justify-content: center !important;
        margin-bottom: 12px !important;
    }

    .footer__logo .logo-mark {
        width: 36px !important;
        height: 36px !important;
    }

    .footer__logo .logo-name {
        font-size: 1rem !important;
    }

    .footer__logo .logo-tagline {
        font-size: 0.5rem !important;
    }

    .footer__desc {
        font-size: 0.8rem !important;
        margin-bottom: 15px !important;
    }

    .footer__social {
        justify-content: center !important;
        gap: 10px !important;
    }

    .footer__social a {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }

    .footer__col {
        text-align: center !important;
    }

    .footer__title {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
    }

    .footer__links li {
        margin-bottom: 6px !important;
    }

    .footer__links li a {
        font-size: 0.75rem !important;
    }

    .footer__contact p {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
        justify-content: center !important;
    }

    .footer__bottom {
        padding-top: 20px !important;
        margin-top: 20px !important;
    }

    .footer__bottom-content {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .footer__copyright {
        font-size: 0.7rem !important;
    }

    /* Floating Buttons */
    .back-to-top {
        display: none !important;
    }

    .whatsapp-float {
        width: 45px !important;
        height: 45px !important;
        bottom: 85px !important;
        right: 15px !important;
        font-size: 1.3rem !important;
    }

    .hira-chatbot {
        bottom: 15px !important;
        right: 15px !important;
    }

    .chatbot-toggle {
        width: 50px !important;
        height: 50px !important;
    }

    .chatbot-toggle-icon {
        font-size: 1.3rem !important;
    }
}

/* ===== PAGE BANNER MOBILE ===== */
@media (max-width: 768px) {
    .page-banner {
        padding: 120px 0 50px !important;
    }

    .page-banner__title {
        font-size: 1.6rem !important;
    }

    .page-banner__desc {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }

    .breadcrumb {
        font-size: 0.7rem !important;
        gap: 6px !important;
    }
}

/* ===== STORY SECTION MOBILE ===== */
@media (max-width: 768px) {
    .story-section {
        padding: 50px 0 !important;
    }

    .story-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .story-content p {
        font-size: 0.85rem !important;
    }

    .story-image {
        height: 200px !important;
        border-radius: 12px !important;
    }

    .year-badge {
        padding: 12px 18px !important;
        bottom: -10px !important;
        right: -10px !important;
        border-radius: 10px !important;
    }

    .year-badge span {
        font-size: 0.55rem !important;
    }

    .year-badge strong {
        font-size: 1.5rem !important;
    }
}

/* ===== MVV CARDS MOBILE ===== */
@media (max-width: 768px) {
    .mvv-section {
        padding: 50px 0 !important;
    }

    .mvv-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .mvv-card {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .mvv-icon {
        width: 50px !important;
        height: 50px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .mvv-icon i {
        font-size: 1.3rem !important;
    }

    .mvv-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .mvv-card p {
        font-size: 0.8rem !important;
    }
}

/* ===== CERTIFICATIONS MOBILE ===== */
@media (max-width: 768px) {
    .cert-section {
        padding: 50px 0 !important;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .cert-card {
        padding: 15px 10px !important;
        border-radius: 12px !important;
    }

    .cert-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 8px !important;
    }

    .cert-icon i {
        font-size: 1.1rem !important;
    }

    .cert-card h4 {
        font-size: 0.75rem !important;
        margin-bottom: 4px !important;
    }

    .cert-card p {
        font-size: 0.65rem !important;
    }
}

/* ===== INFRASTRUCTURE MOBILE ===== */
@media (max-width: 768px) {
    .infra-section {
        padding: 50px 0 !important;
    }

    .infra-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .infra-card {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .infra-card i {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }

    .infra-card h4 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .infra-card p {
        font-size: 0.8rem !important;
    }
}

/* ===== SERVICE BLOCKS MOBILE ===== */
@media (max-width: 768px) {
    .services-detail {
        padding: 40px 0 !important;
    }

    .service-block {
        grid-template-columns: 1fr !important;
        padding: 25px 0 !important;
        gap: 20px !important;
    }

    .service-number {
        font-size: 2rem !important;
    }

    .service-block h2 {
        font-size: 1.3rem !important;
    }

    .service-lead {
        font-size: 0.9rem !important;
    }

    .service-block p {
        font-size: 0.8rem !important;
    }

    .service-features li {
        font-size: 0.8rem !important;
        padding: 6px 0 !important;
    }

    .service-icon-large {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto !important;
    }

    .service-icon-large::before {
        inset: -12px !important;
    }

    .service-icon-large i {
        font-size: 2.5rem !important;
    }
}

/* ===== PORTFOLIO MOBILE ===== */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 50px 0 60px !important;
    }

    .portfolio-filters {
        gap: 5px !important;
        margin-bottom: 25px !important;
        padding: 6px !important;
        border-radius: 15px !important;
        flex-wrap: wrap !important;
    }

    .filter-btn {
        padding: 8px 12px !important;
        font-size: 0.7rem !important;
        gap: 5px !important;
        border-radius: 25px !important;
    }

    .filter-btn i {
        font-size: 0.7rem !important;
    }

    .filter-btn span {
        display: none !important;
    }

    .filter-btn.active span {
        display: inline !important;
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 30px !important;
    }

    .portfolio-item--featured {
        grid-column: span 1 !important;
    }

    .portfolio-card {
        border-radius: 15px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    }

    .portfolio-card__image {
        height: 150px !important;
    }

    .portfolio-item--featured .portfolio-card__image {
        height: 180px !important;
    }

    .visual-icon {
        width: 60px !important;
        height: 60px !important;
        border-radius: 15px !important;
    }

    .visual-icon i {
        font-size: 1.5rem !important;
    }

    .portfolio-card__content {
        padding: 15px !important;
    }

    .portfolio-card__category {
        font-size: 0.6rem !important;
        margin-bottom: 8px !important;
    }

    .portfolio-card__title {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .portfolio-item--featured .portfolio-card__title {
        font-size: 1.1rem !important;
    }

    .portfolio-card__desc {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }

    .portfolio-card__tags {
        gap: 5px !important;
    }

    .portfolio-card__tags span {
        font-size: 0.6rem !important;
        padding: 4px 8px !important;
    }

    /* Portfolio Stats */
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 20px !important;
        border-radius: 15px !important;
    }

    .portfolio-stat {
        padding: 10px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        gap: 10px !important;
    }

    .portfolio-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .portfolio-stat:nth-child(3),
    .portfolio-stat:nth-child(4) {
        border-bottom: none !important;
    }

    .portfolio-stat i {
        font-size: 1.1rem !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }

    .portfolio-stat__content strong {
        font-size: 1.3rem !important;
    }

    .portfolio-stat__content span {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        padding: 5px !important;
    }

    .filter-btn {
        padding: 6px 10px !important;
        font-size: 0.65rem !important;
    }

    .portfolio-card__image {
        height: 130px !important;
    }

    .portfolio-stats {
        padding: 15px !important;
    }

    .portfolio-stat i {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }

    .portfolio-stat__content strong {
        font-size: 1.1rem !important;
    }
}

/* ===== INDUSTRIES MOBILE ===== */
@media (max-width: 768px) {
    .clients-section {
        padding: 50px 0 !important;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .industry-card {
        padding: 15px 10px !important;
        border-radius: 10px !important;
    }

    .industry-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 8px !important;
    }

    .industry-icon i {
        font-size: 1rem !important;
    }

    .industry-card h4 {
        font-size: 0.7rem !important;
    }
}

/* ===== CONTACT PAGE MOBILE ===== */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0 !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-info .section-title {
        font-size: 1.3rem !important;
    }

    .contact-info > p {
        font-size: 0.85rem !important;
    }

    .contact-cards {
        gap: 12px !important;
    }

    .contact-card {
        padding: 15px !important;
        gap: 12px !important;
        border-radius: 10px !important;
    }

    .contact-card__icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
    }

    .contact-card__icon i {
        font-size: 1rem !important;
    }

    .contact-card__content h4 {
        font-size: 0.85rem !important;
    }

    .contact-card__content p,
    .contact-card__content a {
        font-size: 0.8rem !important;
    }

    .social-links .social-link {
        width: 38px !important;
        height: 38px !important;
    }

    .contact-form-card {
        padding: 20px !important;
        border-radius: 15px !important;
    }

    .contact-form-card h3 {
        font-size: 1.1rem !important;
    }

    .contact-form-card > p {
        font-size: 0.8rem !important;
        margin-bottom: 20px !important;
    }

    /* Map */
    .map-section {
        height: 250px !important;
    }
}

/* ===== TIMELINE MOBILE ===== */
@media (max-width: 768px) {
    .timeline {
        padding-left: 15px !important;
    }

    .timeline::before {
        left: 0 !important;
    }

    .timeline-item {
        padding-left: 20px !important;
        padding-bottom: 25px !important;
    }

    .timeline-item::before {
        left: -5px !important;
        width: 10px !important;
        height: 10px !important;
    }

    .timeline-year {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
    }

    .timeline-item h4 {
        font-size: 0.9rem !important;
    }

    .timeline-item p {
        font-size: 0.75rem !important;
    }
}

/* ===== SWIPER FIXES ===== */
@media (max-width: 768px) {
    .swiper-slide {
        height: auto !important;
    }

    .swiper-pagination {
        bottom: 10px !important;
    }
}


/* ========================================
   COMPREHENSIVE MOBILE IMPROVEMENTS
   Added: Feb 2026
   These rules are appended to override/fix
   remaining mobile issues across all pages.
======================================== */

/* ===== 1. GLOBAL: NO HORIZONTAL SCROLLBAR ===== */
body {
    overflow-x: hidden !important;
}

html {
    overflow-x: hidden !important;
}

/* ===== 2. SERVICES QUICK-NAV (Services Page) ===== */
@media (max-width: 768px) {
    .services-quick-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0.5rem !important;
        padding-bottom: 10px !important;
        scrollbar-width: thin !important;
    }

    .services-quick-nav::-webkit-scrollbar {
        height: 3px !important;
    }

    .services-quick-nav::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15) !important;
        border-radius: 10px !important;
    }

    .services-quick-nav a,
    .services-quick-nav .quick-nav-item,
    .services-quick-nav > * {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .services-quick-nav {
        gap: 0.4rem !important;
        padding-bottom: 8px !important;
    }

    .services-quick-nav a,
    .services-quick-nav .quick-nav-item,
    .services-quick-nav > * {
        font-size: 0.7rem !important;
        padding: 6px 12px !important;
    }
}

/* ===== 3. SERVICE BLOCKS STACKING (Services Page) ===== */
@media (max-width: 768px) {
    .service-block {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .service-block__visual {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        order: -1 !important;
    }

    .service-block__visual img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }

    .service-block__content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .service-block:nth-child(even) {
        flex-direction: column !important;
    }
}

/* Old printing-showcase overflow styles moved to bottom of file */

/* ===== 5. FOOTER MOBILE: SINGLE COLUMN + CENTERED ===== */
@media (max-width: 768px) {
    .footer__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        text-align: center !important;
    }

    .footer__col {
        text-align: center !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .footer__links {
        text-align: center !important;
        padding: 0 !important;
    }

    .footer__links li {
        text-align: center !important;
    }

    .footer__contact p {
        justify-content: center !important;
        text-align: center !important;
    }

    .footer__contact p i {
        margin-right: 6px !important;
    }

    .footer__brand {
        text-align: center !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .footer__desc {
        text-align: center !important;
    }

    .footer__bottom-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        text-align: center !important;
    }
}

/* ===== 6. CHATBOT + WHATSAPP: NO OVERLAP ===== */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px !important;
        right: 15px !important;
        z-index: 998 !important;
    }

    .hira-chatbot {
        bottom: 15px !important;
        right: 15px !important;
        z-index: 999 !important;
    }

    .chatbot-toggle {
        width: 48px !important;
        height: 48px !important;
    }

    .chatbot-window {
        width: calc(100vw - 30px) !important;
        max-width: 100% !important;
        right: 0 !important;
        bottom: 65px !important;
        max-height: 60vh !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 75px !important;
        right: 12px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.2rem !important;
    }

    .hira-chatbot {
        bottom: 12px !important;
        right: 12px !important;
    }

    .chatbot-toggle {
        width: 45px !important;
        height: 45px !important;
    }

    .chatbot-window {
        width: calc(100vw - 24px) !important;
        bottom: 60px !important;
        max-height: 55vh !important;
    }
}

/* ===== 7. HERO SECTION: TEXT OVERFLOW FIX ===== */
@media (max-width: 768px) {
    .hero {
        overflow: hidden !important;
    }

    .hero__content {
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 0 5px !important;
    }

    .hero__title {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero__subtitle,
    .hero__desc {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-slider .swiper-slide {
        overflow: hidden !important;
    }

    .hero-slider .swiper-slide * {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    .hero__subtitle,
    .hero__desc {
        font-size: 0.8rem !important;
    }

    .hero__actions {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .hero__actions .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* ===== 8. STATS SECTION: 2 COLUMNS ON TABLET + MOBILE ===== */
@media (max-width: 1024px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .stat-card {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .stat-card {
        padding: 14px 10px !important;
        min-width: 0 !important;
    }

    .stat-card__value {
        font-size: 1.3rem !important;
    }

    .stat-card__label {
        font-size: 0.5rem !important;
    }

    .stat-card__icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
}

/* ===== 9. CONTACT FORM: FULL WIDTH + SPACING ===== */
@media (max-width: 768px) {
    .contact-form-card .form-row,
    .contact-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .contact-form-card .form-group,
    .contact-form .form-group {
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    .contact-form-card .form-group input,
    .contact-form-card .form-group select,
    .contact-form-card .form-group textarea,
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        width: 100% !important;
        padding: 12px 14px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    .contact-form-card .form-group textarea,
    .contact-form .form-group textarea {
        min-height: 100px !important;
    }

    .contact-form-card .btn,
    .contact-form .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .contact-form-card .form-group input,
    .contact-form-card .form-group select,
    .contact-form-card .form-group textarea,
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
    }

    .contact-form-card,
    .contact-form-wrapper {
        padding: 15px !important;
    }
}

/* ===== 10. NAV LOGO IMAGE SIZING ===== */
@media (max-width: 768px) {
    .nav__logo-img {
        max-height: 35px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .nav__logo img {
        max-height: 35px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .nav__logo-img {
        max-height: 30px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .nav__logo img {
        max-height: 30px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}

/* ===== 11. PRELOADER LOGO IMAGE SIZING ===== */
@media (max-width: 768px) {
    .preloader-logo-img {
        max-width: 180px !important;
        max-height: 60px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .preloader .logo-mark {
        width: 50px !important;
        height: 50px !important;
    }

    .preloader .logo-name {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .preloader-logo-img {
        max-width: 140px !important;
        max-height: 45px !important;
    }

    .preloader .logo-mark {
        width: 42px !important;
        height: 42px !important;
    }

    .preloader .logo-name {
        font-size: 1rem !important;
    }
}

/* ===== 12. ADDITIONAL OVERFLOW PREVENTION ===== */
@media (max-width: 768px) {
    section,
    .section,
    main {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .service-block__visual img,
    .gallery-real-img,
    .facility-img,
    .machine-card img {
        max-width: 100% !important;
        height: auto !important;
    }

    pre,
    code {
        white-space: pre-wrap !important;
        word-break: break-all !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }
}

/* ========================================
   MAJOR MOBILE FIXES - Feb 2026 v2
   Process Wheel, Hero, Images, 3D Cards,
   Gallery, Cert Cards
======================================== */

/* ===== SCROLL INDICATOR: HIDE ON TABLETS TOO ===== */
@media (max-width: 1024px) {
    .scroll-indicator {
        display: none !important;
    }
}

/* ===== HERO: REDUCE EMPTY SPACE ON LARGER PHONES ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-slide {
        padding: 120px 0 80px !important;
        min-height: auto !important;
    }
    
    .hero {
        min-height: auto !important;
    }
    
    .hero-slider {
        min-height: auto !important;
    }
}

/* ===== FACTORY IMAGES: LARGER, FRAMED, BETTER LAYOUT ===== */
@media (max-width: 768px) {
    .image-stack {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .stack-item {
        aspect-ratio: 16/9 !important;
        border-radius: 14px !important;
        transform: none !important;
        overflow: hidden !important;
        border: 2px solid rgba(212, 175, 55, 0.15) !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    }

    .stack-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .stack-inner {
        display: none !important;
    }

    .stack-1, .stack-2, .stack-3, .stack-4 {
        transform: none !important;
    }

    .visual-wrapper {
        padding: 0 !important;
    }

    /* 28 Years Badge */
    .experience-badge {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 16px auto 0 !important;
        padding: 14px 24px !important;
        display: block !important;
        width: fit-content !important;
        text-align: center !important;
        border-radius: 14px !important;
        background: var(--white) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    }
}

@media (max-width: 480px) {
    .stack-item {
        aspect-ratio: 3/2 !important;
        border-radius: 12px !important;
    }
}

/* ===== CERT CARDS (ISO, FSC, GMP): SINGLE HORIZONTAL ROW ===== */
@media (max-width: 768px) {
    .about__features {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .feature {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 6px !important;
        background: var(--white) !important;
        padding: 12px 8px !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }

    .feature__icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 0.9rem !important;
        border-radius: 10px !important;
    }

    .feature__content {
        flex: 1 !important;
    }

    .feature__content h4 {
        font-size: 0.7rem !important;
        margin-bottom: 1px !important;
        line-height: 1.2 !important;
    }

    .feature__content p {
        font-size: 0.58rem !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .about__features {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .feature {
        padding: 10px 6px !important;
    }

    .feature__icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 0.8rem !important;
    }

    .feature__content h4 {
        font-size: 0.62rem !important;
    }

    .feature__content p {
        font-size: 0.52rem !important;
    }
}

/* ===== HIRA ADVANTAGE: PROCESS WHEEL → FLOW STEPS ON MOBILE ===== */
@media (max-width: 768px) {
    .why__visual {
        order: -1 !important;
    }

    .process-visual {
        max-width: 100% !important;
        min-height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .process-circle {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        border: none !important;
        border-radius: 0 !important;
        max-width: 100% !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        width: 100% !important;
        padding: 10px !important;
    }

    .process-step {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        border-radius: 16px !important;
        padding: 20px 12px !important;
        background: var(--white) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
        border: 1px solid rgba(212,175,55,0.15) !important;
    }

    .process-step:hover {
        transform: translateY(-2px) !important;
    }

    .process-step[data-step="1"],
    .process-step[data-step="2"],
    .process-step[data-step="3"],
    .process-step[data-step="4"] {
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .process-step i {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
        color: var(--gold) !important;
    }

    .process-step span {
        font-size: 0.7rem !important;
        display: block !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
    }

    .process-center {
        position: static !important;
        transform: none !important;
        grid-column: 1 / -1 !important;
        text-align: center !important;
        padding: 16px !important;
        background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
        border-radius: 14px !important;
    }

    .center-icon {
        font-size: 1.8rem !important;
        color: var(--navy) !important;
        margin-bottom: 4px !important;
    }

    .center-text {
        font-size: 0.7rem !important;
        color: var(--navy) !important;
    }
}

@media (max-width: 480px) {
    .process-circle {
        gap: 10px !important;
        padding: 6px !important;
    }

    .process-step {
        padding: 16px 10px !important;
        border-radius: 12px !important;
    }

    .process-step i {
        font-size: 1.3rem !important;
    }

    .process-step span {
        font-size: 0.6rem !important;
    }
}

/* ===== 3D CAROUSEL: KEEP 3D ON MOBILE WITH PROPER SIZES ===== */
@media (max-width: 768px) {
    .printing-showcase-section {
        overflow: hidden !important;
        max-width: 100vw !important;
        padding: 50px 0 !important;
    }

    .carousel-3d {
        perspective: 800px !important;
        min-height: 340px !important;
        padding: 20px 0 !important;
    }

    .carousel-3d-container {
        width: 180px !important;
        height: 260px !important;
    }

    .carousel-3d-item {
        border-radius: 14px !important;
    }

    .carousel-3d-item:nth-child(1) { transform: rotateY(0deg) translateZ(240px) !important; }
    .carousel-3d-item:nth-child(2) { transform: rotateY(60deg) translateZ(240px) !important; }
    .carousel-3d-item:nth-child(3) { transform: rotateY(120deg) translateZ(240px) !important; }
    .carousel-3d-item:nth-child(4) { transform: rotateY(180deg) translateZ(240px) !important; }
    .carousel-3d-item:nth-child(5) { transform: rotateY(240deg) translateZ(240px) !important; }
    .carousel-3d-item:nth-child(6) { transform: rotateY(300deg) translateZ(240px) !important; }

    .carousel-3d-card .card-image {
        height: 120px !important;
    }

    .carousel-3d-card .card-content {
        padding: 14px !important;
    }

    .carousel-3d-card .card-title {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .carousel-3d-card .card-desc {
        font-size: 11px !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .carousel-3d-card .card-link {
        font-size: 11px !important;
        margin-top: 8px !important;
    }

    .carousel-3d-card .card-image i {
        font-size: 20px !important;
        bottom: 8px !important;
        left: 10px !important;
    }
}

@media (max-width: 480px) {
    .carousel-3d {
        min-height: 300px !important;
    }

    .carousel-3d-container {
        width: 150px !important;
        height: 220px !important;
    }

    .carousel-3d-item:nth-child(1) { transform: rotateY(0deg) translateZ(200px) !important; }
    .carousel-3d-item:nth-child(2) { transform: rotateY(60deg) translateZ(200px) !important; }
    .carousel-3d-item:nth-child(3) { transform: rotateY(120deg) translateZ(200px) !important; }
    .carousel-3d-item:nth-child(4) { transform: rotateY(180deg) translateZ(200px) !important; }
    .carousel-3d-item:nth-child(5) { transform: rotateY(240deg) translateZ(200px) !important; }
    .carousel-3d-item:nth-child(6) { transform: rotateY(300deg) translateZ(200px) !important; }

    .carousel-3d-card .card-image {
        height: 100px !important;
    }

    .carousel-3d-card .card-content {
        padding: 10px !important;
    }

    .carousel-3d-card .card-title {
        font-size: 12px !important;
    }

    .carousel-3d-card .card-desc {
        font-size: 10px !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* ===== PRINT GALLERY: LARGER IMAGES WITH PROPER FRAMING ===== */
@media (max-width: 768px) {
    .print-gallery-section {
        padding: 50px 0 !important;
    }

    .print-gallery {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        gap: 10px !important;
    }

    .print-gallery-item {
        min-height: 180px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .print-gallery-item.span-2 {
        grid-column: 1 / -1 !important;
        min-height: 200px !important;
    }

    .print-gallery-item img.gallery-bg {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .print-gallery-item .gallery-content {
        padding: 14px !important;
    }

    .print-gallery-item .gallery-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 15px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }

    .print-gallery-item .gallery-title {
        font-size: 14px !important;
    }

    .print-gallery-item .gallery-subtitle {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .print-gallery {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .print-gallery-item {
        min-height: 150px !important;
        border-radius: 12px !important;
    }

    .print-gallery-item.span-2 {
        min-height: 170px !important;
    }

    .print-gallery-item .gallery-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }

    .print-gallery-item .gallery-title {
        font-size: 13px !important;
    }

    .print-gallery-item .gallery-subtitle {
        font-size: 10px !important;
    }
}

