body {
    background: linear-gradient(180deg, #78a6c8 0%, #e6eef3 30%, #e6eef3 100%);
    min-height: 100vh;
}

.hero-section {
    padding: 2rem 0;
    padding-bottom: 0;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #34495e;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content Section */
main.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 30px auto;
    padding: 2rem;
}

/* Section Header Styles */
.section-header {
    position: relative;
    margin-bottom: 1.5rem;
    padding-right: 80px;
}

.section-header h2 {
    margin: 0;
}

.view-all-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.view-all-link {
    color: #3172ae;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #245580;
    text-decoration: underline;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.text-primary {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Factors Section */
.factor-card {
    transition: transform 0.2s ease-in-out;
}

.factor-card:hover {
    transform: translateY(-5px);
}

.factor-card .icon {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefit-card {
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card .icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
}

.benefit-card ul {
    margin-top: 1rem;
}

.benefit-card li {
    padding: 0.5rem 0;
}

/* Career Growth Section */
.career-card {
    background-color: #fff;
    border-radius: 0.5rem;
}

.career-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
    text-align: center;
    border-radius: 16px;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-section .btn-light {
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Location card styles */
.location-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    transition: transform 0.2s;
    border: 1px solid #e9ecef;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.location-card-inner {
    display: flex;
    align-items: flex-start;
}

.state-image-container {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.state-thumbnail {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Company logo styles */
.company-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.location-info {
    flex: 1;
}

.location-name {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.job-count-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background-color: #3172ae;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.75rem;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.location-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* Salary information styles */
.salary-info {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.salary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.salary-label {
    font-weight: 500;
}

.salary-value {
    color: #28a745;
    font-weight: 600;
}

/* Responsive Styles */
@media (min-width: 769px) and (max-width: 1200px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .location-card {
        height: 100%;
    }

    .location-card-inner {
        height: 100%;
    }

    .salary-row {
        font-size: 0.85rem;
    }

    .location-name {
        font-size: 1.1rem;
    }

    .job-count-pill {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 768px) {
    main.container {
        margin: 15px;
        padding: 1rem;
    }

    .card {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .location-card {
        padding: 1rem;
    }

    .location-card-inner {
        flex-direction: column;
    }

    .state-image-container {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }

    .location-info {
        width: 100%;
    }

    .location-name {
        font-size: 1.1rem;
    }

    .location-name-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .job-count-pill {
        margin-left: 0;
    }

    .salary-info {
        margin-top: 1rem;
    }

    .salary-row {
        padding: 0.5rem;
        background: #f8f9fa;
        border-radius: 6px;
        margin-bottom: 0.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .salary-label {
        margin-bottom: 0.25rem;
        color: #495057;
    }

    .salary-value {
        font-size: 1.1rem;
    }

    .cta-section {
        margin: 1rem -1rem -1rem;
        border-radius: 0 0 24px 24px;
        padding: 2rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section .lead {
        font-size: 1rem;
    }
}
