/* ══════════════════════════════════════════
   Gandhi Immigration – Services Section
   ══════════════════════════════════════════ */

.gandhi-services {
    position: relative;
    padding: 60px 0 80px;
    background-color: #ffffff;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: visible;
}

.gandhi-services-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ── Section header ── */
.gandhi-services-header {
    text-align: center;
    margin-bottom: 50px;
}

.gandhi-services-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #F57D26;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid #F57D26;
    border-radius: 30px;
}

.gandhi-services-badge-arrow {
    font-size: 8px;
    color: #F57D26;
}

.gandhi-services-badge-icon {
    font-size: 16px;
    color: #F57D26;
}

.gandhi-services-heading {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin-bottom: 10px;
}

.gandhi-services-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #555555;
    line-height: 1.5;
}

/* ── Cards area with left image ── */
.gandhi-services-body {
    position: relative;
}

/* Left landmarks image — left corner */
.gandhi-services-left-img {
    position: absolute;
    left: -30px;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.gandhi-services-left-img img {
    max-width: 390px;
    height: 543px;
    display: block;
}

/* ── Card grid ── */
.gandhi-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 242px);
    gap: 60px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ── Single card ── */
.gandhi-service-card {
    background: #F9F9F9;
    border: none;
    border-radius: 8px;
    padding: 24px 22px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: visible;
    transition: box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.gandhi-service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #01559e;
    transform: scale(1.05);
    z-index: 10;
}

.gandhi-service-card:hover .gandhi-service-card-title,
.gandhi-service-card:hover .gandhi-service-card-desc,
.gandhi-service-card:hover .gandhi-service-card-list li,
.gandhi-service-card:hover .gandhi-service-card-link {
    color: #ffffff;
}

.gandhi-service-card:hover .gandhi-service-card-list li::before {
    color: #ffffff;
}

.gandhi-service-card:hover .gandhi-service-card-number {
    background: #f57d26;
}

.gandhi-service-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* Card description (non-bulleted text) */
.gandhi-service-card-desc {
    font-size: 13px;
    font-weight: 400;
    color: #444444;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* List items */
.gandhi-service-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.gandhi-service-card-list li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    line-height: 1.9;
}

.gandhi-service-card-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #000000;
    font-size: 11px;
}

/* Learn More link */
.gandhi-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #F57D26;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.gandhi-service-card-link:hover {
    gap: 10px;
}

.gandhi-service-card-link i {
    font-size: 10px;
}

/* Card number badge — half inside, half outside bottom */
.gandhi-service-card-number {
    position: absolute;
    bottom: -30px;
    right: 16px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    background: #01559E;
    border-radius: 8px;
    padding: 12px 16px;
}

/* ── Bottom row: 2 cards offset to right ── */
.gandhi-service-card:nth-child(4) {
    grid-column: 2 / 3;
}

.gandhi-service-card:nth-child(5) {
    grid-column: 3 / 4;
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .gandhi-services-inner {
        padding: 0 20px;
    }

    .gandhi-services-left-img {
        left: -20px;
    }

    .gandhi-services-left-img img {
        max-width: 200px;
    }

    .gandhi-service-card-number {
        font-size: 28px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    .gsvc-slider .gandhi-service-card:hover {
        background: #ffffff;
        box-shadow: none;
        transform: none;
    }

    .gsvc-slider .gandhi-service-card:hover .gandhi-service-card-title,
    .gsvc-slider .gandhi-service-card:hover .gandhi-service-card-desc,
    .gsvc-slider .gandhi-service-card:hover .gandhi-service-card-list li,
    .gsvc-slider .gandhi-service-card:hover .gandhi-service-card-link {
        color: inherit;
    }

    .gsvc-slider .gandhi-service-card:hover .gandhi-service-card-list li::before {
        color: #F57D26;
    }

    .gsvc-slider .gandhi-service-card:hover .gandhi-service-card-number {
        background: #01559e;
    }

    .gandhi-services {
        padding: 40px 0 50px;
        background-image: none !important;
        overflow: hidden;
    }

    .gandhi-services-inner {
        padding: 0 16px;
        overflow: hidden;
    }

    .gandhi-services-left-img {
        display: none;
    }

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

/* ══════════════════════════════════════════
   Services Mobile Slider
   ══════════════════════════════════════════ */
.gsvc-slider {
    width: 100%;
    position: relative;
    padding-bottom: 40px;
}

/* Separate clip wrapper — iOS Safari clips overflow:hidden correctly
   only when it's not the same element being transformed */
.gsvc-clip {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    padding-bottom: 40px;
}

.gsvc-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Dots */
.gsvc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

.gsvc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}

.gsvc-dot.active {
    background: #01559E;
}

@media (max-width: 480px) {
    .gandhi-services-heading {
        font-size: 22px;
    }

    .gandhi-service-card-number {
        font-size: 24px;
    }
}
