/*
 * Grid Section Plugin Styles
 * Plugin: Grid Section
 * Author: Saad Ullah
 */

/* ── CSS Variables ─────────────────────────────────── */
.gs-section-wrapper {
    --gs-accent:      #FCC60E;
    --gs-text-dark:   #1a1a1a;
    --gs-text-body:   #444444;
    --gs-bg:          #f5f5f3;
    --gs-circle-size: 90px;

    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 30px;
    background: var(--gs-bg);
    box-sizing: border-box;
}

/* ── Section Title ─────────────────────────────────── */
.gs-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gs-text-dark);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

/* ── Grid ──────────────────────────────────────────── */
.gs-process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
}

/* Connector line */
.gs-process-grid::before {
    content: '';
    position: absolute;
    top: calc(var(--gs-circle-size) / 2);
    left: calc(var(--gs-circle-size) / 2);
    right: calc(var(--gs-circle-size) / 2);
    height: 2px;
    background: var(--gs-accent);
    z-index: 0;
}

/* ── Individual Step ───────────────────────────────── */
.gs-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: gsStepFadeUp 0.5s ease forwards;
}

.gs-step:nth-child(1) { animation-delay: 0.0s; }
.gs-step:nth-child(2) { animation-delay: 0.1s; }
.gs-step:nth-child(3) { animation-delay: 0.2s; }
.gs-step:nth-child(4) { animation-delay: 0.3s; }
.gs-step:nth-child(5) { animation-delay: 0.4s; }
.gs-step:nth-child(6) { animation-delay: 0.5s; }

@keyframes gsStepFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Circle ────────────────────────────────────────── */
.gs-circle {
    width: var(--gs-circle-size);
    height: var(--gs-circle-size);
    border-radius: 50%;
    border: 2.5px solid var(--gs-accent);
    background: var(--gs-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
}

.gs-step:hover .gs-circle {
    background: var(--gs-accent);
    transform: scale(1.08);
}

.gs-circle svg {
    width: 38px;
    height: 38px;
    stroke: var(--gs-accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.gs-step:hover .gs-circle svg {
    stroke: #ffffff;
}

/* ── Text ──────────────────────────────────────────── */
.gs-step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gs-text-dark);
    margin-bottom: 4px;
}

.gs-step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gs-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.gs-step-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--gs-text-body);
    margin: 0;
}

.gs-step-desc strong {
    font-weight: 600;
    color: var(--gs-text-dark);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
    .gs-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    .gs-process-grid::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .gs-process-grid {
        grid-template-columns: 1fr;
    }
    .gs-section-title {
        font-size: 1.5rem;
    }
}
