:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --velcare-blue: #1a4b8c;
    --velcare-blue-dark: #153e75;
    --velcare-light-blue: #e8f4f8;
    --velcare-green: #000000;
    --velcare-gray: #6c757d;
    --velcare-light: #f8f9fa;
    
    /* New color variables */
    --velcare-purple: #6f42c1;
    --velcare-teal: #20c997;
    --velcare-orange: #fd7e14;
    --velcare-pink: #e83e8c;
    
    /* Glass morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Animation timings */
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark mode variables */
[data-theme="dark"] {
    --light: #1a1d23;
    --dark: #f8f9fa;
    --velcare-light-blue: #2d3748;
    --velcare-gray: #a0aec0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== TYPOGRAPHY ENHANCEMENTS ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

.display-4 {
    font-weight: 700;
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.text-gradient {
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== LAYOUT & SPACING ===== */
.section-padding {
    padding: 80px 0;
}

.container-fluid {
    padding: 0 15px;
}

/* ===== GLASS MORPHISM ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.glass-navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass-navbar {
    background: rgba(26, 29, 35, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== NAVIGATION ENHANCEMENTS ===== */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    color: var(--dark) !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--velcare-blue);
    transition: width 0.3s var(--ease-out-quad);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--velcare-blue) !important;
    background-color: var(--velcare-light-blue);
}

.navbar-nav .nav-link.active {
    color: var(--velcare-blue) !important;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
    transition: transform 0.3s ease;
}
.navbar-toggler-icon {
  filter: invert(1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.25rem;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--velcare-light-blue);
    transform: rotate(15deg);
}

/* ===== HERO SECTIONS ENHANCEMENTS ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 75, 140, 0.9) 0%, rgba(21, 62, 117, 0.95) 100%), 
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== ENHANCED CARDS ===== */
.service-card,
.feature-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--ease-out-quad);
    overflow: hidden;
    background: white;
    height: 100%;
    position: relative;
}

.service-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--velcare-blue), var(--velcare-green), var(--velcare-purple));
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out-quad);
}

.service-card:hover::before,
.feature-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover,
.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-hover-lift {
    transition: transform 0.3s var(--ease-out-quad);
}

.card-hover-lift:hover {
    transform: translateY(-8px);
}

.card-body {
    padding: 2rem;
}

/* ===== ENHANCED ICONS ===== */
.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--velcare-light-blue), #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--velcare-blue);
    box-shadow: 0 8px 20px rgba(26, 75, 140, 0.15);
    transition: all 0.3s var(--ease-out-quad);
    position: relative;
    overflow: hidden;
}

.icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.icon-container:hover::before {
    left: 100%;
}

.service-card:hover .icon-container,
.feature-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-light-blue));
    color: white;
}

/* Animated Icons */
.icon-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ===== ENHANCED CHECK ITEMS ===== */
.check-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.check-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--velcare-light-blue), transparent);
    transition: left 0.5s ease;
}

.check-item:hover::before {
    left: 100%;
}

.check-item:hover {
    background-color: var(--velcare-light-blue);
    transform: translateX(5px);
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 0.875rem;
    transition: all 0.3s var(--ease-out-quad);
    position: relative;
    z-index: 1;
}

.check-item:hover .check-icon {
    transform: scale(1.1) rotate(15deg);
}

/* ===== ENHANCED SETTINGS ITEMS ===== */
.settings-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--ease-out-quad);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.settings-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--velcare-light-blue), transparent);
    transition: left 0.5s ease;
}

.settings-item:hover::before {
    left: 100%;
}

.settings-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--velcare-blue);
}

.settings-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-light-blue));
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.settings-item:hover .settings-dot {
    transform: scale(1.2);
}

.settings-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* ===== ENHANCED PROCESS STEPS ===== */
.process-step {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    transition: all 0.3s var(--ease-out-quad);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--velcare-light-blue), transparent);
    transition: left 0.5s ease;
}

.process-step:hover::before {
    left: 100%;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-light-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(26, 75, 140, 0.3);
    transition: all 0.3s var(--ease-out-quad);
    position: relative;
    z-index: 1;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--velcare-green), var(--velcare-blue));
}

/* ===== ENHANCED REQUIREMENT CARDS ===== */
.requirement-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s var(--ease-out-quad);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.requirement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--velcare-light-blue), transparent);
    transition: left 0.5s ease;
}

.requirement-card:hover::before {
    left: 100%;
}

.requirement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-top-color: var(--velcare-blue);
}

/* ===== ENHANCED CUSTOM TABS ===== */
.nav-tabs-custom {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 3rem;
}

.nav-tabs-custom .nav-link {
    background-color: var(--velcare-light-blue);
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 1.25rem 2rem;
    font-weight: 600;
    color: var(--velcare-gray);
    transition: all 0.3s var(--ease-out-quad);
    margin-right: 8px;
    position: relative;
    overflow: hidden;
}

.nav-tabs-custom .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.nav-tabs-custom .nav-link:hover::before {
    left: 100%;
}

.nav-tabs-custom .nav-link.active {
    background-color: white;
    color: var(--velcare-blue);
    border-bottom: 4px solid var(--velcare-blue);
    transform: translateY(-2px);
}

.nav-tabs-custom .nav-link:hover {
    background-color: white;
    color: var(--velcare-blue);
    transform: translateY(-2px);
}

/* ===== ENHANCED FORMS ===== */
.form-control {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out-quad);
    background: var(--velcare-light);
}

.form-control:focus {
    border-color: var(--velcare-blue);
    box-shadow: 0 0 0 0.2rem rgba(26, 75, 140, 0.15);
    background: white;
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.upload-area {
    border: 3px dashed #dee2e6;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quad);
    background: var(--velcare-light);
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 75, 140, 0.05), transparent);
    transition: left 0.6s ease;
}

.upload-area:hover::before {
    left: 100%;
}

.upload-area:hover {
    border-color: var(--velcare-blue);
    background-color: var(--velcare-light-blue);
    transform: translateY(-2px);
}

/* ===== ENHANCED EMERGENCY SECTION ===== */
.emergency-section {
    background: linear-gradient(135deg, var(--velcare-blue) 0%, var(--velcare-blue-dark) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== ENHANCED TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: all 0.3s var(--ease-out-quad);
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--velcare-light-blue);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--velcare-light-blue), transparent);
    transition: left 0.5s ease;
}

.testimonial-card:hover::after {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.star-rating {
    color: var(--warning);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s var(--ease-out-quad);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-blue-dark));
    box-shadow: 0 8px 20px rgba(26, 75, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(26, 75, 140, 0.4);
}

.btn-light {
    background: white;
    color: var(--velcare-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--velcare-light-blue);
    color: var(--velcare-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.btn-dark {
    background: linear-gradient(135deg, #343a40, #23272b);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, var(--velcare-blue), var(--velcare-green));
    color: white;
    box-shadow: 0 8px 20px rgba(26, 75, 140, 0.3);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--velcare-green), var(--velcare-blue));
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(26, 75, 140, 0.4);
}

/* ===== ENHANCED FOOTER ===== */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--velcare-blue), var(--velcare-green), var(--velcare-blue));
}

.footer-icon {
    margin-right: 10px;
    color: var(--velcare-blue);
    transition: color 0.3s ease;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--velcare-blue) !important;
    transform: translateX(5px);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out-quad);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s var(--ease-out-quad);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s var(--ease-out-quad);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s var(--ease-out-quad) both;
}

/* Stagger animations for multiple elements */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

/* ===== LOADING ANIMATIONS ===== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--velcare-light-blue);
    border-top: 4px solid var(--velcare-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .nav-tabs-custom .nav-link {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .process-step,
    .requirement-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    .icon-container {
    width: 70px;
    height: 70px;
  }
  .icon-container i {
    font-size: 2rem !important;
  }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--velcare-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .feature-card,
    .testimonial-card {
        border: 2px solid var(--dark);
    }
    
    .btn {
        border: 2px solid;
    }
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
}
#hero-slider .carousel-item img {
  height: 80vh;
  object-fit: cover;
  filter: brightness(70%);
}

#hero-slider .carousel-caption {
  bottom: 25%;
}

#hero-slider h2 {
  font-size: 2.8rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

#hero-slider p {
  font-size: 1.2rem;
  color: #f8f9fa;
  margin-bottom: 1.5rem;
}

#hero-slider .btn-primary {
  background-color: #0d6efd;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
}
/* ======================================
   ICON CENTERING & CONSISTENCY FIX
   ====================================== */

/* Base container for icons */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8f0ff, #ffffff);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Icon itself */
.icon-container i {
  font-size: 2.5rem !important;
  line-height: 1;
  color: var(--velcare-blue, #0d6efd);
}

/* Hover effect (optional for polish) */
.icon-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

/* Fix for icons inside cards */
.card .icon-container {
  margin-bottom: 25px;
}

/* Fix for footer icons (optional if off-center) */
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-align: center;
}
footer a.text-light:hover {
  color: var(--velcare-blue, #0d6efd);
  text-decoration: underline;
}

/* Completely remove any top/bottom lines, shadows, or pseudo-elements around navbar */
nav.navbar,
nav.navbar::before,
nav.navbar::after,
.navbar-dark.bg-dark,
.navbar-dark.bg-dark::before,
.navbar-dark.bg-dark::after,
.sticky-top::before,
.sticky-top::after {
    box-shadow: none !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    background-image: none !important;
    content: none !important;
}
/* ==== FIX DOUBLE UNDERLINE ON NAV LINKS ==== */
.navbar-nav .nav-link {
  border-bottom: none !important;
}

.navbar-nav .nav-link::before {
  bottom: 4px; /* adjust if needed */
}

.navbar-nav .nav-link.active::before {
  height: 2px;
  background: var(--velcare-blue);
}

.navbar-nav .nav-link.active {
  border-bottom: none !important;
}
