/* ==========================================================================
   Shree Technolabs - Master Responsive Stylesheet
   ========================================================================== */

/* Base responsiveness for images and media */
img {
    max-width: 100%;
    height: auto;
}

.industries-second-row {
    margin-top: 40px;
}

/* ==========================================================================
   TABLET LANDSCAPE & PORTRAIT (max-width: 991.98px)
   ========================================================================== */
@media only screen and (max-width: 991.98px) {
    /* Navigation */
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .mobile-nav.active {
        display: flex !important;
    }

    .logo img {
        height: 42px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 110px 0 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }


    .laptop-showcase {
        max-width: 520px;
    }

    .card-top-left {
        left: -10px;
        top: 2%;
    }

    .card-bottom-right {
        right: -10px;
        bottom: 8%;
    }

    .card-bottom-left {
        left: 10%;
        bottom: -10px;
    }

    /* Services */
    .services {
        padding: 4.5rem 0;
    }

    .section-subtitle {
        margin-bottom: 2.5rem;
    }

    /* Industries */
    .industries-second-row {
        margin-top: 0 !important;
    }

    .industries-wrapper .col-sm-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .industries-wrapper .mt-4 {
        margin-top: 0 !important;
    }

    .industrie_item {
        margin-bottom: 15px;
    }

    /* Hiring Process */
    .hiring-process-section {
        margin-top: 4rem;
    }

    .process-step-card {
        max-width: 100%;
        margin-bottom: 25px;
    }

    .hiring-process-section .col-md-3:not(:first-child)::before {
        display: none;
    }

    /* About & Stats */
    .about {
        padding: 4.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Contact */
    .contact {
        padding: 4.5rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        text-align: center;
    }

    /* Footer */
    .site-footer {
        padding-top: 3.5rem;
    }

    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2rem;
        padding-bottom: 2.5rem;
    }

    /* Product Page */
    .product-hero {
        min-height: auto;
        padding-top: 80px;
    }

    .product-hero .content {
        margin: 50px 0 35px;
        text-align: center;
    }

    .product-hero img {
        margin-top: 20px;
    }

    .product-nav-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .product-nav-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }

    .search-container {
        width: 100%;
        display: block;
    }

    .search-input {
        width: 100%;
    }
}

/* ==========================================================================
   MOBILE DEVICES (max-width: 767.98px)
   ========================================================================== */
@media only screen and (max-width: 767.98px) {
    /* Global */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Header */
    nav {
        padding: 0.85rem 0;
    }

    .logo img {
        height: 38px;
    }

    /* Hero */
    .hero {
        padding: 95px 0 40px;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-badge {
        font-size: 0.82rem;
        padding: 6px 14px;
        margin-bottom: 1.25rem;
    }

    .hero-text h1 {
        font-size: clamp(1.85rem, 6.5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        gap: 0.75rem;
    }


    .laptop-showcase {
        max-width: 440px;
    }

    .laptop-glow-halo {
        width: 260px;
        height: 260px;
    }

    .floating-tech-card {
        padding: 8px 12px;
        gap: 9px;
        border-radius: 12px;
    }

    .tech-icon-box {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }

    .tech-title {
        font-size: 0.78rem;
    }

    .tech-sub {
        font-size: 0.68rem;
    }

    .card-top-left {
        top: 8px;
        left: 8px;
    }

    .card-bottom-right {
        bottom: 12px;
        right: 8px;
    }

    .card-bottom-left {
        display: none;
    }

    /* Services */
    .services {
        padding: 3.5rem 0;
    }

    .services-tabs-container {
        gap: 10px;
        margin-bottom: 25px;
    }

    .services-tab-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .tab-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    /* Industries */
    .industries-wrapper .col-sm-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .industrie_item {
        min-height: 115px;
        padding: 12px 8px;
        margin-bottom: 15px;
    }

    .industrie_item .industrie-icon {
        width: 46px;
        height: 46px;
        line-height: 46px;
        font-size: 18px;
    }

    .industries_title {
        font-size: 0.9rem;
        padding: 6px 0 0 0;
    }

    /* Hiring Process */
    .hiring-process-section {
        margin-top: 3.5rem;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .hiring-process-section .section-heading h2 {
        font-size: 22px;
    }

    .hiring-process-section .section-heading p {
        font-size: 15px;
    }

    .process-step-card {
        max-width: 240px;
        margin: 0 auto 24px;
        padding: 25px 15px;
    }

    .hiring-process-section .col-md-3:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -12px;
        left: 50%;
        width: 4px;
        height: 24px;
        background: #cfcccd;
        z-index: 0;
        transform: translateX(-50%);
    }

    /* About */
    .about {
        padding: 3.5rem 0;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact {
        padding: 3.5rem 0;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.85rem;
    }

    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    /* Footer */
    .site-footer {
        padding-top: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-item {
        padding: 1.25rem 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-icon {
        margin-bottom: 0.25rem;
        font-size: 2rem;
        padding: 10px;
    }

    .footer-heading {
        font-size: 1.1rem;
    }

    .footer-item p {
        font-size: 0.9rem;
    }

    .footer-social {
        margin: 1.5rem 0;
        gap: 1rem;
    }

    .footer-social-link {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .footer-copy {
        font-size: 0.85rem;
        padding: 1.25rem 10px;
    }

    /* Product Page */
    .product-hero .content {
        margin: 35px 0 25px;
    }

    .product-hero h3 {
        font-size: 1.85rem;
    }

    .product-hero p {
        font-size: 1rem;
    }

    .product-hero img {
        height: 150px;
        width: 220px;
    }

    .product-content {
        padding: 25px 0;
    }

    .product-nav-section {
        padding: 15px 12px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .product-nav-tab {
        padding: 8px 14px;
        font-size: 14px;
    }

    .dropdown-btn {
        padding: 8px 14px;
        font-size: 14px;
    }

    .search-input {
        font-size: 16px;
        padding: 10px 14px 10px 38px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .product-image {
        height: 180px;
    }

    .product-content {
        padding: 18px 15px;
    }

    .product-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 13px;
        margin-bottom: 12px;
    }

    /* Modals */
    .modal-dialog {
        margin: 0.75rem;
    }

    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-title {
        font-size: 1.15rem;
    }

    .modal-body {
        padding: 1.25rem 1rem;
    }

    .modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* ==========================================================================
   SMALL MOBILE DEVICES (max-width: 480px)
   ========================================================================== */
@media only screen and (max-width: 480px) {
    /* Global Buttons */
    .btn {
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero-badge {
        font-size: 0.76rem;
        padding: 5px 12px;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }


    .laptop-showcase {
        max-width: 100%;
    }

    .floating-tech-card {
        padding: 6px 10px;
        gap: 8px;
    }

    .tech-icon-box {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 6px;
    }

    .tech-title {
        font-size: 0.72rem;
    }

    .tech-sub {
        font-size: 0.62rem;
    }

    .card-top-left {
        top: 6px;
        left: 6px;
    }

    .card-bottom-right {
        bottom: 8px;
        right: 6px;
    }

    /* Services */
    .services-tabs-container {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .services-tab-btn {
        width: 100%;
        justify-content: center;
    }

    /* Industries */
    .industries-wrapper .col-sm-2 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 6px;
        padding-right: 6px;
    }

    .industrie_item {
        min-height: 105px;
        padding: 10px 4px;
        margin-bottom: 12px;
    }

    .industrie_item .industrie-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }

    .industries_title {
        font-size: 0.8rem;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    /* Hiring Process */
    .process-step-card {
        max-width: 260px;
    }

    /* Product Page */
    .product-hero h3 {
        font-size: 1.6rem;
    }

    .product-hero img {
        height: 120px;
        width: 180px;
    }

    .product-nav-tab {
        padding: 7px 10px;
        font-size: 13px;
    }

    .dropdown-btn {
        padding: 7px 10px;
        font-size: 13px;
    }

    .dropdown-menu {
        max-width: calc(100vw - 32px);
    }
}