/* Theme Custom Style Sheet
   Designed for BIH Safari Hospital Theme */

/* General Elements & Theme Variables */
:root {
    --primary: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary: #198754;
    --secondary-hover: #157347;
    --danger: #dc3545;
    --warning: #ffc107;
    --dark: #212529;
    --light: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: #f6f8fb;
    line-height: 1.6;
}

/* Header Adjustments */
.top-bar {
    font-size: 0.85rem;
}

.site-header {
    transition: var(--transition);
}

.site-header.sticky-top {
    z-index: 1020;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--primary) !important;
}

/* Custom Card Transitions & Hover Lifts */
.hover-lift {
    transition: var(--transition);
}

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

/* Footer Link styling */
.footer-links a {
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.hover-white:hover {
    color: #ffffff !important;
}

/* Custom Statistics Counter styling */
.stat-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.stat-card:hover {
    background-color: #ffffff !important;
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Hero Section adjustments */
.hero-img-wrapper {
    transition: var(--transition);
}

.hero-img-wrapper:hover {
    transform: rotate(2deg) scale(1.02);
}

/* Margins adjustments for CPTs and Templates */
.page-banner {
    background: linear-gradient(45deg, #0d6efd 0%, #0a58ca 100%) !important;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.object-fit-cover {
    object-fit: cover;
}

.max-width-600 {
    max-width: 600px;
}

/* Custom margin top neg on columns */
.mt-n4 {
    margin-top: -1.5rem !important;
}

.ms-n4 {
    margin-left: -1.5rem !important;
}

/* Typography styles for medical items */
.doctor-bio h4, 
.job-content h4, 
.dept-entry h4, 
.service-entry h4 {
    position: relative;
    padding-bottom: 8px;
}

.doctor-bio h4::after, 
.job-content h4::after, 
.dept-entry h4::after, 
.service-entry h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Job application and reports form details */
.form-label {
    color: var(--dark);
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: var(--primary);
}
