/* ==========================================================================
   SZR Group Medical - Custom Stylesheet
   Premium, Modern, Corporate & Minimal
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-color: #0d6efd; /* Medical Blue */
    --primary-dark: #0a58ca;
    --secondary-color: #1a233a; /* Dark Navy */
    --accent-color: #0dcaf0; /* Cyan/Turquoise accent */
    --light-bg: #f8f9fa;
    --gray-text: #6c757d;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-dark { background-color: var(--secondary-color) !important; }

.section-padding {
    padding: 80px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.23);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all var(--transition-speed) ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition-speed) ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,110,253,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* ==========================================================================
   Cards & Products
   ========================================================================== */
.feature-card, .product-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.feature-card:hover, .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: rgba(13, 110, 253, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.feature-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.service-card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card-hover:hover { transform: translateY(-10px); box-shadow: 0 1rem 3rem rgba(0,0,0,.15)!important; }
.service-card-hover .icon-box { transition: transform 0.3s ease; }
.service-card-hover:hover .icon-box { transform: scale(1.1) rotate(5deg); }
