/* =========================================================
   Nexiora Lifesciences - Global Stylesheet
   Design System: Medical Blue & Trust Green
   ========================================================= */

:root {
    --primary-blue: #0d529c;
    --primary-hover: #08386d;
    --accent-green: #2eab3a;
    --light-bg: #f8fbff;
    --dark-text: #1e293b;
    --muted-text: #64748b;
    --card-border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(13, 82, 156, 0.04);
    --shadow-md: 0 10px 25px rgba(13, 82, 156, 0.08);
    --shadow-lg: 0 20px 40px rgba(13, 82, 156, 0.12);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------
   Top Bar & Navigation (Desktop & Laptop Optimization)
   --------------------------------------------------------- */
.top-bar {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 0.825rem;
    letter-spacing: 0.3px;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

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

.navbar {
    padding: 14px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 52px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #334155 !important;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border-radius: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
    background-color: rgba(13, 82, 156, 0.05);
}

.dropdown-menu {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-blue);
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   Buttons & CTAs
   --------------------------------------------------------- */
.btn-primary-custom {
    background-color: var(--primary-blue);
    color: #ffffff !important;
    border-radius: 8px;
    padding: 11px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 4px 14px rgba(13, 82, 156, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(13, 82, 156, 0.35);
}

.btn-outline-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue) !important;
    border-radius: 8px;
    padding: 10px 26px;
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-custom:hover {
    background-color: var(--primary-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 82, 156, 0.2);
}

/* ---------------------------------------------------------
   Hero & Banner Sections
   --------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e2eefd 100%);
    padding: 90px 0;
    position: relative;
}

.page-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #062242 100%);
    color: #ffffff;
    padding: 85px 0 65px;
    position: relative;
}

/* ---------------------------------------------------------
   Service & Content Cards (Laptop High-End Look)
   --------------------------------------------------------- */
.service-card, .sync-service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 28px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-card:hover, .sync-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 82, 156, 0.3);
}

.service-icon, .sync-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(13, 82, 156, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon, 
.sync-service-card:hover .sync-icon-wrapper {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.05);
}

/* ---------------------------------------------------------
   Therapeutic & Process Grids
   --------------------------------------------------------- */
.therapeutic-card {
    background: #ffffff;
    padding: 24px 16px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.therapeutic-card:hover {
    background: var(--primary-blue);
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.therapeutic-card:hover i {
    color: #ffffff !important;
}

.process-step {
    background: #ffffff;
    padding: 24px 18px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--accent-green);
}

.step-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-green);
}

/* ---------------------------------------------------------
   Forms & Sticky Elements (Desktop Sidebars)
   --------------------------------------------------------- */
.sticky-form-card {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
}

.form-control, .form-select {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.925rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(13, 82, 156, 0.1);
}

/* ---------------------------------------------------------
   Footer Styling
   --------------------------------------------------------- */
footer {
    background-color: #071728;
    color: #94a3b8;
    font-size: 0.9rem;
}

footer h5, footer h6 {
    color: #ffffff;
    letter-spacing: 0.5px;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.25s ease;
}

footer a:hover {
    color: #ffffff;
}

/* ---------------------------------------------------------
   Responsive Tweaks for Large Screens (1200px+)
   --------------------------------------------------------- */
@media (min-width: 1200px) {
    .container {
        max-width: 1180px;
    }
    .hero-section h1 {
        font-size: 3.2rem;
        line-height: 1.25;
    }
}