﻿/* =========================
   PAGE
========================= */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient( 135deg, #F8F4E9 0%, #F3E8FF 50%, #FFF8E7 100% );
}

/* =========================
   SECTION
========================= */

.services-section {
    padding: 80px 5%;
}

/* =========================
   HEADER
========================= */

.services-header {
    text-align: center;
    margin-bottom: 70px;
}

    .services-header h1 {
        font-size: 60px;
        font-weight: 800;
        margin-bottom: 20px;
        color: #5B21B6;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .services-header p {
        max-width: 850px;
        margin: auto;
        color: #555;
        font-size: 20px;
        line-height: 1.8;
    }

/* =========================
   GRID
========================= */

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(330px,1fr));
    gap: 35px;
}

/* =========================
   CARD
========================= */

.service-card {
    position: relative;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px;
    overflow: hidden;
    transition: all .4s ease;
    border: 1px solid rgba(255,255,255,.3);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
}

    .service-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 45px rgba(91,33,182,.18);
    }

    /* Gradient Top Border */

    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 7px;
        width: 100%;
        background: linear-gradient( 90deg, #5B21B6, #7C3AED, #A855F7 );
    }

    /* Decorative Circle */

    .service-card::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        background: rgba(168,85,247,.08);
        border-radius: 50%;
        right: -60px;
        top: -60px;
    }

    /* =========================
   NUMBER
========================= */

    .service-card h2 {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient( 135deg, #5B21B6, #7C3AED );
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        margin-bottom: 25px;
        box-shadow: 0 8px 20px rgba(91,33,182,.3);
    }

    /* =========================
   TITLE
========================= */

    .service-card h3 {
        color: #5B21B6;
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    /* =========================
   DESCRIPTION
========================= */

    .service-card p {
        color: #444;
        line-height: 1.9;
        font-size: 15px;
    }

    /* =========================
   MATERIALS
========================= */

    .service-card h4 {
        color: #10B981;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .service-card span {
        display: inline-block;
        background: linear-gradient( 135deg, #ECFDF5, #D1FAE5 );
        color: #047857;
        padding: 12px 18px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.8;
    }

    /* =========================
   HOVER EFFECTS
========================= */

    .service-card:hover h3 {
        color: #7C3AED;
    }

    .service-card:hover h2 {
        transform: scale(1.1) rotate(8deg);
        transition: .4s;
    }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .services-section {
        padding: 50px 20px;
    }

    .services-header h1 {
        font-size: 40px;
    }

    .services-header p {
        font-size: 17px;
    }

    .service-card {
        padding: 25px;
    }

        .service-card h3 {
            font-size: 22px;
        }

        .service-card h2 {
            width: 65px;
            height: 65px;
            font-size: 24px;
        }
}
