/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
    background: linear-gradient(135deg, #df4a81, #c430d7, #b03ad8);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* HEADER */
header {
    width: 100%;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

/* MAIN GRID */
main {
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

/* SERVICE CARD */
.service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
}

/* CARD IMAGE */
.service-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.service-card img:hover {
    transform: scale(1.05);
}

/* HEADINGS */
.service-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #fce7ff;
    margin: 10px 0 20px 0;
    line-height: 1.5;
}

/* BUTTONS */
figure {
    background: linear-gradient(45deg, #df4a81, #c430d7);
    width: 50%;
    margin: 0 auto;
    border-radius: 50px;
    padding: 12px 0;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
figure:hover {
    background: linear-gradient(45deg, #c430d7, #df4a81);
    transform: scale(1.15);
    box-shadow: 0 10px 15px rgba(253,2,2,0.5);
    cursor: pointer;
}
figure a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

/* HR Styling */
hr {
    width: 50px;
    border: 2px solid #fff;
    margin: 10px auto 20px;
}

/* RESPONSIVE */
@media(max-width:768px) {
    header { font-size: 2rem; padding: 30px 10px; }
    main { gap: 15px; }
    figure { width: 70%; }
}
@media(max-width:480px) {
    header { font-size: 1.6rem; }
    figure { width: 90%; }
}

