/* =========================================================
   Services Page — Blue / Black / White Theme
   ========================================================= */

:root {
    --c-black: #070912;
    --c-black-soft: #12162a;
    --c-blue: #4f6df7;
    --c-blue-dark: #3346c9;
    --c-blue-light: #22d3ee;
    --c-violet: #7c5cff;
    --c-white: #ffffff;
    --c-gray-bg: #f5f6fb;
    --c-gray-text: #565d70;
    --c-border: #e6e8f2;
    --c-gradient: linear-gradient(135deg, #4f6df7 0%, #7c5cff 55%, #22d3ee 100%);
    --c-gradient-soft: linear-gradient(135deg, rgba(79,109,247,0.12) 0%, rgba(124,92,255,0.12) 55%, rgba(34,211,238,0.12) 100%);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Page Banner ===== */
.page-banner {
    background: var(--c-black);
    background-image:
        radial-gradient(circle at 15% 25%, rgba(79, 109, 247, 0.25), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(79, 109, 247, 0.18), transparent 40%);
    color: var(--c-white);
    text-align: center;
    padding: 96px 40px 74px;
}

.page-banner h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.page-banner p {
    color: #a9adb2;
    font-size: 1.02rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Shared Section Header ===== */
.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-black);
    letter-spacing: -0.4px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    background: var(--c-blue);
    border-radius: 2px;
    margin: 14px auto 0;
}

.section-header p {
    color: var(--c-gray-text);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ===== Services Section ===== */
.services-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 100px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

.service-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 10, 10, 0.08);
    border-color: rgba(79, 109, 247, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: rgba(79, 109, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--c-blue);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--c-blue);
    color: var(--c-white);
    transform: scale(1.08) rotate(-6deg);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-black);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--c-gray-text);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== Courses Section ===== */
/* ==========================
   COURSES SECTION
========================== */

.courses {
    padding: 6rem 8%;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    max-width: 850px;
    margin: 0 auto 4rem;
    line-height: 1.3;
    letter-spacing: -1px;
}

/* ==========================
   GRID
========================== */

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ==========================
   CARD
========================== */

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    transition: all .35s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
}

/* ==========================
   IMAGE
========================== */

.course-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .5s ease;
}

.course-card:hover img {
    transform: scale(1.08);
}

/* ==========================
   CONTENT
========================== */

.course-content {
    padding: 1.8rem;
    text-align: center;
}

.course-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.4rem;
}

/* ==========================
   BUTTON
========================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.7rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* ==========================
   CTA
========================== */

.courses-cta {
    text-align: center;
    margin-top: 4rem;
}

.courses-cta .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    background: #0f172a;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: .35s;
}

.courses-cta .btn:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

/* ==========================
   EMPTY
========================== */

.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    color: #64748b;
}

/* ==========================
   MOBILE
========================== */

@media (max-width:768px) {

    .courses {
        padding: 4rem 1.5rem;
    }

    .course-grid {
        gap: 1.5rem;
    }

    .course-card img {
        height: 210px;
    }

    .course-content {
        padding: 1.5rem;
    }

    .section-title {
        margin-bottom: 3rem;
    }
}






