/* style.css - ธีมโรงพยาบาล (สีเขียว LINE) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00B900;
    --primary-light: #06C755;
    --primary-dark: #009900;
    --accent-green: #00E676;
    --light-bg: #E8F5E9;
}

body {
    font-family: 'Sarabun', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Main Header */
.main-header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo img {
    max-height: 80px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.hospital-name {
    color: #00B900;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 28px;
}

.hospital-slogan {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
}

/* Navigation */
.navbar {
    padding: 0;
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    padding: 15px 20px;
    font-weight: 500;
    color: white !important;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #E8F5E9;
    color: #00B900;
    padding-left: 25px;
}

/* Slider */
.slider-section {
    margin-bottom: 0;
}

.carousel-item {
    height: 500px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.carousel-caption {
    background: rgba(0, 185, 0, 0.9);
    padding: 20px 30px;
    border-radius: 10px;
    bottom: 50px;
    backdrop-filter: blur(5px);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Quick Links */
.quick-links {
    background: white;
}

.quick-link-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 185, 0, 0.2);
    border-color: #00B900;
}

.quick-link-card i {
    transition: transform 0.3s;
}

.quick-link-card:hover i {
    transform: scale(1.2);
}

/* Section Title */
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00B900;
    margin-bottom: 15px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00B900, #06C755);
    margin: 0 auto;
    border-radius: 2px;
}

/* News Cards */
.news-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 185, 0, 0.15);
}

.news-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card .card-title {
    color: #00B900;
    font-weight: 600;
}




/* Announcements */
.announcements-list {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.announcement-item {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    border-left: 4px solid #00B900;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s;
}

.announcement-item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.announcement-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Services */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 185, 0, 0.15);
    border-color: #00B900;
}

.service-card i {
    transition: transform 0.3s;
    color: #00B900;
}

.service-card:hover i {
    transform: scale(1.1);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00B900, #009900);
    border: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 185, 0, 0.4);
    background: linear-gradient(135deg, #009900, #00B900);
}

.btn-outline-primary {
    border: 2px solid #00B900;
    color: #00B900;
    font-weight: 500;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background: #00B900;
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: #06C755;
    border: none;
    border-radius: 8px;
}

.btn-success:hover {
    background: #00B900;
    transform: translateY(-2px);
}

.btn-outline-success {
    border: 2px solid #06C755;
    color: #06C755;
}

.btn-outline-success:hover {
    background: #06C755;
    color: white;
}

.btn-info {
    background: #00B900;
    border: none;
}

.btn-outline-info {
    border: 2px solid #00B900;
    color: #00B900;
}

.btn-outline-info:hover {
    background: #00B900;
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #007700 0%, #00B900 100%);
    color: white;
    margin-top: 50px;
}

.footer-top {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: rgba(255,255,255,0.9);
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 3px;
    color: white;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover {
    background: white;
    color: #00B900;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: white;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00B900, #06C755);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-top-btn.show {
    display: flex;
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #009900, #00B900);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 185, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hospital-name {
        font-size: 1.2rem;
    }
    
    .footer-top .col-md-4 {
        margin-bottom: 30px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
    }
}

/* Utility Classes */
.bg-gradient {
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light-green {
    background-color: #E8F5E9;
}

.text-primary-green {
    color: #00B900;
}

.border-green {
    border-color: #00B900;
}

.shadow-sm {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.shadow {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.shadow-lg {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.shadow-green {
    box-shadow: 0 4px 12px rgba(0, 185, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Alert Styles */
.alert-success {
    background-color: #E8F5E9;
    border-color: #00B900;
    color: #006600;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}


/* ==========================================
   Job Postings Section - Modern Design
   ========================================== */

.jobs-section {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
    position: relative;
}

/* Background Pattern */
.jobs-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(30deg, #00B900 12%, transparent 12.5%, transparent 87%, #00B900 87.5%, #00B900),
        linear-gradient(150deg, #00B900 12%, transparent 12.5%, transparent 87%, #00B900 87.5%, #00B900),
        linear-gradient(30deg, #00B900 12%, transparent 12.5%, transparent 87%, #00B900 87.5%, #00B900),
        linear-gradient(150deg, #00B900 12%, transparent 12.5%, transparent 87%, #00B900 87.5%, #00B900);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    pointer-events: none;
}

/* Job Card Modern */
.job-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 185, 0, 0.1);
    position: relative;
}

.job-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00B900, #06C755);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.job-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 185, 0, 0.15);
    border-color: rgba(0, 185, 0, 0.3);
}

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

/* Job Card Header */
.job-card-header {
    padding: 25px 25px 20px;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.job-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00B900, #06C755);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 185, 0, 0.25);
    transition: all 0.3s ease;
}

.job-card-modern:hover .job-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 185, 0, 0.35);
}

/* Job Badges */
.job-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-fulltime {
    background: linear-gradient(135deg, #00B900, #06C755);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 185, 0, 0.3);
}

.badge-parttime {
    background: linear-gradient(135deg, #0dcaf0, #0bbfe6);
    color: white;
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3);
}

.badge-contract {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #333;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.badge-temporary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

/* Job Card Body */
.job-card-body {
    padding: 25px;
}

.job-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.job-card-modern:hover .job-title {
    color: #00B900;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-detail-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.job-detail-item i {
    width: 24px;
    height: 24px;
    background: #f0f9f4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B900;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.job-card-modern:hover .job-detail-item i {
    background: #00B900;
    color: white;
    transform: scale(1.1);
}

/* Job Card Footer */
.job-card-footer {
    padding: 20px 25px 25px;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.job-deadline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
}

.job-deadline i {
    font-size: 14px;
}

/* Job Detail Button */
.btn-job-detail {
    background: linear-gradient(135deg, #00B900, #06C755);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-job-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-job-detail:hover {
    background: linear-gradient(135deg, #009900, #00B900);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(0, 185, 0, 0.4);
    color: white;
}

.btn-job-detail:hover::before {
    left: 100%;
}

.btn-job-detail i {
    transition: transform 0.3s ease;
}

.btn-job-detail:hover i {
    transform: translateX(5px);
}

/* No Jobs Available */
.no-jobs-available {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-jobs-available i {
    color: #d0d0d0;
    margin-bottom: 20px;
}

.no-jobs-available h4 {
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.no-jobs-available p {
    color: #999;
    font-size: 15px;
}


/* View All Button */
.btn-view-all-jobs {
    background: #fff;
    color: #00B900;
    border: 2px solid #00B900;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-all-jobs::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #00B900;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn-view-all-jobs:hover::before {
    width: 300%;
    height: 300%;
}

.btn-view-all-jobs:hover {
    color: #fff !important;
    border-color: #00B900;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 185, 0, 0.3);
}

.btn-view-all-jobs i {
    transition: transform 0.3s ease;
}

.btn-view-all-jobs:hover i:last-child {
    transform: translateX(5px);
}




/* Responsive Design */
@media (max-width: 768px) {
    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .job-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .job-title {
        font-size: 1.2rem;
    }
    
    .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-job-detail {
        width: 100%;
        justify-content: center;
    }
    
    .btn-view-all-jobs {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .jobs-section {
        padding: 40px 0 !important;
    }
    
    .job-card-body {
        padding: 20px;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* ========================================
   Override Bootstrap Primary Colors
   เปลี่ยนสี Primary จากน้ำเงินเป็นเขียว
   ======================================== */

/* Background Primary */
.bg-primary {
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%) !important;
}

/* Text Primary */
.text-primary {
    color: #00B900 !important;
}

/* Border Primary */
.border-primary {
    border-color: #00B900 !important;
}

/* Alert Primary */
.alert-primary {
    background-color: #E8F5E9 !important;
    border-color: #00B900 !important;
    color: #006600 !important;
}

/* Badge Primary */
.badge.bg-primary {
    background: linear-gradient(135deg, #00B900, #06C755) !important;
}

/* List Group Item Primary */
.list-group-item-primary {
    background-color: #E8F5E9 !important;
    color: #00B900 !important;
}

.list-group-item.active {
    background-color: #00B900; /* เขียว Bootstrap (success) */
    border-color: #00B900;
    color: #fff;
}

.list-group-item.active:hover {
    background-color: #00B900;
    border-color: #00B900;
}

/* Table Primary */
.table-primary {
    background-color: #E8F5E9 !important;
}

/* Form Control Focus */
.form-control:focus,
.form-select:focus {
    border-color: #00B900 !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 185, 0, 0.25) !important;
}

/* Pagination Active */
.pagination .page-item.active .page-link {
    background-color: #00B900 !important;
    border-color: #00B900 !important;
}

.pagination .page-link {
    color: #00B900 !important;
}

.pagination .page-link:hover {
    color: #006600 !important;
    background-color: #E8F5E9 !important;
    border-color: #00B900 !important;
}

/* Progress Bar Primary */
.progress-bar {
    background-color: #00B900 !important;
}

/* Nav Tabs/Pills Active */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #00B900 !important;
}

.nav-tabs .nav-link.active {
    color: #00B900 !important;
    border-bottom-color: #00B900 !important;
}

/* Link Primary */
a.text-primary:hover,
a.text-primary:focus {
    color: #009900 !important;
}

/* Breadcrumb Styling */
.page-header {
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 185, 0, 0.2);
}

.breadcrumb {
    background: transparent !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: white !important;
    font-weight: 600;
}

/* Spinner Primary */
.spinner-border.text-primary {
    color: #00B900 !important;
}

.spinner-grow.text-primary {
    color: #00B900 !important;
}

/* Accordion Button */
.accordion-button:not(.collapsed) {
    background-color: #E8F5E9 !important;
    color: #00B900 !important;
}

.accordion-button:focus {
    border-color: #00B900 !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 185, 0, 0.25) !important;
}

/* Dropdown Hover */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #00B900 !important;
}

/* Toast Primary */
.toast.bg-primary {
    background: linear-gradient(135deg, #00B900, #06C755) !important;
}

/* Offcanvas Primary */
.offcanvas.bg-primary {
    background: linear-gradient(135deg, #00B900, #06C755) !important;
}

/* Card Primary */
.card.border-primary {
    border-color: #00B900 !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #00B900, #06C755) !important;
}

/* Modal Header Primary */
.modal-header.bg-primary {
    background: linear-gradient(135deg, #00B900, #06C755) !important;
}

/* Input Group Text Primary */
.input-group-text.bg-primary {
    background: linear-gradient(135deg, #00B900, #06C755) !important;
    border-color: #00B900 !important;
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
    background-color: rgba(0, 185, 0, 0.5);
}

.carousel-indicators .active {
    background-color: #00B900;
}

/* Navbar Toggler Focus */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 185, 0, 0.25) !important;
}

/* ==========================================
   Jobs Page Header
   ========================================== */

.jobs-page-header {
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.jobs-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/></svg>');
    opacity: 0.3;
}

.jobs-page-header .header-content h1 {
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jobs-page-header .header-content .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

/* Breadcrumb Modern */
.breadcrumb-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-flex;
}

.breadcrumb-modern .breadcrumb-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.breadcrumb-modern .breadcrumb-item a:hover {
    opacity: 0.8;
}

.breadcrumb-modern .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Header Stats Box */
.header-stats {
    animation: scale-in 0.6s ease-out;
}

.stat-box {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00B900, #06C755);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    flex-shrink: 0;
}

.stat-content h2 {
    color: #00B900;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
}

.stat-content p {
    color: #666;
    font-size: 14px;
}

/* Filter Section */
.filter-section {
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #00B900;
    color: #00B900;
    background: #f0f9f4;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #00B900, #06C755);
    color: white;
    border-color: #00B900;
    box-shadow: 0 4px 12px rgba(0, 185, 0, 0.3);
}

/* Jobs Listing Section */
.jobs-listing-section {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00B900 0%, #06C755 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h3 {
    font-weight: 700;
    font-size: 1.8rem;
}

.cta-section .btn-light {
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Pagination Styling */
.pagination .page-link {
    border: 2px solid #e0e0e0;
    color: #00B900;
    font-weight: 500;
    margin: 0 5px;
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #f0f9f4;
    border-color: #00B900;
    color: #00B900;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #00B900, #06C755);
    border-color: #00B900;
    box-shadow: 0 4px 12px rgba(0, 185, 0, 0.3);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.6s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
    .jobs-page-header {
        padding: 60px 0 40px;
    }
    
    .jobs-page-header .header-content h1 {
        font-size: 2rem;
    }
    
    .stat-box {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .jobs-page-header {
        padding: 40px 0 30px;
    }
    
    .jobs-page-header .header-content h1 {
        font-size: 1.8rem;
    }
    
    .jobs-page-header .header-content .lead {
        font-size: 1rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .stat-content h2 {
        font-size: 2rem;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .pagination .page-link {
        padding: 8px 12px;
        margin: 0 2px;
    }
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.icon-circle {
    transition: all 0.3s ease;
}

.quick-link-card:hover .icon-circle {
    transform: scale(1.1);
}

.btn.rounded-pill {
    transition: all 0.3s ease;
}

.btn.rounded-pill:hover {
    transform: scale(1.05);
}

.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card {
    transition: all 0.3s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,.12) !important;
}

.icon-box {
    transition: all 0.3s ease;
}

.quick-link-card:hover .icon-box {
    transform: scale(1.05);
}

.btn.rounded-pill {
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.btn.rounded-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.card-title {
    font-size: 18px;
    letter-spacing: -0.3px;
}

.card-text {
    font-size: 13px;
    opacity: 0.8;
}

.icon-wrapper {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Services Section */
.services-section {
    position: relative;
    background: #fff;
}

.section-title h2 {
    color: #00B900;
    font-size: 2.5rem;
    position: relative;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00B900, #00D900);
    border-radius: 2px;
    margin: 1rem auto;
}

/* Service Card Modern */
.service-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00B900, #00D900);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card-modern:hover {
    transform: translateY(-10px);
    border-color: #00B900;
    box-shadow: 0 15px 40px rgba(0, 185, 0, 0.15);
}

/* Service Icon */
.service-icon-wrapper {
    margin-bottom: 1.5rem;
}

.service-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #00B900 0%, #00D900 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.service-icon-box::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #00B900, #00D900);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.service-card-modern:hover .service-icon-box::before {
    opacity: 0.3;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.service-icon-box i {
    color: #fff;
    font-size: 2rem;
}

/* Service Content */
.service-content {
    position: relative;
    z-index: 1;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00B900;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.service-card-modern:hover .service-name {
    color: #00B900;
}

.service-description {
    font-size: 0.9rem;
    color: #00B900;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    color: #00B900;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00B900;
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

.service-link:hover {
    color: #00D900;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* View All Button */
.btn-view-all-services {
    background: #fff;
    color: #00B900;
    border: 2px solid #00B900;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-all-services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #00B900;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn-view-all-services:hover::before {
    width: 300%;
    height: 300%;
}

.btn-view-all-services:hover {
    color: #fff !important;
    border-color: #00B900;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 185, 0, 0.3);
}

.btn-view-all-services i {
    transition: transform 0.3s ease;
}

.btn-view-all-services:hover i:last-child {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-card-modern {
        padding: 1.5rem 1rem;
    }
    
    .service-icon-box {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-box i {
        font-size: 1.8rem;
    }
}
/* Visitor Statistics Bar */
.visitor-stats-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 0;
    color: white;
}

.visitor-stats {
    font-size: 14px;
}

.visitor-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.visitor-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.visitor-stats .stat-item i {
    font-size: 18px;
    color: #ffd700;
}

.visitor-stats .stat-label {
    font-weight: 500;
    margin-right: 5px;
}

.visitor-stats .stat-value {
    font-weight: 700;
    font-size: 16px;
    color: #ffd700;
}

/* Responsive */
@media (max-width: 768px) {
    .visitor-stats {
        font-size: 12px;
        gap: 10px !important;
    }
    
    .visitor-stats .stat-item {
        padding: 8px 15px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .visitor-stats .stat-item i {
        font-size: 16px;
    }
    
    .visitor-stats .stat-value {
        font-size: 14px;
    }
}

/* Animation for counter update */
@keyframes counterUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.stat-value.updated {
    animation: counterUpdate 0.5s ease;
}


