
@media screen and (max-width: 767px){
    .mobileIncomplete {
        display: block;
        background-color: #f8d7da; /* Light red background */
        color: #721c24; /* Dark red text color */
        padding: 10px;
        text-align: center;
        font-size: 16px;
        margin-bottom: 20px; /* Adds some space between the message and the content */
        border: 1px solid #f5c6cb; /* Border for emphasis */
    }
    
    .mobileIncomplete p {
        margin: 0; /* Remove default margin for paragraphs */
    }
    main{
        display: none;
    }
    footer{
        display: none;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px){
    /* .mobile-incomplete {
        display: none;
    } */
}

@media screen and (min-width: 1024px) {
    .mobileIncomplete {
        display: none; /* Hide the message on larger screens */
    }
    .hero-content {
        position: absolute;
        top: 40%;         
        text-align: center;        
        transform: translateY(-50%) translateX(150%);
        max-width: 875px;
        z-index: 4;
        margin: 0;
    }
    .hero-content h1{
        margin: 24px 0px;
    }
    body{
        margin: 0;
        padding: 0;
        width: 100%;
        min-height: 100vh;
        overflow-x: hidden;
        background: radial-gradient(
            circle at bottom right,
            #BEC2CA 0%,
            #4A5068 62%,
            #0E173C 100%
        );
    }
    h1, h2, h3, p,  #smolP, a, #one nav ul li a, footer h3, footer p, footer a, footer #btmfoot{
        color: #fff;
        text-decoration: none;
    }
    footer a:hover{
        text-decoration: underline;
        color: rgb(0, 0, 255);
    }
    main{
        margin: 0;
        overflow-x: hidden;
        height: 800px;
        box-sizing: border-box;
        color: rgb(255, 255, 255);
        letter-spacing: 0.03em;
        line-height: 1.6;
      
        background-size: auto 800px;
        background-position: right center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        transition: background 0.6s ease-in-out;
    }
    #query{
        /* max-width: 1100px; */
        width: 100%;
        margin: 0 24px;
    }
    /* #work{
        margin: 8px auto 96px;
    } */
    .exp-heading{
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
    #logoSpace{
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        height: 150px;
        gap: 16px;
        margin-bottom: 24px;
    }
    .logo{
        position: relative;
        width: 108px;
        height: 108px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: inherit;
        overflow: visible;
        transition: width 0.3s ease, height 0.3s ease;
    }
    .logo.active{
        width: 150px;
        height: 150px;
    }
    .logo-wrapper{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        overflow: visible;
    }
    .logo-wrapper img{
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
        transform-origin: top center;
        z-index: 2;
    }
    .logo.active .logo-wrapper img{
        transform: scale(1.1);
        filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.9));
    }
    .logo p{
        position: absolute;
        top: 50%;
        left: calc(100% + 16px);
        transform: translateX(-50px) translateY(30px);
        white-space: nowrap;
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 1;
    }
    .logo.slide-left p{
        left: auto;
        right: calc(100% + 16px);
        transform: translateX(50px) translateY(30px);
    }
    .logo.active p {
        opacity: 1;
        transform: translateX(0) translateY(30px);
    }
    #caseStudy{
        height: 475px;
        display: flex;
    }
    #csText h1{
        margin-bottom: 0px;
    }
    #csText p{
        margin: 0.5em;
    }
    #csText{
        flex: 0 0 525px; 
        padding-top: 24px;
        width: 525px;
    }
    #csText a{
        display: none;
        width: 200px;             
        padding: 8px 0;           
        box-sizing: content-box;    
        
        display: flex;          
        align-items: center;       
        justify-content: center;    
      
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 30px;
        font-family: "Nunito Sans", sans-serif;
        font-weight: 400;
        font-size: 16px;
        color: rgb(48, 48, 66);
        letter-spacing: 0.03em;
        line-height: 140%;
        text-decoration: none;
    }
    .logo:hover #csText a{
        display: inline-block;
    }
    #csText a:hover:not(#noHover){
        background-color: rgb(255, 255, 255, 1);
    }
    #csImage{
        flex: 0 0 1;   /* don’t grow, don’t shrink, size to image */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* Hidden by default */
    .popup{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(2px);
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    .popup.show{
        display: flex;
        opacity: 1;
    }
    .popup.hide{
        opacity: 0;
    }
    /* Popup box */
    .popup-content{
        background: rgb(255, 255, 255);
        border-radius: 4px;
        padding: 24px 32px;
        text-align: center;
        box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
    }
    .popup-content p{
        color: rgb(48, 48, 66);
    }
}
@media screen and (min-width: 1650px){

}
@media screen and (min-width: 1850px){
    
}
@keyframes footerGradientSwipe {
    0% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 50% 50%;
        background-image: none;
        color: rgb(255, 255, 255); /* Final solid color */
    }
}
