* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0vh;
    background: #ffffff;
    perspective: 2000px;
    padding-top: 10px;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    
    
}

.offer-section {
    text-align: center;
    padding: 20px;
}

.LMC {
    
    width: 250px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgb(30, 78, 84);
    border-radius: 5px;
    transform-style: preserve-3d;
    transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg);
    transition: transform 1s ease;
    position: relative;
    box-shadow: 0 8px 16px rgba(7, 7, 7, 0.2);
}

.LMC:hover {
    transform: rotateZ(0deg) rotateX(10deg) rotateY(-15deg);
}

.LMC h2  {
    font-family: 'playfair display', sans-serif;
    color: rgb(3, 248, 85);
    font-size: 1.8em; 
    transform: translateZ(20px);
    transition: transform 1s ease;
    z-index: 2;
    
}
 

.LMC h2:hover {
    transform: translateZ(70px);
    
}

.LMC h3.arabic-title {
    font-family: 'Esthetic', sans-serif;
    color: rgb(251, 253, 255);
    font-size: 1.1em;
    direction: rtl;
    z-index: 2;
    transform: translateZ(40px);
    transition: transform 1s ease;
}

.LMC h3.arabic-title:hover {
    transform: translateZ(60px);
}

.LMC h4 {
    font-family: 'Arial', sans-serif;
    color: rgb(255, 171, 3);
    font-size: 1.5em;
    z-index: 2;
    transform: translateZ(30px);
    transition: transform 1s ease;
}

.LMC h4:hover {
    transform: translateZ(40px);
transition:  0.6s ease}



.LMC::after {
    content: "";
    position: absolute;
    inset: 5px;
    background: rgb(30, 78, 84);
    border-radius: 10px;
    z-index: 1;
}



/* Responsive Design */
@media (max-width: 600px) {
    .LMC {
        width: 150%;
        max-width: 250px;
        height: 180px;
    }

    .LMC h2 {
        font-size: 1.5em;
    }

    .LMC h3.arabic-title {
        font-size: 1.6em;
    }

    .LMC h4 {
        font-size: 1.2em;
    }
}