@import url('https://fonts.googleapis.com/css2?family=Boldonse&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');




.ourSolutionImag{
    
    position:relative;
    width:100%;
    height:550px;
}

.ourSolutionImag img{
    
    width:100%;
    height:100%;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index:1;
    top: 0; /* Ensures it starts from the top */
    left: 0; /* Ensures it starts from the left */
}
.heading{
    
    position:absolute;
    top:40%;
    left:30%;
    color:white;
    z-index:2;
    font-family: "Boldonse", system-ui;
  font-weight: 400;
  font-style: normal;
  transition: transform 0.3s ease;
}


.heading:hover {
    transform: scale(1.1) !important; /* Zoom-in effect only, no translation */
}

.discription{
    
    width:85%;
    height:auto;
    margin-left:auto;
    margin-right:auto;
    margin-top:50px;
    box-sizing:border-box;
    padding:20px;
}

.firstparag{
    
     height: auto;
    display:flex;
    justify-content:space-between;
    align-items: center;
   
}

.image1{
    
    width:40%;
    height:400px;
  
}

.image1 img{
    
    width:100%;
    height:100%;
}

.text{
    
    
    width:55%;
    height:auto;
    
  
}

.discription p{
    
    font-family: "Oswald", sans-serif;
  font-size: 25px;
  font-weight: 400;
  font-style: normal;
    
}


@media(max-width:776px){
    
    .discription{
        
        width:100%;
        height:auto;
    }
    
    .firstparag{
    
     flex-wrap:wrap;
     flex-direction:column;
     align-items:center;
    
}

   .image1{
    
    width:100%;
    height:400px;
    
}

.image1 img{
    
    width:100%;
    height:100%;
}

 .text{
    
    width:100%;
    height:auto;
    padding:10px;
}
  

}

/*i{*/
/*    font-size:8px;*/
/*    color:gray;*/
/*}*/


.text .para1{
    
    
    display: inline-block;
   font-family: "Gidole", sans-serif;
    font-weight: 400;
    font-size: 19px;
    font-style: normal;
    padding: 20px;
    text-align: justify; /* Improve text readability */
    color:black;
   
}




.overlayparent{
    
        position:relative;
        width:100%;
        height:auto;
       
    
}

.overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
    opacity: 1; /* Make it invisible initially */
   z-index:1;
    
}


.page-content {
            display: grid;
            grid-gap: 1rem;
            padding: 1rem;
            max-width: 1024px;
            margin: 0 auto;
        }
        
        @media (min-width: 600px) {
            .page-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (min-width: 800px) {
            .page-content {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        .card {  
            position: relative;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            overflow: hidden;
            padding: 1rem;
            width: 100%;
            text-align: center;
            color: whitesmoke;
            background-color: whitesmoke;
            box-shadow: 0 1px 1px rgba(0,0,0,0.1), 
                0 2px 2px rgba(0,0,0,0.1), 
                0 4px 4px rgba(0,0,0,0.1), 
                0 8px 8px rgba(0,0,0,0.1),
                0 16px 16px rgba(0,0,0,0.1);
            height: 350px;
            transition: all 0.3s ease;
        }
        
       
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 1s ease-in-out;
            pointer-events: none;
        }
        
        .card:nth-child(1)::before { background-image: url('assets/img/Callcenterimage.jpg'); }
        
        .card:nth-child(2)::before { background-image: url('assets/img/Dataentry.jpg'); }
        
        .card:nth-child(3)::before { background-image: url('assets/img/CRM.jpg'); }
        
        .card:nth-child(4)::before { background-image: url('assets/img/socialmedia.png'); }
        
        
        .card:nth-child(5)::before { background-image: url('assets/img/trad.jpg'); }
        
        
        .card:nth-child(6)::before { background-image: url('assets/img/AccountingServices.jpg'); }
        
        .card:nth-child(7)::before { background-image: url('assets/img/treders.png'); }
        
        .card:nth-child(8)::before { background-image: url('assets/img/web.jpg'); }
        
        .card:nth-child(9)::before { background-image: url('assets/img/product.jpg'); }
        
        .card:nth-child(10)::before { background-image: url('assets/img/graphic.jpg'); }
        .card:nth-child(11)::before { background-image: url('assets/img/erp.jpg'); }
        .card:nth-child(12)::before { background-image: url('assets/img/consultancy1.jpg'); }
        
        
        /*.content {*/
        /*    position: absolute;*/
        /*    bottom: 0;*/
        /*    width: 100%;*/
        /*    padding: 1rem;*/
        /*    text-align: center;*/
        /*    background: rgba(0, 0, 0, 0.7);*/
        /*    opacity: 0;*/
        /*    transform: translateY(100%);*/
        /*    transition: opacity 0.5s ease, transform 0.5s ease;*/
        /*    height: 100%;*/
        /*    display: flex;*/
        /*    flex-direction: column;*/
        /*    justify-content: center;*/
        /*}*/
        
        .content {
    position: absolute;
    bottom: 0;
    left: 0; /* Ensures it starts from the left edge */
    width: 100%; /* Takes full width of the card */
    height: 100%; /* Ensures it covers the card completely */
    padding: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

        
        .card .title {
            opacity: 1;
            transition: opacity 0.5s ease;
            position: absolute;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 1.5rem;
            font-weight: bold;
            color: white;
            z-index: 2;
        }
        
        .copy, .btn {
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .card:hover::before {
            transform: scale(1.1);
        }
        
        .card:hover .content {
            opacity: 1;
            transform: translateY(0);
        }
        
        .card:hover .copy, .card:hover .btn {
            opacity: 1;
        }

        .btn {
            cursor: pointer;
            padding: 0.75rem 1.5rem;
            font-size: 0.9rem;
            font-weight: bold;
            letter-spacing: 0.025rem;
            text-transform: uppercase;
            color: white;
            background: linear-gradient(45deg, #ff7e5f, #feb47b);
            border: none;
            border-radius: 5px;
            transition: background 0.3s ease, transform 0.2s ease;
        }

        .btn:hover {
            background: linear-gradient(45deg, #ff6a3d, #fd8e55);
            transform: scale(1.05);
        }
        
        
.card {
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.1);
}


.image1 {
    transition: transform 0.3s ease-in-out;
}

.image1:hover {
    transform: scale(1.1);
}


.text {
    transition: transform 0.3s ease-in-out;
}

.text:hover {
    transform: scale(1.1);
}




/*.card:nth-child(1)::before { background-image: url('assets/img/shortFilem1.jpg'); }*/
        
/*        .card:nth-child(2)::before { background-image: url('assets/img/imagemake.png'); }*/
        
/*        .card:nth-child(3)::before { background-image: url('assets/img/shortFilem2.jpg'); }*/
        
/*        .card:nth-child(4)::before { background-image: url('assets/img/shortfilm.jpeg'); }*/
        
        
/*        .card:nth-child(5)::before { background-image: url('assets/img/addmaking.jpg'); }*/
        
        
/*        .card:nth-child(6)::before { background-image: url('assets/img/socialmedia.png'); }*/
        
/*        .card:nth-child(7)::before { background-image: url('assets/img/treders.png'); }*/
        
/*        .card:nth-child(8)::before { background-image: url('assets/img/AccountingServices.jpg'); }*/
        
/*        .card:nth-child(9)::before { background-image: url('assets/img/chartingSolutions.png'); }*/
        
/*        .card:nth-child(10)::before { background-image: url('assets/img/consultancy1.jpg'); }*/
        

