/* Import Tailwind */
@import 'https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css';

/* Custom Colors */
:root {
    --primary: #68BB59;
    --primary-hover: #4CAF50;
    --primary-light: #E8F5E9;
    --secondary: #2B3940;
    --dark: #2C3E50;
    --gray: #6C757D;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --danger: #dc3545;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
}

/* Global Styles */
body {
    font-family: 'Heebo', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 0;
}

.navbar-brand h2 {
    color: var(--primary) !important;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    transition: color 0.3s ease;
}

.navbar-brand:hover h2 {
    color: var(--primary-hover) !important;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 25px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 30px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-btn {
    padding: 10px 25px !important;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 187, 89, 0.3);
}

.btn-register {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.btn-register:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 187, 89, 0.3);
}

/* Page Header */
.page-header {
    background: linear-gradient(120deg, var(--info) 50%, var(--primary-hover) 80%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.page-header:after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.page-header h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Search Form */
.search-form {
    background: var(--white);
    border-radius: 50px;
    padding: 5px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.search-form .form-control,
.search-form .form-select {
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 50px !important;
    background: transparent;
}

.search-form .form-control:focus,
.search-form .form-select:focus {
    box-shadow: none;
    outline: none;
}

.search-form .btn-search {
    background: var(--dark);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-form .btn-search:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 57, 64, 0.3);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--dark);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.section-title p {
    color: var(--gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Job Cards */
.job-item {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    height: 100%;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(104, 187, 89, 0.1);
    border-color: var(--primary);
}

.job-title {
    color: var(--dark);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta span {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.job-meta i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 14px;
}

.job-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.job-deadline {
    color: var(--gray);
    font-size: 13px;
    margin-top: 10px;
}

.job-deadline i {
    color: var(--primary);
    margin-right: 5px;
}

/* Filter Section */
.filter-section {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-input,
.filter-select {
    flex: 1;
    min-width: 200px;
}

.filter-input input,
.filter-select select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-input input:focus,
.filter-select select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(104, 187, 89, 0.1);
}

/* Contact Cards */
.contact-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(104, 187, 89, 0.1);
    border-color: var(--primary);
}

.contact-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-size: 32px;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    background: var(--primary-hover);
}

.contact-card h4 {
    color: var(--dark);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 10px;
    font-size: 15px;
}

.contact-card small {
    color: var(--primary);
    font-size: 13px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form h3 {
    color: var(--dark);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(104, 187, 89, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 187, 89, 0.3);
}
        /* Job Detail Specific Styles */
 .job-detail-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
            padding: 60px 0;
            color: white;
        }
        
        .job-detail-card {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-top: -50px;
            margin-bottom: 30px;
            position: relative;
            z-index: 10;
        }
        
        .job-badge {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            margin-right: 10px;
            margin-bottom: 10px;
        }
        
        .badge-active {
            background: #E8F5E9;
            color: var(--primary);
        }
        
        .badge-urgent {
            background: #FEE2E2;
            color: #DC2626;
        }
        
        .badge-warning {
            background: #FEF3C7;
            color: #D97706;
        }
        
        .job-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
            padding: 30px;
            background: #F8F9FA;
            border-radius: 10px;
        }
        
        .info-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .info-icon {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .info-content h4 {
            font-size: 14px;
            color: var(--gray);
            margin-bottom: 5px;
        }
        
        .info-content p {
            font-size: 16px;
            font-weight: 600;
            color: var(--dark);
            margin: 0;
        }
        
        .section-title {
            color: var(--dark);
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }
        
        .job-description {
            color: var(--gray);
            line-height: 1.8;
            font-size: 16px;
        }
        
        .job-description ul,
        .job-description ol {
            padding-left: 20px;
            margin: 15px 0;
        }
        
        .job-description li {
            margin-bottom: 10px;
        }
        
        .requirements-list {
            list-style: none;
            padding: 0;
        }
        
        .requirements-list li {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .requirements-list li:last-child {
            border-bottom: none;
        }
        
        .requirements-list i {
            color: var(--primary);
            font-size: 16px;
            width: 20px;
        }
        
        .apply-section {
            background: linear-gradient(135deg, var(--primary-light) 0%, #F8F9FA 100%);
            border-radius: 10px;
            padding: 30px;
            margin: 40px 0;
            text-align: center;
        }
        
        .btn-apply {
            background: var(--primary);
            color: white;
            border: none;
            padding: 15px 50px;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-block;
            text-decoration: none;
        }
        
        .btn-apply:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(104, 187, 89, 0.4);
            color: white;
        }
        
        .btn-apply:disabled {
            background: var(--gray);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .btn-save {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 13px 40px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-block;
            text-decoration: none;
            margin-left: 15px;
        }
        
        .btn-save:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }
        
        .btn-save.saved {
            background: var(--primary);
            color: white;
        }
        
        .company-info {
            background: white;
            border-radius: 10px;
            padding: 25px;
            border: 1px solid #eee;
        }
        
        .share-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        
        .share-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #F8F9FA;
            color: var(--gray);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .share-button:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }
        
        .related-job-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            border: 1px solid #eee;
            transition: all 0.3s ease;
            margin-bottom: 15px;
        }
        
        .related-job-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(104, 187, 89, 0.1);
            border-color: var(--primary);
        }
        
        .related-job-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 10px;
        }
        
        .related-job-meta {
            font-size: 13px;
            color: var(--gray);
            display: flex;
            gap: 15px;
        }
        
        .deadline-countdown {
            font-size: 14px;
            font-weight: 600;
            padding: 5px 15px;
            border-radius: 20px;
            display: inline-block;
        }
        
        .countdown-urgent {
            background: #FEE2E2;
            color: #DC2626;
        }
        
        .countdown-warning {
            background: #FEF3C7;
            color: #D97706;
        }
        
        .countdown-normal {
            background: #E8F5E9;
            color: var(--primary);
        }
/* FAQ Section */
.faq-section {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.faq-section h3 {
    color: var(--dark);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.faq-question i {
    color: var(--primary);
    font-size: 16px;
}

.faq-answer {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
    margin-left: 26px;
}

/* Office Hours */
.office-hours {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.office-hours h5 {
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-hours h5 i {
    color: var(--primary);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 14px;
    padding: 5px 0;
}

.hours-row span:last-child {
    font-weight: 600;
    color: var(--primary);
}

/* Map */
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    margin: 40px 0;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: var(--light-gray);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    margin: 30px 0;
}

.empty-state i {
    font-size: 60px;
    color: rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    min-width: 45px;
    text-align: center;
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-danger {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(104, 187, 89, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
    }
    
    .nav-link {
        padding: 12px 20px !important;
    }
    
    .nav-link:after {
        display: none;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-input,
    .filter-select {
        width: 100%;
    }
    .job-detail-card {
                padding: 25px;
                margin-top: -30px;
            }
            
            .job-info-grid {
                grid-template-columns: 1fr;
            }
            
            .btn-apply, .btn-save {
                width: 100%;
                margin: 5px 0;
            }
            
            .btn-save {
                margin-left: 0;
            }
    .footer {
        text-align: center;
    }
    
    .footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-form .btn-search {
        border-radius: 10px;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-form,
    .faq-section {
        padding: 25px;
    }
}