/* Template medical Styles */
:root {
            --primary-color: #0d9488; /* Teal 600 */
            --primary-dark: #0f766e;
            --secondary-color: #2dd4bf; /* Teal 400 */
            --accent-color: #f43f5e; /* Rose 500 */
            --dark: #0f172a; /* Slate 900 */
            --light: #f0fdfa; /* Teal 50 */
            --white: #ffffff;
            --text-dark: #334155;
            --text-muted: #64748b;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: var(--white);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            color: var(--dark);
            line-height: 1.2;
            letter-spacing: -0.5px;
        }
        
        /* Navbar */
        .navbar {
            background: var(--white);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            padding: 15px 0;
            transition: all 0.3s ease;
        }
        
        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
        }
        
        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color) !important;
            display: flex;
            align-items: center;
        }
        
        .navbar-brand i {
            font-size: 1.8rem;
            margin-right: 10px;
        }
        
        .navbar-nav {
            gap: 5px;
            align-items: center;
        }
        
        .navbar-nav .nav-link {
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.95rem;
            padding: 10px 18px !important;
            border-radius: 50px;
            transition: all 0.2s ease;
        }
        
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--primary-color);
            background: var(--light);
        }
        
        /* Buttons */
        .btn-primary {
            background: var(--primary-color);
            border: none;
            color: white;
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            box-shadow: 0 4px 15px rgba(13, 148, 136, 0.25);
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
        }
        
        .btn-outline-primary {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 10px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            background: transparent;
            transition: all 0.3s ease;
        }
        
        .btn-outline-primary:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }
        
        /* Top Bar */
        .top-bar {
            background: var(--primary-color);
            color: white;
            padding: 10px 0;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .top-bar a {
            color: white;
            text-decoration: none;
            margin-left: 20px;
        }
        
        .top-bar i {
            margin-right: 5px;
            opacity: 0.8;
        }
        
        /* Service Card */
        .service-card {
            background: white;
            border-radius: 16px;
            padding: 40px 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.03);
            border: 1px solid #f1f5f9;
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(13, 148, 136, 0.1);
            border-color: var(--primary-color);
        }
        
        .icon-box {
            width: 70px;
            height: 70px;
            border-radius: 16px;
            background: var(--light);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 25px;
            transition: all 0.3s;
        }
        
        .service-card:hover .icon-box {
            background: var(--primary-color);
            color: white;
        }
        
        /* Footer */
        footer {
            background: #111827;
            color: #9ca3af;
            padding: 80px 0 30px;
            font-size: 0.95rem;
        }
        
        footer h5 {
            color: white;
            font-size: 1.15rem;
            margin-bottom: 25px;
        }
        
        footer a {
            color: #9ca3af;
            text-decoration: none;
            transition: all 0.2s;
        }
        
        footer a:hover {
            color: var(--secondary-color);
        }
        
        .social-links a {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-right: 10px;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }
        
        /* Utilities */
        .text-primary {
            color: var(--primary-color) !important;
        }
        
        .bg-light-mint {
            background-color: #f0fdfa;
        }

        /* Preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }
        #preloader.fade-out {
            opacity: 0;
            visibility: hidden;
        }
        .loader-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(13, 148, 136, 0.1);
            border-top: 3px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
            margin-bottom: 20px;
        }
        .loader-brand {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary-color);
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Mobile Menu Optimization */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white;
                padding: 30px;
                margin-top: 15px;
                box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
                border-top: 4px solid var(--primary-color);
                max-height: 85vh;
                overflow-y: auto;
                border-radius: 20px;
            }
            .navbar-nav {
                align-items: flex-start !important;
                padding: 10px 0;
            }
            .navbar-nav .nav-link {
                width: 100%;
                padding: 15px 20px !important;
                border-radius: 12px !important;
                margin-bottom: 5px;
            }
            .navbar-nav .btn-primary {
                width: 100%;
                justify-content: center;
                margin-top: 10px;
            }
        }
    
        /* Mobile Menu Optimization - Titan Elite Global Patch */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white !important;
                padding: 40px !important;
                margin-top: 15px !important;
                box-shadow: 0 40px 100px rgba(0,0,0,0.2) !important;
                border-top: 4px solid var(--primary-color, var(--pizza-red, var(--acc-navy, var(--gym-green, #000)))) !important;
                max-height: 85vh !important;
                overflow-y: auto !important;
                border-radius: 0 0 20px 20px !important;
            }
            .navbar-nav .nav-link {
                color: #333 !important;
                padding: 15px 0 !important;
                border-bottom: 1px solid rgba(0,0,0,0.05) !important;
                text-align: center !important;
            }
            .navbar-nav li:last-child .nav-link { border-bottom: none !important; }
            .navbar-brand { font-size: 1.4rem !important; }
            .navbar-toggler { border: none !important; padding: 10px !important; }
        }

