/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #2196F3;
    --secondary-color: #64B5F6;
    --success-color: #00d4aa;
    --info-color: #03A9F4;
    --warning-color: #FF9800;
    --danger-color: #F44336;
    --light-color: #f8f9fa;
    --dark-color: #2d3748;
    --gradient-primary: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    --gradient-success: linear-gradient(135deg, #00d4aa 0%, #0099f7 100%);
    --gradient-warning: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    --gradient-info: linear-gradient(135deg, #03A9F4 0%, #40C4FF 100%);
    --gradient-danger: linear-gradient(135deg, #F44336 0%, #FF7043 100%);
    --shadow-soft: 0 10px 30px rgba(33, 150, 243, 0.15);
    --shadow-medium: 0 15px 35px rgba(33, 150, 243, 0.2);
    --shadow-strong: 0 20px 40px rgba(33, 150, 243, 0.25);
    --shadow-glow: 0 0 20px rgba(33, 150, 243, 0.4);
    --border-radius: 20px;
    --border-radius-sm: 15px;
    --border-radius-lg: 25px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Enhanced Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
}

h5 {
    font-size: 1.4rem;
    font-weight: 600;
}

h6 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Enhanced Modern Navbar */
.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.navbar-brand:hover::after {
    transform: translateX(100%);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.5rem !important;
    margin: 0 0.3rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link i {
    font-size: 1.2em;
    transition: var(--transition-bounce);
    margin-right: 0.5rem;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, #fff, #f0f0f0, #fff);
    border-radius: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

/* Enhanced Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 5rem 2rem 8rem;
    text-align: center;
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-strong);
    margin: 2rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-section .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-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: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

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

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-section h1 {
    color: white !important;
    font-weight: 900;
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    animation: slideInUp 1s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    z-index: 10;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-section p {
    font-size: 1.2rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

/* Enhanced Modern Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

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

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

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 2rem;
    font-weight: 800;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 2.5rem;
}

/* Enhanced Modern Buttons */
.btn {
    border-radius: var(--border-radius-sm);
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-bounce);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.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: left 0.8s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: var(--gradient-success);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}

.btn-warning {
    background: var(--gradient-warning);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.btn-info {
    background: var(--gradient-info);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.btn-danger {
    background: var(--gradient-danger);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(-2px);
}

/* Enhanced Form Controls */
.form-control {
    border-radius: var(--border-radius-sm);
    border: 2px solid #e2e8f0;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
}

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

.form-select {
    border-radius: var(--border-radius-sm);
    border: 2px solid #e2e8f0;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: white;
    transform: translateY(-3px);
}

/* Enhanced Progress Bars */
.progress {
    height: 2rem;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    border-radius: var(--border-radius-sm);
    background: var(--gradient-success);
    transition: width 0.8s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Enhanced Tables */
.table-responsive {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.table td {
    padding: 1.5rem;
    vertical-align: middle;
    border-top: 1px solid #e2e8f0;
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.table tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.08);
    transform: scale(1.01);
}

/* Enhanced Badges */
.badge {
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

/* Enhanced Status badges with gradients */
.status-pending {
    background: var(--gradient-warning);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.status-approved {
    background: var(--gradient-info);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.status-processing {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.status-shipped {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.status-delivered {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.status-cancelled {
    background: var(--gradient-danger);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* Enhanced Alerts */
.alert {
    border-radius: var(--border-radius-sm);
    border: none;
    padding: 2rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    font-family: 'Inter', sans-serif;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 5px solid #28a745;
}

.alert-info {
    background: linear-gradient(135deg, #E1F5FE, #B3E5FC);
    color: #0277BD;
    border-left: 5px solid var(--primary-color);
}

.alert-warning {
    background: linear-gradient(135deg, #FFF3E0, #FFCC02);
    color: #E65100;
    border-left: 5px solid var(--warning-color);
}

.alert-danger {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    color: #C62828;
    border-left: 5px solid var(--danger-color);
}

/* Enhanced Sidebar */
.sidebar {
    background: var(--gradient-primary);
    min-height: 100vh;
    padding: 2.5rem 0;
    box-shadow: var(--shadow-medium);
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-sm);
    margin: 0.75rem 2rem;
    padding: 1.2rem 2rem;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateX(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced Stats Cards */
.stats-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite reverse;
}

.stats-card .stats-number {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

/* Enhanced Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Enhanced Utility Classes */
.required {
    color: #e53e3e;
    font-weight: 800;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.input-group {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.input-group-text {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
        margin: 1rem 0;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-title-prominent {
        font-size: 3rem !important;
        letter-spacing: -1px !important;
    }

    .hero-section .lead {
        font-size: 1.3rem;
    }

    .stats-card .stats-number {
        font-size: 2.8rem;
    }

    .card-body {
        padding: 2rem;
    }

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

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    h5 {
        font-size: 1.3rem;
    }

    h6 {
        font-size: 1.1rem;
    }
}

/* Enhanced Animation Classes */
.fade-in {
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.slide-in {
    animation: slideIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

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

.bounce-in {
    animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

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

    70% {
        transform: scale(0.9);
    }

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

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

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

/* Enhanced Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Enhanced Floating Elements */
.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {

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

    50% {
        transform: translateY(-15px);
    }
}

/* Enhanced Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Enhanced hero title styling for maximum prominence */
.hero-section .gradient-text,
.hero-section .hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: white !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    display: inline-block;
}

.hero-section .gradient-text::after,
.hero-section .hero-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color: white;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    opacity: 0.5;
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

/* Enhanced text clarity and prominence for hero section */
.hero-section h1,
.hero-section .hero-title {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Special hero title prominence class */
.hero-title-prominent {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    font-size: 4.5rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 30%, #ffffff 70%, #bbdefb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 255, 255, 0.4) !important;
    letter-spacing: -2px !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    z-index: 10 !important;
    display: inline-block !important;
    animation: hero-title-entrance 1.5s ease-out, title-glow 4s ease-in-out infinite alternate !important;
}

@keyframes hero-title-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }

    50% {
        opacity: 0.8;
        transform: translateY(10px) scale(1.02);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes title-glow {
    0% {
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 255, 255, 0.3);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }

    100% {
        text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 255, 255, 0.5);
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    }
}

/* Fix for text blurriness in different browsers */
.hero-section * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure crisp text rendering */
.hero-title,
.hero-section .display-4 {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Enhanced Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card-grid .card {
    transition: var(--transition-smooth);
}

.card-grid .card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-strong);
}

/* Enhanced Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    animation: slideInRight 0.6s ease-out;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px var(--primary-color);
    background: var(--gradient-primary);
    animation: pulse 2s infinite;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

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

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

/* Enhanced Accordion */
.accordion-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.accordion-button:hover::before {
    left: 100%;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Enhanced Footer */
footer {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

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

footer h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

footer h6::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition-smooth);
}

footer .text-muted:hover {
    color: white !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Enhanced Focus States */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

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

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

/* Enhanced Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.loading-spinner-large {
    width: 4rem;
    height: 4rem;
    border: 5px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

/* Enhanced Form Validation */
.form-control.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Enhanced Tooltips */
.tooltip {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.tooltip-inner {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-medium);
}

.tooltip-arrow::before {
    border-top-color: var(--primary-color);
}

/* Enhanced Modals */
.modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-body {
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
}

/* Enhanced Pagination */
.pagination {
    gap: 0.5rem;
}

.page-link {
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.page-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

/* Enhanced Breadcrumbs */
.breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: var(--primary-color);
    font-weight: 700;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Enhanced Dropdowns */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-medium);
    padding: 0.5rem 0;
    animation: slideInUp 0.3s ease-out;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
}

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

/* Enhanced Tabs */
.nav-tabs {
    border: none;
    gap: 0.5rem;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--dark-color);
}

.nav-tabs .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-soft);
}

/* Enhanced Progress Indicators */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    border: 3px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.progress-step.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.progress-step.completed {
    background: var(--gradient-success);
    color: white;
    border-color: var(--success-color);
}

/* Enhanced Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-medium);
    padding: 1rem 1.5rem;
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--danger-color);
}

.notification.warning {
    border-left: 4px solid var(--warning-color);
}

.notification.info {
    border-left: 4px solid var(--info-color);
}

/* Enhanced Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: var(--transition-bounce);
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-strong);
}

/* Enhanced Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.skeleton-button {
    height: 40px;
    width: 120px;
}

/* Enhanced Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.empty-state h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Enhanced Search Results */
.search-highlight {
    background: linear-gradient(120deg, #ffd54f 0%, #ffb300 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Enhanced Code Blocks */
.code-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
    box-shadow: var(--shadow-soft);
}

.code-block .keyword {
    color: #60a5fa;
}

.code-block .string {
    color: #34d399;
}

.code-block .comment {
    color: #6b7280;
}

/* Enhanced Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===== MODERN NAVIGATION ===== */

/* Modern Navbar Styling */
.modern-navbar {
    background: var(--gradient-primary);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.modern-navbar.scrolled {
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(30px);
    padding: 0.5rem 0;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-bounce);
}

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

.brand-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: var(--transition-smooth);
}

.brand-logo:hover .brand-icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(5deg);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

/* Modern Toggler */
.modern-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.modern-toggler:focus {
    box-shadow: var(--shadow-glow);
}

.modern-toggler .navbar-toggler-icon {
    transition: var(--transition-smooth);
}

/* Navigation Links */
.nav-link-modern {
    position: relative;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    color: #ffffff !important;
    font-weight: 600;
}

.nav-link-modern::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;
}

.nav-link-modern:hover::before {
    left: 100%;
}

.nav-link-modern:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    color: #ffffff !important;
}

.nav-link-modern.active {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-glow);
    color: #ffffff !important;
}

/* Nav Icon Wrapper */
.nav-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    color: #ffffff;
}

.nav-link-modern:hover .nav-icon-wrapper {
    transform: scale(1.2) rotate(5deg);
    color: #ffffff;
}

.nav-link-modern.active .nav-icon-wrapper {
    transform: scale(1.1);
    color: #ffffff;
}

/* Nav Text */
.nav-text {
    font-weight: 600;
    transition: var(--transition-smooth);
    color: #ffffff;
}

.nav-link-modern:hover .nav-text {
    transform: translateX(3px);
    color: #ffffff;
}

/* Nav Indicator */
.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

/* Admin Link Special Styling */
.admin-link {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    margin-left: 0.5rem;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
}



/* Progress Bar */
.navbar-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 0 2px 2px 0;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar-search {
        margin-top: 1rem;
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .search-input:focus {
        width: 100%;
    }

    .nav-link-modern {
        margin: 0.25rem 0;
        justify-content: flex-start;
    }

    .admin-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Animation for navbar on scroll */
@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.modern-navbar.scrolled {
    animation: navbarSlideDown 0.3s ease;
}

/* Hover effects for mobile */
@media (hover: hover) {
    .nav-link-modern:hover {
        background: rgba(255, 255, 255, 0.3);
    }

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

/* Focus states for accessibility */
.nav-link-modern:focus {
    outline: 2px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
}

.search-input:focus {
    outline: none;
}



/* ===== ENHANCED HERO SECTION ===== */

/* Hero Background Elements */
.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.hero-circle-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.hero-circle-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 25%;
    animation-delay: 4s;
}

/* Hero Badge */
.hero-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

/* Hero Features */
.hero-features {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-feature-item:last-child {
    margin-bottom: 0;
}

/* Hero Stats */
.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Visual Container */
.hero-visual-container {
    perspective: 1000px;
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.floating-card {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.floating-card:hover {
    transform: rotateY(15deg) rotateX(5deg);
}

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

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
    animation: floatingElements 6s ease-in-out infinite;
}

.floating-element-1 {
    top: -20px;
    right: 20px;
    animation-delay: 0s;
}

.floating-element-2 {
    bottom: 30px;
    left: -10px;
    animation-delay: 1.5s;
}

.floating-element-3 {
    top: 50%;
    right: -30px;
    animation-delay: 3s;
}

.floating-element-4 {
    bottom: -10px;
    right: 50%;
    animation-delay: 4.5s;
}

@keyframes floatingElements {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    25% {
        transform: translateY(-12px) rotate(45deg) scale(1.08);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(90deg) scale(1);
        opacity: 0.95;
    }
    75% {
        transform: translateY(-15px) rotate(135deg) scale(1.05);
        opacity: 1;
    }
}

/* Button Animations */
.pulse-animation {
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.min-vh-50 {
    min-height: 80vh;
}

/* ===== ENHANCED SECTIONS ===== */

/* Section Badges */
.section-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Section Divider */
.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ===== SERVICE CARDS ===== */

/* Enhanced Service Card Styling */
.service-card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

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

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.service-card .card-header {
    border: none;
    padding: 2rem 2rem 1rem;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-card .card-body {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.service-card .card-title {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.service-card .card-text {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Service Features */
.service-features {
    margin: 1rem 0;
}

.feature-tag {
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.25rem;
    transition: var(--transition-smooth);
}

.feature-tag:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ===== FEATURE CARDS ===== */

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-icon-bg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon-bg {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-bg::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: spin 4s linear infinite;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.7;
}

.feature-highlights {
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

/* Background Gradients for Cards */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-success {
    background: var(--gradient-success) !important;
}

.bg-gradient-warning {
    background: var(--gradient-warning) !important;
}

.bg-gradient-info {
    background: var(--gradient-info) !important;
}

.bg-gradient-danger {
    background: var(--gradient-danger) !important;
}

/* ===== CTA SECTION ===== */

.cta-section {
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
    position: relative;
}

.cta-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 2rem;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-features {
    margin: 2rem 0;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.cta-feature-item:last-child {
    margin-bottom: 0;
}

.cta-buttons .btn {
    font-weight: 600;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.cta-help a {
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.cta-help a:hover {
    text-decoration: underline;
}

/* ===== ENHANCED FOOTER ===== */

.footer-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    margin-top: 4rem;
}

.footer-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat;
    background-size: cover;
}

/* Footer Brand */
.brand-logo-footer {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.brand-icon-wrapper-footer {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: var(--transition-smooth);
}

.brand-icon-wrapper-footer:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(5deg);
}

.brand-text-footer {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

/* Footer Stats */
.footer-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Links */
.footer-links {
    margin: 0;
    padding: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    color: white;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
}

.footer-link i {
    width: 20px;
    transition: var(--transition-bounce);
}

.footer-link:hover i {
    transform: scale(1.2);
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.contact-text {
    flex: 1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1877f2, #42bbf2);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-link:nth-child(1)::before {
    background: linear-gradient(45deg, #1877f2, #42bbf2);
}

.social-link:nth-child(2)::before {
    background: linear-gradient(45deg, #00c851, #00ff41);
}

.social-link:nth-child(3)::before {
    background: linear-gradient(45deg, #e4405f, #ffdc80);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
}

.social-link i {
    position: relative;
    z-index: 2;
    transition: var(--transition-bounce);
}

.social-link:hover i {
    transform: scale(1.2);
}

/* Footer Divider */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 !important;
}

/* Footer Badges */
.footer-badges .badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.footer-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-stats .col-4 h3 {
        font-size: 1.5rem;
    }

    .floating-element {
        display: none;
    }

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

    .feature-card {
        padding: 2rem;
    }

    .feature-icon-bg {
        width: 80px;
        height: 80px;
    }

    .hero-features,
    .hero-stats {
        margin-top: 2rem;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .footer-section .container {
        padding: 0 1rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* ===== BLUE THEME OVERRIDES ===== */

/* Override Bootstrap's bg-light for blue theme */
.bg-light {
    background: linear-gradient(135deg, #E8F4FD 0%, #D1E7DD 100%) !important;
}

/* Additional blue theme sections */
.services-section.bg-light {
    background: linear-gradient(135deg, #E8F4FD 0%, #BBDEFB 100%) !important;
}

/* Enhanced blue gradients for cards */
.card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(33, 150, 243, 0.1) !important;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2) !important;
}

/* Blue theme for badges */
.badge.bg-light {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

/* Blue theme for glass morphism */
.glass {
    background: rgba(227, 242, 253, 0.3) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(33, 150, 243, 0.2) !important;
}

/* Blue theme for feature cards */
.feature-card {
    background: rgba(232, 244, 253, 0.6) !important;
    border: 1px solid rgba(33, 150, 243, 0.15) !important;
}

.feature-card:hover {
    background: rgba(227, 242, 253, 0.8) !important;
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
}

/* Blue theme for service cards */
.service-card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(33, 150, 243, 0.1) !important;
}

.service-card:hover {
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.15) !important;
}

/* Blue theme for CTA card */
.cta-card {
    background: rgba(232, 244, 253, 0.8) !important;
    border: 1px solid rgba(33, 150, 243, 0.2) !important;
}

/* Enhanced blue theme for stats section */
.stats-section {
    background: linear-gradient(135deg, #F3F9FF 0%, #E8F4FD 100%);
}

/* Blue theme for progress bars */
.progress {
    background: rgba(33, 150, 243, 0.1) !important;
}

.progress-bar {
    background: var(--gradient-primary) !important;
}

/* Blue theme for buttons hover effects */
.btn:hover {
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.3) !important;
}

/* Blue theme for text colors */
.text-primary {
    color: var(--primary-color) !important;
}

/* Blue theme for borders */
.border-primary {
    border-color: var(--primary-color) !important;
}

/* Blue theme for links */
a {
    color: var(--primary-color);
}

a:hover {
    color: #1976D2;
}

/* Blue theme for section dividers */
.section-divider {
    background: var(--gradient-primary) !important;
}

/* Additional prominence utility classes */
.text-prominent {
    font-weight: 900 !important;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.text-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.9), 0 4px 8px rgba(0, 0, 0, 0.4);
    }
}

.text-standout {
    position: relative;
    display: inline-block;
    z-index: 10;
}

.text-standout::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    animation: standout-pulse 4s ease-in-out infinite;
}

@keyframes standout-pulse {

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

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

/* ===== HERO IMAGE STYLING ===== */

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: visible;
}

.hero-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
    transform-style: preserve-3d;
    perspective: 1000px;
    min-height: 500px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

.main-hero-image {
    position: relative !important;
    transition: var(--transition-smooth);
    background: transparent !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
}

.hero-main-img {
    width: 150% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 500px !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 20px 50px rgba(33, 150, 243, 0.5)) !important;
    display: block !important;
    align-self: flex-end !important;
    transform: translateX(25%) !important;
    z-index: 9999 !important;
    position: relative !important;
}

.main-hero-image:hover .hero-main-img {
    transform: translateX(10%) scale(1.08);
    filter: drop-shadow(0 20px 50px rgba(33, 150, 243, 0.6));
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.main-hero-image:hover .image-overlay {
    background: transparent;
}

/* Service Badge Overlay */
.service-badge-overlay {
    position: absolute;
    top: 12%;
    left: 2%;
    z-index: 10;
    animation: slideInLeft 1s ease-out 0.5s both;
}

.service-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    color: var(--dark-color);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.service-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Statistics Overlay */
.stats-overlay {
    position: absolute;
    bottom: 12%;
    right: 15%;
    z-index: 10;
    animation: slideInRight 1s ease-out 0.7s both;
}

.stats-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.stats-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.stats-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stats-text {
    text-align: left;
}

.stats-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.stats-label {
    font-size: 0.85rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* Enhanced Floating Elements for Hero Image */
.hero-image-wrapper .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.hero-image-wrapper .floating-element {
    position: absolute;
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3), 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: floatingElements 6s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(33, 150, 243, 0.2);
    pointer-events: auto;
}

.hero-image-wrapper .floating-element:hover {
    transform: scale(1.25) translateY(-5px);
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.4), 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(33, 150, 243, 0.4);
    background: rgba(255, 255, 255, 1);
}

.hero-image-wrapper .floating-element-1 {
    top: 8%;
    right: 25%;
    animation-delay: 0s;
    z-index: 4;
}

.hero-image-wrapper .floating-element-2 {
    bottom: 45%;
    left: -5%;
    animation-delay: 1.5s;
    z-index: 4;
}

.hero-image-wrapper .floating-element-3 {
    top: 30%;
    right: 10%;
    animation-delay: 3s;
    z-index: 4;
}

.hero-image-wrapper .floating-element-4 {
    bottom: 20%;
    left: 5%;
    animation-delay: 4.5s;
    z-index: 4;
}

/* Animation for overlays */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

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

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

/* Enhanced PNG image styling */
.hero-main-img {
    /* Enhance PNG transparency support */
    background: transparent !important;
    backdrop-filter: none;
}

/* Enhanced hero image prominence */
.hero-main-img::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -20%;
    bottom: -10%;
    background: radial-gradient(ellipse at 70% 50%,
            rgba(33, 150, 243, 0.15) 0%,
            rgba(33, 150, 243, 0.08) 40%,
            rgba(255, 255, 255, 0.05) 60%,
            transparent 80%);
    z-index: -1;
    border-radius: 30px;
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

/* FORCE HERO IMAGE POSITIONING - HIGH PRIORITY */
.hero-section .hero-image .hero-visual-container .hero-image-wrapper .main-hero-image .hero-main-img {
    width: 160% !important;
    transform: translateX(30%) !important;
    object-position: bottom right !important;
    position: relative !important;
    z-index: 9999 !important;
}

.hero-section .hero-image .hero-visual-container .hero-image-wrapper .main-hero-image {
    justify-content: flex-end !important;
    align-items: flex-end !important;
    overflow: visible !important;
}

.hero-section .hero-image .hero-visual-container .hero-image-wrapper {
    justify-content: flex-end !important;
    align-items: flex-end !important;
    overflow: visible !important;
}

/* Add subtle glow effect for PNG images */
.main-hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    background: radial-gradient(ellipse at center,
            rgba(33, 150, 243, 0.15) 0%,
            rgba(33, 150, 243, 0.08) 40%,
            transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite alternate;
    border-radius: 50%;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Hero image size utility classes */
.hero-image-small {
    max-width: 450px !important;
}

.hero-image-medium {
    max-width: 550px !important;
}

.hero-image-large {
    max-width: 700px !important;
}

.hero-image-xlarge {
    max-width: 850px !important;
}

/* Hero image height utility classes */
.hero-img-height-small {
    max-height: 350px !important;
}

.hero-img-height-medium {
    max-height: 450px !important;
}

.hero-img-height-large {
    max-height: 600px !important;
}

.hero-img-height-xlarge {
    max-height: 750px !important;
}

/* Responsive adjustments for hero image */
@media (max-width: 768px) {
    .hero-section .container-fluid {
        padding: 0 15px;
    }
    
    .min-vh-50 {
        min-height: 70vh;
    }
    
    .hero-enhanced-features {
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-desc {
        font-size: 0.85rem;
    }
    
    .hero-stats .row {
        gap: 1rem;
    }

    .hero-image-wrapper .floating-element-1 {
        top: 5%;
        right: 20%;
    }
    
    .hero-image-wrapper .floating-element-2 {
        bottom: 45%;
        left: 10%;
    }
    
    .hero-image-wrapper .floating-element-3 {
        top: 30%;
        right: 10%;
    }
    
    .hero-image-wrapper .floating-element-4 {
        bottom: 20%;
        left: 15%;
    }

    .floating-element {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }

    .service-badge-overlay {
        top: 10px;
        left: 10px;
    }

    .service-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .stats-overlay {
        bottom: 10px;
        right: 10px;
    }

    .stats-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .stats-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stats-number {
        font-size: 1.2rem;
    }

    .stats-label {
        font-size: 0.75rem;
    }
}

/* Enhanced responsive design for larger screens */
@media (min-width: 768px) and (max-width: 991px) {
    .feature-card {
        padding: 1.8rem 1.3rem;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
}

@media (min-width: 992px) {
    .min-vh-50 {
        min-height: 70vh;
    }
    
    .hero-image {
        min-height: 550px;
    }
    
    .hero-visual-container {
        min-height: 550px;
    }
    
    .hero-image-wrapper {
        width: 100%;
        min-height: 550px;
    }
    
    .main-hero-image {
        min-height: 550px;
    }

    .hero-main-img {
        min-height: 550px;
        width: 140%;
        transform: translateX(20%);
        object-fit: contain;
        object-position: bottom right;
    }
}

@media (min-width: 1200px) {
    .min-vh-50 {
        min-height: 75vh;
    }
    
    .hero-image {
        min-height: 600px;
    }
    
    .hero-visual-container {
        min-height: 600px;
    }
    
    .hero-image-wrapper {
        width: 100%;
        min-height: 600px;
    }
    
    .main-hero-image {
        min-height: 600px;
    }
    
    .hero-main-img {
        min-height: 600px;
        object-fit: contain;
        object-position: bottom;
    }

    .hero-main-img {
        max-height: 800px;
        min-height: 550px;
    }
}

@media (min-width: 1400px) {
    .hero-image-wrapper {
        max-width: 100%;
    }

    .hero-main-img {
        width: 150%;
        transform: translateX(25%);
        max-height: 900px;
        min-height: 600px;
        object-position: bottom right;
    }
}

/* ===== FINAL OVERRIDE - MAXIMUM PRIORITY ===== */
.hero-main-img {
    width: 180% !important;
    transform: translateX(35%) !important;
    object-position: bottom right !important;
    z-index: 99999 !important;
    position: relative !important;
    overflow: visible !important;
}

.main-hero-image,
.hero-image-wrapper,
.hero-visual-container {
    overflow: visible !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
}

/* ===== ENHANCED HERO FEATURES ===== */
.hero-enhanced-features {
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

.feature-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Animation for feature cards */
.feature-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

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

/* Force container overflow */
.hero-section {
    overflow: visible !important;
    padding-bottom: 8rem;
}

.container-fluid {
    overflow: visible !important;
}