/* Hero Banner */
.why-hero {
    background: linear-gradient(135deg, rgba(73, 25, 104, 0.9) 0%, rgba(69, 31, 151, 0.9) 100%),
        url('/assets/images/jobseeker/slider/slide1.jpg') no-repeat center center;
    background-size: cover;
    padding: 150px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/dot-pattern.png') repeat;
    opacity: 0.1;
    z-index: 0;
}

.why-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.why-hero p.lead {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* New styles for enhanced sections */
.value-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card-img {
    height: 150px;
    overflow: hidden;
}

.value-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-card-body {
    padding: 20px;
    background: #fff;
}

.global-presence {
    padding: 80px 0;
    background-color: #f8f9fa;
    color: #333;
}

.region-column {
    margin-bottom: 30px;
}

.country-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.country-flag {
    width: 30px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #eee;
}

.company-logos {
    padding: 60px 0;
    background-color: #fff;
}

.logo-item {
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.logo-item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.see-all-link {
    text-align: center;
    margin-top: 30px;
}

/* Career Resources */
.career-resources {
    padding: 80px 0;
}

.resource-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.resource-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.resource-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.list-group-item {
    padding: 1rem;
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item h6 {
    font-weight: 600;
    color: #333;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Enhanced counter styles */
.counter-box {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 10px;
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.counter-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4c1864;
    margin-bottom: 5px;
}

.counter-box p {
    font-size: 1rem;
    color: #666;
}

/* Error styling */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

/* Global alert styling */
.global-alert {
    transition: opacity 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Loading spinner */
.spinner-border {
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Better list styling */
.list-group-item {
    padding: 0.5rem 1rem;
    border-left: none;
    border-right: none;
}

/* Header/footer shadow */
.modal-header {
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modal-footer {
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* Acknowledgement Modal Styles */
#ackModal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

#ackModal .modal-header {
    padding: 1rem 1.5rem;
}

#ackModal .modal-body {
    padding: 1.5rem;
}

#ackModal .detail-item {
    display: flex;
    margin-bottom: 0.75rem;
}

#ackModal .detail-label {
    font-weight: 600;
    color: #495057;
    min-width: 120px;
}

#ackModal .detail-value {
    color: #212529;
}

#ackModal .text-muted {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

#ackModal .alert-info {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #495057;
}