﻿:root {
    --primary: #0d6efd;
    --dark-blue: #012970;
    --white: #ffffff;
    --text: #444444;
    --light-gray: #f8f9fa;
    --blue-light: #e7f1ff;
    --orange: #fd7e14;
    --orange-light: #fff4e6;
    --pink: #d63384;
    --pink-light: #ffe6f0;
    --green: #198754;
    --green-light: #e6f9ec;
}

/* ===== Hero Section ===== */
.hero {
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(rgba(71, 92, 143, 0.8), rgba(1, 41, 137, 0.8)), url('https://images.unsplash.com/photo-1588072432836-e10032774350') center/cover;
}

    .hero h1 {
        font-size: 2.8rem;
        font-weight: 700;
        color: var(--white);
        text-shadow: 0 0 12px rgba(13, 110, 253, 0.6);
        position: relative;
        display: inline-block;
        padding-bottom: 12px;
    }

        .hero h1::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            border-radius: 2px;
            background: linear-gradient(to right, #0dcaf0, #0d6efd);
        }

/* ===== Search Bar ===== */
.search-bar {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 30px auto 0;
}

/* ===== Featured Jobs ===== */
.featured-jobs h2 {
    color: var(--dark-blue);
    position: relative;
    display: inline-block;
}

    .featured-jobs h2::after {
        content: "";
        position: absolute;
        width: 60%;
        height: 3px;
        left: 20%;
        bottom: -8px;
        background: var(--primary);
        border-radius: 5px;
    }

/* ===== Job Card ===== */
.job-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .job-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.job-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

    .job-meta span {
        font-size: 0.9rem;
        color: #555;
        display: flex;
        align-items: center;
        gap: 5px;
        flex: 1 1 30%;
        min-width: 130px;
        word-wrap: break-word;
        white-space: normal;
    }

    .job-meta i {
        color: var(--primary);
        font-size: 0.9rem;
    }

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
}

/* ===== Buttons ===== */
.apply-btn {
    border: 1.5px solid;
    padding: 7px 15px;
    font-size: 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.blue-btn {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blue-light);
}

    .blue-btn:hover {
        background: var(--primary);
        color: var(--white);
    }

.orange-btn {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-light);
}

    .orange-btn:hover {
        background: var(--orange);
        color: var(--white);
    }

.pink-btn {
    border-color: var(--pink);
    color: var(--pink);
    background: var(--pink-light);
}

    .pink-btn:hover {
        background: var(--pink);
        color: var(--white);
    }

.green-btn {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-light);
}

    .green-btn:hover {
        background: var(--green);
        color: var(--white);
    }

.view-more-btn {
    background: var(--green-light);
    color: var(--green);
    font-weight: 600;
    border: 1.5px solid var(--green);
    padding: 8px 25px;
    border-radius: 8px;
    transition: 0.3s;
}

    .view-more-btn:hover {
        background: var(--green);
        color: var(--white);
    }

/* ===== About Section ===== */
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.readmore-btn {
    border: 1.5px solid #7b2cbf;
    color: #7b2cbf;
    background: #f3e8ff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    transition: 0.3s;
}

    .readmore-btn:hover {
        background: #7b2cbf;
        color: var(--white);
    }

/* ===== Services Section ===== */
.services-section {
    background: var(--white);
    overflow: hidden;
    padding: 60px 0;
}

.scroll-cards {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    border-radius: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .scroll-cards::-webkit-scrollbar {
        display: none;
    }

.service-card {
    min-width: 520px;
    height: 220px;
    background: var(--white);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    }

    .service-card .card-body {
        padding: 20px 25px;
    }

    .service-card h5 {
        font-weight: 600;
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-card img {
        object-fit: cover;
        height: 100%;
        border-radius: 15px 0 0 15px;
    }

/* ===== Service Info Section ===== */
.service-info {
    background: var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: var(--white);
}

    .service-info h1.section-title {
        font-weight: 700;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .service-info p.section-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        opacity: 0.9;
    }

/* ===== Features Section ===== */
.features-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.feature-card {
    border: none;
    border-radius: 15px;
    background: var(--light-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .feature-card .card-title {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .feature-card .card-text {
        font-size: 0.95rem;
        color: var(--text);
        line-height: 1.6;
    }

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

/* ===== Buttons (Primary) ===== */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: background 0.3s ease;
}

    .btn-primary:hover {
        background: var(--dark-blue);
    }

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .job-card {
        margin-bottom: 20px;
    }

    .about-section .row {
        text-align: center;
    }

    .about-content {
        margin-top: 20px;
    }

    .about-img img {
        height: auto;
    }
}

@media (max-width: 768px) {
    .service-card {
        min-width: 300px;
        height: 200px;
    }

    .service-info h1.section-title {
        font-size: 2rem;
    }

    .service-info p.section-subtitle {
        font-size: 1rem;
    }
}

/* ===== Enhanced Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--light-gray), transparent);
    pointer-events: none;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

/* ===== Featured Jobs Heading Enhancement ===== */
.featured-jobs {
    position: relative;
}

.featured-jobs h2 {
    position: relative;
}

/* ===== Icon Circle Enhancement ===== */
.icon-circle {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .icon-circle {
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* ===== Job Card Enhancement ===== */
.job-card {
    border-left: 4px solid transparent;
    transition: all 0.35s ease;
}

.job-card:hover {
    border-left-color: var(--primary);
}

/* ===== Responsive for new sections ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.8rem; }
}

/* ===== Subject Pills ===== */
.subject-pill {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.subject-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.subject-pill i {
    transition: transform 0.3s ease;
}

.subject-pill:hover i {
    transform: scale(1.2);
}

/* ===== FAQ Accordion ===== */
.accordion-button {
    background: white;
    color: var(--dark-blue);
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(13, 110, 253, 0.05);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.15);
}

.accordion-body {
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ===== City Cards ===== */
.city-card {
    padding: 25px 15px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #0dcaf0);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

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

.city-icon-wrap {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 202, 240, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform 0.3s ease, background 0.3s ease;
}

.city-card:hover .city-icon-wrap {
    transform: scale(1.12) rotate(5deg);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 202, 240, 0.15));
}

.city-jobs-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 15px;
}

/* ===== Success Story Cards ===== */
.success-story-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.success-story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.success-story-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 0;
}

.success-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0dcaf0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.success-story-body {
    padding: 15px 20px;
    flex-grow: 1;
}

.success-metrics {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.success-metric {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    background: var(--light-gray);
    border-radius: 10px;
}

.metric-value {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark-blue);
}

.metric-label {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-top: 2px;
}

.success-story-tag {
    padding: 10px 20px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(13, 110, 253, 0.06);
    color: var(--primary);
    margin-top: auto;
}

/* ===== Salary Insight Cards ===== */
.salary-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}

.salary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.salary-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 202, 240, 0.05));
}

.salary-card-header i {
    font-size: 1.3rem;
    color: var(--primary);
}

.salary-ranges {
    padding: 18px 20px;
}

.salary-range-item {
    margin-bottom: 14px;
}

.salary-range-item:last-child {
    margin-bottom: 0;
}

.range-label {
    font-size: 0.78rem;
    color: #888;
    display: block;
    margin-bottom: 2px;
}

.range-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-blue);
    display: block;
    margin-bottom: 6px;
}

.range-bar {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.range-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #0dcaf0);
    border-radius: 3px;
    transition: width 1.5s ease;
}

.salary-card-footer {
    padding: 12px 20px;
    background: var(--light-gray);
    font-size: 0.8rem;
    color: #666;
}

/* ===== Career Tips Cards ===== */
.tip-card {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tip-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tip-card:hover .tip-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.tip-card-tags {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tip-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary);
}

/* ===== Community / Final CTA ===== */
.community-benefit {
    background: var(--light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-benefit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.community-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.community-stat-card {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.community-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.community-stat-card:nth-child(2),
.community-stat-card:nth-child(4) {
    margin-top: 20px;
}

.community-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.community-stat-card:hover .community-stat-icon {
    transform: scale(1.15);
}

.community-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.2;
}

.community-stat-label {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}

/* ===== Responsive for new sections ===== */
@media (max-width: 768px) {
    .success-metrics {
        flex-direction: column;
        gap: 6px;
    }

    .success-metric {
        flex-direction: row;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
    }

    .metric-label {
        margin-top: 0;
        margin-left: 8px;
    }

    .community-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .community-stat-card:nth-child(2),
    .community-stat-card:nth-child(4) {
        margin-top: 0;
    }

    .community-stat-number {
        font-size: 1.3rem;
    }
}



