.device-showcase {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
    padding: 40px 20px;
}

.macbook-pro {
    width: 100%;
    max-width: 1264px;
    margin: 0 auto;
    position: relative;
}

.macbook-pro .screen {
    background: #000;
    border-radius: 10px 10px 0 0;
    padding: 12px 12px 0;
    box-shadow: 0 0 0 2px #c1c1c1;
}

.macbook-pro .viewport {
    overflow: hidden;
    background: #fff;
    aspect-ratio: 16/10;
    -webkit-overflow-scrolling: touch;
}

.macbook-pro iframe {
    border: none;
    transform-origin: 0 0;
    pointer-events: auto;
}

.macbook-pro .base {
    height: 20px;
    background: linear-gradient(90deg, #b4b4b4 0%, #e2e2e2 100%);
    border-radius: 0 0 20px 20px;
    position: relative;
}

.macbook-pro .base::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 8px;
    background: #c1c1c1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 0 0 10px 10px;
}

.iphone-14 {
    width: 350px;
    height: 670px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 11px;
    position: absolute;
    right: 0;
    bottom: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}


.iphone-14 .notch {
    position: absolute;
    width: 119px;
    height: 21px;
    background: #1a1a1a;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.iphone-14 .screen {
    background: #fff;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.iphone-14 iframe {
    border: none;
    transform-origin: 0 0;
    pointer-events: auto;
}


@media (max-width: 1400px) {
    .iphone-14 {
        width: 300px;
        height: 580px;
    }
}

@media (max-width: 1200px) {
    .iphone-14 {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 992px) {
    .device-showcase {
        padding: 20px;
    }

    .iphone-14 {
        position: relative;
        margin: 40px auto 0;
    }
}

@media (max-width: 576px) {
    .device-showcase {
        padding: 10px;
    }

    .iphone-14 {
        width: 280px;
        height: 540px;
    }

    .macbook-pro .base::before {
        width: 100px;
    }
}

.client-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .client-wrapper {
        grid-template-columns: auto 1fr auto;
    }
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .badge-container {
        justify-content: flex-start;
    }
}

.text-gradient.text-primary {
    background: linear-gradient(310deg, #2152ff 0%, #21d4fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    font-weight: 500;
    padding: 6px 12px;
    white-space: nowrap;
}

.bg-primary-subtle {
    background-color: rgba(33, 82, 255, 0.1);
}

h4.text-gradient {
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    h4.text-gradient {
        font-size: 1.1rem;
    }

    .badge {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}

.project-info {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}





/* === Extra Responsive Fixes === */

/*@media (max-width: 768px) {*/
    /* Client Wrapper ko column me rakhna for tablets/mobile */
/*    .client-wrapper {*/
/*        grid-template-columns: 1fr !important;*/
/*        text-align: center;*/
/*    }*/

/*    .metrics-wrapper, */
/*    .services-wrapper {*/
/*        width: 100%;*/
/*        margin-top: 15px;*/
/*    }*/
/*}*/

/*@media (max-width: 480px) {*/
    /* Device showcase ka gap kam karna */
/*    .device-showcase {*/
/*        padding: 5px;*/
/*    }*/

/*    .macbook-pro iframe,*/
/*    .iphone-14 iframe {*/
/*        height: 200px !important;*/
/*    }*/

/*    .iphone-14 {*/
/*        width: 240px;*/
/*        height: 460px;*/
/*    }*/

/*    .project-info {*/
/*        padding: 15px;*/
/*    }*/

/*    .client-profile h4 {*/
/*        font-size: 16px;*/
/*    }*/

/*    .client-profile span {*/
/*        font-size: 13px;*/
/*    }*/
/*}*/






/*.macbook-pro .viewport {*/
/*    overflow: hidden;*/
/*    background: #fff;*/
/*    aspect-ratio: 16/10;*/
/*    width: 100%;*/
/*    height: auto;*/
/*    position: relative;*/
/*}*/

/*.macbook-pro iframe {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    border: none;*/
/*    display: block;*/
/*}*/










