@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2563EB;      /* Hospital Blue */
    --primary-hover: #1D4ED8;
    --secondary: #0EA5E9;    /* Light Sky Blue */
    --accent: #10B981;       /* Success Green */
    --background: #FFFFFF;
    --surface: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar styles */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    margin: 0 0.75rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.btn-medical {
    background: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 10px;
    border: none;
    transition: var(--transition);
}

.btn-medical:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline-medical {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-outline-medical:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-image-wrapper img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* Job Cards Section */
.jobs-section {
    padding: 80px 0;
    background-color: var(--surface);
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #0F172A;
}

.job-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.job-img-container {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/9;
}

.job-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0F172A;
}

.job-badge {
    padding: 0.4rem 0.8rem;
    font-weight: 700;
    font-size: 0.7rem;
    border-radius: 100px;
    letter-spacing: 0.025em;
}

.job-info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.job-info-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.job-info-item i {
    width: 20px;
    margin-right: 12px;
    color: var(--primary);
}

/* Detail Page Styles */
.detail-container {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

.detail-title {
    font-weight: 800;
    font-size: 2.75rem;
    color: #0F172A;
}

.detail-section-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.detail-section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: var(--border);
    margin-left: 1.25rem;
}

.detail-text {
    color: var(--text-main);
    line-height: 1.7;
}

.requirement-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--surface);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.requirement-icon {
    color: var(--accent);
    margin-right: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 50%;
    color: var(--text-muted);
    margin-right: 1.25rem;
    transition: var(--transition);
}

.back-link:hover {
    background: var(--primary);
    color: white;
}

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

.reveal {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}
