/* Modern CSS for Vide Maison Belgique - Complete Redesign */

:root {
    /* Enhanced Color Palette */
    --primary-color: #667eea;
    --primary-light: #764ba2;
    --primary-dark: #4c63d2;
    --secondary-color: #f093fb;
    --secondary-light: #f5f7fa;
    --accent-color: #4facfe;
    --accent-light: #00f2fe;
    --accent-dark: #43e97b;
    --success-color: #38ef7d;
    --warning-color: #ffecd2;
    --danger-color: #ff6b6b;
    --info-color: #74b9ff;

    /* Modern Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #1a202c;
    --bg-glass: rgba(255, 255, 255, 0.25);
    --bg-glass-dark: rgba(0, 0, 0, 0.1);

    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e0;

    /* Modern Shadows */
    --shadow-xs: 0 0 0 1px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.4);
    --shadow-colored: 0 10px 25px rgba(102, 126, 234, 0.15);

    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Global Styles - Modern Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-weight: 400;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    position: relative;
}

/* Modern Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(240, 147, 251, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.main-content {
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

/* Enhanced Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 3rem;
    height: 0.25rem;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

h5 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

h6 {
    font-size: var(--font-size-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lead {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

p {
    margin-bottom: var(--space);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Text Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Modern Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--border-color);
}

.navbar {
    padding: var(--space-lg) 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: var(--space) 0;
}

.navbar-brand {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-bounce);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.navbar-brand i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5em;
}

.navbar-nav {
    gap: var(--space-sm);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: var(--font-size-base);
    padding: var(--space-sm) var(--space) !important;
    border-radius: var(--radius-lg);
    margin: 0;
    transition: var(--transition);
    position: relative;
    color: var(--text-primary) !important;
    text-decoration: none;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
    border-radius: var(--radius-lg);
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

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

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: var(--space-sm);
    border-radius: var(--radius);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar-toggler:hover {
    background: var(--bg-glass-dark);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 55, 72, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space);
    margin-top: var(--space-sm);
    border: 1px solid var(--border-light);
}

.dropdown-item {
    padding: var(--space-sm) var(--space);
    border-radius: var(--radius);
    margin-bottom: var(--space-xs);
    transition: var(--transition);
    color: var(--text-primary);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(4px);
}

/* Modern Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: clamp(6rem, 15vh, 10rem) 0 clamp(4rem, 10vh, 8rem);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 172, 254, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(1px);
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(1deg);
    }

    66% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--space-xl);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    animation: slideInUp 1s ease-out;
}

.hero .lead {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: var(--space-3xl);
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.9);
    animation: slideInUp 1s ease-out 0.2s both;
}

/* Hero Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats/Info Cards */
.hero-stats {
    backdrop-filter: blur(20px);
    background: var(--bg-glass) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: var(--space-xl);
    animation: slideInUp 1s ease-out 0.4s both;
}

/* Hero Image/Icon Area */
.hero-image {
    position: relative;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-image i {
    font-size: clamp(6rem, 15vw, 10rem) !important;
    opacity: 0.2 !important;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
}

/* Hero Buttons */
.hero .btn {
    animation: slideInUp 1s ease-out 0.8s both;
    margin: var(--space-sm);
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.hero-decoration:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: -5s;
}

.hero-decoration:nth-child(2) {
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation-delay: -10s;
}

/* Modern Button Styles */
.btn {
    font-weight: 600;
    padding: var(--space) var(--space-xl);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: none;
    font-size: var(--font-size-base);
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    position: relative;
    z-index: 2;
}

.btn span {
    position: relative;
    z-index: 2;
}

/* Primary Button */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white;
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Success Button */
.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-success:hover {
    background: var(--gradient-success);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white;
    filter: brightness(1.1);
}

/* Accent Button */
.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-accent:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white;
    filter: brightness(1.1);
}

/* Outline Light Button */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Outline Primary Button */
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    border-radius: var(--radius);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-xl);
}

.btn-xl {
    padding: var(--space-xl) var(--space-3xl);
    font-size: var(--font-size-xl);
    border-radius: var(--radius-xl);
}

/* Button States */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Loading Button */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modern Card Styles */
.card {
    border: none;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    background: white;
    overflow: hidden;
    border: 1px solid var(--border-light);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

/* Glass Card Variant */
.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Header */
.card-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0 !important;
    padding: var(--space-xl);
    border: none;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.card:hover .card-header::before {
    left: 100%;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Card Body */
.card-body {
    padding: var(--space-2xl);
    background: white;
    position: relative;
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(240, 147, 251, 0.02) 100%);
    opacity: 0;
    transition: var(--transition);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.card:hover .card-body::before {
    opacity: 1;
}

/* Card Title */
.card-title {
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    position: relative;
}

/* Card Footer */
.card-footer {
    background: var(--bg-secondary);
    border: none;
    padding: var(--space-lg) var(--space-xl);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* Modern Service Cards */
.service-card {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    border-radius: var(--radius-2xl);
    background: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-2xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

/* Service Card Icon */
.service-card .icon {
    font-size: clamp(3rem, 8vw, 5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xl);
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
    display: inline-block;
}

.service-card:hover .icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.3));
}

/* Service Card Content */
.service-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 2;
    font-size: var(--font-size-base);
}

.service-card .btn {
    position: relative;
    z-index: 2;
}

/* Modern Province Links Section */
.province-links {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.province-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
}

.province-links .container {
    position: relative;
    z-index: 2;
}

.province-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.province-links li {
    margin: 0;
}

.province-links a {
    display: flex;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-weight: 600;
    font-size: var(--font-size-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.province-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
    border-radius: var(--radius-2xl);
}

.province-links a::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: var(--transition);
    border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
}

.province-links a:hover::before {
    left: 0;
}

.province-links a:hover::after {
    transform: scaleY(1);
}

.province-links a:hover {
    color: white;
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.province-links a i {
    margin-right: var(--space);
    font-size: var(--font-size-xl);
    transition: var(--transition-bounce);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.province-links a:hover i {
    transform: scale(1.3) rotate(10deg);
    -webkit-text-fill-color: white;
}

/* Modern Content Sections */
.content-section {
    padding: clamp(3rem, 8vh, 6rem) 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(102, 126, 234, 0.02) 100%);
}

.content-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.content-section h2.text-left {
    text-align: left;
}

.content-section h2.text-left::after {
    left: 0;
    transform: none;
}

.content-section h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    position: relative;
}

.content-section p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    background: var(--secondary-color);
    padding: 4rem 0;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 10px;
}

.contact-info .contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

/* Footer */
.footer {
    background: #1a1a1a !important;
}

.footer h5 {
    color: var(--primary-color);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .province-links ul {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 100px 0 80px;
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .lead {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .service-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .content-section h3 {
        font-size: 1.4rem;
    }

    .province-links ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .province-links a {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .service-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }

    .service-card .icon {
        font-size: 3rem;
    }

    .card-body {
        padding: 2rem;
    }

    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px;
        min-height: 40vh;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .card-header {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card .icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .province-links a {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .process-step {
        padding: 1.5rem 0.5rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .province-links a {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.25rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Additional Modern Elements */

/* Modern Process Steps */
.process-step {
    text-align: center;
    padding: var(--space-xl) var(--space);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: clamp(60px, 15vw, 80px);
    height: clamp(60px, 15vw, 80px);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    margin: 0 auto var(--space-xl);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-colored);
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-2xl);
}

.process-step:hover .step-number::before {
    left: 100%;
}

.process-step h4 {
    font-weight: 700;
    margin-bottom: var(--space);
    color: var(--text-primary);
    font-size: var(--font-size-xl);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--font-size-base);
}

/* Process Step Connector Lines */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: translateY(-50%);
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .process-step::after {
        top: 100%;
        right: 50%;
        width: 2px;
        height: 50px;
        background: linear-gradient(180deg, var(--primary-color), transparent);
        transform: translateX(-50%);
    }
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 1.5rem;
    width: 40px;
    text-align: center;
}

/* Modern Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space) var(--space-lg);
    font-size: var(--font-size-base);
    transition: var(--transition);
    background: white;
    font-family: inherit;
    position: relative;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
    outline: none;
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--primary-light);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Label Effect */
.form-floating {
    position: relative;
}

.form-floating .form-control {
    padding: var(--space-lg) var(--space-lg) var(--space-sm);
}

.form-floating label {
    position: absolute;
    top: 0;
    left: var(--space-lg);
    height: 100%;
    padding: var(--space-lg) 0 0;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.form-floating .form-control:focus~label,
.form-floating .form-control:not(:placeholder-shown)~label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--primary-color);
}

/* Form Groups */
.form-group {
    margin-bottom: var(--space-lg);
    position: relative;
}

.form-group.focused .form-label {
    color: var(--primary-color);
}

/* Select Styling */
.form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space) var(--space-lg);
    font-size: var(--font-size-base);
    transition: var(--transition);
    background: white;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Textarea Styling */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Form Validation */
.form-control.is-valid {
    border-color: var(--success-color);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.valid-feedback {
    color: var(--success-color);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

/* Breadcrumb Improvements */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Modern Utility Classes */
.hover-bg-light:hover {
    background-color: var(--bg-secondary) !important;
    transition: var(--transition);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.bg-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Modern Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bg-tertiary);
    z-index: var(--z-tooltip);
    opacity: 0;
    transition: var(--transition);
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.1s ease;
    width: var(--scroll-width, 0%);
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Modern Footer */
.footer {
    background: var(--bg-dark) !important;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: white !important;
    transform: translateX(3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-2xl);
}

/* Fade-in animation for scroll effects */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero {
        padding: clamp(4rem, 10vh, 6rem) 0 clamp(3rem, 8vh, 5rem);
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero .lead {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    .service-card {
        padding: var(--space-xl) var(--space);
    }

    .process-step {
        padding: var(--space-lg) var(--space-sm);
    }

    .navbar-brand {
        font-size: var(--font-size-xl);
    }

    .btn-lg {
        padding: var(--space) var(--space-lg);
        font-size: var(--font-size-base);
    }
}

@media (max-width: 576px) {
    .hero-stats {
        margin-top: var(--space-xl);
    }

    .hero-stats .row {
        gap: var(--space-sm);
    }

    .content-section {
        padding: clamp(2rem, 6vh, 4rem) 0;
    }

    .card-body {
        padding: var(--space-lg);
    }

    .form-group {
        margin-bottom: var(--space);
    }
}