﻿body {
    margin: 0;
    font-family: tahoma;
  
    
}

/* header */
.header {
    text-align: center;
    padding: 50px 20px 20px;
}

    .header h1 {
        font-size: 32px;
        margin: 0;
    }

    .header p {
        opacity: .7;
        margin-top: 10px;
    }

/* services grid */
.services {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    padding: 40px;
}

@media(max-width:900px) {
    .services {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:600px) {
    .services {
        grid-template-columns: 1fr;
    }
}

/* card */
.card {
    background: linear-gradient(145deg, #111827, #0b1220);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 25px;
    transition: .4s;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    direction: rtl;
}

    /* glow effect */
    .card::before {
/*        content: "";*/
        position: absolute;
        inset: -50px;
        background: radial-gradient(circle, rgba(56,189,248,.15), transparent 60%);
        opacity: 0;
        transition: .4s;
    }

    .card:hover::before {
        opacity: 1;
    }

    .card:hover {
        transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
        box-shadow: 0 20px 40px rgba(0,0,0,.6);
    }

/* icon */
.icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(56,189,248,.5);
}

/* title */
.card h3 {
    margin: 0 0 10px;
    color: whitesmoke;
    font-size: 20px;
}

/* text */
.card p {
    opacity: .75;
    line-height: 1.8;
    font-size: 14px;
    color: white;
}



/* button */
.card a {
    display: inline-block;
    margin-top: 15px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 13px;
    transition: .3s;
}

    .card a:hover {
        color: #fff;
    }


.card img {
  height:240px;object-fit:fill
}
