/* ══════════════════════════════════════════
   Gandhi Immigration – Immigration Pathways Section
   ══════════════════════════════════════════ */

.gandhi-pathways {
    background: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Radial gradients */
.gandhi-pathways::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 5% 30%, rgb(1 85 158 / 45%) 0%, transparent 50%), radial-gradient(circle at 95% 70%, rgba(245, 125, 38, 0.07) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}


/* ── Two-column inner layout ── */
.gandhi-pathways-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 72px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════
   Left column — content
   ══════════════════════════════════════════ */
.gandhi-pathways-left {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Badge */
.gandhi-pathways-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(245, 125, 38, 0.08);
    border: 1.5px solid rgba(245, 125, 38, 0.3);
    border-radius: 50px;
    padding: 7px 18px;
    margin-bottom: 22px;
    width: fit-content;
}

.gandhi-pathways-badge i {
    font-size: 13px;
}

/* Heading */
.gandhi-pathways-heading {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin: 0 0 18px;
}

.gandhi-pathways-heading span {
    color: #01559E;
}

/* Intro */
.gandhi-pathways-intro {
    font-size: 14px;
    color: #fff;
    line-height: 1.75;
    margin: 0 0 20px;
}

/* Closing text */
.gandhi-pathways-closing {
    font-size: 13px;
    color: #fff;
    line-height: 1.7;
    margin: 0 0 32px;
    padding-left: 14px;
    border-left: 3px solid #F57D26;
}

/* WhatsApp CTA button — matches hero button style */
.gandhi-pathways-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #F57D26;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    width: fit-content;
    transition: background 0.3s ease, transform 0.2s ease;
}

.gandhi-pathways-cta i {
    font-size: 18px;
}

.gandhi-pathways-cta:hover {
    background: #e06a15;
    transform: translateY(-2px);
    color: #fff;
}

/* ══════════════════════════════════════════
   Right column — 2×2 card grid
   ══════════════════════════════════════════ */
.gandhi-pathways-right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-width: 0;
}

/* ── Single pathway card ── */
.gandhi-pathway-card {
    background: #f9f9f9;
    border: 1px solid #eaf0f8;
    border-radius: 16px;
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* Accent bar slides in from left on hover */
.gandhi-pathway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #01559E, #F57D26);
    border-radius: 16px 16px 0 0;
    transition: width 0.35s ease;
}

.gandhi-pathway-card:hover::before {
    width: 100%;
}

.gandhi-pathway-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(1, 85, 158, 0.15);
    border-color: #01559E;
    background: #fff;
}

/* Card top row: icon */
.gandhi-pathway-card-top {
    margin-bottom: 12px;
}

/* Orange icon box */
.gandhi-pathway-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #F57D26;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: background 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 125, 38, 0.35);
}

.gandhi-pathway-card:hover .gandhi-pathway-icon {
    background: #e06a15;
    transform: scale(1.08);
}

/* FA icon inside box */
.gandhi-pathway-icon i {
    font-size: 20px;
    color: #fff;
}

/* Image inside icon box */

.gandhi-pathway-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card title */
.gandhi-pathway-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1A3668;
    line-height: 1.35;
    margin: 0;
    transition: color 0.25s ease;
}

.gandhi-pathway-card:hover .gandhi-pathway-card-title {
    color: #01559E;
}

/* Card description */
.gandhi-pathway-card-desc {
    font-size: 13px;
    color: #667;
    line-height: 1.65;
    margin: 0;
    transition: color 0.25s ease;
}

.gandhi-pathway-card:hover .gandhi-pathway-card-desc {
    color: #444;
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .gandhi-pathways-left {
        flex: 0 0 300px;
    }

    .gandhi-pathways-inner {
        gap: 50px;
    }

    .gandhi-pathways-heading {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    .gandhi-pathways-inner {
        gap: 40px;
    }

    .gandhi-pathways-left {
        flex: 0 0 260px;
    }
}

@media (max-width: 768px) {
    .gandhi-pathways {
        padding: 70px 0;
        margin-bottom: 25px;
    }

    .gandhi-pathways-inner {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }

    .gandhi-pathways-left {
        flex: none;
        width: 100%;
    }

    .gandhi-pathways-heading {
        font-size: 26px;
    }

    .gandhi-pathways-right {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .gandhi-pathways-right {
        grid-template-columns: 1fr;
    }

    .gandhi-pathways-heading {
        font-size: 22px;
    }

    .gandhi-pathways-cta {
        font-size: 13px;
        padding: 12px 22px;
        border-radius: 50px;
        width: 80%;
        justify-content: center;
        text-align: center;
    }

    .gandhi-pathways-left {
        align-items: center;
    }
}

/* ══════════════════════════════════════════
   Has background image — light text overrides
   ══════════════════════════════════════════ */
.gandhi-pathways.has-bg .gandhi-pathways-heading {
    color: #000;
}

.gandhi-pathways.has-bg .gandhi-pathways-intro,
.gandhi-pathways.has-bg .gandhi-pathways-closing {
    color: #fff;
}

.gandhi-pathways.has-bg .gandhi-pathways-closing {
    border-left-color: #F57D26;
}

.gandhi-pathways.has-bg .gandhi-pathways-badge {
    background: rgba(245, 125, 38, 0.15);
    border-color: rgba(245, 125, 38, 0.5);
}

.gandhi-pathways.has-bg .gandhi-pathway-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-color: rgba(255, 255, 255, 0.3);
}
